[Pkg-iscsi-maintainers] Bug#742200: Kernel bug when using VMware ESXi client

Stefan Schwarz s.schwarz at united-gameserver.de
Thu Jul 16 09:11:51 UTC 2015


Package: iscsitarget
Version: 1.4.20.2-10.1
Followup-For: Bug #742200

Dear Maintainer,

This seems to be a regression of #685422. I was able to reproduce this by running:

modprobe sg
smartctl -a /dev/sg3 #sg3 is the iscsi device

kernel messages:

kernel: [14506131.645022] iscsi_trgt: BUG at /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/iscsi.c:392 assert(req->tio)
kernel: [14506131.645088] Pid: 55733, comm: istiod1 Tainted: P        W  O 3.2.0-4-amd64 #1 Debian 3.2.65-1+deb7u1
kernel: [14506131.645092] Call Trace:
kernel: [14506131.645109]  [<ffffffffa01713f1>] ? send_data_rsp+0x45/0x1f4 [iscsi_trgt]
kernel: [14506131.645117]  [<ffffffffa017a0df>] ? ua_pending+0x19/0xa5 [iscsi_trgt]
kernel: [14506131.645125]  [<ffffffffa0178db4>] ? disk_execute_cmnd+0x1cf/0x22d [iscsi_trgt]
kernel: [14506131.645133]  [<ffffffffa0174a3d>] ? worker_thread+0xfd/0x255 [iscsi_trgt]
kernel: [14506131.645141]  [<ffffffff8103f6d2>] ? try_to_wake_up+0x197/0x197
kernel: [14506131.645148]  [<ffffffffa0174940>] ? nthread_stop+0x35/0x35 [iscsi_trgt]
kernel: [14506131.645157]  [<ffffffff8105f791>] ? kthread+0x76/0x7e
kernel: [14506131.645164]  [<ffffffff81358034>] ? kernel_thread_helper+0x4/0x10
kernel: [14506131.645171]  [<ffffffff8105f71b>] ? kthread_worker_fn+0x139/0x139
kernel: [14506131.645177]  [<ffffffff81358030>] ? gs_change+0x13/0x13
kernel: [14506131.645205] ------------[ cut here ]------------
kernel: [14506131.645235] kernel BUG at /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/iscsi.c:392!
kernel: [14506131.645287] invalid opcode: 0000 [#1] SMP
kernel: [14506131.645325] CPU 3 
kernel: [14506131.645334] Modules linked in: ip6table_filter ip6_tables nfnetlink_log nfnetlink tcp_diag inet_diag drbd lru_cache xt_multiport iptable_filter ip_tables x_tables iscsi_trgt(O) crc32c 8021q garp stp bonding loop zfs(P) zunicode(P) zavl(P) zcommon(P) znvpair(P) psmouse coretemp crc32c_intel spl(O) ghash_clmulni_intel zlib_deflate aesni_intel iTCO_wdt aes_x86_64 snd_pcm snd_page_alloc snd_timer snd acpi_cpufreq ioatdma mperf soundcore pcspkr iTCO_vendor_support sb_edac hpwdt edac_core aes_generic cryptd acpi_power_meter processor serio_raw dca evdev button hpilo container ext4 crc16 jbd2 mbcache raid1 md_mod uhci_hcd sg sd_mod crc_t10dif ahci libahci libata ehci_hcd usbcore usb_common hpsa scsi_mod thermal thermal_sys tg3 libphy [last unloaded: scsi_wait_scan]
kernel: [14506131.646011]
kernel: [14506131.646036] Pid: 55733, comm: istiod1 Tainted: P        W  O 3.2.0-4-amd64 #1 Debian 3.2.65-1+deb7u1 HP ProLiant DL380p Gen8
kernel: [14506131.646103] RIP: 0010:[<ffffffffa01713f1>]  [<ffffffffa01713f1>] send_data_rsp+0x45/0x1f4 [iscsi_trgt]
kernel: [14506131.646166] RSP: 0018:ffff88061ab47e10  EFLAGS: 00010286
kernel: [14506131.646198] RAX: 0000000000000000 RBX: ffff8805afd14120 RCX: 0000000000002157
kernel: [14506131.646248] RDX: 0000000000002157 RSI: ffff88061ab47f58 RDI: ffff88061ab47f58
kernel: [14506131.646297] RBP: 0000000000000000 R08: 0000000000000002 R09: 00000000fffffffe
kernel: [14506131.646347] R10: 0000000000000000 R11: 0000000000000002 R12: ffff880649a98080
kernel: [14506131.646396] R13: ffff8801c341c000 R14: ffff88056fded158 R15: ffff88056fded168
kernel: [14506131.646446] FS:  0000000000000000(0000) GS:ffff88083ee60000(0000) knlGS:0000000000000000
kernel: [14506131.646498] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
kernel: [14506131.646530] CR2: 00007f0df31b1960 CR3: 0000000001605000 CR4: 00000000000406e0
kernel: [14506131.646581] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kernel: [14506131.646630] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
kernel: [14506131.646680] Process istiod1 (pid: 55733, threadinfo ffff88061ab46000, task ffff880649a98080)
kernel: [14506131.646732] Stack:
kernel: [14506131.646756]  0033893f00000000 ffff88081ee7d100 0000000000012780 ffffffffa017a0df
kernel: [14506131.646825]  ffff88061ab47fd8 ffff8805afd14120 ffff880649a98080 ffff880649a98080
kernel: [14506131.646894]  ffff8801c341c000 ffff88056fded158 ffff88056fded168 ffffffffa0178db4
kernel: [14506131.646962] Call Trace:
kernel: [14506131.646992]  [<ffffffffa017a0df>] ? ua_pending+0x19/0xa5 [iscsi_trgt]
kernel: [14506131.655121]  [<ffffffffa0178db4>] ? disk_execute_cmnd+0x1cf/0x22d [iscsi_trgt]
kernel: [14506131.655174]  [<ffffffffa0174a3d>] ? worker_thread+0xfd/0x255 [iscsi_trgt]
kernel: [14506131.655210]  [<ffffffff8103f6d2>] ? try_to_wake_up+0x197/0x197
kernel: [14506131.655246]  [<ffffffffa0174940>] ? nthread_stop+0x35/0x35 [iscsi_trgt]
kernel: [14506131.655282]  [<ffffffff8105f791>] ? kthread+0x76/0x7e
kernel: [14506131.655315]  [<ffffffff81358034>] ? kernel_thread_helper+0x4/0x10
kernel: [14506131.655350]  [<ffffffff8105f71b>] ? kthread_worker_fn+0x139/0x139
kernel: [14506131.655385]  [<ffffffff81358030>] ? gs_change+0x13/0x13
kernel: [14506131.655415] Code: 48 85 ed 75 28 48 c7 c1 38 bd 17 a0 ba 88 01 00 00 48 c7 c6 a7 b9 17 a0 48 c7 c7 df b9 17 a0 31 c0 e8 6d 91 1d e1 e8 92 76 1d e1 <0f> 0b 48 89 df e8 d0 fa ff ff 8b 55 14 39 d0 0f 46 d0 85 d2 0f
kernel: [14506131.655792] RIP  [<ffffffffa01713f1>] send_data_rsp+0x45/0x1f4 [iscsi_trgt]
kernel: [14506131.655849]  RSP <ffff88061ab47e10>  
kernel: [14506131.656315] ---[ end trace e23000f487ed822c ]---


-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iscsitarget depends on:
ii  libc6     2.13-38+deb7u8
ii  lsb-base  4.1+Debian8+deb7u1
ii  procps    1:3.3.3-3

Versions of packages iscsitarget recommends:
pn  iscsitarget-module  <none>

Versions of packages iscsitarget suggests:
ii  iscsitarget-dkms  1.4.20.2-10.1

-- Configuration Files:
/etc/default/iscsitarget changed [not included]

-- no debconf information



More information about the Pkg-iscsi-maintainers mailing list