[DRBD-user] disconnecting hangs after ko-count failure

Walter Haidinger walter.haidinger at gmx.at
Wed Jan 23 21:59:22 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

> echo 1 > /proc/sys/kernel/sysrq
> echo h > /proc/sysrq-trigger
> dmesg | tail
> gives you the "help line".

SysRq : HELP : loglevel0-8 reBoot Crashdump tErm Full kIll saK showMem Nice powerOff showPc show-all-timers(Q) unRaw Sync showTasks Unmount shoW-blocked-tasks

> capital letters indicate the triggers, which are to be used
> (as lower case, though) for the respective action.

# echo w shows:
SysRq : Show Blocked State

                         free                        sibling
  task             PC    stack   pid father child younger older
drbd0_receive D D7335F3C     0 13018      2 (L-TLB)
       d7335f50 00000046 00000002 d7335f3c d7335f38 00000000 e23958e4 3b9aca00
       e0502970 c03f19c0 c03f19c0 554af280 00026c06 d7335f40 d7335f38 0000000a
       ced8b580 000307d1 00000000 e0502a94 c389f9c0 00000001 00000000 00000000
Call Trace:
 [<c0118bb8>] __wake_up+0x38/0x50
 [<f6b3b3d6>] drbd_disconnect+0x1a6/0x5f0 [drbd]
 [<c0132b70>] autoremove_wake_function+0x0/0x40
 [<f6b36210>] w_prev_work_done+0x0/0x30 [drbd]
 [<f6b3d607>] drbdd_init+0x97/0x1d0 [drbd]
 [<f6b4e10c>] drbd_thread_setup+0xac/0xf0 [drbd]
 [<f6b4e060>] drbd_thread_setup+0x0/0xf0 [drbd]
 [<c0104ceb>] kernel_thread_helper+0x7/0x1c

> so, echo w or echo t.
> unfortunately, t dumps all tasks, which is likely too much to fit in the
> kernel printk buffer (unless you first kill everything else...),
> wrapping that around. so maybe there is good information there, maybe
> the interessting parts got overwritten by wraparound.

No, it did not. I guess running wild and killing innocent tasks helps a lot... ;-) I'm going to send the dmesg output separately.

Hope that helps!

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

More information about the drbd-user mailing list