[DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

Mike Sweetser - Adhost mikesw at adhost.com
Wed Dec 9 20:37:08 CET 2009

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


As a followup, I tried different versions of DRBD on the Xen machines,
and was able to get it working with DRBD 8.3.2 and earlier.  8.3.3 and
later causes the kernel panic.

Were any changes made to DRBD from 8.3.3 onward that causes problems
with Xen?  Are there parameters I need to set?

Here's my drbd.conf file, with sensitive information redacted:

resource backup {
  protocol C;
  handlers {
    pri-on-incon-degr "echo 'DRBD: primary requested but inconsistent!'
| wall; /etc/init.d/heartbeat stop"; #"halt -f";
    pri-lost-after-sb "echo 'DRBD: primary requested but lost!' | wall;
/etc/init.d/heartbeat stop"; #"halt -f";
  }

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

  disk {
    on-io-error   detach;
    no-disk-barrier;
    no-disk-flushes;
    no-md-flushes;
  }

  net {
    timeout 120;
    connect-int 20;
    ping-int 20;
    max-buffers     2048;
    max-epoch-size  2048;
    ko-count 30;
    cram-hmac-alg "sha1";
    shared-secret "XXXXXXXXX";
    after-sb-0pri disconnect;
    after-sb-1pri disconnect;
    after-sb-2pri disconnect;
  }

  syncer {
    rate 30M;
    al-extents 503;
    verify-alg sha1;
  }

  on SERVER1 {
    device    /dev/drbd2;
    disk      /dev/lvm/backup;
    address   172.16.1.1:7790;
    meta-disk internal;
  }

  on SERVER2 {
    device    /dev/drbd2;
    disk      /dev/lvm/backup;
    address   172.16.1.2:7790;
    meta-disk internal;
  }
}


--------------------------
Mike Sweetser, RHCT, WCSP | Systems Administrator

Adhost Internet
140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA
P 206.404.9000    T 888.234.6781 (ADHOST-1)    F 206.404.9050
E mikesw at adhost.com    W adhost.com


> -----Original Message-----
> From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-
> bounces at lists.linbit.com] On Behalf Of Mike Sweetser - Adhost
> Sent: Tuesday, December 08, 2009 4:03 PM
> To: drbd-user at lists.linbit.com
> Subject: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen
> 
> I just installed DRBD 8.3.6, but when starting the module, it
> immediately causes a kernel panic.
> 
> Starting DRBD resources: [ d(storage) Unable to handle kernel paging
> request at ffff81018341e03c RIP:
>  [<ffffffff8836274b>] :drbd:drbd_md_read+0xd7/0x236
> PGD 183026063 PUD 0
> Oops: 0000 [1] SMP
> last sysfs file: /module/drbd/parameters/cn_idx
> CPU 0
> Modules linked in: drbd(U) nfsd exportfs nfs_acl auth_rpcgss ipv6
> xfrm_nalgo crypto_api autofs4 hidp rfcomm l2cap bluetooth lockd sunrpc
> dm_mirror dm_multipath scsi_dh scsi_mod parport_pc lp parport pcspkr
> xennet dm_raid45 dm_message dm_region_hash dm_log dm_mod dm_mem_cache
> xenblk ext3 jbd uhci_hcd ohci_hcd ehci_hcd
> Pid: 35, comm: cqueue/0 Tainted: G      2.6.18-164.6.1.el5xen #1
> 
> Any idea what I can do here?
> 
> Mike Sweetser
> 
> --------------------------
> Mike Sweetser, RHCT, WCSP | Systems Administrator
> 
> Adhost Internet
> 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA
> P 206.404.9000    T 888.234.6781 (ADHOST-1)    F 206.404.9050
> E mikesw at adhost.com    W adhost.com
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list