No subject
Wed May 19 23:53:08 EDT 2010
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-
--0016363b8f0efe9bcd048985f638
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hi,</div><div><br></div><div>I'm trying to debug gPXE rom on Bochs=
using pnic.rom. However, gpxe cannot find PCI network device - Bochs emula=
tes the pseudo-NIC.=A0</div><div>If I use the ROM generated from etherboot-=
5.4, its NIC will be found correctly.=A0</div>
<div><br></div><div>From I debugging, I found it returns from pcibus_probe =
without find any pci bus, say max_bus=3D0 in drivers/bus/pci.c.=A0</div><di=
v>Furthermore, it calls pcibios_max_bus to emulate pci bus and return none =
bus. =A0I don't understand the asm code in pcibios_max_bus, so I don=
9;t know how to debug.</div>
<div>Does anybody know about this, or brief explain on those asm code in pc=
ibios_max_bus? Any comments will be greatly appreciated!</div><div><br></di=
v>The main configuration in Bochsrc as following:<div><br></div><div>opromi=
mage1: file=3Dpnic.rom, address=3D0xd0000</div>
<div>i440fxsupport: enabled=3D1, slot1=3Dpcivga, slot2=3Dpcipnic</div><div>=
pnic: enabled=3D1, mac=3Db0:c4:20:00:00:00, ethmod=3Dlinux, ethdev=3Deth0</=
div><div><br>
</div><div><br></div><div><br></div><div>Best Regards,</div><div>-Sean-</di=
v><div><br></div><div><br></div><div><br></div>
--0016363b8f0efe9bcd048985f638--
More information about the gPXE-devel
mailing list