Re: USB bug

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

 



Adding Mathias, since this appears to be an xHCI problem.

On Sun, 17 Mar 2019, Harutyun Khachatryan wrote:

> Dear Alan Stern,
> 
> I am extremely sorry for late response, I have just checking all 
> possible kernel versions. I have checked kernel versions 
> 4.11,4.13,4.15,4.19,5.0. I can say that kernel 4.11 works well but 4.13 
> already have the bug. Yes as you mentioned I already had an HDD attached 
> to the laptop during boot and when I detach it in some kernels like 
> (4.15,5.0) other usb devices starts work when attached after detaching 
> that HDD. I have checked that it doesn't matter if HDD or any device 
> attached to usb port, I get the same behavior. For kernel-4.13, even 
> detaching other devices doesn't help, no usb device recognised. Also I 
> am sending dmesg before and after detaching HDD. About searching changes 
> in linux kernel source code, I have hardly any skills to do that. Thank 
> you in advance.

Let's try using a 5.0 kernel, since that's the most recent one.
Mathias will probably want to see some logs and traces:

Boot with the Seagate HDD attached
mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control
echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable
<Plug in other USB device>
<Wait 10 seconds>
<Unplug other USB device>
<Unplug the Seagate HDD>
<Plug in other USB device>
Send output of dmesg
Send content of /sys/kernel/debug/tracing/trace

Alan Stern

> Regards, Harutyun Khachatryan
> 
> On 3/11/19 6:09 PM, Alan Stern wrote:
> > On Mon, 11 Mar 2019, Harutyun Khachatryan wrote:  > >> I have an old Toshiba Sattelite laptop with usb hub device 'Intel 
>  >> Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host >> 
> Controller'. For kernel version >= 4.15 it doesn't recogonize and >> 
> power on any usb device when other usb device already attached >> during 
> system boot. I have seen the same behaviour on Ubuntu 18.04 >> and 
> Fedora 29. > > Does the laptop work with earlier kernel versions? > > 
> Please post a dmesg log showing what happens during boot and when > you 
> plug in a device after boot. > > 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