[DRBD-user] Kernel oops in DRBD 0.8pre3 in Debian

Wagner Sartori Junior wsartori at gmail.com
Tue Jun 20 20:26:49 CEST 2006

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


Hi(Sorry for the long post),

I'm trying to configure a primary/primary configuration with OCFS2 in
Debian. I start with /etc/init.d/drbd start, everything looks ok.

monaco:/etc# /etc/init.d/drbd start
Starting DRBD resources:
monaco:/etc# cat /proc/drbd
version: 8.0pre3 (api:82/proto:80)
SVN Revision: 2169 build by root at monaco, 2006-06-20 09:47:26
 0: cs:Unconfigured

After it, i type:
monaco:/etc# drbdadm create-md mysql
everything ok by now

After it, when I type:
drbdadm -- --overwrite-data-of-peer primary all

I get the kernel oops below... My mysql partition in LVM is 3G
partition in both servers(one server is in VG01 and in the other is
VG00 look at drbd.conf).

Thanks for the attention, I hope a solution to my problem.

=============================
Kernel OOPS
=============================
drbd: initialised. Version: 8.0pre3 (api:82/proto:80)
drbd: SVN Revision: 2169 build by root at monaco, 2006-06-20 09:47:26
drbd: registered as block device major 147
drbd0: role( Secondary -> Primary ) disk( Diskless -> UpToDate )
Unable to handle kernel NULL pointer dereference at virtual address 00000018
 printing eip:
f0ea60b3
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: drbd nfsd exportfs ocfs2_dlmfs ocfs2_dlm
ocfs2_nodemanager configfs ipv6 nfs lockd nfs_acl sunrpc megaraid
quota_v2 ext3 jbd mbcache dm_mod adm1026 hwmon_vid ide_cd cdrom tsdev
intel_agp agpgart mousedev i82875p_edac edac_mc sg evdev i2c_i801
i2c_core psmouse serio_raw rtc pcspkr floppy shpchp pci_hotplug
parport_pc parport reiserfs ata_piix libata sd_mod uhci_hcd generic
ide_core e1000 megaraid_mbox ehci_hcd usbcore aic7xxx
scsi_transport_spi scsi_mod megaraid_mm thermal processor fan
CPU:    0
EIP:    0060:[<f0ea60b3>]    Not tainted VLI
EFLAGS: 00210206   (2.6.16-2-686-smp #2)
EIP is at after_state_ch+0x39/0x3f0 [drbd]
eax: 00000000   ebx: 0000ae01   ecx: 00000008   edx: 0000ae01
esi: dd831800   edi: 00000001   ebp: 0000ae01   esp: cd497ab0
ds: 007b   es: 007b   ss: 0068
Process drbdsetup (pid: 6058, threadinfo=cd496000 task=dd228a90)
Stack: <0>dd831804 dd83180c 00200296 cd497acc b01155a7 00000000
00000000 00200296
      0000ae01 dd831800 00000001 0000a002 f0e95f18 dd831800 0000a002 0000ae01
      00000000 00000005 00000001 0000000f 00000000 00000000 00000000 00000000
Call Trace:
 [<b01155a7>] __wake_up_locked+0x11/0x15
 [<f0e95f18>] drbd_set_role+0x21d/0x476 [drbd]
 [<f0e96419>] drbd_ioctl+0x2a8/0x1397 [drbd]
 [<b0139cee>] find_get_page+0x1a/0x3b
 [<b015477d>] __find_get_block_slow+0x41/0x10d
 [<b015483e>] __find_get_block_slow+0x102/0x10d
 [<b0155f22>] __find_get_block+0x19c/0x1a6
 [<b0155f49>] __getblk+0x1d/0x211
 [<b0154de2>] ll_rw_block+0x7e/0x8d
 [<f09b7859>] search_by_key+0x101/0xdc4 [reiserfs]
 [<f09b78cb>] search_by_key+0x173/0xdc4 [reiserfs]
 [<b013f4d3>] __do_page_cache_readahead+0x89/0x1e1
 [<b015e990>] do_lookup+0x52/0x13f
 [<b0165dd5>] dput+0x1b/0x11e
 [<b0120293>] current_fs_time+0x48/0x65
 [<b016788f>] touch_atime+0x67/0x9f
 [<b013b215>] do_generic_mapping_read+0x3ff/0x409
 [<b0166c66>] __d_lookup+0x93/0xd9
 [<b015e990>] do_lookup+0x52/0x13f
 [<b0165dd5>] dput+0x1b/0x11e
 [<b015f53d>] __link_path_walk+0xac0/0xbea
 [<b013f4d3>] __do_page_cache_readahead+0x89/0x1e1
 [<f09c1b29>] xattr_lookup_poison+0x58/0x6c [reiserfs]
 [<b0166c4f>] __d_lookup+0x7c/0xd9
 [<b015dd00>] permission+0x6c/0xac
 [<f09c1d1a>] reiserfs_check_acl+0x0/0xb5 [reiserfs]
 [<b0191d00>] dummy_capget+0x15/0x51
 [<b015f5a7>] __link_path_walk+0xb2a/0xbea
 [<b01a7f8b>] blkdev_driver_ioctl+0x49/0x5b
 [<b01a86e9>] blkdev_ioctl+0x704/0x723
 [<b015194f>] get_unused_fd+0x52/0xb2
 [<b015dd00>] permission+0x6c/0xac
 [<b010592f>] do_gettimeofday+0x1b/0x9d
 [<b011fee0>] getnstimeofday+0xf/0x25
 [<b0139cee>] find_get_page+0x1a/0x3b
 [<b013b341>] filemap_nopage+0xc6/0x2f2
 [<b013b40f>] filemap_nopage+0x194/0x2f2
 [<b0144d02>] __handle_mm_fault+0x3c6/0x718
 [<b0158b3e>] block_ioctl+0x1a/0x1e
 [<b0161a09>] do_ioctl+0x21/0x5f
 [<b0161c97>] vfs_ioctl+0x250/0x263
 [<b011453a>] do_page_fault+0x165/0x4ab
 [<b0161cf0>] sys_ioctl+0x46/0x62
 [<b0102af3>] sysenter_past_esp+0x54/0x75
Code: 3c f0 ff 86 94 02 00 00 8a 86 5d 02 00 00 d0 e8 83 e0 0f 83 f8
02 7f 10 f0 ff 8e 94 02 00 00 c7 04 24 00 00 00 00 eb 71 8b 46 34 <8b>
40 18 89 04 24 f0 ff 8e 94 02 00 00 0f 94 c0 84 c0 74 27 f6
=============================
END OF Kernel OOPS
=============================

=============================
System Information
=============================
monaco:/etc# uname -a
Linux monaco 2.6.16-2-686-smp #2 SMP Mon May 22 23:17:21 UTC 2006 i686 GNU/Linux
=============================
End of System Information
=============================

=============================
/etc/drbd.conf
=============================
global {
   usage-count yes;
}


common {
 syncer { rate 10M; }
}

resource mysql {
 protocol C;

 startup {
   wfc-timeout  10;
   degr-wfc-timeout 120;    # 2 minutes.
 }

 disk {
   on-io-error   detach;
 }

 net {
   allow-two-primaries;
   after-sb-0pri disconnect;
   after-sb-1pri disconnect;
   after-sb-2pri disconnect;
 }

 syncer {
   rate 10M;
   al-extents 257;
 }

 on monaco {
   device     /dev/drbd0;
   disk       /dev/vg01/mysql;
   address    192.168.6.11:7788;
   flexible-meta-disk  internal;
 }

 on suica {
   device    /dev/drbd0;
   disk      /dev/vg00/mysql;
   address   192.168.6.12:7788;
   meta-disk internal;
 }
}
=============================
END OF /etc/drbd.conf
=============================




More information about the drbd-user mailing list