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

Lars Ellenberg lars.ellenberg at linbit.com
Thu Feb 7 13:37:25 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.


On Thu, Feb 07, 2008 at 09:06:01AM +0100, Walter Haidinger wrote:
> Sorry for the delay, I was a bit busy lately.
> 
> > so, what you now need to do is:
> > use the exact same source and config, drbd and kernel,
> > you used to build this module,
> 
> Just before you replied I've upgraded from 2.6.22.15/8.0.8 to
> 2.6.22.16/8.2.4. Upto now I've not experienced any hangs yet,
> everything works as expected.
> 
> > then do
> >   cd drbd-8.0.8/drbd
> >   make KDIR=/usr/src/linux-*/bla/blub EXTRA_CFLAGS=-g
> > and on the resulting drbd.ko, do
> >   gdb --se=drbd.ko -ex 'list *(drbd_disconnect+0x1a6 -10)' -ex 'list
> > *(drbd_disconnect+0x1a6)' -ex quit
> 
> Do you want me to still do this?  IOW, does the 8.0.9 release already 
> fix something regarding the hangs?

since I don't know for sure _why_ it hung at your cluster, I can not tell
wether there is anything in the changes that is relevant for your hang.

> I haven't had time to downgrade yet, perhaps this weekend. Thanks for your patience!

you don't need to downgrade,
you only need to build that module with the "-g" flag,
and do the above gdb magic.
then I know which code lines to look at :)

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list