[LinuxBIOS] Can't boot from IDE on vt8237r
peter at stuge.se
Fri Jul 27 16:19:38 CEST 2007
On Thu, Jul 26, 2007 at 03:55:11PM -0400, Corey Osgood wrote:
> >> IDE is still showing up as a floating bus.
> > No?
> Yes, read on
Ahh. I see.
> >> find_ide_controller: found PCI IDE controller 1106:3149 prog_if=0x8f
> >> find_ide_controller: primary channel: native PCI mode
> >> find_ide_controller: cmd_base=0x2020 ctrl_base=0x2040
> >> hda: LBA48 82GB: HDS728080PLA380
> > Bingo, here's an LBA48 82GB disk on hda.
> device 0x3149 is the SATA controller, the 82GB drive is SATA.
> Magnus (and I) need IDE ;)
Doh! Sorry I didn't catch this.
> file_open: dev=hde, path=<NULL>
> find_ide_controller: found PCI IDE controller 1106:0571 prog_if=0x8a
> find_ide_controller: primary channel: compatibility mode
> find_ide_controller: cmd_base=0x1e8 ctrl_base=0x3ec
> Detected floating bus
The floating detection is rather stupid, it says floating if a couple
of registers read back 0xff.
How is the device configured? cmd_base and ctrl_base are hard-coded
in FILO when the device is in compatibility mode. The IO ports are
only read from PCI config space for native PCI mode controllers.
When you set the IDE device to compat mode is it fixed to those ports
or how does it work?
Also - can you try not setting the IDE device to compat mode but
rather to native PCI mode - compat is for DOS anyway. ;)
More information about the coreboot