Hello, I am using the jailtime centos4.4 image. It boots up fine, however, I cannot get networking to work. Here is my cfg: kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" memory = 256 name = "foo" vif = [ '''' ] disk = [''file:/home/foo/root,sda1,w'', ''file:/home/foo/swap,sda2,w'', ''file:/home/foo/home,sda3,w''] root = "/dev/sda1 ro" I cannot simply do an ifconfig eth0 ip.address netmask 255.255.255.0 in the guest to bring up networking. What am I missing? DHCP is not an option either. Thanks! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/5/07, Jon Christensen <jonc21@gmail.com> wrote:> Hello, > > I am using the jailtime centos4.4 image. It boots up fine, however, I > cannot get networking to work. Here is my cfg: > > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > memory = 256 > name = "foo" > vif = [ '''' ] > disk = [''file:/home/foo/root,sda1,w'', > ''file:/home/foo/swap,sda2,w'', > ''file:/home/foo/home,sda3,w''] > root = "/dev/sda1 ro" > > I cannot simply do an ifconfig eth0 ip.address netmask 255.255.255.0 in the > guest to bring up networking.What means "I annot simply"? What happens when you try it? Is the eth0 device absolutely not there at all iun the domU? Do you have ethernet modules compiled in, and copied the modules into the domU system(or do you use a monoithis kernel)? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/6/07, Henning Sprang <henning_sprang@gmx.de> wrote:> > On 2/5/07, Jon Christensen <jonc21@gmail.com> wrote: > > Hello, > > > > I am using the jailtime centos4.4 image. It boots up fine, however, I > > cannot get networking to work. Here is my cfg: > > > > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > > memory = 256 > > name = "foo" > > vif = [ '''' ] > > disk = [''file:/home/foo/root,sda1,w'', > > ''file:/home/foo/swap,sda2,w'', > > ''file:/home/foo/home,sda3,w''] > > root = "/dev/sda1 ro" > > > > I cannot simply do an ifconfig eth0 ip.address netmask 255.255.255.0 in > the > > guest to bring up networking. > > What means "I annot simply"? What happens when you try it? > Is the eth0 device absolutely not there at all iun the domU? > > Do you have ethernet modules compiled in, and copied the modules into > the domU system(or do you use a monoithis kernel)? > > Henning >I did try it. That''s why I can''t do it. ifconfig -a does not show anything but the loopback. I used this kernel on a whitebox 4 installation. I assumed it had ethernet support compiled in. Does anyone roll guest kernels somewhere that I can download? Not afraid to try a different kernel. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/6/07, Jon Christensen <jonc21@gmail.com> wrote:> > I did try it. That''s why I can''t do it. ifconfig -a does not show anything > but the loopback. I used this kernel on a whitebox 4 installation. I > assumed it had ethernet support compiled in. Does anyone roll guest kernels > somewhere that I can download? Not afraid to try a different kernel.I don''t know about whitebox, but it''s unlikely someone provides a domU kernel without any network drivers. It''s more likely that you missed to add the initrd to your vm config, and/or forgot to copy the modules into the image you want to boot, in case your kernel is not monolithic. I don''t know what version of xen you are using, and who built the xen and xen-linux-kernel packages how. If you cannot clear this, especially if you are new to the topic, you better start from scratch installing xen but fiddling around with a strange install that gave you kernels with no network support, and try to use this with some random kernel from the net. BTW: Did I get it right that your domU system is whitebox 4? To which redhat/fedora version is this compatible? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/6/07, Henning Sprang <henning_sprang@gmx.de> wrote:> On 2/6/07, Jon Christensen <jonc21@gmail.com> wrote: > > > > I did try it. That''s why I can''t do it. ifconfig -a does not show anything > > but the loopback. I used this kernel on a whitebox 4 installation. I > > assumed it had ethernet support compiled in. Does anyone roll guest kernels > > somewhere that I can download? Not afraid to try a different kernel. > > I don''t know about whitebox, but it''s unlikely someone provides a domU > kernel without any network drivers. > > It''s more likely that you missed to add the initrd to your vm config, > and/or forgot to copy the modules into the image you want to boot, in > case your kernel is not monolithic. I don''t know what version of xen > you are using, and who built the xen and xen-linux-kernel packages > how.The jailtime image might expect to be booted with something other than kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" grep netfront: /var/log/message* in the guest to see if the xennet driver loaded... jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/6/07, Jerry Amundson <jamundso@gmail.com> wrote:> > On 2/6/07, Henning Sprang <henning_sprang@gmx.de> wrote: > > On 2/6/07, Jon Christensen <jonc21@gmail.com> wrote: > > > > > > I did try it. That''s why I can''t do it. ifconfig -a does not show > anything > > > but the loopback. I used this kernel on a whitebox 4 installation. I > > > assumed it had ethernet support compiled in. Does anyone roll guest > kernels > > > somewhere that I can download? Not afraid to try a different kernel. > > > > I don''t know about whitebox, but it''s unlikely someone provides a domU > > kernel without any network drivers. > > > > It''s more likely that you missed to add the initrd to your vm config, > > and/or forgot to copy the modules into the image you want to boot, in > > case your kernel is not monolithic. I don''t know what version of xen > > you are using, and who built the xen and xen-linux-kernel packages > > how. > > The jailtime image might expect to be booted with something other than > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > > > grep netfront: /var/log/message* > in the guest to see if the xennet driver loaded...This returned no output. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I found that the jailtime images work fine with the XenSource kernel. While trying to get them working on FC6 I downloaded XS 3.0.3 and 3.0.4 and then worked well by booting the DomU to that kernel (and copying the libs to the DomU as well). Some things didn''t cooperate though (tap:aio, xvdN) but the network did). Please note that I did not use XS for the Dom0 though. From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Jon Christensen Sent: Tuesday, February 06, 2007 6:49 PM To: Jerry Amundson Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] centos jailtime image -- no network On 2/6/07, Jerry Amundson <jamundso@gmail.com> wrote: On 2/6/07, Henning Sprang <henning_sprang@gmx.de> wrote:> On 2/6/07, Jon Christensen <jonc21@gmail.com> wrote: > > > > I did try it. That''s why I can''t do it. ifconfig -a does not showanything> > but the loopback. I used this kernel on a whitebox 4 installation.I> > assumed it had ethernet support compiled in. Does anyone roll guestkernels> > somewhere that I can download? Not afraid to try a differentkernel.> > I don''t know about whitebox, but it''s unlikely someone provides a domU > kernel without any network drivers. > > It''s more likely that you missed to add the initrd to your vm config, > and/or forgot to copy the modules into the image you want to boot, in > case your kernel is not monolithic. I don''t know what version of xen > you are using, and who built the xen and xen-linux-kernel packages > how.The jailtime image might expect to be booted with something other than kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" grep netfront: /var/log/message* in the guest to see if the xennet driver loaded... This returned no output. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/6/07, Gary W. Smith <gary@primeexalia.com> wrote:> > I found that the jailtime images work fine with the XenSource kernel. > While trying to get them working on FC6 I downloaded XS 3.0.3 and 3.0.4and then worked well by booting the DomU to that kernel (and copying the > libs to the DomU as well). Some things didn''t cooperate though (tap:aio, > xvdN) but the network did). > > > > Please note that I did not use XS for the Dom0 though. > > > > > > *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *Jon Christensen > *Sent:* Tuesday, February 06, 2007 6:49 PM > *To:* Jerry Amundson > *Cc:* xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] centos jailtime image -- no network > > > > > > On 2/6/07, *Jerry Amundson* <jamundso@gmail.com> wrote: > > On 2/6/07, Henning Sprang <henning_sprang@gmx.de> wrote: > > On 2/6/07, Jon Christensen <jonc21@gmail.com> wrote: > > > > > > I did try it. That''s why I can''t do it. ifconfig -a does not show > anything > > > but the loopback. I used this kernel on a whitebox 4 installation. I > > > assumed it had ethernet support compiled in. Does anyone roll guest > kernels > > > somewhere that I can download? Not afraid to try a different kernel. > > > > I don''t know about whitebox, but it''s unlikely someone provides a domU > > kernel without any network drivers. > > > > It''s more likely that you missed to add the initrd to your vm config, > > and/or forgot to copy the modules into the image you want to boot, in > > case your kernel is not monolithic. I don''t know what version of xen > > you are using, and who built the xen and xen-linux-kernel packages > > how. > > The jailtime image might expect to be booted with something other than > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > > > grep netfront: /var/log/message* > in the guest to see if the xennet driver loaded... > > > This returned no output. > > > > >I am using kernel-xenU-2.6.17-1.2157_FC5. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I am using kernel-xenU-2.6.17-1.2157_FC5.I caught that part. You might want to try to download the XS kernel and use that in your DomU to see if it works for you. As mentioned, this solved some of my FC6 problems, it might also work for you. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/7/07, Gary W. Smith <gary@primeexalia.com> wrote:> > > I am using kernel-xenU-2.6.17-1.2157_FC5. > > I caught that part. You might want to try to download the XS kernel and > use that in your DomU to see if it works for you. As mentioned, this > solved some of my FC6 problems, it might also work for you. >Isn''t that what I have done here? What specifically should I be downloading and how should it be loaded? Sorry, pretty new to this and I think I am probably stuck on the terminology. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jon, This is simple enough. Here is what I did. Go to http://www.xensource.com/download/dl_304tarballs.html and download the flavor that you need. Then untar that into some directory.>From there it will create a folder structure like this: dist/install/{boot,etc,lib,usr,var). If you need any of the kernel modules you will need to copy the lib directory into the DomU. You can do this by mounting your DomU on a loopback, coping lib into the loopback (cp -ax seems to work fine), and then umount it.Last you just need to change the kernel parameter in the config to point to the dist/install/boot/boot/vmlinuz-2.6-xen. I my case I moved the contents of dist/install to a folder called /xen/xen-3.0.4/ and I use that in all of my copy scripts. Here is one of my DomU configurations using this method. name = "test10" memory = "96" disk = [ "tap:aio:/xen/testing/test10/xen-D0.img,sda1,w","tap:aio:/xen/testing/test10/xen-swap.img,sda2,w" ] root = "/dev/sda1 ro" vif = [ "mac=00:16:ff:ac:10:33" ] kernel = "/xen/xen-3.0.4-x64/boot/vmlinuz-2.6-xen" on_reboot = "restart" on_crash = "restart" From: Jon Christensen [mailto:jonc21@gmail.com] Sent: Wednesday, February 07, 2007 6:58 AM To: Gary W. Smith Cc: Jerry Amundson; xen-users@lists.xensource.com Subject: Re: [Xen-users] centos jailtime image -- no network On 2/7/07, Gary W. Smith <gary@primeexalia.com> wrote:> I am using kernel-xenU-2.6.17-1.2157_FC5.I caught that part. You might want to try to download the XS kernel and use that in your DomU to see if it works for you. As mentioned, this solved some of my FC6 problems, it might also work for you. Isn''t that what I have done here? What specifically should I be downloading and how should it be loaded? Sorry, pretty new to this and I think I am probably stuck on the terminology. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/7/07, Gary W. Smith <gary@primeexalia.com> wrote:> > Jon, > > This is simple enough. Here is what I did. Go to > http://www.xensource.com/download/dl_304tarballs.html and download the > flavor that you need. Then untar that into some directory. > > From there it will create a folder structure like this: > dist/install/{boot,etc,lib,usr,var). If you need any of the kernel modules > you will need to copy the lib directory into the DomU. You can do this by > mounting your DomU on a loopback, coping lib into the loopback (cp -ax seems > to work fine), and then umount it. > > Last you just need to change the kernel parameter in the config to point > to the dist/install/boot/boot/vmlinuz-2.6-xen. > > I my case I moved the contents of dist/install to a folder called > /xen/xen-3.0.4/ and I use that in all of my copy scripts. > > Here is one of my DomU configurations using this method. > name = "test10" > memory = "96" > disk = [ "tap:aio:/xen/testing/test10/xen-D0.img > ,sda1,w","tap:aio:/xen/testing/test10/xen-swap.img,sda2,w" ] > root = "/dev/sda1 ro" > vif = [ "mac=00:16:ff:ac:10:33" ] > kernel = "/xen/xen-3.0.4-x64/boot/vmlinuz-2.6-xen" > on_reboot = "restart" > on_crash = "restart" > > > > From: Jon Christensen [mailto:jonc21@gmail.com] > Sent: Wednesday, February 07, 2007 6:58 AM > To: Gary W. Smith > Cc: Jerry Amundson; xen-users@lists.xensource.com > Subject: Re: [Xen-users] centos jailtime image -- no network > > On 2/7/07, Gary W. Smith <gary@primeexalia.com> wrote: > > I am using kernel-xenU-2.6.17-1.2157_FC5. > > I caught that part.You might want to try to download the XS kernel and > use that in your DomU to see if it works for you.As mentioned, this > solved some of my FC6 problems, it might also work for you. > > > Isn''t that what I have done here? What specifically should I be > downloading and how should it be loaded? Sorry, pretty new to this and I > think I am probably stuck on the terminology. >I have something else going on. I start the guest and it says: -bash-3.1$ /usr/sbin/xm create --defconfig /etc/xen/foo Using config file "/etc/xen/foo". Started domain foo But it never really starts. Can''t figure that out. Here is my config: kernel = "/home/td/xen/vmlinuz-2.6-xen" memory = 256 name = "foo" vif = [ '''' ] disk = [''file:/home/foo/xen/,sda1,w'', ''phy:VolGroup00/foo_swap,sda2,w'', ''phy:VolGroup00/foo_home,sda3,w''] root = "/dev/sda1 ro" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/7/07, Jon Christensen <jonc21@gmail.com> wrote:> I have something else going on. I start the guest and it says: > > -bash-3.1$ /usr/sbin/xm create --defconfig /etc/xen/foo > Using config file "/etc/xen/foo". > Started domain foo > > But it never really starts. Can''t figure that out. Here is my config: > > kernel = "/home/td/xen/vmlinuz-2.6-xen" > memory = 256 > name = "foo" > vif = [ '''' ] > disk = [''file:/home/foo/xen/,sda1,w'', > ''phy:VolGroup00/foo_swap,sda2,w'', > ''phy:VolGroup00/foo_home,sda3,w''] > root = "/dev/sda1 ro"So you''re no longer using the jailtime image? You can''t just make things up and expect them to work.... disk = [''file:/home/foo/root,sda1,w'', ''file:/home/foo/swap,sda2,w'', ''file:/home/foo/home,sda3,w''] jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Opps, my copy didn''t work right, sorry: disk = [''file:/home/xen/foo/xen/centos.4-4.img,sda1,w'', ''phy:VolGroup00/foo_swap,sda2,w'', ''phy:VolGroup00/foo_home,sda3,w''] I also just tried: disk = [''file:/home/xen/foo/xen/centos.4-4.img,sda1,w''] On 2/7/07, Jerry Amundson <jamundso@gmail.com> wrote:> > On 2/7/07, Jon Christensen <jonc21@gmail.com> wrote: > > I have something else going on. I start the guest and it says: > > > > -bash-3.1$ /usr/sbin/xm create --defconfig /etc/xen/foo > > Using config file "/etc/xen/foo". > > Started domain foo > > > > But it never really starts. Can''t figure that out. Here is my config: > > > > kernel = "/home/td/xen/vmlinuz-2.6-xen" > > memory = 256 > > name = "foo" > > vif = [ '''' ] > > disk = [''file:/home/foo/xen/,sda1,w'', > > ''phy:VolGroup00/foo_swap,sda2,w'', > > ''phy:VolGroup00/foo_home,sda3,w''] > > root = "/dev/sda1 ro" > > So you''re no longer using the jailtime image? You can''t just make > things up and expect them to work.... > > disk = [''file:/home/foo/root,sda1,w'', > ''file:/home/foo/swap,sda2,w'', > ''file:/home/foo/home,sda3,w''] > > jerry > > -- > "Pay no attention to that man behind the curtain!" > > _______________________________________________ > 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
Luke S. Crawford
2007-Feb-07 18:22 UTC
Re: [Xen-users] centos jailtime image -- no network
my experience has been that CentOS/RedHat isn''t happy without a ramdisk. add a ramdisk entry to your xm config file. one way to get a ramdisk is to install the RHEL4 kernel rpm somewhere; alternately, mkinitrd in the linux directory of your source also works okay. you can try the RHEL4 kernels from XenSource if 32-bit is okay; J. Baron has put out 64-bit kernel RPMS for RHEL4 if you need 64-bit: http://people.redhat.com/riel/RHEL4-Xen-HOWTO and the kernel RPMs here: http://people.redhat.com/~jbaron/rhel4/RPMS.kernel/ Note, read the howto; you need a different modprobe.conf and initrd than you need for the xensource provided RHEL kernels. I think redhat is planning on eventually supporting the rhel4 kernels in DomU mode (Note, this is what I have heard; I''m not a redhat guy) On Wed, 7 Feb 2007, Jon Christensen wrote:> > Opps, my copy didn''t work right, sorry: > > disk = [''file:/home/xen/foo/xen/centos.4-4.img,sda1,w'', > ''phy:VolGroup00/foo_swap,sda2,w'', > ''phy:VolGroup00/foo_home,sda3,w''] > > I also just tried: > > disk = [''file:/home/xen/foo/xen/centos.4-4.img,sda1,w''] > > > On 2/7/07, Jerry Amundson <jamundso@gmail.com> wrote: >> >> On 2/7/07, Jon Christensen <jonc21@gmail.com> wrote: >> > I have something else going on. I start the guest and it says: >> > >> > -bash-3.1$ /usr/sbin/xm create --defconfig /etc/xen/foo >> > Using config file "/etc/xen/foo". >> > Started domain foo >> > >> > But it never really starts. Can''t figure that out. Here is my config: >> > >> > kernel = "/home/td/xen/vmlinuz-2.6-xen" >> > memory = 256 >> > name = "foo" >> > vif = [ '''' ] >> > disk = [''file:/home/foo/xen/,sda1,w'', >> > ''phy:VolGroup00/foo_swap,sda2,w'', >> > ''phy:VolGroup00/foo_home,sda3,w''] >> > root = "/dev/sda1 ro" >> >> So you''re no longer using the jailtime image? You can''t just make >> things up and expect them to work.... >> >> disk = [''file:/home/foo/root,sda1,w'', >> ''file:/home/foo/swap,sda2,w'', >> ''file:/home/foo/home,sda3,w''] >> >> jerry >> >> -- >> "Pay no attention to that man behind the curtain!" >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > !DSPAM:45ca0d0c2124784014742! >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/7/07, Luke S. Crawford <lsc@prgmr.com> wrote:> > my experience has been that CentOS/RedHat isn''t happy without a > ramdisk. add aHmm. Mine are fine without it... kernel = "/root/xendom/boot/vmlinuz-2.6.9-42.0.3.EL.xs0.4.3.268xenU"> you can try the RHEL4 kernels from XenSource if 32-bit is okay;Yep. That''s what I use...> J. Baron has put out 64-bit kernel RPMS for RHEL4 if you need 64-bit: > http://people.redhat.com/riel/RHEL4-Xen-HOWTO > and the kernel RPMs here: > http://people.redhat.com/~jbaron/rhel4/RPMS.kernel/Good links to know, but not good for the jailtime image...> Note, read the howto; you need a different modprobe.conf and initrd than > you need for the xensource provided RHEL kernels.My domU''s have no modprobe.conf either... [root@webdev network-scripts]# ls /etc/mod* /etc/modprobe.conf.dist [root@webdev network-scripts]# cat ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes DHCP_HOSTNAME=xena2-dom1> I think redhat is planning on eventually supporting the rhel4 kernels in > DomU mode (Note, this is what I have heard; I''m not a redhat guy)Me neither, but I play one in my office... :-) jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
A little post-mortem on this, from my perspective anyway... I took a freshly installed linux box, added the RHEL 4.4 Xen 3.4.0.1 rpm from Xensource to make dom0, and booted into the jailtime image with the same kernel. It came up on the network without me even touching it. On 2/5/07, Jon Christensen <jonc21@gmail.com> wrote:> Hello, > > I am using the jailtime centos4.4 image. It boots up fine, however, I > cannot get networking to work. Here is my cfg: > > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU"That kernel is certainly the problem - no xennet module built into it.> memory = 256 > name = "foo" > vif = [ '''' ] > disk = [''file:/home/foo/root,sda1,w'', > ''file:/home/foo/swap,sda2,w'', > ''file:/home/foo/home,sda3,w''] > root = "/dev/sda1 ro"I assume you renamed the files from jailtime for root and swap, but created home yourself, not that it matters.> I cannot simply do an ifconfig eth0 ip.address netmask 255.255.255.0 in the > guest to bring up networking. What am I missing? DHCP is not an option > either.Nor should you need to ifconfig - the jailtime image has eth0 configured for DHCP, the builtin kernel module gets the vif from dom0, and booting the image starts the interface. Like magic..... jerry -- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I don''t have a DHCP server, so I need a static IP. I did what you did below w/out luck. On 2/8/07, Jerry Amundson <jamundso@gmail.com> wrote:> A little post-mortem on this, from my perspective anyway... I took a > freshly installed linux box, added the RHEL 4.4 Xen 3.4.0.1 rpm from > Xensource to make dom0, and booted into the jailtime image with the > same kernel. It came up on the network without me even touching it. > > On 2/5/07, Jon Christensen <jonc21@gmail.com> wrote: > > Hello, > > > > I am using the jailtime centos4.4 image. It boots up fine, however, I > > cannot get networking to work. Here is my cfg: > > > > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > > That kernel is certainly the problem - no xennet module built into it. > > > memory = 256 > > name = "foo" > > vif = [ '''' ] > > disk = [''file:/home/foo/root,sda1,w'', > > ''file:/home/foo/swap,sda2,w'', > > ''file:/home/foo/home,sda3,w''] > > root = "/dev/sda1 ro" > > I assume you renamed the files from jailtime for root and swap, but > created home yourself, not that it matters. > > > I cannot simply do an ifconfig eth0 ip.address netmask 255.255.255.0 in the > > guest to bring up networking. What am I missing? DHCP is not an option > > either. > > Nor should you need to ifconfig - the jailtime image has eth0 > configured for DHCP, the builtin kernel module gets the vif from dom0, > and booting the image starts the interface. Like magic..... > > jerry > > -- > "Pay no attention to that man behind the curtain!" > > _______________________________________________ > 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 2/8/07, Jon Christensen <jonc21@gmail.com> wrote:> I don''t have a DHCP server, so I need a static IP. I did what you did > below w/out luck.If it didn''t work, then you didn''t do what I did below. Machines only do exactly what we tell them - no luck is involved... ;-) jerry> On 2/8/07, Jerry Amundson <jamundso@gmail.com> wrote: > > A little post-mortem on this, from my perspective anyway... I took a > > freshly installed linux box, added the RHEL 4.4 Xen 3.4.0.1 rpm from > > Xensource to make dom0, and booted into the jailtime image with the > > same kernel. It came up on the network without me even touching it. > > > > On 2/5/07, Jon Christensen <jonc21@gmail.com> wrote: > > > Hello, > > > > > > I am using the jailtime centos4.4 image. It boots up fine, however, I > > > cannot get networking to work. Here is my cfg: > > > > > > kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > > > > That kernel is certainly the problem - no xennet module built into it. > > > > > memory = 256 > > > name = "foo" > > > vif = [ '''' ] > > > disk = [''file:/home/foo/root,sda1,w'', > > > ''file:/home/foo/swap,sda2,w'', > > > ''file:/home/foo/home,sda3,w''] > > > root = "/dev/sda1 ro" > > > > I assume you renamed the files from jailtime for root and swap, but > > created home yourself, not that it matters. > > > > > I cannot simply do an ifconfig eth0 ip.address netmask 255.255.255.0 in the > > > guest to bring up networking. What am I missing? DHCP is not an option > > > either. > > > > Nor should you need to ifconfig - the jailtime image has eth0 > > configured for DHCP, the builtin kernel module gets the vif from dom0, > > and booting the image starts the interface. Like magic..... > > > > jerry > > > > -- > > "Pay no attention to that man behind the curtain!" > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > >-- "Pay no attention to that man behind the curtain!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users