* SONE Takeshi ts1@tsn.or.jp [031030 13:25]:
On Thu, Oct 30, 2003 at 12:40:02PM +0100, Stefan Reinauer wrote:
- SONE Takeshi ts1@tsn.or.jp [031030 11:40]:
On Thu, Oct 30, 2003 at 11:34:29AM +0100, Stefan Reinauer wrote:
I am using an etherboot payload that reads an elf image from the first sectors on the disk. This works fine, I put filo there so I can load a kernel from any filesystem. Unfortunately filo seems to find no IDE controller, it says IDE channel 0 not found. Etherboot and Linux can see the ide controller though (it's on bus 1)
Maybe the problem is with my PCI code. Please send me the output log with DEBUG_ALL.
You only seem to scan bus 0:
Ok.. My PCI scan routine starts from bus 0, and recurses when PCI bridges are found. I think I took this algorithm from pciutils.
However your board has only host bridges on bus 0, so FILO doesn't know if bus 1 exists.
I checked Etherboot and it just scans bus 0 to 255 unconditionally. I don't know which is better. Anyway attached patch changes the PCI scan to Etherboot way.
Thanks. with this patch it also works using PCI.
Stefan