Bug #165

[ga-g41m-es2l] [coreboot 4.7] [grub] GRUB payload (launched from seabios) halts when trying to load linux kernel

Added by Anonymous about 1 year ago.

Status:NewStart date:05/05/2018
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hello,

[ga-g41m-es2l] [grub] GRUB halts when trying to load linux kernel

I'm trying to use GRUB2 payload launched from seabios. (To make sure it works before using it as main payload)
The GRUB2 payload I included in my rom is using vesafb [1][2], it loads fine from seabios but once it tries to load the first menuentry, it halts and I'm forced to reset to boot from seabios again. The keyboard doesn't respond at all as well on GRUB (USB)
So I'm trying to figure out why it isn't working.
The coreboot rom I'm using is 4.7-fd470f7163709c1022ee6185134a2387812774ec with :
- NGI
- Linear FB
- Seabios 1.11.0-0-g63451fc (seabios master = same issue)

Is GRUB2 payload able to be launched from seabios on this board ? Or does it have to be launched as main payload ?

included :

  • cbmem log (-> after a reset to seabios when grub halts)
  • nvramtool settings
  • cbfstools "print"
  • grub.cfg (extracted from libreboot rom)

[1] I extracted it from a libreboot rom I was using with success previously
[2] I also compiled a fresh GRUB2 payload from 2.02 release, the issue is exactly the same.


Strangely, if using the exact same grub payload with coreboot 4.6-db508565d2483394b709654c57533e55eebace51 with :

  • NGI
  • Linear FB
  • Seabios 1.10.2-0-g5f4c7b1

Then GRUB2 payload works fine ! It loads my 4.9.97 kernel without issue except this little error with my keyboard (not sure why) :

[ 0.508007] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.508552] ehci-pci: EHCI PCI platform driver
[ 0.508737] SCSI subsystem initialized
[ 0.508926] ehci-pci 0000:00:1d.7: EHCI Host Controller
[ 0.508938] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 0.508967] ehci-pci 0000:00:1d.7: debug port 1
[ 0.511097] i8042: Failed to disable AUX port, but continuing anyway... Is this a SiS?
[ 0.511101] i8042: If AUX port is really absent please use the 'i8042.noaux' option
[ 0.511777] mpt3sas version 13.100.00.00 loaded
[ 0.513408] ehci-pci 0000:00:1d.7: can't setup: -110
[ 0.513475] ehci-pci 0000:00:1d.7: USB bus 1 deregistered
[ 0.513508] xhci_hcd 0000:02:00.0: xHCI Host Controller
[ 0.513515] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[ 0.513590] ehci-pci 0000:00:1d.7: init 0000:00:1d.7 fail, -110
[ 0.513616] ehci-pci: probe of 0000:00:1d.7 failed with error -110

Thanks for your help

4.6_4.7_grub.cfg - grub.cfg (common to both roms) (4.41 KB) Anonymous, 05/05/2018 03:43 PM

4.6_4.7_nvramtool - nvramtool settings (common to both roms) (125 Bytes) Anonymous, 05/05/2018 03:43 PM

4.7_cbfstool (1.23 KB) Anonymous, 05/05/2018 03:44 PM

4.7_coreboot_config (311 Bytes) Anonymous, 05/05/2018 03:45 PM

4.7_seabios_rel-1.11.0-0-g63451fc_config (1.64 KB) Anonymous, 05/05/2018 03:45 PM

4.7_cbmem (128 KB) Anonymous, 05/05/2018 03:53 PM

4.6_cbfstool (1.23 KB) Anonymous, 05/05/2018 03:53 PM

4.6_coreboot_config (349 Bytes) Anonymous, 05/05/2018 03:53 PM

4.6_seabios_rel-1.10.2-0-g5f4c7b1_config (1.61 KB) Anonymous, 05/05/2018 03:54 PM

4.6_cbmem (66 KB) Anonymous, 05/05/2018 03:54 PM

Also available in: Atom PDF