Rares Aioanei wrote:
On 04/28/2010 04:03 PM, Uwe Dippel wrote:
Trying to install a virtual OpenBSD on OpenBSD 4.6 on amd64, I did:

# env ETHER=em0 qemu -net nic,model=rtl8139 -net tap -m 32 -monitor stdio -no-fd-bootchk -hda virtual.img \
-cdrom cd46.iso -boot d

as described in http://www.openbsd.org/cgi-bin/cvsweb/ports/emulators/qemu/files/README.OpenBSD?rev=1.5;content-type=text%2Fx-cvsweb-markup
You're not mistaking, Realtek is. Stay away from them, virtual or not,
and try the other NICs qemu has to offer. It will work.
No, sorry. All the same. No dhcp (dhclient) ever.
I tried pcnet, ne2k_pci, i82551 (the latter segfaults, see below).
What I did:

# env ETHER=bge0 qemu -net nic,model=ne2k_pci -net tap -m 32 -monitor stdio -no-fd-bootchk -hda virtual.img \
-cdrom cd46.iso -boot d

I guess there is something wrong with that 'ether' thing. I had tried em0 as written in that OpenBSD cvsweb, but then it works even less. I see no em0 coming up, only the pcn0 (pcnet), ne3 (ne2k_pci), fxp0 (i82551); no vlan, tun. Just lo and that respective network card.

I always boot cd46.iso and go to (S)hell immediately, and do the network setting, first trying dhcp, then manually. All dhclient {pcn0| ne3} time out. All manual settings fail to connect to ftp, as well.

dhclient fxp0 segfaults qemu reproducably:
# env ETHER=bge0 qemu -net nic,model=i82551 -net tap -m 32 -monitor stdio -no-> > -cdrom cd46.iso -boot d {tun0 (bridge0 <-> bge0)}
QEMU 0.9.1 monitor - type 'help' for more information
(qemu) assertion "!"feature is missing in this emulation: " "unknown word read"" failed: file "/usr/obj/ports/qemu-0.9.1p10/qemu-0.9.1/hw/eepro100.c", line 1202
, function "eepro100_read2"
Abort trap (core dumped)

It *must* be a mistake on my side, if the description on the OpenBSD site is correct.
What can I do?

Uwe

Reply via email to