Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-02-16 18:34:14 +0100 \ Lars Ellenberg: > / 2004-02-16 13:23:24 +0100 > \ Felix Ide: > > This is what the secondary says: > > Feb 16 13:11:46 drbd2-bfd kernel: drbd0: unknown packet type! > > 83740267:8374:0267 > > oh shit. > > this looks like > "DRBD_MAGIC DRBD_MAGIC" > > Philipp, is it possible that we (I) created a new BUG while > trying to solve the blocking write_hints issue? I remember someone else reporting similar recently, but searching my lokal archive does not give me any hit, neither did online search. anyways: please add below "debug printk". if it triggers, then I know what I did wrong, and have an idea how to fix it. Lars Ellenberg diff -u -p -r1.90 drbd_main.c --- drbd_main.c 18 Jan 2004 20:18:19 -0000 1.90 +++ drbd_main.c 16 Feb 2004 18:39:37 -0000 @@ -1078,6 +1078,10 @@ STATIC void drbd_send_write_hint(void *d // ": send_cmd_dontwait would have blocked\n"); queue_task(&mdev->write_hint_tq, &tq_disk); } else { + if (i != 0) + printk(KERN_ERR DEVICE_NAME + "%d: send_cmd_dontwait returned %d\n", + (int)(mdev-drbd_conf),i); // no need for error handling here, // drbd_send_cmd_dontwait already does it. clear_bit(WRITE_HINT_QUEUED, &mdev->flags);