* Qemu 0.10.50 CAN NOT get ip from dhcp server
@ 2009-07-06 2:13 John Wong
2009-07-06 4:23 ` Sterling Windmill
2009-07-15 8:00 ` Amit Shah
0 siblings, 2 replies; 10+ messages in thread
From: John Wong @ 2009-07-06 2:13 UTC (permalink / raw)
To: KVM list
I notice that, when i use qemu 0.10.50 (which from kvm-0.87.tar.gz), the
guest OS CAN NOT get the ip from dhcp server.
When i use qemu 0.10.0 (which from debian's kvm-0.85 package), the guest
OS CAN get the ip from the SAME dhcp server.
Please help, thank you.
My kvm network use bridge mode
My kvm launch script:
#!/bin/sh
NUM="9"
IMG="./openbsd-amd64.qcow2"
CDROM="/ntfs2/iso-cdrom/clonezilla-live-1.2.1-39.iso"
#CDROM="/kdchome/john/software/install46.iso"
#KVM="/usr/bin/kvm" # <--------- 0.10.0 which from debian kvm 0.85 package
KVM="/opt/kvm/bin/qemu-system-x86_64 -L /opt/kvm/share/qemu/" #
<--------- 0.10.50 which from kvm-0.87.tar.gz source code
USERID="$(whoami)"
PID="./pid.log"
iface="$(sudo /usr/sbin/tunctl -t tap${NUM} -b -u ${USERID})"
${KVM} -hda ${IMG} \
-net nic,vlan=${NUM},model=e1000,macaddr=00:AA:BB:CC:DD:0${NUM} \
-net
tap,vlan=${NUM},ifname="${iface}",script=/etc/kvm/kvm-ifup,downscript=/etc/kvm/kvm-ifdown
\
-localtime \
-usb -usbdevice tablet \
-k en-us -monitor stdio \
-soundhw all \
-cdrom ${CDROM} \
-m 1024 -vga cirrus -boot d $@
sleep 3
sudo /usr/sbin/tunctl -d ${iface}
exit $?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-06 2:13 Qemu 0.10.50 CAN NOT get ip from dhcp server John Wong
@ 2009-07-06 4:23 ` Sterling Windmill
2009-07-15 8:00 ` Amit Shah
1 sibling, 0 replies; 10+ messages in thread
From: Sterling Windmill @ 2009-07-06 4:23 UTC (permalink / raw)
To: John Wong; +Cc: KVM list
I have noticed the same thing with KVM-87 and either the e1000 or the rtl8139 network models. I am on a 64-bit 2.6.18 RHEL 5.3 kernel with an Intel Q9300 processor.
Even statically assigning an IP to my bridged guest doesn't allow it to communicate with my network.
Specifying virtio as the NIC model allows a Fedora 11 live CD to network properly. KVM-86 allows the same Fedora 11 live CD to network properly regardless of which NIC model I choose.
----- Original Message -----
From: "John Wong" <johnw@wonghome.net>
To: "KVM list" <kvm@vger.kernel.org>
Sent: Sunday, July 5, 2009 10:13:12 PM GMT -05:00 US/Canada Eastern
Subject: Qemu 0.10.50 CAN NOT get ip from dhcp server
I notice that, when i use qemu 0.10.50 (which from kvm-0.87.tar.gz), the
guest OS CAN NOT get the ip from dhcp server.
When i use qemu 0.10.0 (which from debian's kvm-0.85 package), the guest
OS CAN get the ip from the SAME dhcp server.
Please help, thank you.
My kvm network use bridge mode
My kvm launch script:
#!/bin/sh
NUM="9"
IMG="./openbsd-amd64.qcow2"
CDROM="/ntfs2/iso-cdrom/clonezilla-live-1.2.1-39.iso"
#CDROM="/kdchome/john/software/install46.iso"
#KVM="/usr/bin/kvm" # <--------- 0.10.0 which from debian kvm 0.85 package
KVM="/opt/kvm/bin/qemu-system-x86_64 -L /opt/kvm/share/qemu/" #
<--------- 0.10.50 which from kvm-0.87.tar.gz source code
USERID="$(whoami)"
PID="./pid.log"
iface="$(sudo /usr/sbin/tunctl -t tap${NUM} -b -u ${USERID})"
${KVM} -hda ${IMG} \
-net nic,vlan=${NUM},model=e1000,macaddr=00:AA:BB:CC:DD:0${NUM} \
-net
tap,vlan=${NUM},ifname="${iface}",script=/etc/kvm/kvm-ifup,downscript=/etc/kvm/kvm-ifdown
\
-localtime \
-usb -usbdevice tablet \
-k en-us -monitor stdio \
-soundhw all \
-cdrom ${CDROM} \
-m 1024 -vga cirrus -boot d $@
sleep 3
sudo /usr/sbin/tunctl -d ${iface}
exit $?
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-06 2:13 Qemu 0.10.50 CAN NOT get ip from dhcp server John Wong
2009-07-06 4:23 ` Sterling Windmill
@ 2009-07-15 8:00 ` Amit Shah
2009-07-15 8:54 ` John Wong
1 sibling, 1 reply; 10+ messages in thread
From: Amit Shah @ 2009-07-15 8:00 UTC (permalink / raw)
To: John Wong; +Cc: KVM list
On (Mon) Jul 06 2009 [10:13:12], John Wong wrote:
> I notice that, when i use qemu 0.10.50 (which from kvm-0.87.tar.gz), the
> guest OS CAN NOT get the ip from dhcp server.
> When i use qemu 0.10.0 (which from debian's kvm-0.85 package), the guest
> OS CAN get the ip from the SAME dhcp server.
This was fixed in kvm-88.
Amit
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-15 8:00 ` Amit Shah
@ 2009-07-15 8:54 ` John Wong
2009-07-16 11:36 ` Amit Shah
0 siblings, 1 reply; 10+ messages in thread
From: John Wong @ 2009-07-15 8:54 UTC (permalink / raw)
To: Amit Shah, KVM list
Yes, kvm-88 fixed this problem.
I also notice another problem, when i use kvm-88(qemu-system-x86_64 with
kvm-kmod-2.6.30.1-rc2.tar.gz) installing 64bit OS (window7 & debian &
netbsd),
the install CD show the error message, say this system is 32bit not
64bit and can not continue to install.
I did try use -cpu qemu64 or -cpu core2duo, but no help.
When i use kvm-85 (which from debian's package) with
kvm-kmod-2.6.30.1-rc2.tar.gz, i can install 64bit OS.
My host system is(uname -a): Linux Debian 2.6.30-1-amd64 #1 SMP Wed Jul
8 12:20:34 UTC 2009 x86_64 GNU/Linux
My cpu is Intel core2duo E8400.
Please help, thank you.
Amit Shah 提到:
> On (Mon) Jul 06 2009 [10:13:12], John Wong wrote:
>
>> I notice that, when i use qemu 0.10.50 (which from kvm-0.87.tar.gz), the
>> guest OS CAN NOT get the ip from dhcp server.
>> When i use qemu 0.10.0 (which from debian's kvm-0.85 package), the guest
>> OS CAN get the ip from the SAME dhcp server.
>>
>
> This was fixed in kvm-88.
>
> Amit
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-15 8:54 ` John Wong
@ 2009-07-16 11:36 ` Amit Shah
2009-07-16 11:44 ` John Wong
0 siblings, 1 reply; 10+ messages in thread
From: Amit Shah @ 2009-07-16 11:36 UTC (permalink / raw)
To: John Wong; +Cc: KVM list
On (Wed) Jul 15 2009 [16:54:15], John Wong wrote:
> Yes, kvm-88 fixed this problem.
>
> I also notice another problem, when i use kvm-88(qemu-system-x86_64 with
> kvm-kmod-2.6.30.1-rc2.tar.gz) installing 64bit OS (window7 & debian &
> netbsd),
> the install CD show the error message, say this system is 32bit not
> 64bit and can not continue to install.
> I did try use -cpu qemu64 or -cpu core2duo, but no help.
Did you run 'make install' after compiling kvm-88?
Amit
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-16 11:36 ` Amit Shah
@ 2009-07-16 11:44 ` John Wong
2009-07-16 12:02 ` Amit Shah
0 siblings, 1 reply; 10+ messages in thread
From: John Wong @ 2009-07-16 11:44 UTC (permalink / raw)
To: Amit Shah, KVM list
Amit Shah 提到:
> On (Wed) Jul 15 2009 [16:54:15], John Wong wrote:
>
>> Yes, kvm-88 fixed this problem.
>>
>> I also notice another problem, when i use kvm-88(qemu-system-x86_64 with
>> kvm-kmod-2.6.30.1-rc2.tar.gz) installing 64bit OS (window7 & debian &
>> netbsd),
>> the install CD show the error message, say this system is 32bit not
>> 64bit and can not continue to install.
>> I did try use -cpu qemu64 or -cpu core2duo, but no help.
>>
>
> Did you run 'make install' after compiling kvm-88?
>
> Amit
>
Yes, i did it.
./configure --prefix=/opt/kvm-88/ --audio-drv-list="alsa oss"
make clean
make
sudo make install
Please help, thank you.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-16 11:44 ` John Wong
@ 2009-07-16 12:02 ` Amit Shah
2009-07-16 12:52 ` John Wong
0 siblings, 1 reply; 10+ messages in thread
From: Amit Shah @ 2009-07-16 12:02 UTC (permalink / raw)
To: John Wong; +Cc: KVM list
On (Thu) Jul 16 2009 [19:44:42], John Wong wrote:
> Amit Shah 提到:
>> On (Wed) Jul 15 2009 [16:54:15], John Wong wrote:
>>
>>> Yes, kvm-88 fixed this problem.
>>>
>>> I also notice another problem, when i use kvm-88(qemu-system-x86_64
>>> with kvm-kmod-2.6.30.1-rc2.tar.gz) installing 64bit OS (window7 &
>>> debian & netbsd),
>>> the install CD show the error message, say this system is 32bit not
>>> 64bit and can not continue to install.
>>> I did try use -cpu qemu64 or -cpu core2duo, but no help.
>>>
>>
>> Did you run 'make install' after compiling kvm-88?
>>
>> Amit
>>
> Yes, i did it.
> ./configure --prefix=/opt/kvm-88/ --audio-drv-list="alsa oss"
> make clean
> make
> sudo make install
>
> Please help, thank you.
Any messages in the host kernel's logs? Also can you try running a
32-bit VM and report what /proc/cpuinfo shows? I'm assuming you're
running on a 64 bit host. Can you confirm that?
Amit
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-16 12:02 ` Amit Shah
@ 2009-07-16 12:52 ` John Wong
2009-07-16 13:24 ` Amit Shah
0 siblings, 1 reply; 10+ messages in thread
From: John Wong @ 2009-07-16 12:52 UTC (permalink / raw)
To: Amit Shah, KVM list
Amit Shah 提到:
> On (Thu) Jul 16 2009 [19:44:42], John Wong wrote:
>
>> Amit Shah 提到:
>>
>>> On (Wed) Jul 15 2009 [16:54:15], John Wong wrote:
>>>
>>>
>>>> Yes, kvm-88 fixed this problem.
>>>>
>>>> I also notice another problem, when i use kvm-88(qemu-system-x86_64
>>>> with kvm-kmod-2.6.30.1-rc2.tar.gz) installing 64bit OS (window7 &
>>>> debian & netbsd),
>>>> the install CD show the error message, say this system is 32bit not
>>>> 64bit and can not continue to install.
>>>> I did try use -cpu qemu64 or -cpu core2duo, but no help.
>>>>
>>>>
>>> Did you run 'make install' after compiling kvm-88?
>>>
>>> Amit
>>>
>>>
>> Yes, i did it.
>> ./configure --prefix=/opt/kvm-88/ --audio-drv-list="alsa oss"
>> make clean
>> make
>> sudo make install
>>
>> Please help, thank you.
>>
>
> Any messages in the host kernel's logs? Also can you try running a
> 32-bit VM and report what /proc/cpuinfo shows? I'm assuming you're
> running on a 64 bit host. Can you confirm that?
>
>
> Amit
>
No, i can not found any message is relate kvm.
Yes, i installed Debian/32-bit VM, below is "cat /proc/cpuinfo".
Thank your help.
--------------------------------------------------------------------
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 0.10.50
stepping : 3
cpu MHz : 2999.638
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pse36 clflush mmx fxsr sse sse2 pni hypervisor
bogomips : 5999.27
clflush size : 64
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 0.10.50
stepping : 3
cpu MHz : 2999.638
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pse36 clflush mmx fxsr sse sse2 pni hypervisor
bogomips : 5999.27
clflush size : 64
power management:
--------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-16 12:52 ` John Wong
@ 2009-07-16 13:24 ` Amit Shah
2009-07-16 21:18 ` John Wong
0 siblings, 1 reply; 10+ messages in thread
From: Amit Shah @ 2009-07-16 13:24 UTC (permalink / raw)
To: John Wong; +Cc: KVM list
On (Thu) Jul 16 2009 [20:52:36], John Wong wrote:
>>
>> Any messages in the host kernel's logs? Also can you try running a
>> 32-bit VM and report what /proc/cpuinfo shows? I'm assuming you're
>> running on a 64 bit host. Can you confirm that?
>>
> Yes, i installed Debian/32-bit VM, below is "cat /proc/cpuinfo".
Is the host a 64-bit host and are you running a 64 bit kernel on the
host?
Amit
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Qemu 0.10.50 CAN NOT get ip from dhcp server
2009-07-16 13:24 ` Amit Shah
@ 2009-07-16 21:18 ` John Wong
0 siblings, 0 replies; 10+ messages in thread
From: John Wong @ 2009-07-16 21:18 UTC (permalink / raw)
To: Amit Shah, KVM list
Amit Shah 提到:
> Is the host a 64-bit host and are you running a 64 bit kernel on the
> host?
>
>
>
Yes, the host is Debian/64-bit/kernel-2.6.30.
John Wong 提到:
> My host system is(uname -a): Linux Debian 2.6.30-1-amd64 #1 SMP Wed
> Jul 8 12:20:34 UTC 2009 x86_64 GNU/Linux
> My cpu is Intel core2duo E8400.
>
> Please help, thank you.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-07-16 21:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06 2:13 Qemu 0.10.50 CAN NOT get ip from dhcp server John Wong
2009-07-06 4:23 ` Sterling Windmill
2009-07-15 8:00 ` Amit Shah
2009-07-15 8:54 ` John Wong
2009-07-16 11:36 ` Amit Shah
2009-07-16 11:44 ` John Wong
2009-07-16 12:02 ` Amit Shah
2009-07-16 12:52 ` John Wong
2009-07-16 13:24 ` Amit Shah
2009-07-16 21:18 ` John Wong
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).