[DRBD-user] OOPS with drbd, lvm and XFS on debian xen 2.6.16

Igor Morgado igormorgado.listas at gmail.com
Mon Jul 3 23:30:53 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.


This happned after a drbdadm resize in my resource (I had extended the
device with lvm), on a debian gnu/linux (the oops is on the end of report)

magratea:~# uname -a
Linux magratea 2.6.16-2-xen-686 #1 SMP Tue May 23 05:46:45 CEST 2006 i686
GNU/Linux


Im running LVM on top of DRBD


magratea:~# lvm version
  LVM version:     2.01.04 (2005-02-09)
  Library version: 1.01.00-ioctl (2005-01-17)
  Driver version:  4.5.0


drbd version is:
Version: 8.0pre3 (api:82)
SVN Revision: 2169 build by root at magratea, 2006-06-29 17:09:10


My config (and resource of drbd)
global {
    minor-count 15;
}

common {
        startup {
                wfc-timeout  0;
                degr-wfc-timeout 120;    # 2 minutes.
        }
        disk {
                on-io-error     detach;
        }
        net {
                timeout       60;    #  6 seconds  (unit = 0.1 seconds)
                connect-int   10;    # 10 seconds  (unit = 1 second)
                ping-int      10;    # 10 seconds  (unit = 1 second)
                max-buffers     2048;
                max-epoch-size  2048;
                ko-count 4;
                allow-two-primaries;
        }
        syncer {
                rate            100M;
                al-extents      257;
        }
}

resource marvin.root {
        protocol B;
        on magratea {
                device          /dev/drbd0;
                disk            /dev/mapper/arr0-marvin.root;
                address         10.255.255.1:7788;
                meta-disk       internal;
        }
        on cricket {
                device          /dev/drbd0;
                disk            /dev/mapper/arr0-marvin.root;
                address         10.255.255.2:7788;
                meta-disk       internal;
        }
}


The volume

magratea:~# lvdisplay /dev/arr0/marvin.root
  --- Logical volume ---
  LV Name                /dev/arr0/marvin.root
  VG Name                arr0
  LV UUID                DFLxkR-y3by-9Q95-bs5I-iHAq-Y9eM-AWJ8J6
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                1.00 GB
  Current LE             256
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:4


The syslog...

Jul  3 17:49:21 magratea kernel: Unable to handle kernel NULL pointer
dereference at virtual address 0000001c
Jul  3 17:49:21 magratea kernel:  printing eip:
Jul  3 17:49:21 magratea kernel: c13af1e0
Jul  3 17:49:21 magratea kernel: *pde = ma 00000000 pa fffff000
Jul  3 17:49:21 magratea kernel: Oops: 0002 [#1]
Jul  3 17:49:21 magratea kernel: SMP
Jul  3 17:49:21 magratea kernel: Modules linked in: drbd xt_physdev
iptable_filter ip_tables x_tables ipv6 bridge megaraid ext2 mbcache dm_mod
ide_disk evdev mousedev tsdev hw_random sg pcspkr rtc floppy serial_core
psmouse shpchp pci_hotplug serio_raw xfs exportfs sd_mod usbhid ide_cd cdrom
megaraid_mbox scsi_mod megaraid_mm uhci_hcd piix ehci_hcd generic usbcore
ide_core tg3 thermal processor fan
Jul  3 17:49:21 magratea kernel: CPU:    0
Jul  3 17:49:21 magratea kernel: EIP:    0061:[<c13af1e0>]    Not tainted
VLI
Jul  3 17:49:21 magratea kernel: EFLAGS: 00010293   (2.6.16-2-xen-686 #1)
Jul  3 17:49:21 magratea kernel: EIP is at drbd_ioctl+0x33a/0xafd [drbd]
Jul  3 17:49:21 magratea kernel: eax: 00000000   ebx: 40084410   ecx:
00000015   edx: 00000000
Jul  3 17:49:21 magratea kernel: esi: bf5368c0   edi: 00000000   ebp:
be654808   esp: bde69e28
Jul  3 17:49:21 magratea kernel: ds: 007b   es: 007b   ss: 0069
Jul  3 17:49:21 magratea kernel: Process drbdsetup (pid: 13403,
threadinfo=bde68000 task=bf521030)
Jul  3 17:49:21 magratea kernel: Stack: <0>bf2cee40 b00fa964 00000310
00000001 00000000 00000000 00000004 00001000
Jul  3 17:49:21 magratea kernel:        b8269684 b8269684 c1229b94 b8269684
00000008 00000000 00000000 00000000
Jul  3 17:49:21 magratea kernel:        b8269684 00000008 be558664 00000006
0f22a09c 00000000 bde69ef0 bde69ef0
Jul  3 17:49:21 magratea kernel: Call Trace:
Jul  3 17:49:21 magratea kernel:  [<c1229b94>] xfs_access+0x2b/0x33 [xfs]
Jul  3 17:49:21 magratea kernel:  [<b0106d66>] do_gettimeofday+0x4d/0x1cc
Jul  3 17:49:21 magratea kernel:  [<b01345cd>] find_get_page+0x1b/0x5d
Jul  3 17:49:21 magratea kernel:  [<b013534d>] filemap_nopage+0xc5/0x2e7
Jul  3 17:49:21 magratea kernel:  [<b0135419>] filemap_nopage+0x191/0x2e7
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b01a91bb>] blkdev_driver_ioctl+0x40/0x58
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b01a9387>] blkdev_ioctl+0x1b4/0x1c3
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b0156c5c>] block_ioctl+0x1a/0x1e
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b015f284>] do_ioctl+0x28/0x66
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b015f54c>] vfs_ioctl+0x17e/0x18c
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b015f5a0>] sys_ioctl+0x46/0x62
Jul  3 17:49:21 magratea kernel:  [<b0325900>] inflate_codes+0x26e/0x3fa
Jul  3 17:49:21 magratea kernel:  [<b0104665>] syscall_call+0x7/0xb
Jul  3 17:49:21 magratea kernel: Code: 0f b6 85 5c 02 00 00 c7 44 24 38 8d
ff ff ff 24 0f 3c 0a 0f 84 be 07 00 00 c7 44 24 38 00 00 00 00 8b bc 24 c4
00 00 00 8b 45 34 <89> 78 1c c7 40 20 00 00 00 00 68 fd 04 00 00 68 60 20 3c
c1 55
Jul  3 17:49:21 magratea kernel: klogd 1.4.1, ---------- state change
----------
Jul  3 17:49:21 magratea kernel: No module symbols loaded - kernel modules
not enabled.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060703/167a7f06/attachment.htm>


More information about the drbd-user mailing list