[CentOS-devel] kernel panic in sg_cmd_done

Erez Zilber erezzi.list at gmail.com
Sun Oct 4 13:28:01 UTC 2009


Hi,

I got a kernel panic with CentOS 5.3 (kernel is 2.6.18-128.1.6.el5) in
sg_cmd_done. I wasn't able to reproduce this behavior. Here's the
output of /var/log/messages. Is this a known bug?

Sep 16 14:36:48 172.16.9.60 general protection fault: 0000 [1]
Sep 16 14:36:48 172.16.9.60 SMP
Sep 16 14:36:48 172.16.9.60
Sep 16 14:36:48 172.16.9.60 last sysfs file: /block/dm-13/dev
Sep 16 14:36:48 172.16.9.60 CPU 1
Sep 16 14:36:48 172.16.9.60
Sep 16 14:36:48 172.16.9.60 Modules linked in:
Sep 16 14:36:48 172.16.9.60  iscsi_scst(U)
Sep 16 14:36:49 172.16.9.60  iscsi_tcp(U)
Sep 16 14:36:49 172.16.9.60  libiscsi_tcp(U)
Sep 16 14:36:49 172.16.9.60  libiscsi(U)
Sep 16 14:36:49 172.16.9.60  scsi_transport_iscsi(U)
Sep 16 14:36:49 172.16.9.60  isp_mod(U)
Sep 16 14:36:49 172.16.9.60  isp_scst(U)
Sep 16 14:36:49 172.16.9.60  scst_user(U)
Sep 16 14:36:49 172.16.9.60  scst(U)
Sep 16 14:36:49 172.16.9.60  dm_round_robin
Sep 16 14:36:49 172.16.9.60  nls_utf8
Sep 16 14:36:49 172.16.9.60  loop
Sep 16 14:36:49 172.16.9.60  dm_multipath
Sep 16 14:36:49 172.16.9.60  scsi_dh
Sep 16 14:36:49 172.16.9.60  ipt_MASQUERADE
Sep 16 14:36:50 172.16.9.60  iptable_nat
Sep 16 14:36:50 172.16.9.60  ip_nat
Sep 16 14:36:50 172.16.9.60  xt_state
Sep 16 14:36:50 172.16.9.60  ip_conntrack
Sep 16 14:36:53 172.16.9.60  nfnetlink
Sep 16 14:36:53 172.16.9.60  ipt_REJECT
Sep 16 14:36:53 172.16.9.60  xt_tcpudp
Sep 16 14:36:53 172.16.9.60  iptable_filter
Sep 16 14:36:53 172.16.9.60  ip_tables
Sep 16 14:36:53 172.16.9.60  x_tables
Sep 16 14:36:53 172.16.9.60  bridge
Sep 16 14:36:53 172.16.9.60  netconsole
Sep 16 14:36:53 172.16.9.60  autofs4
Sep 16 14:36:53 172.16.9.60  nfs
Sep 16 14:36:53 172.16.9.60  lockd
Sep 16 14:36:53 172.16.9.60  fscache
Sep 16 14:36:53 172.16.9.60  nfs_acl
Sep 16 14:36:53 172.16.9.60  sunrpc
Sep 16 14:36:53 172.16.9.60  video
Sep 16 14:36:53 172.16.9.60  sbs
Sep 16 14:36:53 172.16.9.60  backlight
Sep 16 14:36:53 172.16.9.60  i2c_ec
Sep 16 14:36:53 172.16.9.60  i2c_core
Sep 16 14:36:53 172.16.9.60  button
Sep 16 14:36:53 172.16.9.60  battery
Sep 16 14:36:53 172.16.9.60  asus_acpi
Sep 16 14:36:53 172.16.9.60  acpi_memhotplug
Sep 16 14:36:53 172.16.9.60  ac
Sep 16 14:36:53 172.16.9.60  ipv6
Sep 16 14:36:53 172.16.9.60  xfrm_nalgo
Sep 16 14:36:53 172.16.9.60  crypto_api
Sep 16 14:36:53 172.16.9.60  parport_pc
Sep 16 14:36:53 172.16.9.60  lp
Sep 16 14:36:53 172.16.9.60  parport
Sep 16 14:36:53 172.16.9.60  joydev
Sep 16 14:36:53 172.16.9.60  bnx2(U)
Sep 16 14:36:53 172.16.9.60  bnx2x(U)
Sep 16 14:36:53 172.16.9.60  sg
Sep 16 14:36:53 172.16.9.60  pcspkr
Sep 16 14:36:53 172.16.9.60  dm_raid45
Sep 16 14:36:53 172.16.9.60  dm_message
Sep 16 14:36:53 172.16.9.60  dm_region_hash
Sep 16 14:36:53 172.16.9.60  dm_mem_cache
Sep 16 14:36:53 172.16.9.60  dm_snapshot
Sep 16 14:36:53 172.16.9.60  dm_zero
Sep 16 14:36:53 172.16.9.60  dm_mirror
Sep 16 14:36:53 172.16.9.60  dm_log
Sep 16 14:36:53 172.16.9.60  dm_mod
Sep 16 14:36:54 172.16.9.60  shpchp
Sep 16 14:36:54 172.16.9.60  mptsas
Sep 16 14:36:54 172.16.9.60  mptscsih
Sep 16 14:36:54 172.16.9.60  mptbase
Sep 16 14:36:54 172.16.9.60  scsi_transport_sas
Sep 16 14:36:54 172.16.9.60  sd_mod
Sep 16 14:36:54 172.16.9.60  scsi_mod
Sep 16 14:36:54 172.16.9.60  ext3
Sep 16 14:36:54 172.16.9.60  jbd
Sep 16 14:36:54 172.16.9.60  uhci_hcd
Sep 16 14:36:54 172.16.9.60  ohci_hcd
Sep 16 14:36:54 172.16.9.60  ehci_hcd
Sep 16 14:36:54 172.16.9.60
Sep 16 14:36:54 172.16.9.60 Pid: 0, comm: swapper Tainted: G
2.6.18-128.1.6.el5.KM4 #1
Sep 16 14:36:54 172.16.9.60 RIP: 0010:[<ffffffff881b11f0>]
Sep 16 14:36:54 172.16.9.60  [<ffffffff881b11f0>] :sg:sg_cmd_done+0x2e/0x24e
Sep 16 14:36:54 172.16.9.60 RSP: 0018:ffff8106800a3e20  EFLAGS: 00010006
Sep 16 14:36:54 172.16.9.60 RAX: ffffffff881b11c2 RBX: 0000000000000000 RCX:
0000000000000000
Sep 16 14:36:54 172.16.9.60 RDX: 0000000000000000 RSI: ffff81065ca726e8 RDI:
ffffffff881b483b
Sep 16 14:36:54 172.16.9.60 RBP: ffff81064fc24070 R08: 00000000000003bf R09:
000000007e8ac500
Sep 16 14:36:54 172.16.9.60 R10: ffffc20010083240 R11: ffffffff8807aa47 R12:
ffff810c20957340
Sep 16 14:36:54 172.16.9.60 R13: 2030207772207366 R14: ffff81065ca726e8 R15:
0000000000000000
Sep 16 14:36:54 172.16.9.60 FS:  0000000000000000(0000)
GS:ffff81011a125a40(0000) knlGS:0000000000000000
Sep 16 14:36:54 172.16.9.60 CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Sep 16 14:36:54 172.16.9.60 CR2: 00002b3e2f65f5a8 CR3: 0000000000201000 CR4:
00000000000006e0
Sep 16 14:36:54 172.16.9.60 Process swapper (pid: 0, threadinfo
ffff81068009e000, task ffff81011a133080)
Sep 16 14:36:54 172.16.9.60 Stack:
Sep 16 14:36:54 172.16.9.60  ffff81065ddfe440
Sep 16 14:36:54 172.16.9.60  ffffffff8002c863
Sep 16 14:36:54 172.16.9.60  ffff810c7e8ac500
Sep 16 14:36:54 172.16.9.60  ffff81065ca726d8
Sep 16 14:36:54 172.16.9.60
Sep 16 14:36:54 172.16.9.60  ffff8106595cd708
Sep 16 14:36:54 172.16.9.60  ffff810c20957340
Sep 16 14:36:54 172.16.9.60  0000000000000001
Sep 16 14:36:54 172.16.9.60  0000000000000246
Sep 16 14:36:54 172.16.9.60
Sep 16 14:36:54 172.16.9.60  0000000000000000
Sep 16 14:36:54 172.16.9.60  ffffffff8807aa72
Sep 16 14:36:54 172.16.9.60  0000000000000001
Sep 16 14:36:54 172.16.9.60  ffff8106595cd708
Sep 16 14:36:54 172.16.9.60
Sep 16 14:36:54 172.16.9.60 Call Trace:
Sep 16 14:36:54 172.16.9.60  <IRQ>
Sep 16 14:36:54 172.16.9.60  [<ffffffff8002c863>]
__end_that_request_first+0x265/0x5d1
Sep 16 14:36:54 172.16.9.60  [<ffffffff8807aa72>]
:scsi_mod:scsi_end_async+0x2b/0x4c
Sep 16 14:36:54 172.16.9.60  [<ffffffff8807a024>]
:scsi_mod:scsi_end_request+0xa7/0xcd
Sep 16 14:36:54 172.16.9.60  [<ffffffff8807a198>]
:scsi_mod:scsi_io_completion+0x14e/0x324
Sep 16 14:36:54 172.16.9.60  [<ffffffff8807a42d>]
:scsi_mod:scsi_device_unbusy+0x67/0x81
Sep 16 14:36:54 172.16.9.60  [<ffffffff8003747d>] blk_done_softirq+0x5f/0x6d
Sep 16 14:36:54 172.16.9.60  [<ffffffff80011e94>] __do_softirq+0x89/0x133
Sep 16 14:36:54 172.16.9.60  [<ffffffff8005e2fc>] call_softirq+0x1c/0x28
Sep 16 14:36:54 172.16.9.60  [<ffffffff8006cad9>] do_softirq+0x2c/0x85
Sep 16 14:36:54 172.16.9.60  [<ffffffff8006c961>] do_IRQ+0xec/0xf5
Sep 16 14:36:54 172.16.9.60  [<ffffffff8018f862>] acpi_processor_idle+0x0/0x43a
Sep 16 14:36:54 172.16.9.60  [<ffffffff8005d615>] ret_from_intr+0x0/0xa
Sep 16 14:36:54 172.16.9.60  <EOI>
Sep 16 14:36:54 172.16.9.60  [<ffffffff8018f7f3>] acpi_safe_halt+0x25/0x36
Sep 16 14:36:55 172.16.9.60  [<ffffffff8018f9e9>]
acpi_processor_idle+0x187/0x43a
Sep 16 14:36:55 172.16.9.60  [<ffffffff8018f862>] acpi_processor_idle+0x0/0x43a
Sep 16 14:36:55 172.16.9.60  [<ffffffff8018f862>] acpi_processor_idle+0x0/0x43a
Sep 16 14:36:55 172.16.9.60  [<ffffffff80048a6d>] cpu_idle+0x95/0xb8
Sep 16 14:36:55 172.16.9.60  [<ffffffff80076c1f>] start_secondary+0x45a/0x469
Sep 16 14:36:55 172.16.9.60
Sep 16 14:36:55 172.16.9.60
Sep 16 14:36:55 172.16.9.60 Code:
Sep 16 14:36:55 172.16.9.60 4d
Sep 16 14:36:55 172.16.9.60 8b
Sep 16 14:36:55 172.16.9.60 65
Sep 16 14:36:55 172.16.9.60 08
Sep 16 14:36:55 172.16.9.60 4d
Sep 16 14:36:55 172.16.9.60 85
Sep 16 14:36:55 172.16.9.60 e4
Sep 16 14:36:55 172.16.9.60 74
Sep 16 14:36:55 172.16.9.60 09
Sep 16 14:36:55 172.16.9.60 41
Sep 16 14:36:55 172.16.9.60 8a
Sep 16 14:36:55 172.16.9.60 44
Sep 16 14:36:55 172.16.9.60 24
Sep 16 14:36:55 172.16.9.60 30
Sep 16 14:36:55 172.16.9.60 84
Sep 16 14:36:55 172.16.9.60 c0
Sep 16 14:36:55 172.16.9.60 74
Sep 16 14:36:55 172.16.9.60 13
Sep 16 14:36:55 172.16.9.60 48
Sep 16 14:36:55 172.16.9.60 c7
Sep 16 14:36:55 172.16.9.60
Sep 16 14:36:55 172.16.9.60 RIP
Sep 16 14:36:55 172.16.9.60  [<ffffffff881b11f0>] :sg:sg_cmd_done+0x2e/0x24e
Sep 16 14:36:55 172.16.9.60  RSP <ffff8106800a3e20>
Sep 16 14:36:55 172.16.9.60
Sep 16 14:36:55 172.16.9.60 Kernel panic - not syncing: Fatal exception
Sep 16 14:36:55 172.16.9.60



More information about the CentOS-devel mailing list