[DRBD-user] BUG? Oops: kernel NULL pointer dereference in drbd_connector_callback

Robert Dahlem Robert.Dahlem at gmx.net
Fri Oct 16 19:54:48 CEST 2009

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


Hi,

I'm trying to install DRBD 0.8.3.4 on top of Linux 2.6.31.3.

# make KDIR=/usr/src/linux kernel-patch
# cd /usr/src/linux
# patch -p1 </xxx/drbd-8.3.4/patch-linux-drbd-8.3.4
# make menuconfig
	CONFIG_CONNECTOR=y
	CONFIG_PROC_EVENTS not set
	CONFIG_BLK_DEV_DRBD=m
	CONFIG_DRBD_TRACE not set
	CONFIG_CRYPTO_HMAC=m
	CONFIG_CRYPTO_SHA1=m

When trying to start DRBD I get an Oops:

=========================================================================
kernel: drbd: initialized. Version: 8.3.4 (api:88/proto:86-91)
kernel: drbd: GIT-hash: 70a645ae080411c87b4482a135847d69dc90a6a2 build
by dahlem at xxxxxx01, 2009-10-16 18:51:20
kernel: drbd: registered as block device major 147
kernel: drbd: minor_table @ 0xf770b540
kernel: klogd 1.4.1, ---------- state change ----------
kernel: BUG: unable to handle kernel NULL pointer dereference at 00000016
kernel: IP: [<f84d8bea>] drbd_connector_callback+0x3e/0x185 [drbd]
kernel: *pdpt = 0000000036808001 *pde = 0000000000000000
kernel: Oops: 0000 [#1] SMP
kernel: last sysfs file: /sys/module/drbd/parameters/cn_idx
kernel: Modules linked in: drbd crypto xt_pkttype xt_tcpudp xt_limit
xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack
nf_defrag_ipv4 iptable_filter ipt_REJECT ipt_LOG ip_tables x_tables loop
usbhid hid uhci_hcd usbcore sr_mod cdrom pcspkr nls_base 8250_pnp tg3
8250 libphy serial_core e1000e unix
kernel:
kernel: Pid: 8, comm: events/1 Not tainted (2.6.31.3 #1) PRIMERGY RX100S5
kernel: EIP: 0060:[<f84d8bea>] EFLAGS: 00010202 CPU: 1
kernel: EIP is at drbd_connector_callback+0x3e/0x185 [drbd]
kernel: EAX: c435e238 EBX: 00000000 ECX: 00000001 EDX: 00000098
kernel: ESI: f6945e10 EDI: f770ba48 EBP: c435c204 ESP: f7473f64
kernel:  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
kernel: Process events/1 (pid: 8, ti=f7472000 task=f743e040
task.ti=f7472000)
kernel: Stack:
kernel:  f74c1640 c11425d6 b6d19395 f770ba40 c11423df f770ba48 c435c204
c11423f8
kernel: <0> b6d19395 c435c200 c10380fd c435c20c 00000000 f743e040
c103b9f3 f7473fa0
kernel: <0> f7473fa0 b6d19395 f7441f4c c435c200 c103802e 00000000
c103b6a5 00000000
kernel: Call Trace:
kernel:  [<c11425d6>] ? cn_queue_create+0x0/0x60
kernel:  [<c11423df>] ? cn_queue_wrapper+0x0/0x41
kernel:  [<c11423f8>] ? cn_queue_wrapper+0x19/0x41
kernel:  [<c10380fd>] ? worker_thread+0xcf/0x159
kernel:  [<c103b9f3>] ? autoremove_wake_function+0x0/0x4f
kernel:  [<c103802e>] ? worker_thread+0x0/0x159
kernel:  [<c103b6a5>] ? kthread+0x7a/0x7f
kernel:  [<c103b62b>] ? kthread+0x0/0x7f
kernel:  [<c1003747>] ? kernel_thread_helper+0x7/0x10
kernel: Code: 24 08 31 c0 64 8b 0d 80 56 2e c1 83 3d 08 da 4e f8 02 0f
84 35 01 00 00 a1 20 db 4e f8 03 04 8d 1c cf 29 c1 ff 00 ba 98 00 00 00
<f6> 43 16 20 0f 84 f3 00 00 00 8d 6e 14 89 e8 e8 06 ff ff ff ba
kernel: EIP: [<f84d8bea>] drbd_connector_callback+0x3e/0x185 [drbd]
SS:ESP 0068:f7473f64
kernel: CR2: 0000000000000016
kernel: ---[ end trace aace275fd7626d33 ]---
=========================================================================

Anything I can do to localize this?

Thanks in advance for any help.

Regards,
        Robert



More information about the drbd-user mailing list