bugGNU GRUB - Bugs: bug #55288, Freezes at Countdown 10 when USB...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #55288: Freezes at Countdown 10 when USB Keyboard Attached

Submitter:  Arick <mcniela>
Submitted:  Wed 26 Dec 2018 05:44:47 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Arick
Open/Closed:  Open Release:  2.02
Release:  Reproducibility:  None
Planned Release:  None

Fri 23 Apr 2021 02:20:59 PM UTC, comment #2: 

I just downloaded XCP-NG and it freezes at the GNU GRUB.

I have a small server with only USB 3.0.

When I disconnect the keyboard, there's no problem booting and I can reconnect the keyboard and it works.

comment #1:

> Hello Grub Devs!
> Thanks for mighty fine job you are doing with this project!
>
> Would love to buy you guys and girls beer, if you ever come to Dublin, Ireland - feel free to email me about that beer or other beverage of your choice!
>
> With that said, I have a bug I would like to report. And before I describe it, I would like to point out, there are a few bug that are just like mine. All of those I strongly suspect are related.
>
> There is this one, then that those ones:
> https://savannah.gnu.org/bugs/?47636
> https://savannah.gnu.org/bugs/?37470
>
> I suspect it's to do with how grub handles USB3 host with USB2 devices.
>
> I have USB3 external switch.(TP-Link UH720 USB 3.0 Hub)
>
> But I believe I have had this issue when i just connected keyboard to my USB3 port on mother board.(for extra power)
>
> HyperX is the keyboard(has 2 usb cables one for extra guice for extra USB slot on it and for nice shiny keys on the actual keyboard).
>
> long story short, everything but grub works.
> Bios has no issues. Once I pass by grub, Linux kernel has no issues and Windows on different laptop has no issues with hub and keyboard.(hence why I got it, i got 6 ports used up, more than laptop has, plus i change hub between home pc and work PC, so i can reuse my nice webcam/soundcard/mouse/keyboard/etc)
>
> I can do extra tests to isolate issue to either hub or to keyboard (I have second keyboard somewhere in the house).
> And I suspect its USB1.1 or 2 or whatever the hell it is, with USB3 host controller.
>
> Grub reliably hangs the moment count down and rest of non graphic interface is visible. I got non graphical mode.
>
> sys-boot/grub
>       Latest version available: 2.04-r1
>       Latest version installed: 2.04-r1
>
> Gentoo with
> Linux dimkosPC 5.6.3 #2 SMP PREEMPT Fri Apr 17 20:30:44 IST 2020 x86_64 AMD Ryzen 9 3950X 16-Core Processor AuthenticAMD GNU/Linux
>
> I did trick, once POST finished i switch off hub, grub continues, i switch on host and all works, once kernel started booting.
>
>
> when tried to get lsusb -vv i get this a few times:
>  can't get device qualifier: Resource temporarily unavailable
>
>
> I suspect its due to external usb3 hub
>
> I am not lazy and would do physical troubleshooting, as its easiest one, but feeling sickly.
>
> (file #49138, file #49139)

Frederik Schack <frederikschack>
Thu 21 May 2020 03:48:13 PM UTC, comment #1: 

Hello Grub Devs!
Thanks for mighty fine job you are doing with this project!

Would love to buy you guys and girls beer, if you ever come to Dublin, Ireland - feel free to email me about that beer or other beverage of your choice!

With that said, I have a bug I would like to report. And before I describe it, I would like to point out, there are a few bug that are just like mine. All of those I strongly suspect are related.

There is this one, then that those ones:
https://savannah.gnu.org/bugs/?47636
https://savannah.gnu.org/bugs/?37470

I suspect it's to do with how grub handles USB3 host with USB2 devices.

I have USB3 external switch.(TP-Link UH720 USB 3.0 Hub)

But I believe I have had this issue when i just connected keyboard to my USB3 port on mother board.(for extra power)

HyperX is the keyboard(has 2 usb cables one for extra guice for extra USB slot on it and for nice shiny keys on the actual keyboard).

long story short, everything but grub works.
Bios has no issues. Once I pass by grub, Linux kernel has no issues and Windows on different laptop has no issues with hub and keyboard.(hence why I got it, i got 6 ports used up, more than laptop has, plus i change hub between home pc and work PC, so i can reuse my nice webcam/soundcard/mouse/keyboard/etc)

I can do extra tests to isolate issue to either hub or to keyboard (I have second keyboard somewhere in the house).
And I suspect its USB1.1 or 2 or whatever the hell it is, with USB3 host controller.

Grub reliably hangs the moment count down and rest of non graphic interface is visible. I got non graphical mode.

sys-boot/grub
      Latest version available: 2.04-r1
      Latest version installed: 2.04-r1

Gentoo with
Linux dimkosPC 5.6.3 #2 SMP PREEMPT Fri Apr 17 20:30:44 IST 2020 x86_64 AMD Ryzen 9 3950X 16-Core Processor AuthenticAMD GNU/Linux

I did trick, once POST finished i switch off hub, grub continues, i switch on host and all works, once kernel started booting.


when tried to get lsusb -vv i get this a few times:
 can't get device qualifier: Resource temporarily unavailable


I suspect its due to external usb3 hub

I am not lazy and would do physical troubleshooting, as its easiest one, but feeling sickly.

(file #49138, file #49139)

Dmitri Seletski <drjoms>
Wed 26 Dec 2018 05:44:47 PM UTC, original submission:  

Situation:  GRUB freezes on my laptop at countdown 10 with not ability to move anything.  Currently, this happens every time my external keyboard is attached.

Equipment:  HP X360 i7 configured dual boot.  USB 3.1 (USB-A), USB 3.1 (USB-C) and Thunderbolt (USB-C).  UEFI Boot.

This is an issue because I want to leave my computer docked and survive a reboot without having to unplug the keyboard all the time.  I've googled solutions and "legacy boot" would disable my installed OSs.  There is not bios option for "legacy USB" support and none of the GRUB-2 configurations to enable USB, usb-keyboard, etc... have worked.

MY KEYBOARD works before and after grub.... meaning, that at power-on, I can press F10 on usb-keyboard and get to BIOS.  Plugging in the keyboard after GRUB boot, keyboard works.

I have tried three separate keyboard... all of which I know are working.

Arick <mcniela>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #49138:  lspicVV added by drjoms (101KiB - application/octet-stream)
file #49139:  lsusbVV added by drjoms (116KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by frederikschack (Posted a comment)
  • -email is unavailable- added by drjoms (Updated the item)
  • -email is unavailable- added by mcniela (Submitted the item)
  • -email is unavailable- added by mcniela (GRUB-Boot with USB)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-21 drjoms Attached File- Added lspicVV, #49138
        Attached File- Added lsusbVV, #49139
    2018-12-26 mcniela Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code