Hi, I'm trying to debug gPXE rom on Bochs using pnic.rom. However, gpxe cannot find PCI network device - Bochs emulates the pseudo-NIC. If I use the ROM generated from etherboot-5.4, its NIC will be found correctly.
>From I debugging, I found it returns from pcibus_probe without find any pci bus, say max_bus=0 in drivers/bus/pci.c. Furthermore, it calls pcibios_max_bus to emulate pci bus and return none bus. I don't understand the asm code in pcibios_max_bus, so I don't know how to debug. Does anybody know about this, or brief explain on those asm code in pcibios_max_bus? Any comments will be greatly appreciated! The main configuration in Bochsrc as following: opromimage1: file=pnic.rom, address=0xd0000 i440fxsupport: enabled=1, slot1=pcivga, slot2=pcipnic pnic: enabled=1, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0 Best Regards, -Sean-
_______________________________________________ gPXE-devel mailing list gPXE-devel@etherboot.org http://etherboot.org/mailman/listinfo/gpxe-devel