Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296997

Summary: sys-kernel/gentoo-linux-2.6.32 kernel BUG: NULL pointer in multipath code
Product: Gentoo Linux Reporter: Alexander Nevenchannyy <a.nevenchannyy>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Nevenchannyy 2009-12-15 07:07:21 UTC
Dec 14 15:12:11 node0 kernel: [ 1565.164555] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
Dec 14 15:12:11 node0 kernel: [ 1565.164682] IP: [<ffffffff82312b99>] multipath_ctr+0x4b9/0x930
Dec 14 15:12:11 node0 kernel: [ 1565.164757] PGD 414c40067 PUD 4150b8067 PMD 0 
Dec 14 15:12:11 node0 kernel: [ 1565.164820] Oops: 0000 [#1] SMP 
Dec 14 15:12:11 node0 kernel: [ 1565.164878] last sysfs file: /sys/devices/system/cpu/cpu31/cache/index2/shared_cpu_map
Dec 14 15:12:11 node0 kernel: [ 1565.164995] CPU 13 
Dec 14 15:12:11 node0 kernel: [ 1565.165052] Modules linked in: qla2xxx
Dec 14 15:12:11 node0 kernel: [ 1565.165121] Pid: 2725, comm: dmsetup Not tainted 2.6.32-gentoo #38 Sun Fire X4600 M2
Dec 14 15:12:11 node0 kernel: [ 1565.165211] RIP: 0010:[<ffffffff82312b99>]  [<ffffffff82312b99>] multipath_ctr+0x4b9/0x930
Dec 14 15:12:11 node0 kernel: [ 1565.165211] RSP: 0018:ffff8818362e1c58  EFLAGS: 00010207
Dec 14 15:12:11 node0 kernel: [ 1565.165211] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff881015cc34e0
Dec 14 15:12:11 node0 kernel: [ 1565.165211] RDX: 0000000000000000 RSI: ffffffff826b7960 RDI: ffffffff8254b790
Dec 14 15:12:11 node0 kernel: [ 1565.165211] RBP: ffff8818362e1d18 R08: 0000000000000003 R09: 0000000000000000
Dec 14 15:12:11 node0 kernel: [ 1565.165211] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
Dec 14 15:12:11 node0 kernel: [ 1565.165211] R13: ffffc9001df0a040 R14: ffff88101648d500 R15: 0000000000000000
Dec 14 15:12:11 node0 kernel: [ 1565.165211] FS:  00007fcf3c9c1700(0000) GS:ffff880c36480000(0000) knlGS:0000000000000000
Dec 14 15:12:11 node0 kernel: [ 1565.165211] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 14 15:12:11 node0 kernel: [ 1565.165211] CR2: 0000000000000030 CR3: 0000000414968000 CR4: 00000000000006e0
Dec 14 15:12:11 node0 kernel: [ 1565.165211] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 14 15:12:11 node0 kernel: [ 1565.165211] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Dec 14 15:12:11 node0 kernel: [ 1565.165211] Process dmsetup (pid: 2725, threadinfo ffff8818362e0000, task ffff881c16764990)
Dec 14 15:12:11 node0 kernel: [ 1565.165211] Stack:
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  ffff8818362e1c88 0000000000000202 0000000000000000 ffff88101648d500
Dec 14 15:12:11 node0 kernel: [ 1565.165211] <0> 0000000115c6f200 ffff881015cc3498 ffff881015d530a0 ffffc9001df0a040
Dec 14 15:12:11 node0 kernel: [ 1565.165211] <0> ffffc9001df0a078 fffffffe00000002 0000000000000010 00000002f4240500
Dec 14 15:12:11 node0 kernel: [ 1565.165211] Call Trace:
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8230c349>] dm_table_add_target+0xf9/0x230
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8230e43b>] table_load+0xdb/0x2f0
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8230e360>] ? table_load+0x0/0x2f0
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8230f3a5>] ctl_ioctl+0x195/0x230
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8230f44e>] dm_ctl_ioctl+0xe/0x20
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff820d84ad>] vfs_ioctl+0x1d/0xa0
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff820d8640>] do_vfs_ioctl+0x80/0x560
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff820ca2dd>] ? vfs_read+0xad/0x190
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff820d8b6a>] sys_ioctl+0x4a/0x80
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8200cff9>] ? do_device_not_available+0x9/0x10
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  [<ffffffff8200bdeb>] system_call_fastpath+0x16/0x1b
Dec 14 15:12:11 node0 kernel: [ 1565.165211] Code: 89 d4 48 89 df 4c 89 ee 48 89 95 50 ff ff ff e8 ae f6 ff ff 48 8b 95 50 ff ff ff 48 89 d3 49 81 fc 00 f0 ff ff 0f 87 63 04 00 00 <8b> 43 30 41 01 46 50 49 8b 46 40 49 89 5e 40 48 8b 55 a0 48 89 
Dec 14 15:12:11 node0 kernel: [ 1565.165211] RIP  [<ffffffff82312b99>] multipath_ctr+0x4b9/0x930
Dec 14 15:12:11 node0 kernel: [ 1565.165211]  RSP <ffff8818362e1c58>
Dec 14 15:12:11 node0 kernel: [ 1565.165211] CR2: 0000000000000030
Dec 14 15:12:11 node0 kernel: [ 1565.169134] ---[ end trace 36d3911f5606e979 ]---

Reproducible: Couldn't Reproduce
Comment 1 Mike Pagano gentoo-dev 2009-12-17 23:44:35 UTC
Can you perform the following from your kernel source directory and post the
results here:

Using the same gcc version and kernel from the trace.

make CONFIG_DEBUG_INFO=y drivers/md/dm-mpath.o
gdb drivers/md/dm-mpath.o
list *multipath_ctr+0x4b9

Might be uselful to have CONFIG_DEBUG_INFO turned out in the event this reoccurs we can get more info.