Bochs can't find e1000

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
steven765
Posts: 21
Joined: Tue Feb 22, 2011 3:28 pm

Bochs can't find e1000

Post 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
Nable
Member
Member
Posts: 453
Joined: Tue Nov 08, 2011 11:35 am

Re: Bochs can't find e1000

Post 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.
steven765
Posts: 21
Joined: Tue Feb 22, 2011 3:28 pm

Re: Bochs can't find e1000

Post 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.
Post Reply