Hi, I have installed xen 3.0.3 on gentoo 2006.1 The machine is a laptop with amd turion x2 ML-60. I can boot into xen, xend stars normally. When I try to boot a linux livecd using HVM, there is no network interface (I used several different linux distributions). It''s not a driver problem, since the hardware is not even listed on dmesg log. While booting the livecd there is a message : "No network device detected". I have no problem if i won''t use HVm, but use the xen domU and a preinstlld linux image. I tried both 32 bit and 64 bit versions of livecd, but the problem is the same. The configuration file is: kernel = "/usr/lib64/xen/boot/hvmloader" builder=''hvm'' memory = 256 name = "hvmgentoo" disk = [ ''file:/xen-images/HVM-gentoo/gentoo.img,hda,w'', ''file:/xen-images/HVM-gentoo/minimal.iso,hdc:cdrom,r'' ] device_model = ''/usr/lib64/xen/bin/qemu-dm'' boot="d" sdl=1 vnc=0 vif = [ '''' ] pae=1 apic=0 acpi=0 Any ideas? Regards George _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/11/06, George Mavrogonatos <jblackknee@gmail.com> wrote:> I have installed xen 3.0.3 on gentoo 2006.1 > The machine is a laptop with amd turion x2 ML-60. > I can boot into xen, xend stars normally. > When I try to boot a linux livecd using HVM, there is > no network interface (I used several different linux distributions). > [...] > vif = [ '''' ]I''m not sure if HVM domains set a correct default when you define it like this, which works for paravirtual domains. try at least vif=[''type=ioemu''] (didn''t test that, i have something like vif=[''type=ioemu, mac=xxxxxxxxxxxx, bridge=xenbr1] I''d be interested if this hint helps, and I''d be intersted to know if when using the configuration that does *not* work, if there is maybe some error message in the xend logs. (xend/debug/hotplug)? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Mavrogonatos
2006-Dec-13 08:57 UTC
Re: [Xen-users] HMV + linux no network interface
Hi, I tried both vif=[''type=ioemu''] and vif=[''type=ioemu,mac=FE:FF:FF:FF:FF:FF,ip=1.2.3.4''], but in both cases the domU was created and listed in the domains (xm list) but with no state (state= ------ ). Moreover no sdl window popped up on neither case. When I''m using the vif=[ '''' ] syntax there is no error in the log files (i have attached only the xend.log, since the other were empty). On 12/12/06, Henning Sprang <henning_sprang@gmx.de> wrote:> On 12/11/06, George Mavrogonatos <jblackknee@gmail.com> wrote: > > I have installed xen 3.0.3 on gentoo 2006.1 > > The machine is a laptop with amd turion x2 ML-60. > > I can boot into xen, xend stars normally. > > When I try to boot a linux livecd using HVM, there is > > no network interface (I used several different linux distributions). > > [...] > > vif = [ '''' ] > > I''m not sure if HVM domains set a correct default when you define it > like this, which works for paravirtual domains. > > try at least vif=[''type=ioemu''] > (didn''t test that, i have something like > vif=[''type=ioemu, mac=xxxxxxxxxxxx, bridge=xenbr1] > > I''d be interested if this hint helps, and I''d be intersted to know if > when using the configuration that does *not* work, if there is maybe > some error message in the xend logs. (xend/debug/hotplug)? > > Henning >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Mavrogonatos
2006-Dec-13 10:02 UTC
Re: [Xen-users] HMV + linux no network interface
Hi, The vif=[''type=ioemu''] syntax is working (network interface is detected) if I use bridging. But I can''t make it work if I use routing. The error that seems to be is (from the qemu-dm.xxx.log) domid: 11 qemu: the number of cpus is 1 /etc/xen/qemu-ifup: could not launch network script Could not initialize device ''tap'' any ideas how can I have a network interface detected when I use routing and boot an OS from HVM? On 12/13/06, George Mavrogonatos <jblackknee@gmail.com> wrote:> Hi, > > I tried both vif=[''type=ioemu''] and > vif=[''type=ioemu,mac=FE:FF:FF:FF:FF:FF,ip=1.2.3.4''], > but in both cases the domU was created and listed in the domains (xm > list) but with no > state (state= ------ ). Moreover no sdl window popped up on neither case. > When I''m using the vif=[ '''' ] syntax there is no error in the log > files (i have attached only > the xend.log, since the other were empty). > > On 12/12/06, Henning Sprang <henning_sprang@gmx.de> wrote: > > On 12/11/06, George Mavrogonatos <jblackknee@gmail.com> wrote: > > > I have installed xen 3.0.3 on gentoo 2006.1 > > > The machine is a laptop with amd turion x2 ML-60. > > > I can boot into xen, xend stars normally. > > > When I try to boot a linux livecd using HVM, there is > > > no network interface (I used several different linux distributions). > > > [...] > > > vif = [ '''' ] > > > > I''m not sure if HVM domains set a correct default when you define it > > like this, which works for paravirtual domains. > > > > try at least vif=[''type=ioemu''] > > (didn''t test that, i have something like > > vif=[''type=ioemu, mac=xxxxxxxxxxxx, bridge=xenbr1] > > > > I''d be interested if this hint helps, and I''d be intersted to know if > > when using the configuration that does *not* work, if there is maybe > > some error message in the xend logs. (xend/debug/hotplug)? > > > > Henning > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
If I might but in - do you have no qemu.dm* log files in /var/log/xen/ ? If so are the empty? Ryan. George Mavrogonatos wrote:> Hi, > > I tried both vif=[''type=ioemu''] and > vif=[''type=ioemu,mac=FE:FF:FF:FF:FF:FF,ip=1.2.3.4''], > but in both cases the domU was created and listed in the domains (xm > list) but with no > state (state= ------ ). Moreover no sdl window popped up on neither case. > When I''m using the vif=[ '''' ] syntax there is no error in the log > files (i have attached only > the xend.log, since the other were empty). > > On 12/12/06, Henning Sprang <henning_sprang@gmx.de> wrote: >> On 12/11/06, George Mavrogonatos <jblackknee@gmail.com> wrote: >> > I have installed xen 3.0.3 on gentoo 2006.1 >> > The machine is a laptop with amd turion x2 ML-60. >> > I can boot into xen, xend stars normally. >> > When I try to boot a linux livecd using HVM, there is >> > no network interface (I used several different linux distributions). >> > [...] >> > vif = [ '''' ] >> >> I''m not sure if HVM domains set a correct default when you define it >> like this, which works for paravirtual domains. >> >> try at least vif=[''type=ioemu''] >> (didn''t test that, i have something like >> vif=[''type=ioemu, mac=xxxxxxxxxxxx, bridge=xenbr1] >> >> I''d be interested if this hint helps, and I''d be intersted to know if >> when using the configuration that does *not* work, if there is maybe >> some error message in the xend logs. (xend/debug/hotplug)? >> >> Henning >> > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Mavrogonatos
2006-Dec-13 10:46 UTC
Re: [Xen-users] HMV + linux no network interface
Hi, The vif=[''type=ioemu''] syntax is working (network interface is detected) if I use bridging. But I can''t make it work if I use routing. The error that seems to be is (from the qemu-dm.#.log) domid: 11 qemu: the number of cpus is 1 /etc/xen/qemu-ifup: could not launch network script Could not initialize device ''tap'' any ideas how can I have a network interface detected when I use routing and boot an OS from HVM? On 12/13/06, George Mavrogonatos <jblackknee@gmail.com> wrote:> Hi, > > I tried both vif=[''type=ioemu''] and > vif=[''type=ioemu,mac=FE:FF:FF:FF:FF:FF,ip=1.2.3.4''], > but in both cases the domU was created and listed in the domains (xm > list) but with no > state (state= ------ ). Moreover no sdl window popped up on neither case. > When I''m using the vif=[ '''' ] syntax there is no error in the log > files (i have attached only > the xend.log, since the other were empty). > > On 12/12/06, Henning Sprang <henning_sprang@gmx.de> wrote: > > On 12/11/06, George Mavrogonatos <jblackknee@gmail.com> wrote: > > > I have installed xen 3.0.3 on gentoo 2006.1 > > > The machine is a laptop with amd turion x2 ML-60. > > > I can boot into xen, xend stars normally. > > > When I try to boot a linux livecd using HVM, there is > > > no network interface (I used several different linux distributions). > > > [...] > > > vif = [ '''' ] > > > > I''m not sure if HVM domains set a correct default when you define it > > like this, which works for paravirtual domains. > > > > try at least vif=[''type=ioemu''] > > (didn''t test that, i have something like > > vif=[''type=ioemu, mac=xxxxxxxxxxxx, bridge=xenbr1] > > > > I''d be interested if this hint helps, and I''d be intersted to know if > > when using the configuration that does *not* work, if there is maybe > > some error message in the xend logs. (xend/debug/hotplug)? > > > > Henning > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Mavrogonatos
2006-Dec-13 13:55 UTC
Re: [Xen-users] HMV + linux no network interface
Hi, I managed to make it work.... In case routing is used, an interface tap0 should be created and configured. Also the "brctl addif $2 $" line should be commented in the qemu-ifup script. Regards George On 12/13/06, George Mavrogonatos <jblackknee@gmail.com> wrote:> Hi, > > The vif=[''type=ioemu''] syntax is working (network interface is > detected) if I use > bridging. But I can''t make it work if I use routing. The error that seems to > be is (from the qemu-dm.#.log) > domid: 11 > qemu: the number of cpus is 1 > /etc/xen/qemu-ifup: could not launch network script > Could not initialize device ''tap'' > > any ideas how can I have a network interface detected > when I use routing and boot an OS from HVM? > > On 12/13/06, George Mavrogonatos <jblackknee@gmail.com> wrote: > > Hi, > > > > I tried both vif=[''type=ioemu''] and > > vif=[''type=ioemu,mac=FE:FF:FF:FF:FF:FF,ip=1.2.3.4''], > > but in both cases the domU was created and listed in the domains (xm > > list) but with no > > state (state= ------ ). Moreover no sdl window popped up on neither case. > > When I''m using the vif=[ '''' ] syntax there is no error in the log > > files (i have attached only > > the xend.log, since the other were empty). > > > > On 12/12/06, Henning Sprang <henning_sprang@gmx.de> wrote: > > > On 12/11/06, George Mavrogonatos <jblackknee@gmail.com> wrote: > > > > I have installed xen 3.0.3 on gentoo 2006.1 > > > > The machine is a laptop with amd turion x2 ML-60. > > > > I can boot into xen, xend stars normally. > > > > When I try to boot a linux livecd using HVM, there is > > > > no network interface (I used several different linux distributions). > > > > [...] > > > > vif = [ '''' ] > > > > > > I''m not sure if HVM domains set a correct default when you define it > > > like this, which works for paravirtual domains. > > > > > > try at least vif=[''type=ioemu''] > > > (didn''t test that, i have something like > > > vif=[''type=ioemu, mac=xxxxxxxxxxxx, bridge=xenbr1] > > > > > > I''d be interested if this hint helps, and I''d be intersted to know if > > > when using the configuration that does *not* work, if there is maybe > > > some error message in the xend logs. (xend/debug/hotplug)? > > > > > > Henning > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users