Re: Latest Stable Kernel unable to detect new usb devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Feb 2019 pedro@xxxxxxxxxxxx wrote:

> I am using a medion 96232 , an old laptop with a cpu intel celeron M .
> 
> My linux kernel is unable to detect any device i plugin in any usb port 
> except if it is already plugged in before i start the computer .
> Dmesg does not show anything when i plug the device .
> I believe that this problem could be related to the usb masstorage 
> drivers in the kernel .
> 
> The attachment have first the normal boot without anything plugged in on 
> usb ports .
> Then i insert a device into usb port and nothing pops up on kernel 
> messages or syslog .
> 
> Then last part of the log when i start up the machine with the device 
> already plugged in i get this error in syslog :
> 
> Feb 11 10:18:52 Station2 kernel: [  539.708156] ieee80211 phy0: 
> rt2x00queue_flush_queue: Warning - Queue
> 
> 14 failed to flush
> Feb 11 10:19:01 Station2 kernel: [  549.331273] ------------[ cut here 
> ]------------
> Feb 11 10:19:01 Station2 kernel: [  549.331282] URB e94df291 submitted 
> while active
> Feb 11 10:19:01 Station2 kernel: [  549.331374] WARNING: CPU: 0 PID: 
> 6056 at drivers/usb/core/urb.c:363
> 
> usb_submit_urb+0x28d/0x5a0 [usbcore]
> Feb 11 10:19:01 Station2 kernel: [  549.331376] Modules linked in: 
> appletalk psnap llc ax25 arc4
> 
> rt2800usb rt2x00usb rt2800lib rt2x00lib mac80211 cfg80211 crc_ccitt 
> rfkill radeon snd_hda_codec_idt
> 
> snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core ttm 
> snd_pcsp snd_hwdep drm_kms_helper
> 
> snd_pcm coretemp drm snd_timer snd joydev evdev serio_raw soundcore 
> i2c_algo_bit ext4 crc32c_generic
> 
> crc16 mbcache jbd2 fscrypto sg sd_mod ata_generic pata_atiixp libata 
> ohci_pci ehci_pci ohci_hcd ehci_hcd
> 
> scsi_mod psmouse usbcore sky2 i2c_piix4
> Feb 11 10:19:01 Station2 kernel: [  549.331417] CPU: 0 PID: 6056 Comm: 
> NetworkManager Not tainted 4.20.7
> 
> #1
> Feb 11 10:19:01 Station2 kernel: [  549.331419] Hardware name:  MD96232  
>    /, BIOS ME.18.00 03/20/07
> Feb 11 10:19:01 Station2 kernel: [  549.331429] EIP: 
> usb_submit_urb+0x28d/0x5a0 [usbcore]
> Feb 11 10:19:01 Station2 kernel: [  549.331433] Code: 85 c9 0f 8f b5 02 
> 00 00 b8 ea ff ff ff e9 cd fd ff
> 
> ff 8d 76 00 53 68 90 28 87 f7 89 45 f0 c6 05 0c 9f 87 f7 01 e8 63 e0 80 
> da <0f> 0b 58 8b 45 f0 5a e9 a9
> 
> fd ff ff 8d b4 26 00 00 00 00 81 fa 00
> Feb 11 10:19:01 Station2 kernel: [  549.331435] EAX: 00000023 EBX: 
> e8d1ec00 ECX: f560a56c EDX: 00000007
> Feb 11 10:19:01 Station2 kernel: [  549.331437] ESI: e7e5ee00 EDI: 
> e785a04c EBP: e8c0386c ESP: e8c03844
> Feb 11 10:19:01 Station2 kernel: [  549.331440] DS: 007b ES: 007b FS: 
> 00d8 GS: 00e0 SS: 0068 EFLAGS:
> 
> 00010286
> Feb 11 10:19:01 Station2 kernel: [  549.331442] CR0: 80050033 CR2: 
> b7c8f078 CR3: 28d26000 CR4: 000006f0
> Feb 11 10:19:01 Station2 kernel: [  549.331445] Call Trace:
> Feb 11 10:19:01 Station2 kernel: [  549.331457]  ? 
> rt2x00queue_index_inc+0x60/0xc0 [rt2x00lib]
> Feb 11 10:19:01 Station2 kernel: [  549.331462]  
> rt2x00usb_kick_rx_entry+0x9d/0xd0 [rt2x00usb]
> Feb 11 10:19:01 Station2 kernel: [  549.331466]  
> rt2x00usb_clear_entry+0x22/0x30 [rt2x00usb]
> Feb 11 10:19:01 Station2 kernel: [  549.331471]  
> rt2x00queue_init_queues+0x6c/0x90 [rt2x00lib]
> Feb 11 10:19:01 Station2 kernel: [  549.331476]  
> rt2x00lib_enable_radio+0x27/0xa0 [rt2x00lib]
> Feb 11 10:19:01 Station2 kernel: [  549.331480]  
> rt2x00lib_start+0x5c/0xd0 [rt2x00lib]
> Feb 11 10:19:01 Station2 kernel: [  549.331485]  
> rt2x00mac_start+0x28/0x30 [rt2x00lib]
> Feb 11 10:19:01 Station2 kernel: [  549.331522]  drv_start+0x44/0x100 
> [mac80211]
> Feb 11 10:19:01 Station2 kernel: [  549.331543]  
> ieee80211_do_open+0x325/0x900 [mac80211]
> Feb 11 10:19:01 Station2 kernel: [  549.331565]  
> ieee80211_open+0x46/0x60 [mac80211]
> Feb 11 10:19:01 Station2 kernel: [  549.331573]  __dev_open+0xbe/0x160
> Feb 11 10:19:01 Station2 kernel: [  549.331577]  
> __dev_change_flags+0x187/0x1d0
> Feb 11 10:19:01 Station2 kernel: [  549.331580]  
> dev_change_flags+0x28/0x60
> Feb 11 10:19:01 Station2 kernel: [  549.331584]  do_setlink+0x2e9/0x8a0
> Feb 11 10:19:01 Station2 kernel: [  549.331590]  ? 
> __nla_parse+0x2b/0x130
> Feb 11 10:19:01 Station2 kernel: [  549.331593]  ? 
> rtnl_link_unregister+0xe0/0xe0
> Feb 11 10:19:01 Station2 kernel: [  549.331597]  
> rtnl_newlink+0x565/0x830
> Feb 11 10:19:01 Station2 kernel: [  549.331603]  ? 
> __nla_reserve+0x3a/0x50
> Feb 11 10:19:01 Station2 kernel: [  549.331606]  ? __nla_put+0x18/0x20
> Feb 11 10:19:01 Station2 kernel: [  549.331609]  ? nla_put+0x2c/0x50
> Feb 11 10:19:01 Station2 kernel: [  549.331613]  ? 
> _raw_read_unlock_bh+0x1e/0x20
> Feb 11 10:19:01 Station2 kernel: [  549.331618]  ? 
> inet6_fill_ifla6_attrs+0x410/0x440
> Feb 11 10:19:01 Station2 kernel: [  549.331621]  ? 
> inet6_fill_ifla6_attrs+0x440/0x440
> Feb 11 10:19:01 Station2 kernel: [  549.331624]  ? 
> inet6_fill_link_af+0x17/0x30
> Feb 11 10:19:01 Station2 kernel: [  549.331627]  ? 
> rtnl_fill_ifinfo+0xbd9/0xd50
> Feb 11 10:19:01 Station2 kernel: [  549.331633]  ? 
> __update_load_avg_se+0x2c6/0x400
> Feb 11 10:19:01 Station2 kernel: [  549.331640]  ? 
> __mutex_lock.isra.7+0x23/0x450
> Feb 11 10:19:01 Station2 kernel: [  549.331645]  ? 
> cap_inode_getsecurity+0x1f0/0x1f0
> Feb 11 10:19:01 Station2 kernel: [  549.331649]  ? 
> security_capget+0x30/0x60
> Feb 11 10:19:01 Station2 kernel: [  549.331653]  ? 
> ns_capable_common+0x55/0x70
> Feb 11 10:19:01 Station2 kernel: [  549.331657]  ? 
> rtnl_link_unregister+0xe0/0xe0
> Feb 11 10:19:01 Station2 kernel: [  549.331660]  
> rtnetlink_rcv_msg+0x25f/0x330
> Feb 11 10:19:01 Station2 kernel: [  549.331666]  ? 
> try_to_wake_up+0x45/0x430
> Feb 11 10:19:01 Station2 kernel: [  549.331669]  ? 
> rtnl_calcit.isra.27+0x100/0x100
> Feb 11 10:19:01 Station2 kernel: [  549.331674]  
> netlink_rcv_skb+0xcc/0xe0
> Feb 11 10:19:01 Station2 kernel: [  549.331678]  rtnetlink_rcv+0x12/0x20
> Feb 11 10:19:01 Station2 kernel: [  549.331681]  
> netlink_unicast+0x16b/0x1f0
> Feb 11 10:19:01 Station2 kernel: [  549.331685]  
> netlink_sendmsg+0x231/0x3a0
> Feb 11 10:19:01 Station2 kernel: [  549.331689]  ? 
> netlink_unicast+0x1f0/0x1f0
> Feb 11 10:19:01 Station2 kernel: [  549.331694]  sock_sendmsg+0x32/0x40
> Feb 11 10:19:01 Station2 kernel: [  549.331697]  
> ___sys_sendmsg+0x239/0x250
> Feb 11 10:19:01 Station2 kernel: [  549.331703]  ? 
> update_load_avg+0x9e/0x720
> Feb 11 10:19:01 Station2 kernel: [  549.331706]  ? 
> update_load_avg+0x9e/0x720
> Feb 11 10:19:01 Station2 kernel: [  549.331710]  ? 
> __switch_to_asm+0x33/0x4c
> Feb 11 10:19:01 Station2 kernel: [  549.331713]  ? 
> __switch_to_asm+0x27/0x4c
> Feb 11 10:19:01 Station2 kernel: [  549.331715]  ? 
> __switch_to_asm+0x33/0x4c
> Feb 11 10:19:01 Station2 kernel: [  549.331718]  ? 
> __switch_to_asm+0x27/0x4c
> Feb 11 10:19:01 Station2 kernel: [  549.331721]  ? 
> __switch_to_asm+0x33/0x4c
> Feb 11 10:19:01 Station2 kernel: [  549.331723]  ? 
> __switch_to_asm+0x27/0x4c
> Feb 11 10:19:01 Station2 kernel: [  549.331727]  ? 
> __fget_light+0x22/0x60
> Feb 11 10:19:01 Station2 kernel: [  549.331731]  __sys_sendmsg+0x3e/0x80
> Feb 11 10:19:01 Station2 kernel: [  549.331735]  
> sys_socketcall+0x24a/0x2a0
> Feb 11 10:19:01 Station2 kernel: [  549.331740]  
> do_fast_syscall_32+0x7f/0x1d0
> Feb 11 10:19:01 Station2 kernel: [  549.331744]  
> entry_SYSENTER_32+0x6b/0xbe
> Feb 11 10:19:01 Station2 kernel: [  549.331746] EIP: 0xb7ee5a61
> Feb 11 10:19:01 Station2 kernel: [  549.331749] Code: 8b 98 58 cd ff ff 
> 85 d2 89 c8 74 02 89 0a 5b 5d c3
> 
> 8b 04 24 c3 8b 14 24 c3 8b 1c 24 c3 8b 3c 24 c3 51 52 55 89 e5 0f 34 cd 
> 80 <5d> 5a 59 c3 90 90 90 90 8d
> 
> 76 00 58 b8 77 00 00 00 cd 80 90 8d 76
> Feb 11 10:19:01 Station2 kernel: [  549.331751] EAX: ffffffda EBX: 
> 00000010 ECX: bf9656a4 EDX: 00000000
> Feb 11 10:19:01 Station2 kernel: [  549.331753] ESI: b77c9000 EDI: 
> bf965768 EBP: 00cd47a8 ESP: bf965690
> Feb 11 10:19:01 Station2 kernel: [  549.331756] DS: 007b ES: 007b FS: 
> 0000 GS: 0033 SS: 007b EFLAGS:
> 
> 00200293
> Feb 11 10:19:01 Station2 kernel: [  549.331760]  ? nmi+0x8b/0x198
> Feb 11 10:19:01 Station2 kernel: [  549.331762] ---[ end trace 
> 38e6c6863969a6ed ]---

This looks like a bug in the rt2800usb driver.

> The log contain everything about the hardware that this machine have and 
> modules installed for those specific hardware .
> 
> In the past using kernel 3.16 on a based debian system i did not had 
> this issue , so , i am right now installing an old debian distribution 
> "debian 7.11" to see if this issue disappears .
> 
> This issue does not affect only usb wireless interfaces , it also 
> affects any other usb device i try to connect to an USB port .

Such as what?  What happens when you boot with a USB mouse or flash
drive plugged in rather than the Ralink adapter, for example?

Also, when you boot with no USB devices attached and then plug in a 
mouse, try going to /sys/kernel/debug/usb/ and make copies of the 
ehci/*/registers and ohci/*/registers files.  The contents of 
those files may be helpful.

In addition you can try enabling dynamic debugging for ehci-hcd before 
plugging in any devices:

	echo 'module ehci_hcd =p' >/sys/kernel/debug/dynamic_debug/control

Then maybe something will show up in the dmesg log when you plug 
something in.

Alan Stern




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux