ib integrated into ctdb

Peter Somogyi psomogyi at gamax.hu
Fri Feb 16 14:32:46 GMT 2007

Hi Tridge,

Thanks for the fix, now here is the next - and the last - critical problem: at 
the other side (which was started 1st):

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ea17d0 in raise () from /lib/libc.so.6
#2  0xb7ea2ea3 in abort () from /lib/libc.so.6
#3  0x08059164 in ctdb_fatal (ctdb=0x80613b8, msg=0x805ece8 "Unable to queue 
packet\n") at common/ctdb_util.c:55
#4  0x08058b2c in ctdb_queue_packet (ctdb=0x80613b8, hdr=0x80f6b40) at 
#5  0x0805a94d in ctdb_send_message (ctdb=0x80613b8, vnn=0, srvid=0, 
data={dptr = 0x80f6fec "\001", dsize = 4}) at common/ctdb_message.c:76
#6  0x08049d1e in ring_message_handler (ctdb=0x80613b8, srvid=0, data={dptr = 
0x80f6fec "\001", dsize = 4}, private=0x806064c) at ctdb_bench.c:139
#7  0x0805a876 in ctdb_request_message (ctdb=0x80613b8, hdr=0x80f6fd0) at 
#8  0x080589ad in ctdb_recv_pkt (ctdb=0x80613b8, data=0x80f6fd0 " ", 
length=32) at common/ctdb.c:234
#9  0x080574b9 in ctdb_ibw_receive_handler (conn=0x80ccfe0, buf=0xb7d4d000, 
n=32) at ib/ibw_ctdb.c:146
#10 0x08055ba4 in ibw_wc_recv (conn=0x80ccfe0, wc=0xbffe6688) at 
#11 0x08054f89 in ibw_event_handler_verbs (ev=0x8061328, fde=0x80f6e10, 
flags=1, private_data=0x80ccfe0) at ib/ibwrapper.c:594
#12 0x0805829e in std_event_loop_select (std_ev=0x8061368, tvalp=0xbffe686c) 
at lib/events/events_standard.c:560
#13 0x080583a7 in std_event_loop_once (ev=0x8061328) at 
#14 0x080579a2 in event_loop_once (ev=0x8061328) at lib/events/events.c:148
#15 0x08058a8c in ctdb_connect_wait (ctdb=0x80613b8) at common/ctdb.c:274
#16 0x0804a403 in main (argc=Cannot access memory at address 0x1f76

This is because you want to answer while the dest node's send channel is not 
yet up (we're still in ctdb_connect_wait).
I've made a fast symptomatic fix for this (see my Rev 69) just to make it 
work... Could you make it a full fix? (Or shall I provide an extra queue for 
this while connection is not available?) Thank you in advance.


More information about the samba-technical mailing list