[LinuxBIOS] VMWare almost there, IDE problems

Stefan Reinauer stepan at coresystems.de
Tue Apr 24 19:52:16 CEST 2007


* Joe Pub <joepubber at googlemail.com> [070424 18:45]:
> Hi All,
> 
> I am getting ever so closer to booting VMWare with LinuxBIOS.  I can
> boot FILO with VGA within VMWare now but I have a final hurdle.  I am
> getting IDE problems within FILO when it's trying to read sector 0 of
> the boot drive.  I get a 'read sector failed' error so because of this
> it just jumps straight to the GRUB menu.
> 
> Anyone have any ideas what the problem might be?  Below is a copy of
> the output from LinuxBIOS from start to end.
> 
> Thanks guys.

> FILO version 0.5 (root at devilenc-linux.first4internet.co.uk) Tue Apr 24 12:22:22 BST 2007
[..]
> setup_timers: CPU 2414 MHz
.. is this the native clock of your CPU? ..
[..]
> find_ide_controller: found PCI IDE controller 8086:7111 prog_if=0x8a
> find_ide_controller: cmd_base=0x1f0 ctrl_base=0x3f4
[..]
> ide_software_reset: Waiting for ide0 to become ready for reset... ok
> init_drive: Testing for hda
> init_drive: Probing for hda
> init_drive: LBA mode, sectors=2097152
> init_drive: Init device params... ok
> hda: LBA 1073MB: VMware Virtual IDE Hard Drive
> init_drive: Testing for hdb
> init_drive: Testing for hdb
> IDE time out
> Disk read error dev=1 drive=0 sector=0
> devread: read sector failed
> open_pc_partition: device read failed
> devopen: can't open partition 1
> malloc_diag: alloc: 144 bytes (3 blocks), free: 16232 bytes (1 blocks)

the IDE driver in FILO is not very good, and emulators such as VMware
are usually not very accurate. So there's some timing problem here.

Can you get Peter Stuge's Patch posted under "[LinuxBIOS] filo ide speedup patch!"
a couple of days ago and see if it helps?


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list