[DRBD-user] drbd bug? (NULL pointer dereference at virtual address)

David Huang david_huang at proware.com.tw
Wed Aug 31 10:37:37 CEST 2005

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


***********************
This mail has been scanned by InterScan MSS.
***********-***********


Dear DRBD users

Does anyone experience Unable to handle kernel NULL pointer error when starting syncing? I was running DRBD 0.7.11 with 8/19's patch (this patch updated the /proc/drbd codes with seq_file interface).  My environment is kernel 2.6.13, LVM2 with XFS filesystem.


Cheers

David Haung


drbd0: Creating state block
drbd0: resync bitmap: bits=3276800 words=102400
drbd0: size = 12 GB (13107200 KB)
drbd0: Assuming that all blocks are out of sync (aka FullSync)
drbd0: 13107200 KB now marked out-of-sync by on disk bit-map.
drbd0: drbdsetup [6604]: cstate Unconfigured --> StandAlone
drbd0: drbdsetup [6607]: cstate StandAlone --> Unconnected
drbd0: drbd0_receiver [6608]: cstate Unconnected --> WFConnection
drbd0: drbd0_receiver [6608]: cstate WFConnection --> WFReportParams
drbd0: Handshake successful: DRBD Network Protocol version 74
drbd0: Connection established.
drbd0: I am(S): 0:00000001:00000001:00000001:00000001:00
drbd0: Peer(S): 0:00000001:00000001:00000001:00000001:00
drbd0: drbd0_receiver [6608]: cstate WFReportParams --> Connected
drbd0: I am inconsistent, but there is no sync? BOTH nodes inconsistent!
drbd0: Secondary/Unknown --> Secondary/Secondary
drbd0: I am(S): 0:00000001:00000001:00000001:00000001:01
drbd0: Peer(P): 1:00000002:00000001:00000001:00000001:11
drbd0: drbd0_receiver [6608]: cstate Connected --> WFBitMapT
drbd0: Secondary/Secondary --> Secondary/Primary
drbd0: drbd0_receiver [6608]: cstate WFBitMapT --> SyncTarget
drbd0: Resync started as SyncTarget (need to sync 13107200 KB [3276800 bits set]).
Unable to handle kernel NULL pointer dereference at virtual address 00000007
 printing eip:
