#10 SeaBIOS HDD boot does not timeout on error.

Open
opened 2 years ago by B00daW · 3 comments
B00daW commented 2 years ago

When SeaBIOS attempts to boot from disk drive, it does not time out after unsuccessful boot. The drive in the MacBook2,1 laptop I have is corrupt and loops infinitely trying to boot from it; not moving on to the next media device. Please provide a time-out/error-out from a certain case.

In order to troubleshoot this to flash another BIOS via command-line, I will remove the HDD in posterity.

When SeaBIOS attempts to boot from disk drive, it does not time out after unsuccessful boot. The drive in the MacBook2,1 laptop I have is corrupt and loops infinitely trying to boot from it; not moving on to the next media device. Please provide a time-out/error-out from a certain case. In order to troubleshoot this to flash another BIOS via command-line, I will remove the HDD in posterity.
Leah Rowe commented 2 years ago
Owner

I'm curious, I don't know whether the HDD on a macbook21 is ATA/IDE or whether it's AHCI/SATA

Can you flash the GRUB ROM and type ls into the GRUB terminal? I ask because I've never taken apart a macbook21 before.

If it's IDE, there's one thing I can possibly think of. In SeaBIOS, the default mode for IDE is PIO mode, but you can enable DMA mode. I disable PIO mode in this release, and enable DMA mode instead, but maybe that was a mistake. It's possible that this isn't the cause. Though if you tell me the HDD is IDE, not SATA, I will send you a ROM with SeaBIOS set to PIO mode and you can try that.

The reason I set DMA mode is because of GA-G41M-ES2L where PIO mode is extremely slow in SeaBIOS.

I'm curious, I don't know whether the HDD on a macbook21 is ATA/IDE or whether it's AHCI/SATA Can you flash the GRUB ROM and type `ls` into the GRUB terminal? I ask because I've never taken apart a macbook21 before. If it's IDE, there's one thing I can possibly think of. In SeaBIOS, the default mode for IDE is PIO mode, but you can enable DMA mode. I disable PIO mode in this release, and enable DMA mode instead, but maybe that was a mistake. It's possible that this isn't the cause. Though if you tell me the HDD is IDE, not SATA, I will send you a ROM with SeaBIOS set to PIO mode and you can try that. The reason I set DMA mode is because of GA-G41M-ES2L where PIO mode is extremely slow in SeaBIOS.
B00daW commented 2 years ago
Poster

grub> ls (memdisk) (proc) (cbfsdisk) (ahci0,gpt3) (ahci0,gpt2) (ahci0,gpt1) (ata0) grub>

grub> ls (memdisk) (proc) (cbfsdisk) (ahci0,gpt3) (ahci0,gpt2) (ahci0,gpt1) (ata0) grub>
Leah Rowe commented 1 year ago
Owner

please try again with latest libreboot. some changes were made since you reported this that might affect it

build from lbmk.git, don't use release roms

see: https://libreboot.org/docs/build/

please try again with latest libreboot. some changes were made since you reported this that might affect it build from lbmk.git, don't use release roms see: https://libreboot.org/docs/build/
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.