lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 20 Aug 2021 11:26:52 +0300
From:   Mathias Nyman <mathias.nyman@...ux.intel.com>
To:     Alan Stern <stern@...land.harvard.edu>
Cc:     Kishon Vijay Abraham I <kishon@...com>,
        Mathias Nyman <mathias.nyman@...el.com>,
        linux-usb@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Lokesh Vutla <lokeshvutla@...com>
Subject: Re: [QUERY] Cold plugged USB device to Inateck PCIE USB card is not
 detected

On 19.8.2021 18.09, Alan Stern wrote:
> On Thu, Aug 19, 2021 at 04:18:12PM +0300, Mathias Nyman wrote:
>> On 19.8.2021 10.54, Kishon Vijay Abraham I wrote:
>>> Hi All,
>>>
>>> I was trying to test PCIe USB card (Inateck) connected to AM64 EVM and
>>> J7200 EVM. Inateck uses Renesas uPD720201 USB3 host controller.
>>>
>>> So if I connect USB pendrive and then boot the board (cold plug), I
>>> don't see the pendrive getting detected. But if I remove and plug it
>>> again, it gets detected.
>>>
>>> For the cold plug case, I see this message
>>> 	"usb usb1-port3: couldn't allocate usb_device"
>>>
>>> It actually fails in
>>> xhci_alloc_dev()->xhci_queue_slot_control()->queue_command()->XHCI_STATE_HALTED
>>>
>>> I'm not familiar with xhci but it looks like port event is invoked
>>> before the controller is fully initialized (?).
>>
>> Maybe this controller is capable of generating interrupts before it's running?
> 
> Mathias and Kishon:
> 
> Note that this issue has also been reported in Bugzilla:
> 
> 	https://bugzilla.kernel.org/show_bug.cgi?id=214021
> 

Thanks, 

I'll follow up on that one.

-Mathias

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