Since the installation of the Sundtek device with the Net-Installer I have kernel-panics occasionally on my Intel NUC D34010WYKH (Intel i3).
I'm beginning to suspect there is something 'wrong' with the USB3-implementation on Linux on the device, since I would expect the Sundtek-drivers being userspace-drivers they alone can not cause kernel-panics... However, I must say that it only happened after I connected the Sundtek USB-stick and "the taint is on mediasrv" which is from the Sundtek-drivers.
I was wondering if any of you guys can shine some light on my issue, hence a copy/paste of the stack-trace after a recent kernel-panic:
May 5 01:17:26 xbmc kernel: [31865.863680] ------------[ cut here ]------------
May 5 01:17:26 xbmc kernel: [31865.863691] WARNING: CPU: 1 PID: 2315 at /home/apw/COD/linux/drivers/usb/host/xhci-ring.c:569 xhci_find_new_dequeue_state+0x231/0x260()
May 5 01:17:26 xbmc kernel: [31865.863693] Modules linked in: ir_lirc_codec ir_mce_kbd_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder rc_rc6_mce nuvoton_cir des_generic md4 mceusb lirc_dev bnep rfcomm bluetooth 6lowpan_iphc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nls_utf8 cifs fscache joydev nls_iso8859_1 hid_sunplus usbhid intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel kvm snd_hda_codec snd_hwdep snd_pcm ftdi_sio usbserial crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel rc_core aes_x86_64 snd_rawmidi lrw gf128mul snd_seq drm_kms_helper glue_helper i2c_hid ablk_helper snd_seq_device snd_timer parport_pc cryptd dw_dmac hid drm dw_dmac_core snd video ppdev 8250_dw i2c_designware_platform soundcore mei_me i2c_algo_bit spi_pxa2xx_platform lpc_ich mei i2c_designware_core lp microcode mac_hid parport e1000e ahci ptp libahci pps_core sdhci_acpi sdhci [last unloaded: nuvoton_cir]
May 5 01:17:26 xbmc kernel: [31865.863768] CPU: 1 PID: 2315 [b]Comm: mediasrv Tainted: G D 3.14.1-031401-generic #201404141220[/b]
May 5 01:17:26 xbmc kernel: [31865.863770] Hardware name: /D34010WYK, BIOS WYLPT10H.86A.0025.2014.0303.1008 03/03/2014
May 5 01:17:26 xbmc kernel: [31865.863772] 0000000000000239 ffff8800a183dbf8 ffffffff8175bbf5 0000000000000007
May 5 01:17:26 xbmc kernel: [31865.863776] 0000000000000000 ffff8800a183dc38 ffffffff8106ac9c ffffffff81595770
May 5 01:17:26 xbmc kernel: [31865.863780] ffff8800368aa000 ffff880036b545c0 ffff8800a183dcc0 ffff8800d6ed8000
May 5 01:17:26 xbmc kernel: [31865.863784] Call Trace:
May 5 01:17:26 xbmc kernel: [31865.863789] [<ffffffff8175bbf5>] dump_stack+0x46/0x58
May 5 01:17:26 xbmc kernel: [31865.863794] [<ffffffff8106ac9c>] warn_slowpath_common+0x8c/0xc0
May 5 01:17:26 xbmc kernel: [31865.863800] [<ffffffff81595770>] ? trace_xhci_dbg_quirks+0x70/0x70
May 5 01:17:26 xbmc kernel: [31865.863803] [<ffffffff8106acea>] warn_slowpath_null+0x1a/0x20
May 5 01:17:26 xbmc kernel: [31865.863807] [<ffffffff815a3731>] xhci_find_new_dequeue_state+0x231/0x260
May 5 01:17:26 xbmc kernel: [31865.863810] [<ffffffff81599e51>] xhci_cleanup_stalled_ring+0x71/0x100
May 5 01:17:26 xbmc kernel: [31865.863813] [<ffffffff8159a016>] xhci_endpoint_reset+0x136/0x1a0
May 5 01:17:26 xbmc kernel: [31865.863817] [<ffffffff81567b45>] usb_hcd_reset_endpoint+0x25/0x70
May 5 01:17:26 xbmc kernel: [31865.863821] [<ffffffff8156ada8>] usb_enable_endpoint+0xa8/0xb0
May 5 01:17:26 xbmc kernel: [31865.863824] [<ffffffff8156adf2>] usb_enable_interface+0x42/0x60
May 5 01:17:26 xbmc kernel: [31865.863828] [<ffffffff8156b2e6>] usb_set_interface+0x1f6/0x340
May 5 01:17:26 xbmc kernel: [31865.863831] [<ffffffff815756a9>] usbdev_do_ioctl+0x589/0xc50
May 5 01:17:26 xbmc kernel: [31865.863835] [<ffffffff810a4fb9>] ? account_user_time+0x99/0xb0
May 5 01:17:26 xbmc kernel: [31865.863838] [<ffffffff81575d9e>] usbdev_ioctl+0xe/0x20
May 5 01:17:26 xbmc kernel: [31865.863843] [<ffffffff811e46e5>] do_vfs_ioctl+0x75/0x2c0
May 5 01:17:26 xbmc kernel: [31865.863846] [<ffffffff81024195>] ? syscall_trace_enter+0x165/0x280
May 5 01:17:26 xbmc kernel: [31865.863850] [<ffffffff811eea95>] ? __fget_light+0x25/0x70
May 5 01:17:26 xbmc kernel: [31865.863853] [<ffffffff811e49c1>] SyS_ioctl+0x91/0xb0
May 5 01:17:26 xbmc kernel: [31865.863858] [<ffffffff8177247f>] tracesys+0xe1/0xe6
May 5 01:17:26 xbmc kernel: [31865.863860] ---[ end trace f07cfa4073dc9914 ]---
May 5 01:17:26 xbmc kernel: [31865.863869] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
May 5 01:17:26 xbmc kernel: [31865.863910] IP: [<ffffffff815a37c5>] xhci_queue_new_dequeue_state+0x65/0xd0
May 5 01:17:26 xbmc kernel: [31865.863944] PGD 36ac3067 PUD d8b44067 PMD 0
May 5 01:17:26 xbmc kernel: [31865.863969] Oops: 0000 [#2] SMP
May 5 01:17:26 xbmc kernel: [31865.863987] Modules linked in: ir_lirc_codec ir_mce_kbd_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder rc_rc6_mce nuvoton_cir des_generic md4 mceusb lirc_dev bnep rfcomm bluetooth 6lowpan_iphc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nls_utf8 cifs fscache joydev nls_iso8859_1 hid_sunplus usbhid intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel kvm snd_hda_codec snd_hwdep snd_pcm ftdi_sio usbserial crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel rc_core aes_x86_64 snd_rawmidi lrw gf128mul snd_seq drm_kms_helper glue_helper i2c_hid ablk_helper snd_seq_device snd_timer parport_pc cryptd dw_dmac hid drm dw_dmac_core snd video ppdev 8250_dw i2c_designware_platform soundcore mei_me i2c_algo_bit spi_pxa2xx_platform lpc_ich mei i2c_designware_core lp microcode mac_hid parport e1000e ahci ptp libahci pps_core sdhci_acpi sdhci [last unloaded: nuvoton_cir]
May 5 01:17:26 xbmc kernel: [31865.864495] CPU: 1 PID: 2315 Comm: mediasrv Tainted: G D W 3.14.1-031401-generic #201404141220
May 5 01:17:26 xbmc kernel: [31865.864534] Hardware name: /D34010WYK, BIOS WYLPT10H.86A.0025.2014.0303.1008 03/03/2014
May 5 01:17:26 xbmc kernel: [31865.864574] task: ffff8800af0cb1e0 ti: ffff8800a183c000 task.ti: ffff8800a183c000
May 5 01:17:26 xbmc kernel: [31865.864606] RIP: 0010:[<ffffffff815a37c5>] [<ffffffff815a37c5>] xhci_queue_new_dequeue_state+0x65/0xd0
May 5 01:17:26 xbmc kernel: [31865.864649] RSP: 0018:ffff8800a183dc48 EFLAGS: 00010046
May 5 01:17:26 xbmc kernel: [31865.864672] RAX: 0000000000000000 RBX: ffff8800a183dcc0 RCX: 0000000000000000
May 5 01:17:26 xbmc kernel: [31865.864702] RDX: 0000000000000000 RSI: ffff8800d6ed0000 RDI: 0000000000000000
May 5 01:17:26 xbmc kernel: [31865.864733] RBP: ffff8800a183dca8 R08: ffff8800a183dcc0 R09: ffff8800d6ed0000
May 5 01:17:26 xbmc kernel: [31865.864764] R10: 0000000000000003 R11: 0000000000000455 R12: ffff8800368aa000
May 5 01:17:26 xbmc kernel: [31865.864794] R13: ffff8800d6ed81f8 R14: 0000000000000000 R15: 0000000000000002
May 5 01:17:26 xbmc kernel: [31865.864826] FS: 00007fe7b2462700(0000) GS:ffff88011fa80000(0000) knlGS:0000000000000000
May 5 01:17:26 xbmc kernel: [31865.864861] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 5 01:17:26 xbmc kernel: [31865.864885] CR2: 0000000000000010 CR3: 00000000d6e71000 CR4: 00000000001407e0
May 5 01:17:26 xbmc kernel: [31865.864915] Stack:
May 5 01:17:26 xbmc kernel: [31865.864925] ffff8800a183dcb8 ffff8800a183dc68 ffffffff81adc073 ffff8800d6ed0000
May 5 01:17:26 xbmc kernel: [31865.868359] 0000000200000003 00000000a183dcd0 ffff8800368aa000 ffff8800d6ed81f8
May 5 01:17:26 xbmc kernel: [31865.871788] ffff8800368aa000 ffff8800d6ed0000 0000000000000002 ffff8800368aa048
May 5 01:17:26 xbmc kernel: [31865.875182] Call Trace:
May 5 01:17:26 xbmc kernel: [31865.878582] [<ffffffff81599ed1>] xhci_cleanup_stalled_ring+0xf1/0x100
May 5 01:17:26 xbmc kernel: [31865.881853] [<ffffffff8159a016>] xhci_endpoint_reset+0x136/0x1a0
May 5 01:17:26 xbmc kernel: [31865.885003] [<ffffffff81567b45>] usb_hcd_reset_endpoint+0x25/0x70
May 5 01:17:26 xbmc kernel: [31865.888042] [<ffffffff8156ada8>] usb_enable_endpoint+0xa8/0xb0
May 5 01:17:26 xbmc kernel: [31865.890984] [<ffffffff8156adf2>] usb_enable_interface+0x42/0x60
May 5 01:17:26 xbmc kernel: [31865.893814] [<ffffffff8156b2e6>] usb_set_interface+0x1f6/0x340
May 5 01:17:26 xbmc kernel: [31865.896600] [<ffffffff815756a9>] usbdev_do_ioctl+0x589/0xc50
May 5 01:17:26 xbmc kernel: [31865.899361] [<ffffffff810a4fb9>] ? account_user_time+0x99/0xb0
May 5 01:17:26 xbmc kernel: [31865.902094] [<ffffffff81575d9e>] usbdev_ioctl+0xe/0x20
May 5 01:17:26 xbmc kernel: [31865.904796] [<ffffffff811e46e5>] do_vfs_ioctl+0x75/0x2c0
May 5 01:17:26 xbmc kernel: [31865.907479] [<ffffffff81024195>] ? syscall_trace_enter+0x165/0x280
May 5 01:17:26 xbmc kernel: [31865.910158] [<ffffffff811eea95>] ? __fget_light+0x25/0x70
May 5 01:17:26 xbmc kernel: [31865.912839] [<ffffffff811e49c1>] SyS_ioctl+0x91/0xb0
May 5 01:17:26 xbmc kernel: [31865.915514] [<ffffffff8177247f>] tracesys+0xe1/0xe6
May 5 01:17:26 xbmc kernel: [31865.918191] Code: 10 01 00 00 4c 89 c3 4d 8b 48 08 49 89 fc 44 89 55 c0 89 4d cc 4c 89 f7 4c 89 ce 4c 8d 68 28 4c 89 4d b8 e8 ee ec ff ff 8b 53 10 <4d> 8b 46 10 4c 89 f1 4c 8b 4d b8 48 89 04 24 4c 89 e7 48 c7 c6
May 5 01:17:26 xbmc kernel: [31865.921175] RIP [<ffffffff815a37c5>] xhci_queue_new_dequeue_state+0x65/0xd0
May 5 01:17:26 xbmc kernel: [31865.923962] RSP <ffff8800a183dc48>
May 5 01:17:26 xbmc kernel: [31865.926748] CR2: 0000000000000010
May 5 01:17:26 xbmc kernel: [31865.946709] ---[ end trace f07cfa4073dc9915 ]---
This is taken on Ubuntu 14.04 - it happened on both the supplied 3.13 kernel as well on the 3.14.1 kernel which is installed right now.
Unfortunately the device has only USB3-ports connected on the outside and I can not seem to find a way to 'fall back' on EHCI rather than XCHI - but perhaps you can shine a light on this ?
To clarify, it is this device:
http://www.intel.nl/content/www/nl/nl/nuc/nuc-kit-d34010wykh.htmlI have BIOS 0025 installed on it (latest stable) and Ubuntu 14.04 with kernel 3.14.1 (Linux 3.14.1-031401-generic #201404141220 SMP Mon Apr 14 16:21:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)