Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-17 Thread Adrian Smarzewski
Adrian Smarzewski wrote: When I set 10.0.2.15 for win xp guest I can ping 10.0.2.2 but DHCP doesn't work and routing too. Any ideas? Something in host-kernel configuration? Looks like user-mode networking doesn't work on AMD64 host. I can give you access via ssh if someone has any ideas.

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Leonardo E. Reiter
We have seen problems on the AMD64 with -user-net as well. While we have not been able to debug further yet, I suspect what is happening is that some 32-bit values in packet headers that SLIRP is decoding are actually represented as 64-bit types on 64-bit processors. Again, this is just a

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Adrian Smarzewski
On Mon, 09 May 2005 10:37:04 -0400, Leonardo E. Reiter wrote We have seen problems on the AMD64 with -user-net as well. While we have not been able to debug further yet, I suspect what is happening is that some 32-bit values in packet headers that SLIRP is decoding are actually represented

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Leonardo E. Reiter
Adrian, we will be working on this shortly. In the meantime, where I would start is by putting a breakpoint in udp_input() in the file slirp/udp.c, and following the flow until it calls bootp_input(). If it gets that far, it means it's probably decoding the UDP packet correctly and detects

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Adrian Smarzewski
On Mon, 9 May 2005 17:19:57 +0200, Adrian Smarzewski wrote If you need some help... I'm a programmer and I have amd64 machine. I don't know anything about user-network code and don't have a lot of time but It's important for me to have a qemu networking. Just write me what to do. I will look

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Adrian Smarzewski
On Mon, 09 May 2005 11:50:09 -0400, Leonardo E. Reiter wrote correctly and detects it as a DHCP/BOOTP request. You might want to also study slirp/ip.h and slirp/udp.h to make sure all the values are represented in the correct bit length. If you have this problem too I will try to fix 64-bit

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Adrian Smarzewski
On Mon, 9 May 2005 19:26:33 +0200, Juergen Lock wrote There are a few cases of `long' being used when apparently (u) int32_t was meant. Not sure i catched them all, but try this patch: (Unfortunately I don't have an amd64 box here so I cant test it myself...) I can try it later (4 to 5

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-09 Thread Jung-uk Kim
On Monday 09 May 2005 01:26 pm, Juergen Lock wrote: On Mon, May 09, 2005 at 10:37:04AM -0400, Leonardo E. Reiter wrote: We have seen problems on the AMD64 with -user-net as well. While we have not been able to debug further yet, I suspect what is happening is that some 32-bit values in

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Henrik Nordstrom
On Mon, 9 May 2005, Adrian Smarzewski wrote: DHCP is not working just like I wrote. I set DNS and default gateway using QEMU manual for user-networking. No success. Should work.. Does user-mode networking need routing enabled in host kernel? No. Regards Henrik

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Henrik Nordstrom wrote: Should work.. how can I debug it? Any logs for user-networking? qemu 0.7.0. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Ben Taylor
Adrian Smarzewski [EMAIL PROTECTED] wrote Ben Taylor wrote: From: Adrian Smarzewski [EMAIL PROTECTED] Date: 2005/05/08 Sun PM 06:22:27 EDT To: qemu-devel@nongnu.org Subject: [Qemu-devel] user networking - win xp quest, amd64 linux host When I set 10.0.2.15 for win xp guest I can ping

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Ben Taylor wrote: suspect the amd64 is biting you. What is your host OS environment like, and what version of qemu are you compiling? bash-2.05b$ uname -a Linux localhost 2.6.11-gentoo-r7 #1 Sun May 8 06:59:56 CEST 2005 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Adrian Smarzewski wrote: bash-2.05b$ uname -a Linux localhost 2.6.11-gentoo-r7 #1 Sun May 8 06:59:56 CEST 2005 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux bash-2.05b$ qemu -hda win_xp_home_sp2.raw -user-net -localtime Qemu 0.7.0 without any patches. localhost root #