[DRBD-user] DRBD Kernel Errors

Nathan gmane_news at overdrawn.net
Wed Apr 20 19:44:30 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.


Using the install of drbd off the suse enterprise 9 sp1 cd, i'm getting 
the following errors after creating it and attempting to do a mkreiser 
on /dev/nb0:

Apr 20 09:52:15 web1 kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000000
Apr 20 09:52:15 web1 kernel:  printing eip:
Apr 20 09:52:15 web1 kernel: c0178555
Apr 20 09:52:15 web1 kernel: *pde = 00000000
Apr 20 09:52:15 web1 kernel: Oops: 0002 [#1]
Apr 20 09:52:15 web1 kernel: SMP
Apr 20 09:52:15 web1 kernel: CPU:    0
Apr 20 09:52:15 web1 kernel: EIP:    0060:[<c0178555>]    Not tainted
Apr 20 09:52:15 web1 kernel: EFLAGS: 00010206   (2.6.5-7.139-smp 
SLES9_SP1_BRANCH-200501141541330000)
Apr 20 09:52:15 web1 kernel: EIP is at __bio_clone+0x35/0xc0
Apr 20 09:52:15 web1 kernel: eax: 0000000c   ebx: 00000000   ecx: 
00000003   edx: cdfdc680
Apr 20 09:52:15 web1 kernel: esi: cdfd9b00   edi: 00000000   ebp: 
f703ef8c   esp: f6fa5b34
Apr 20 09:52:15 web1 kernel: ds: 007b   es: 007b   ss: 0068
Apr 20 09:52:15 web1 kernel: Process mkreiserfs (pid: 3145, 
threadinfo=f6fa4000 task=f763f350)
Apr 20 09:52:15 web1 kernel: Stack: f77bfe00 00000000 f703ef70 f73c7000 
cdfdc680 f8b3bfc4 f7443000 f6e6cb80
Apr 20 09:52:15 web1 kernel:        c02c897f 00000206 f7bd3e4c f703ef8c 
f7065928 f70b98e8 f7065900 c02e89a1
Apr 20 09:52:15 web1 kernel:        00000008 c2247bdc 00000008 c01741e1 
00000000 00000000 00001000 00000000
Apr 20 09:52:15 web1 kernel: Call Trace:
Apr 20 09:52:15 web1 kernel:  [<f8b3bfc4>] 
drbd_make_request_26+0x364/0xbdf [drbd]
Apr 20 09:52:15 web1 kernel:  [<c02c897f>] dev_queue_xmit+0x26f/0x2b0
Apr 20 09:52:15 web1 kernel:  [<c02e89a1>] ip_finish_output+0xd1/0x240
Apr 20 09:52:15 web1 kernel:  [<c01741e1>] __find_get_block+0xa1/0x1b0
Apr 20 09:52:15 web1 kernel:  [<c02e64b3>] ip_dst_output+0x23/0x80
Apr 20 09:52:15 web1 kernel:  [<c026152d>] generic_make_request+0x11d/0x200
Apr 20 09:52:15 web1 kernel:  [<c0151703>] mempool_alloc+0x73/0x140
Apr 20 09:52:15 web1 kernel:  [<c0128d50>] autoremove_wake_function+0x0/0x40
Apr 20 09:52:15 web1 kernel:  [<c0261678>] submit_bio+0x68/0x120
Apr 20 09:52:15 web1 kernel:  [<c0128d50>] autoremove_wake_function+0x0/0x40
Apr 20 09:52:15 web1 kernel:  [<c015d5e6>] do_no_page+0x246/0x8e0
Apr 20 09:52:15 web1 kernel:  [<c01776f2>] bio_alloc+0xd2/0x1c0
Apr 20 09:52:15 web1 kernel:  [<c017386d>] submit_bh+0x17d/0x230
Apr 20 09:52:15 web1 kernel:  [<c0175967>] block_read_full_page+0x357/0x360
Apr 20 09:52:15 web1 kernel:  [<c0179c50>] blkdev_get_block+0x0/0x80
Apr 20 09:52:15 web1 kernel:  [<c014d3a7>] add_to_page_cache+0x57/0x180
Apr 20 09:52:15 web1 kernel:  [<c01552c0>] read_pages+0x130/0x1b0
Apr 20 09:52:15 web1 kernel:  [<c0153b7d>] __alloc_pages+0xad/0x310
Apr 20 09:52:15 web1 kernel:  [<c015eeb8>] handle_mm_fault+0x138/0xb60
Apr 20 09:52:15 web1 kernel:  [<c015544e>] 
do_page_cache_readahead+0x10e/0x180
Apr 20 09:52:15 web1 kernel:  [<c01555e8>] page_cache_readahead+0x128/0x240
Apr 20 09:52:15 web1 kernel:  [<c014e692>] 
do_generic_mapping_read+0x332/0x7d0
Apr 20 09:52:15 web1 kernel:  [<c014cc60>] file_read_actor+0x0/0xf0
Apr 20 09:52:15 web1 kernel:  [<c014f682>] 
__generic_file_aio_read+0x1e2/0x220
Apr 20 09:52:15 web1 kernel:  [<c014cc60>] file_read_actor+0x0/0xf0
Apr 20 09:52:15 web1 kernel:  [<c0153b7d>] __alloc_pages+0xad/0x310
Apr 20 09:52:15 web1 kernel:  [<c014f7ef>] generic_file_read+0x8f/0xb0
Apr 20 09:52:15 web1 kernel:  [<c015eeb8>] handle_mm_fault+0x138/0xb60
Apr 20 09:52:15 web1 kernel:  [<c0128d50>] autoremove_wake_function+0x0/0x40
Apr 20 09:52:15 web1 kernel:  [<c011df93>] do_page_fault+0x163/0x53f
Apr 20 09:52:15 web1 kernel:  [<c0172216>] vfs_read+0xc6/0x160
Apr 20 09:52:15 web1 kernel:  [<c0179d80>] block_llseek+0x0/0x110
Apr 20 09:52:15 web1 kernel:  [<c01724c1>] sys_read+0x91/0xf0
Apr 20 09:52:15 web1 kernel:  [<c01091d9>] sysenter_past_esp+0x52/0x79
Apr 20 09:52:15 web1 kernel:
Apr 20 09:52:15 web1 kernel: Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 
a4 8b 42 0c 8b 0a 8b 5a


And on my other machine i get the same thing:

Apr 20 10:21:31 web2 kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000000
Apr 20 10:21:31 web2 kernel:  printing eip:
Apr 20 10:21:31 web2 kernel: c0178555
Apr 20 10:21:31 web2 kernel: *pde = 00000000
Apr 20 10:21:31 web2 kernel: Oops: 0002 [#1]
Apr 20 10:21:31 web2 kernel: SMP
Apr 20 10:21:31 web2 kernel: CPU:    0
Apr 20 10:21:31 web2 kernel: EIP:    0060:[<c0178555>]    Not tainted
Apr 20 10:21:31 web2 kernel: EFLAGS: 00010206   (2.6.5-7.139-smp 
SLES9_SP1_BRANCH-200501141541330000)
Apr 20 10:21:31 web2 kernel: EIP is at __bio_clone+0x35/0xc0
Apr 20 10:21:31 web2 kernel: eax: 0000000c   ebx: 00000000   ecx: 
00000003   edx: f5c49d40
Apr 20 10:21:31 web2 kernel: esi: ef9c7de0   edi: 00000000   ebp: 
f640ef8c   esp: ef9d1b34
Apr 20 10:21:31 web2 kernel: ds: 007b   es: 007b   ss: 0068
Apr 20 10:21:31 web2 kernel: Process mkreiserfs (pid: 7191, 
threadinfo=ef9d0000 task=f70f2d30)
Apr 20 10:21:31 web2 kernel: Stack: f7944200 00000000 f640ef70 f6c81000 
f5c49d40 f8bfafc4 00000000 ef911800
Apr 20 10:21:31 web2 kernel:        00005993 00000000 f7bea388 f640ef8c 
f6ccdcac f6ccdcac cde03994 00000000
Apr 20 10:21:31 web2 kernel:        00000008 f6ccdcac 00000008 c01741e1 
00000000 00000000 00001000 00000000
Apr 20 10:21:31 web2 kernel: Call Trace:
Apr 20 10:21:31 web2 kernel:  [<f8bfafc4>] 
drbd_make_request_26+0x364/0xbdf [drbd]
Apr 20 10:21:31 web2 kernel:  [<c01741e1>] __find_get_block+0xa1/0x1b0
Apr 20 10:21:31 web2 kernel:  [<c026152d>] generic_make_request+0x11d/0x200
Apr 20 10:21:31 web2 kernel:  [<f89567c3>] search_by_key+0x153/0x14c0 
[reiserfs]
Apr 20 10:21:31 web2 kernel:  [<c0151703>] mempool_alloc+0x73/0x140
Apr 20 10:21:31 web2 kernel:  [<c0128d50>] autoremove_wake_function+0x0/0x40
Apr 20 10:21:31 web2 kernel:  [<c0261678>] submit_bio+0x68/0x120
Apr 20 10:21:31 web2 kernel:  [<c0128d50>] autoremove_wake_function+0x0/0x40
Apr 20 10:21:31 web2 kernel:  [<c01776f2>] bio_alloc+0xd2/0x1c0
Apr 20 10:21:31 web2 kernel:  [<c017386d>] submit_bh+0x17d/0x230
Apr 20 10:21:31 web2 kernel:  [<c0175967>] block_read_full_page+0x357/0x360
Apr 20 10:21:31 web2 kernel:  [<c0179c50>] blkdev_get_block+0x0/0x80
Apr 20 10:21:31 web2 kernel:  [<c014d3a7>] add_to_page_cache+0x57/0x180
Apr 20 10:21:31 web2 kernel:  [<c01552c0>] read_pages+0x130/0x1b0
Apr 20 10:21:31 web2 kernel:  [<c0153b7d>] __alloc_pages+0xad/0x310
Apr 20 10:21:31 web2 kernel:  [<c010a1da>] apic_timer_interrupt+0x1a/0x20
Apr 20 10:21:31 web2 kernel:  [<c015544e>] 
do_page_cache_readahead+0x10e/0x180
Apr 20 10:21:31 web2 kernel:  [<c01555e8>] page_cache_readahead+0x128/0x240
Apr 20 10:21:31 web2 kernel:  [<c014e692>] 
do_generic_mapping_read+0x332/0x7d0
Apr 20 10:21:31 web2 kernel:  [<c014cc60>] file_read_actor+0x0/0xf0
Apr 20 10:21:31 web2 kernel:  [<c014f682>] 
__generic_file_aio_read+0x1e2/0x220
Apr 20 10:21:31 web2 kernel:  [<c014cc60>] file_read_actor+0x0/0xf0
Apr 20 10:21:31 web2 kernel:  [<c0153b7d>] __alloc_pages+0xad/0x310
Apr 20 10:21:31 web2 kernel:  [<c014f7ef>] generic_file_read+0x8f/0xb0
Apr 20 10:21:31 web2 kernel:  [<c015eeb8>] handle_mm_fault+0x138/0xb60
Apr 20 10:21:31 web2 kernel:  [<c0128d50>] autoremove_wake_function+0x0/0x40
Apr 20 10:21:31 web2 kernel:  [<c011df93>] do_page_fault+0x163/0x53f
Apr 20 10:21:31 web2 kernel:  [<c0172216>] vfs_read+0xc6/0x160
Apr 20 10:21:31 web2 kernel:  [<c0179d80>] block_llseek+0x0/0x110
Apr 20 10:21:31 web2 kernel:  [<c01724c1>] sys_read+0x91/0xf0
Apr 20 10:21:31 web2 kernel:  [<c01091d9>] sysenter_past_esp+0x52/0x79
Apr 20 10:21:31 web2 kernel:
Apr 20 10:21:31 web2 kernel: Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 
a4 8b 42 0c 8b 0a 8b 5a


Anyone know what might be causing this?

My config file:

resource webdrbd {
   protocol C;
   incon-degr-cmd "halt -f";
   startup {
     degr-wfc-timeout 120;
   }

   disk {
     on-io-error   detach;
   }

   syncer {
     rate 100M;
     group 1;
     al-extents 257;
   }

   on web1 {
     device     /dev/nb0;
     disk       /dev/sda3;
     address    192.168.1.111:7788;
     meta-disk  internal;
   }

   on web2 {
     device    /dev/nb0;
     disk      /dev/sda3;
     address   192.168.1.112:7788;
     meta-disk internal;
   }


Thanks,
Nathan




More information about the drbd-user mailing list