Page 1 of 1
Bochs can't find e1000
Posted: Thu Jul 11, 2013 2:43 pm
by steven765
Hi I'm trying to add the e1000 to our os.
I recompiled Bochs with --enable-e1000 and set plugin_ctrl: e1000=1 in the config.
However when I scan the PCI bus I don't see the card there at all. What did I miss?
Many Thanks
Re: Bochs can't find e1000
Posted: Thu Jul 11, 2013 4:31 pm
by Nable
I suggest you to try booting some stable OS inside Bochs with your configuration (e.g. there are some small test linux images). If it doesn't detect e1000, then you can try to post your .bochsrc here.
If linux detects e1000 (and your OS don't) then you should debug your code better.
Re: Bochs can't find e1000
Posted: Thu Jul 11, 2013 4:38 pm
by steven765
I think I've found it, i copied the config line from the ne2000 but named it e1000 instead configuring eth0 as a pass through with a mac address. It now shows up in my pci scan. I didn't find any documentation about configuring the e1000, just did that on a hunch.