Re: "EHCI: BIOS handoff failed (BIOS bug?) 01010001" on Celeron N2805 (Bay Trail) / Gateway LT41P

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

 



On Wed, Dec 18, 2013 at 12:00 AM, Ken Harris <kjh@xxxxxxxxxxx> wrote:
> On Tue, Dec 17, 2013 at 6:47 PM, Ken Harris <kjh@xxxxxxxxxxx> wrote:
>> On Tue, Dec 17, 2013 at 5:33 PM, Ken Harris <kjh@xxxxxxxxxxx> wrote:
>>> On Tue, Dec 17, 2013 at 1:03 PM, Sarah Sharp
>>> <sarah.a.sharp@xxxxxxxxxxxxxxx> wrote:
>>>
>>>>> On Tue, 17 Dec 2013, Ken Harris wrote:
>>>
>>>>> > Sebastien:
>>>>> >
>>>>> > Thanks for the info.  I just tried Linux 3.13.0-0.rc3.git5.1.fc21.i686
>>>>> > (from Fedora rawhide) and I still get the same error messages and USB
>>>>> > still doesn't work.  I saw a post about Atom Z3740D (Bay Trail-T) in a
>>>>> > Dell Venue 8 Pro, and his USB works OK (but seems to use the xhci_hcd
>>>>> > driver :
>>>>>
>>>>> > Whereas my Gateway LT41P uses ehci & ohci
>>>
>>>> Are you enabling CONFIG_USB_XHCI_HCD in your .config?  Maybe the BIOS
>>>> expects your OS to switch the ports over to xHCI, but you don't have the
>>>> driver compiled?
>>>
>>>> If you do have CONFIG_USB_XHCI_HCD turned on for 3.13, please make sure
>>>> CONFIG_USB_DEBUG is turned on as well, and send me the resulting dmesg,
>>>> starting from boot.  That should let me see which (if any) ports are
>>>> being switched over from EHCI to xHCI.
>>>
>>>> Other things to look for in your BIOS settings are things labeled "xHCI
>>>> mode".  It may have options like "enabled", "disabled", "Auto", or
>>>> "Smart Auto".  You want it to be set to either "enabled" or one of the
>>>> "auto" options.
>>>>
>>>> Sarah Sharp
>>>
>>> Sarah !
>>>
>>> Thanks for looking at this.
>>>
>>> Yes, Fedora has CONFIG_USB_XHCI_HCD=y . When you say, "switch the
>>> ports over to xHCI" ... I assume your mean this patch :
>>>
>>> [PATCH] xhci: Add BayTrail to list of Intel switchable hosts (
>>> http://www.spinics.net/lists/linux-usb/msg86204.html ).
>>>
>>> I don't see CONFIG_USB_DEBUG set in Fedora, but they do distribute
>>> debug kernels (eg : kernel-PAEdebug-3.11.10-301.fc20.i686 ), so
>>> perhaps that includes setting CONFIG_USB_DEBUG ?  My original post has
>>> the output of a debug kernel :
>>> http://www.spinics.net/lists/linux-usb/msg99549.html .
>>>
>>> If that's not good enough, I can try to compile a kernel with
>>> CONFIG_USB_DEBUG, but it looks like there is no "xHCI switch" code in
>>> Fedora:
>>>
>>> From my (noobish) reading of the Fedora source (
>>> http://mirrors.kernel.org/fedora/development/rawhide/source/SRPMS/k/kernel-3.13.0-0.rc3.git5.1.fc21.src.rpm
>>> : linux-3.12  patch-3.13-rc3  patch-3.13-rc3-git5 ), I don't see any
>>> reference to the switchable code (ie : 'find -type f |xargs egrep
>>> "PCI_DEVICE_ID_INTEL_LYNX_POINT|intel_switchabl"' returns nothing).
>>>
>>> FYI, I filed a Redhat bug : https://bugzilla.redhat.com/show_bug.cgi?id=1039245
>>>
>>> FYI, my BIOS doesn't have any USB options (just AHCI).
>>>
>>> FYI, the Dell Venue 8 Pro user (adam) is also using Fedora, but I
>>> suspect that his BIOS has enabled xHCI, so he doesn't need the "xHCI
>>> switchable" code.
>>>
>>> I haven't built a kernel in a while, but I can try to apply the patch
>>> and see if that fixed the problem.
>>>
>>> Thanks again,
>>> Ken
>>
>> Oops,
>>
>> I missed the newer "xHCI switch" patch : "Intel xhci: refactor
>> EHCI/xHCI port switching" (
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=26b76798e0507429506b93cd49f8c4cfdab06896
>> ).  That code is in Fedora 3.13-rc3-git5 source :
>>
>
>> I tried kernel-PAEdebug-3.13.0-0.rc4.git0.1.fc21.i686 , but there is
>> nothing about xhci (attached)
>>
>> What now? Perhaps I should try to compile with CONFIG_USB_DEBUG ?
>>
>> Thanks,
>> Ken
>
> Sarah:
>
> I turned on "dynamic debug" and got a few more messages from ehci_hcd
> , ehci-pci, ohci_hcd (see attached).
>
> FYI, my addition to the cmdline was : dyndbg="module xhci_hcd +p ;
> module ehci_hcd +p ; module uhci_hcd +p ; module ohci_hcd +p ; module
> ehci_pci +p ; module ohci_pci +p ; module pci_quirks +p"
>
> If there are other modules you'd like to see, let me know.
>
> FYI, there seems to be a bug in grub2 in Fedora (it transforms " "
> into "\x20") , so I had to use gummiboot.
>
> Cheers,
> Ken

I noticed this message in dmesg :

Some PCI device resources are unassigned, try booting with pci=realloc

So I added "pci=realloc", but I still get :

 pci 0000:00:1c.0: BAR 15: can't assign mem pref (size 0x200000)
 pci 0000:00:1c.2: BAR 14: can't assign mem (size 0x200000)
 pci 0000:00:1c.2: BAR 15: can't assign mem pref (size 0x200000)
 pci 0000:00:1c.0: BAR 15: can't assign mem pref (size 0x400000)
 pci 0000:00:1c.2: BAR 14: can't assign mem (size 0x400000)
 pci 0000:00:1c.2: BAR 15: can't assign mem pref (size 0x400000)
 pci 0000:00:1c.0: BAR 15: can't assign mem pref (size 0x200000)
 pci 0000:00:1c.2: BAR 14: can't assign mem (size 0x200000)
 pci 0000:00:1c.2: BAR 15: can't assign mem pref (size 0x200000)

Could this be the reason that the xHCI controller doesn't show up ?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux