From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-id: <528E975B.5010200@samsung.com> Date: Thu, 21 Nov 2013 16:29:31 -0700 From: Shuah Khan Reply-to: shuah.kh@samsung.com MIME-version: 1.0 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Shuah Khan , "shuahkhan@gmail.com" Subject: 3.12.1 Virt dev invalid for slot_id 0x1 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: I started seeing the following on my Samsung Series on 3.12.1 Is this bad? Looks like the following WARN_ON is firing: drivers/usb/host/xhci.c: if (WARN_ON(!virt_dev)) { /* * In plug/unplug torture test with an NEC controller, * a zero-dereference was observed once due to virt_dev = 0. * Print useful debug rather than crash if it is observed again! */ xhci_warn(xhci, "Virt dev invalid for slot_id 0x%x!\n", udev->slot_id); return -EINVAL; } [ 565.276187] ------------[ cut here ]------------ [ 565.276198] WARNING: CPU: 2 PID: 2228 at drivers/usb/host/xhci.c:3748 xhci_address_device+0x57b/0x630() [ 565.276262] Modules linked in: parport_pc ppdev arc4 iwldvm rfcomm bnep mac80211 i915 ext2 joydev x86_pkg_temp_thermal coretemp kvm_intel kvm iwlwifi uvcvideo videobuf2_vmalloc cfg80211 videobuf2_memops snd_hda_codec_hdmi videobuf2_core videodev drm_kms_helper snd_hda_codec_realtek ghash_clmulni_intel aesni_intel drm snd_hda_intel aes_x86_64 btusb media ablk_helper snd_hda_codec cryptd bluetooth lrw gf128mul glue_helper hid_generic samsung_laptop usbhid tpm_infineon hid snd_hwdep snd_pcm psmouse snd_page_alloc snd_timer microcode i2c_algo_bit lpc_ich serio_raw lp parport video wmi tpm_tis mac_hid r8169 mii [ 565.276267] CPU: 2 PID: 2228 Comm: kworker/u16:39 Not tainted 3.12.1+ #11 [ 565.276269] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X4C/900X4D/SAMSUNG_NP1234567890, BIOS P03AAC 07/12/2012 [ 565.276278] Workqueue: events_unbound async_run_entry_fn [ 565.276285] 0000000000000009 ffff88002fb0fb00 ffffffff816bf0c1 0000000000000000 [ 565.276289] ffff88002fb0fb38 ffffffff8104d5fd ffff88040cc7e000 0000000000000000 [ 565.276293] ffff8803f0195800 0000000000000002 0000000000000000 ffff88002fb0fb48 [ 565.276294] Call Trace: [ 565.276307] [] dump_stack+0x45/0x56 [ 565.276314] [] warn_slowpath_common+0x7d/0xa0 [ 565.276318] [] warn_slowpath_null+0x1a/0x20 [ 565.276324] [] xhci_address_device+0x57b/0x630 [ 565.276330] [] hub_port_init+0x1f4/0xa40 [ 565.276335] [] usb_reset_and_verify_device+0x116/0x730 [ 565.276340] [] ? hub_port_status+0xdd/0x120 [ 565.276345] [] usb_port_resume+0x2f0/0x5c0 [ 565.276352] [] generic_resume+0x15/0x30 [ 565.276358] [] usb_resume_both+0x107/0x150 [ 565.276366] [] ? usb_for_each_dev+0x30/0x30 [ 565.276372] [] usb_resume+0x1f/0xd0 [ 565.276377] [] ? usb_for_each_dev+0x30/0x30 [ 565.276383] [] usb_dev_restore+0x13/0x20 [ 565.276392] [] dpm_run_callback+0x49/0xa0 [ 565.276398] [] device_resume+0xc6/0x1f0 [ 565.276404] [] async_resume+0x1d/0x50 [ 565.276409] [] async_run_entry_fn+0x37/0x130 [ 565.276418] [] process_one_work+0x177/0x410 [ 565.276424] [] worker_thread+0x121/0x3a0 [ 565.276431] [] ? manage_workers.isra.25+0x2b0/0x2b0 [ 565.276436] [] kthread+0xc0/0xd0 [ 565.276442] [] ? kthread_create_on_node+0x120/0x120 [ 565.276448] [] ret_from_fork+0x7c/0xb0 [ 565.276453] [] ? kthread_create_on_node+0x120/0x120 [ 565.276456] ---[ end trace 115d14352276d432 ]--- [ 565.276460] xhci_hcd 0000:03:00.0: Virt dev invalid for slot_id 0x1! [ 565.478224] ------------[ cut here ]------------ -- Shuah Khan Senior Linux Kernel Developer - Open Source Group Samsung Research America(Silicon Valley) shuah.kh@samsung.com | (970) 672-0658