ron minnich <[EMAIL PROTECTED]> writes:

> On 8 Oct 2003, Nathanael D. Noblet wrote:
> 
> > Thanks to ron I made an romimage that is the right size, without um
> > commenting out code here and there ;). LinuxBIOS was built fine, comes
> > up sort of. Here's the logfile. I used FILO as my payload and well it
> > can't find the device hda1... I've tried it with FILO 0.3 and 0.2, and
> > get the same results... Here is the output... its long but well sorry ;)
> 
> thanks for the output!
> 
> Guess what? This is all my fault! 
> 
> Well, actually, it is that although I am certain I am programming the IDE 
> control registers correctly, FILO doesn't like what I have done:

The current device resource assignment code should cope with static
resource assignments, so hopefully it should be a matter of plugging
hard codes into the device tree.

If not please holler.

The hdama has exactly the same issue of using non legacy addresses,
so this is a general freebios2 issue.

Although looking at that code there is another issue. You are using
dev_find_device in vt8231.c inappropriately.  dev_find_device should
be virtually unnecessary in the freebios2 tree.  Except when you are
very carefully using dev_find_device will fail to handle multiple
instances of a device.  This is a very bad example to set when
doing things properly causes everything to work transparently.
 
> > Press <Enter> for default boot, or <Esc> for boot prompt... 2 1
> > timed out
> > boot: hda1:/vmlinuz root=/dev/hda2 console=tty0 console=ttyS0,115200
> > Detected floating bus
>   ^^^^^^^^^^^^^^^^^^^^^
> 
> bad! bad! bad!
> 
> > No such device
> > boot: hda1:/vmlinuz root=/dev/hda2 console=tty0 console=ttyS0,115200
> > No such device
> > 
> > 
> 
> So, I will try to fix this, as I really want FILO working. I will try to 
> figure this out tomorrow.

This is also a limitation in FILO that it is scanning for devices only
using the legacy port addresses.  Using those addresses is great but this
problem would have remained hidden if FILO did a scan through pci devices
like etherboot does.


> ron
> p.s. did you know that if you rearrange the letters of IDE, it spells DIE?

Well that would explain your initial disk on Pink.

Eric
_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to