f8a062f1
*pde = 00000000
Oops: 0000 [#1]
SMP 
Modules linked in: appletalk psnap llc drbd bonding i2c_i801 i2c_dev i2c_core mptspi mptscsih mptbase aic7xxx e1000 e100 sym53c8xx
CPU:    0
EIP:    0060:[<f8a062f1>]    Not tainted VLI
EFLAGS: 00010282   (2.6.13) 
EIP is at got_NegDReply+0x11/0xf0 [drbd]
eax: f1ed02b8   ebx: 00000018   ecx: 0120af60   edx: 00000011
esi: ffffffff   edi: f1ed0000   ebp: 00000020   esp: f00c5f68
ds: 007b   es: 007b   ss: 0068
Process drbd0_asender (pid: 6609, threadinfo=f00c4000 task=ef5b2a40)
Stack: 00000000 ef5b2a40 00000282 c012898d 00000018 f1ed02d8 f1ed0000 f8a06738 
       f1ed0000 f1ed02b8 00000018 f00c5fa8 00000008 00000011 00000020 f1ed02b8 
       67027483 00000c00 0000007b 0000007b f1ed044c 00000000 f1ed0444 00000000 
Call Trace:
 [<c012898d>] flush_signals+0x4d/0x70
 [<f8a06738>] drbd_asender+0x1d8/0x492 [drbd]
 [<f8a0ba0c>] drbd_thread_setup+0x7c/0xf0 [drbd]
 [<f8a0b990>] drbd_thread_setup+0x0/0xf0 [drbd]
 [<c01011e5>] kernel_thread_helper+0x5/0x10
Code: d0 c1 f8 03 69 c0 2d e7 cf 72 89 44 24 04 e8 77 86 71 c7 e9 ee fe ff ff 89 f6 57 56 53 83 ec 10 8b 44 24 24 8b 7c 24 20 8b 70 10 <81> 7e 08 90 ec 9f f8 74 35 c7 04 24 40 25 a1 f8 8b 0d 48 be a1 
 <4>drbd0: PARTNER DISKLESS
drbd0: Resync aborted.
drbd0: drbd0_receiver [6608]: cstate SyncTarget --> Connected
drbd0: sock was shut down by peer
drbd0: drbd0_receiver [6608]: cstate Connected --> BrokenPipe
drbd0: short read expecting header on sock: r=0
Unable to handle kernel NULL pointer dereference at virtual address 00000504
 printing eip:
c0485c45
*pde = 00000000
Oops: 0002 [#2]
SMP 
Modules linked in: appletalk psnap llc drbd bonding i2c_i801 i2c_dev i2c_core mptspi mptscsih mptbase aic7xxx e1000 e100 sym53c8xx
CPU:    0
EIP:    0060:[<c0485c45>]    Not tainted VLI
EFLAGS: 00010002   (2.6.13) 
EIP is at _spin_lock_irqsave+0x5/0x20
eax: 00000202   ebx: 00000001   ecx: 00000001   edx: 00000504
esi: ef5b2a40   edi: f1ed0000   ebp: 00000001   esp: eed77ee4
ds: 007b   es: 007b   ss: 0068
Process drbd0_receiver (pid: 6608, threadinfo=eed76000 task=f025aa40)
Stack: c01295f7 00000001 00000001 f0393530 00000002 f1ed0444 f1ed0000 c0129f80 
       00000001 00000001 ef5b2a40 f8a0bcc0 00000001 ef5b2a40 eed77f20 00000286 
       f1ed0334 00000000 f1ed0000 00000000 f1ed03cc f8a05422 f1ed0444 00000000 
Call Trace:
 [<c01295f7>] force_sig_info+0x27/0xb0
 [<c0129f80>] force_sig+0x20/0x30
 [<f8a0bcc0>] _drbd_thread_stop+0x80/0x1f0 [drbd]
 [<f8a05422>] drbd_disconnect+0xd2/0x720 [drbd]
 [<c011e967>] printk+0x17/0x20
 [<f8a02095>] drbd_recv_header+0xe5/0xf0 [drbd]
 [<f8a02ed0>] receive_RSDataReply+0x0/0x190 [drbd]
 [<f8a0521c>] drbdd+0x1c/0x150 [drbd]
 [<f8a05da0>] drbdd_init+0x80/0x190 [drbd]
 [<f8a0ba0c>] drbd_thread_setup+0x7c/0xf0 [drbd]
 [<f8a0b990>] drbd_thread_setup+0x0/0xf0 [drbd]
 [<c01011e5>] kernel_thread_helper+0x5/0x10
Code: 00 01 31 c9 89 c8 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 f0 83 28 01 79 05 e8 45 e4 ff ff c3 8d 74 26 00 89 c2 9c 58 fa <f0> fe 0a 79 12 a9 00 02 00 00 74 01 fb f3 90 80 3a 00 7e f9 fa 
 <6>drbd0: worker terminated
drbd1: resync bitmap: bits=32768000 words=1024000
drbd1: size = 125 GB (131072000 KB)
drbd1: Assuming that all blocks are out of sync (aka FullSync)
drbd1: 131072000 KB now marked out-of-sync by on disk bit-map.
drbd1: drbdsetup [6812]: cstate Unconfigured --> StandAlone
drbd1: drbdsetup [6817]: cstate StandAlone --> Unconnected
drbd1: drbd1_receiver [6818]: cstate Unconnected --> WFConnection
drbd1: drbd1_receiver [6818]: cstate WFConnection --> WFReportParams
drbd1: Handshake successful: DRBD Network Protocol version 74
drbd1: Connection established.
drbd1: I am(S): 0:00000002:00000001:00000003:00000001:00
drbd1: Peer(S): 0:00000002:00000001:00000001:00000001:00
drbd1: I shall become SyncSource, but I am inconsistent!
drbd1: drbd1_receiver [6818]: cstate WFReportParams --> StandAlone
drbd1: error receiving ReportParams, l: 72!
drbd1: worker terminated
drbd1: meta connection shut down by peer.
drbd1: asender terminated
drbd1: drbd1_receiver [6818]: cstate StandAlone --> StandAlone
drbd1: Connection lost.
drbd1: receiver terminated


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmeg.txt
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20050831/a433da6f/attachment.txt>


More information about the drbd-user mailing list