* 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
On Thu, Oct 30, 2003 at 01:32:49PM +0100, Stefan Reinauer wrote:
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.
I'll make this a Config option (turned off by default) in the next version.
* SONE Takeshi ts1@tsn.or.jp [031030 18:36]:
On Thu, Oct 30, 2003 at 01:32:49PM +0100, Stefan Reinauer wrote:
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.
I'll make this a Config option (turned off by default) in the next version.
Hm.. just had the idea.. maybe it makes sense to use no-pci mode if no pci controller can be found?
Stefan
On Fri, Oct 31, 2003 at 10:03:09PM +0100, Stefan Reinauer wrote:
Hm.. just had the idea.. maybe it makes sense to use no-pci mode if no pci controller can be found?
That sounds like a symptomatic treatment. Maybe I can do this but with a big fat warning would be displayed. We have to fix the PCI, not the symptom (IDE).