[LinuxBIOS] Can't boot from IDE on vt8237r

Corey Osgood corey.osgood at gmail.com
Thu Jul 26 07:59:45 CEST 2007


The cn700/vt8237r is almost working,  but I'm having problems booting
from IDE using filo. boot log, vt8237r.c, vt8237r_lpc.c, vt8237r_ide.c,
and Config.lb are all attached (sorry for filling your inboxes, just
trying to make sure anything that might help is available). This is
based mostly off the vt8235, I've also tried Rudolf Marek's files with
no success. Mainly what's got me lost are these two things from the boot
log:

@line 259:
In vt8237r_enable ffff ffff.
Disabling static device: PCI: 00:0f.0
In vt8237r_enable ffff ffff.
Disabling static device: PCI: 00:0f.1

why? This should be the IDE controller, and it's turned on in Config.lb.
Unless I'm missing something, which I must be. It looks like bad device
numbers, but afaik it isn't, so why is it coming up null?

@line 635:
boot: hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200
malloc_diag: alloc: 352 bytes (4 blocks), free: 16024 bytes (1 blocks)
malloc_diag: alloc: 368 bytes (5 blocks), free: 16008 bytes (1 blocks)
file_open: dev=hda1, path=/vmlinuz
find_ide_controller: found PCI IDE controller 1106:0571 prog_if=0x8a
find_ide_controller: primary channel: compatibility mode
find_ide_controller: cmd_base=0x1f0 ctrl_base=0x3f4
Detected floating bus
No drive detected on IDE channel 0

Floating bus sounds like a bad thing to me, and google says it is too.
But the IDE controller is being found! I've tried this with a real hard
drive, a CF to IDE adapter, and a flash-based ide drive, and none are
found. I found some references to this in the mailing list archives,
especially in relation to the ck804, but never any "this is what fixed
it"...

Thanks,
Corey

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: minicom
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070726/6a358b66/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vt8237r_lpc.c
Type: text/x-csrc
Size: 7844 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070726/6a358b66/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vt8237r_ide.c
Type: text/x-csrc
Size: 4319 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070726/6a358b66/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vt8237r.c
Type: text/x-csrc
Size: 2476 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070726/6a358b66/attachment-0002.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Config.lb
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070726/6a358b66/attachment-0001.ksh>


More information about the coreboot mailing list