On 06/23/2013 03:06 AM, Alex Lyakas wrote:
> Greetings all,
> iscsiadm has caused kernel NULL pointer dereference, that looks like follows:
> 
> [   29.833228] BUG: unable to handle kernel NULL pointer dereference
> at 00000000000000d0
> [   29.835268] IP: [<ffffffff81045c29>] __ticket_spin_lock+0x9/0x30
> [   29.836034] PGD 114f15067 PUD 114f14067 PMD 0
> [   29.836034] Oops: 0002 [#1] SMP
> [   29.852450] sd 6:0:0:0: Attached scsi generic sg3 type 0
> [   29.852468] scst[2564] scst_register_device[976]: Attached to
> scsi6, channel 0, id 0, lun 0, type 0
> [   29.852567] sd 4:0:0:0: Attached scsi generic sg4 type 0
> [   29.852578] scst[2565] scst_register_device[976]: Attached to
> scsi4, channel 0, id 0, lun 0, type 0
> [   29.859101]  drm serio_raw sysimgblt sysfillrect virtio_balloon
> nfsd(OF) nfs_acl syscopyarea auth_rpcgss nfs i2c_piix4 fscache lockd
> sunrpc mac_hid lp parport floppy ixgbevf
> [   29.859101] CPU 1
> [   29.859101] Pid: 2569, comm: iscsiadm Tainted: GF          O
> 3.8.13-030813-generic #201305111843 Bochs Bochs
> [   29.859101] RIP: 0010:[<ffffffff81045c29>]  [<ffffffff81045c29>]
> __ticket_spin_lock+0x9/0x30
> [   29.859101] RSP: 0018:ffff880114ca7d98  EFLAGS: 00010206
> [   29.859101] RAX: 0000000000010000 RBX: 00000000000000d0 RCX: 
> 0000000000000001
> [   29.859101] RDX: ffff880115287000 RSI: 0000000000000003 RDI: 
> 00000000000000d0
> [   29.859101] RBP: ffff880114ca7d98 R08: 0000000000000000 R09: 
> 0000000000000c55
> [   29.859101] R10: ffffea000454a1c0 R11: 0000000000000246 R12: 
> 00000000000000d0
> [   29.859101] R13: 0000000000000000 R14: ffff8801157f6438 R15: 
> ffff880115fc8c00
> [   29.859101] FS:  00007f6bbb801700(0000) GS:ffff88011fd00000(0000)
> knlGS:0000000000000000
> [   29.859101] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [   29.859101] CR2: 00000000000000d0 CR3: 000000011494e000 CR4: 
> 00000000000006e0
> [   29.859101] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
> 0000000000000000
> [   29.859101] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
> 0000000000000400
> [   29.859101] Process iscsiadm (pid: 2569, threadinfo
> ffff880114ca6000, task ffff880114e20000)
> [   29.859101] Stack:
> [   29.859101]  ffff880114ca7db8 ffffffff816ed63e ffff88011fffbd80
> ffff880115287000
> [   29.859101]  ffff880114ca7e28 ffffffffa05d194f ffff88011516bd20
> ffff880118bed600
> [   29.859101]  0000000995fdf9ab ffffffff81ef7b20 00000000000080d0
> 0000000000000000
> [   29.859101] Call Trace:
> [   29.859101]  [<ffffffff816ed63e>] _raw_spin_lock_bh+0x1e/0x30
> [   29.859101]  [<ffffffffa05d194f>]
> iscsi_sw_tcp_host_get_param+0x6f/0xe0 [iscsi_tcp]
> [   29.859101]  [<ffffffffa05ab2ac>]
> show_host_param_ISCSI_HOST_PARAM_IPADDRESS+0x4c/0x60
> [scsi_transport_iscsi]
> [   29.859101]  [<ffffffff8145e7a0>] dev_attr_show+0x20/0x60
> [   29.859101]  [<ffffffff81139aae>] ? __get_free_pages+0xe/0x40
> [   29.859101]  [<ffffffff8120f736>] fill_read_buffer.isra.8+0x66/0xf0
> [   29.859101]  [<ffffffff8120f864>] sysfs_read_file+0xa4/0xc0
> [   29.859101]  [<ffffffff8119b4d0>] vfs_read+0xb0/0x180
> [   29.859101]  [<ffffffff8119b5f2>] sys_read+0x52/0xa0
> [   29.859101]  [<ffffffff816f629d>] system_call_fastpath+0x1a/0x1f
> [   29.859101] Code: 00 00 48 c7 c1 31 5a 04 81 48 c7 c2 2e 5a 04 81
> e9 dd fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 55 b8 00 00 01
> 00 48 89 e5 <f0> 0f c1 07 89 c2 c1 ea 10 66 39 c2 74 13 66 0f 1f 84 00
> 00 00
> [   29.859101] RIP  [<ffffffff81045c29>] __ticket_spin_lock+0x9/0x30
> [   29.859101]  RSP <ffff880114ca7d98>
> [   29.859101] CR2: 00000000000000d0
> [   29.926003] ---[ end trace 3db857a832dd3e91 ]---
> 
> Kernel is mainline 3.8.13.

We have not seen it before. I am not seeing it here. What else are you
running in your environment and has any of that changes recently. Is
this in a vm or real machine? Could you also attached your kernel config
file? Did you build the kernel yourself?

What are you doing when this happens? Are you just logging in or running
some other command?

Do you see this with other kernel versions, because the iscsi code
mentioned in the trace has not changed. The actual oops seems to be in
the spin lock code though.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to