* [Qemu-devel] BSD network
@ 2004-05-30 8:14 Taras
2004-05-30 8:54 ` Alexander E. Patrakov
0 siblings, 1 reply; 4+ messages in thread
From: Taras @ 2004-05-30 8:14 UTC (permalink / raw)
To: qemu-devel
Hello,
Does anyone have networking working in freebsd or netbsd? I'm trying to
do a netinstall. Using -pci and -user-net both freebsd & netbsd can
obtain an ip over dhcp. However netbsd doesn't even seem to be able to
do dns. Freebsd appears to be able to resolve the dns names of the
servers, but can't login(tcp wont work?).
Both appear to be close to working. Is there anything one has to do to
get BSDs to use the nic or is this a bug in qemu?
Taras
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] BSD network
2004-05-30 8:14 [Qemu-devel] BSD network Taras
@ 2004-05-30 8:54 ` Alexander E. Patrakov
2004-05-30 17:38 ` Taras
2004-05-31 1:39 ` [Qemu-devel] BSD network[repost] Taras
0 siblings, 2 replies; 4+ messages in thread
From: Alexander E. Patrakov @ 2004-05-30 8:54 UTC (permalink / raw)
To: qemu-devel
Taras wrote:
> Hello,
> Does anyone have networking working in freebsd or netbsd? I'm trying to
> do a netinstall. Using -pci and -user-net both freebsd & netbsd can
> obtain an ip over dhcp. However netbsd doesn't even seem to be able to
> do dns. Freebsd appears to be able to resolve the dns names of the
> servers, but can't login(tcp wont work?).
This may be related to the issue covered in the "Overpotimization"
thread. Please verify if issuing the following command instead of plain
"make" resolves the problem for you:
make CFLAGS="-O2 -g -Wall -fno-strict-aliasing
--
Alexander E. Patrakov
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] BSD network
2004-05-30 8:54 ` Alexander E. Patrakov
@ 2004-05-30 17:38 ` Taras
2004-05-31 1:39 ` [Qemu-devel] BSD network[repost] Taras
1 sibling, 0 replies; 4+ messages in thread
From: Taras @ 2004-05-30 17:38 UTC (permalink / raw)
Cc: qemu-devel
Alexander E. Patrakov wrote:
> Taras wrote:
>
>> Hello,
>> Does anyone have networking working in freebsd or netbsd? I'm trying
>> to do a netinstall. Using -pci and -user-net both freebsd & netbsd
>> can obtain an ip over dhcp. However netbsd doesn't even seem to be
>> able to do dns. Freebsd appears to be able to resolve the dns names
>> of the servers, but can't login(tcp wont work?).
>
>
> This may be related to the issue covered in the "Overpotimization"
> thread. Please verify if issuing the following command instead of
> plain "make" resolves the problem for you:
>
> make CFLAGS="-O2 -g -Wall -fno-strict-aliasing
On my system compiling qemu with anything other than default cflags
makes it crash. I tried the above, and "-O1".
Using gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
Taras
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] BSD network[repost]
2004-05-30 8:54 ` Alexander E. Patrakov
2004-05-30 17:38 ` Taras
@ 2004-05-31 1:39 ` Taras
1 sibling, 0 replies; 4+ messages in thread
From: Taras @ 2004-05-31 1:39 UTC (permalink / raw)
To: qemu-devel
Sorry Alex,
I meant to sent this email to the list.
looks like nameserver isn't being set properly for some reason
http://glek.net/~taras/netbsd-dhcp.png is what I get over dhcp.
When I set the networking info by hand and try to ping 10.0.2.2 I get
"ne2: remove transmit DMA failed to complete". However see below.
Alexander E. Patrakov wrote:
> Taras wrote:
>
>> Hello,
>> Does anyone have networking working in freebsd or netbsd? I'm trying
>> to do a netinstall. Using -pci and -user-net both freebsd & netbsd
>> can obtain an ip over dhcp. However netbsd doesn't even seem to be
>> able to do dns. Freebsd appears to be able to resolve the dns names
>> of the servers, but can't login(tcp wont work?).
>
>
> This may be related to the issue covered in the "Overpotimization"
> thread. Please verify if issuing the following command instead of
> plain "make" resolves the problem for you:
>
> make CFLAGS="-O2 -g -Wall -fno-strict-aliasing
As reported earlier, this doesn't produce a working qemu here
However
make CC="gcc -fno-strict-aliasing " seems to to make networking work! I
get nice download speeds too.
Thanks a lot,
Taras
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-31 1:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-30 8:14 [Qemu-devel] BSD network Taras
2004-05-30 8:54 ` Alexander E. Patrakov
2004-05-30 17:38 ` Taras
2004-05-31 1:39 ` [Qemu-devel] BSD network[repost] Taras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).