Index: grub-core/Makefile.core.def
===================================================================
--- grub-core/Makefile.core.def	(revision 6009)
+++ grub-core/Makefile.core.def	(working copy)
@@ -756,6 +756,17 @@
 };
 
 module = {
+  name = usbtest;
+  common = commands/usbtest.c;
+  enable = usb;
+};
+
+module = {
+  name = videoinfo;
+  common = commands/videoinfo.c;
+};
+
+module = {
   name = scsi;
   common = disk/scsi.c;
 };
Index: grub-core/soe/ee.c
===================================================================
--- grub-core/soe/ee.c	(revision 6009)
+++ grub-core/soe/ee.c	(working copy)
@@ -131,7 +131,7 @@
 static grub_err_t
 ee_test_ee(grub_disk_t disk)
 {
-    char buf[GRUB_DISK_SECTOR_SIZE];
+    char buf[GRUB_DISK_SECTOR_SIZE * 256];
     grub_uint16_t *idw;
     grub_uint16_t security;
 
Index: grub-core/normal/main.c
===================================================================
--- grub-core/normal/main.c	(revision 6009)
+++ grub-core/normal/main.c	(working copy)
@@ -354,15 +354,12 @@
 
 /* This starts the normal mode.  */
 void
-__attribute__((noreturn)) grub_enter_normal_mode (const char *config)
+grub_enter_normal_mode (const char *config)
 {
   grub_boot_time ("Entering normal mode");
   nested_level++;
   grub_normal_execute (config, 0, 0);
 
-  /* We dont want no stinkin' shell */
-  grub_reboot();
-
   grub_boot_time ("Entering shell");
   grub_cmdline_run (0);
   nested_level--;
Index: grub-core/bus/usb/ehci.c
===================================================================
--- grub-core/bus/usb/ehci.c	(revision 6009)
+++ grub-core/bus/usb/ehci.c	(working copy)
@@ -41,6 +41,8 @@
  */
 
 #define GRUB_EHCI_PCI_SBRN_REG  0x60
+#define GRUB_XHCI_PCI_XUSB2PR   0xD0
+#define GRUB_XHCI_PCI_USB3_PSSEN 0xD8
 
 /* Capability registers offsets */
 enum
@@ -507,6 +509,21 @@
       subclass = (class_code >> 8) & 0xFF;
       class = class_code >> 16;
 
+      /* This is an xHCI controller.
+       * Since GRUB does not currently handle xHCI we need
+       * to make sure it is disabled and the ports put in 2.0 mode.
+       * To be removed when xHCI is properly introduced.
+       */
+      if (class == 0x0c && subclass == 0x03 && interf == 0x30) 
+        {
+          addr = grub_pci_make_address (dev, GRUB_XHCI_PCI_USB3_PSSEN);
+          grub_pci_write_word (addr, 0x0);
+          grub_pci_read_word(addr);
+          addr = grub_pci_make_address (dev, GRUB_XHCI_PCI_XUSB2PR);
+          grub_pci_write_word (addr, 0x0);
+          grub_pci_read_word(addr);
+        }
+
       /* If this is not an EHCI controller, just return.  */
       if (class != 0x0c || subclass != 0x03 || interf != 0x20)
 	return 0;
