BOCHS Hangs when specifying a network card [resolved]

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
0b1
Member
Member
Posts: 35
Joined: Sun Feb 04, 2018 8:04 pm

BOCHS Hangs when specifying a network card [resolved]

Post by 0b1 »

Does anyone else have this problem?

When I specify a network card in BOCHS (windows edition) it hangs my entire PC.

I added this line (and a few variations) to my config file:
ne2k: ioaddr=0x300, irq=11, mac=00:c4:3B:00:C3:00, ethmod=win32, ethdev=NE2000

I have to do a cold boot of my PC to recover!

I am running Windows 10. Bochs 2.6.9
Last edited by 0b1 on Sun Jun 24, 2018 5:12 pm, edited 1 time in total.
Code or code not. There is no try.
0b1
Member
Member
Posts: 35
Joined: Sun Feb 04, 2018 8:04 pm

Re: BOCHS Hangs when specifying a network card [resolved]

Post by 0b1 »

Thanks to Quirck for showing me the way in another post.

I needed to also specify the PCI config in my .bxrc configuration file.

I had (the equivalent of):

Code: Select all

e1000: enabled=1, mac=b0:c4:20:00:00:01, ethmod=slirp, script=slirp.conf
I also needed:

Code: Select all

pci: enabled=1, chipset=i440fx, slot1=pcivga, slot2=e1000
Without having a device defined on the PCI bus, BOCHS was very unhappy.
Code or code not. There is no try.
Post Reply