[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-10-11 Thread Vladimir Serbinenko
Update of bug #47406 (project grub):

Priority:  5 - Normal => 6  


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-28 Thread Timothy Pearson
Follow-up Comment #5, bug #47406 (project grub):

It turns out that the observed symptoms were related to enabling USB debug
support in coreboot on the AMD platforms.  Disabling USB debug support
resolved the GRUB issues.

I am not sure if this is something that GRUB should detect / handle.  If not
please feel free to mark this request invalid.

Thanks!

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-15 Thread Timothy Pearson
Follow-up Comment #4, bug #47406 (project grub):

Thank you for the clarification.

Interestingly I am unable to replicate the aforementioned USB problems with a
stock coreboot build.  This appears to be specific to Libreboot (a coreboot
downstream distribution).  I will update as I have more information.

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-15 Thread Vladimir Serbinenko
Follow-up Comment #3, bug #47406 (project grub):

detect_dev is called for every port constantly and its purpose is to detect if
new devices are connected and it's lightweight if none is. "Oscilating" is
because it actually shows status for different ports. It's piossible that
ohci.mod is culprit as it's less tested that ehci for coreboot, hence I ask to
remove it from mkrescue command line. Make sure that all connected devices are
either USB 2.0 or later or connect through a hub

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-15 Thread Vladimir Serbinenko
Update of bug #47406 (project grub):

 Planned Release:None => 2.02   


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-14 Thread Timothy Pearson
Follow-up Comment #2, bug #47406 (project grub):

I am not familiar with GRUB's code, however those messages should only be
printed if the grub_ohci_detect_dev function is being called repeatedly.  Am I
misunderstanding the purpose of that function?

Decoding the flags reveals the status register is changing between:

OHCI_CTRL_IR

and

OHCI_CTRL_CBSR
OHCI_CTRL_IR
OHCI_CTRL_RWC

I am not familiar with the details of OHCI operation.  Is this normal /
expected behavior when no USB devices are attached?

If there is anything I should provide to debug the user-visible problem
(namely severe USB keyboard input lag and extremely slow USB boot) please let
me know.

Thanks!

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-14 Thread Vladimir Serbinenko
Follow-up Comment #1, bug #47406 (project grub):

What makes you think that there is a detected constant addition of USB
devices? CHANGED bit is not set. Can you try removing OHCI module altogether
and see if the problem disappears?

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #47406] GRUB2 detects constant addition of nonexistent USB devices

2016-03-13 Thread Timothy Pearson
URL:
  

 Summary: GRUB2 detects constant addition of nonexistent USB
devices
 Project: GNU GRUB
Submitted by: tpearson
Submitted on: Mon 14 Mar 2016 05:51:05 AM GMT
Category: Booting
Severity: Major
Priority: 5 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
 Release: Git master
 Reproducibility: None
 Planned Release: None

___

Details:

When booted from coreboot on the KFSN4-DRE, KGPE-D16, or KCMA-D8 systems,
GRUB2 operates extremely slowly, constantly detecting new USB devices even
when no USB devices are actually present.  Verbose logging shows a continuous
stream of the following messages:

bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x303
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x100
bus/usb/ohci.c:1308: detect_dev status=0x303
bus/usb/ohci.c:1308: detect_dev status=0x100

This constant activity makes GRUB2 effectively unusable; USB keystrokes take
seconds to process per keystroke and booting from USB is all but impossible.

The affected chipsets thus far are:
nVidia CK804
AMD SB700




___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub