Hello, This is my first post in this list. I''m running Debian Squeeze as Dom0 on a bi-xeon 64 bits : root@sd-29499:/etc/xen# uname -a Linux sd-29499 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux I''m trying to install a Squeeze DomU but there is no network card, even during install wich doesn''t show any network card with lspci (but when I install Debian Lenny, there is a network card): root@sd-29499:/etc/xen# ls -lah /usr/download/ -rw-r--r-- 1 root root 646M 22 mars 17:27 debian-6.0.1a-amd64-CD-1.iso root@sd-29499:/etc/xen# lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01) 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01) This is my config with LVM and routed for this VM : root@sd-29499:/etc/xen# egrep -v "#|^$" vm1-xen-hvm.cfg import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen-default/boot/hvmloader" builder=''hvm'' device_model="/usr/lib64/xen-4.0/bin/qemu-dm" name = "vm1-xen-hvm" disk = [ ''phy:/dev/vm1-xen-hvm/home,hda,w'',''file:/usr/download/debian-6.0.1a-amd64-CD-1.iso,ioemu:hdc:cdrom,r''] memory = "2048" vif= [ ''ip=xxx.xx.230.16, mac=00:16:3E:25:3B:58, type=ioemu, model=e1000'' ] boot="c" vcpus=4 vnc=1 vncviewer=1 vncdisplay=1 and my xend-config : root@sd-29499:/etc/xen# egrep -v "#|^$" xend-config.sxp (network-script ''network-route netdev=eth0'') (vif-script vif-route) (dom0-min-mem 196) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) (vnc-listen ''0.0.0.0'') (vncpasswd ''xxx'') (keymap ''fr'') I''ve tried with rtl8139 and ne2k_pci drivers but no luck : vif= [ ''ip=88.190.230.16, mac=00:16:3E:25:3B:58, type=ioemu, model=ne2k_pci'' ] What do I need for having network with a Squeeze DomU on a Squeeze Dom0 with LVM + routed + HVM ? Thanks a lot for any help. Sam _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew McGlashan
2011-Apr-25 01:56 UTC
Re: [Xen-users] HVM Squeeze in domu without network
Hi Sam, I think the problem is that the network driver you require is in non-free and no longer part of a standard Squeeze ISO file. You can add in non-free firmware, see the attached scripts. Here was my original source on this: http://dannf.org/bloggf/tech/add-firmware-to.html More info here too, with some unofficial images referenced: http://www.debian.org/releases/stable/debian-installer/ Cheers -- Kind Regards AndrewM Andrew McGlashan Broadband Solutions now including VoIP Current Land Line No: 03 9912 0504 Mobile: 04 2574 1827 Fax: 03 9012 2178 National No: 1300 85 3804 Affinity Vision Australia Pty Ltd http://www.affinityvision.com.au http://adsl2choice.net.au In Case of Emergency -- http://www.affinityvision.com.au/ice.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi and thanks a lot for your answer, In fact, I think it is the result of the bug between HVM and ROUTED. I''ve played around to resolved the HVM-routed bug with patches given by someone in this list. In fact, always at the same stage, the virtual NIC on DOM0 disapear when the iso image is starting , so the domU does not detect any Nick during install with Squeeze domU. I''ve tried with HVM-bridge and there is no problem with Squeeze for network. I am at home, I will give you more details tomorrow, at work. Thanks a lot for your help. Sam. Le 25/04/2011 03:56, Andrew McGlashan a écrit :> Hi Sam, > > I think the problem is that the network driver you require is in > non-free and no longer part of a standard Squeeze ISO file. > > You can add in non-free firmware, see the attached scripts. > > Here was my original source on this: > > http://dannf.org/bloggf/tech/add-firmware-to.html > > > More info here too, with some unofficial images referenced: > > http://www.debian.org/releases/stable/debian-installer/ > > > Cheers > > > _______________________________________________ > 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
On 4/18/2011 1:51 PM, Sam wrote:> vif= [ ''ip=xxx.xx.230.16, mac=00:16:3E:25:3B:58, type=ioemu, > model=e1000'' ]Remove "type=ioemu, " from this and you may be able to install Squeeze. I use bridged mode, but had the same problem until I did this. You see the virtual NIC on dom0 disappear when Debian disables it as it switches to the PV-on-HVM driver, I believe. My theory would be that there is a problem in this procedure with type=ioemu, and when that activation fails, it does not recover gracefully, leaving you with nothing. -John _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Le 25/04/2011 09:18, John Weekes a écrit :> On 4/18/2011 1:51 PM, Sam wrote: >> vif= [ ''ip=xxx.xx.230.16, mac=00:16:3E:25:3B:58, type=ioemu, >> model=e1000'' ] > Remove "type=ioemu, " from this and you may be able to install > Squeeze. I use bridged mode, but had the same problem until I did this. > > You see the virtual NIC on dom0 disappear when Debian disables it as > it switches to the PV-on-HVM driver, I believe. My theory would be > that there is a problem in this procedure with type=ioemu, and when > that activation fails, it does not recover gracefully, leaving you > with nothing. > > -John > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Thanks a lot, type=ioemu was the problem. Everything is working now. Thanks again. Sam. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The problem is resolved with modifing the cfg. Thanks for your help. Sam. Le 25/04/2011 03:56, Andrew McGlashan a écrit :> Hi Sam, > > I think the problem is that the network driver you require is in > non-free and no longer part of a standard Squeeze ISO file. > > You can add in non-free firmware, see the attached scripts. > > Here was my original source on this: > > http://dannf.org/bloggf/tech/add-firmware-to.html > > > More info here too, with some unofficial images referenced: > > http://www.debian.org/releases/stable/debian-installer/ > > > Cheers > > > _______________________________________________ > 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
Hello, could you tell more about fixing this issue? What exacly you modified? Thanks in advance. -- View this message in context: http://xen.1045712.n5.nabble.com/HVM-Squeeze-in-domu-without-network-tp4311766p4431634.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users