I''m running rawhide (vmlinuz-2.6.15-1.1955_FC5hypervisor kernel). I''m booting my guests with the vmlinuz-2.6.15-1.1955_FC5guest kernel. I''ve been trying out the guest filesystems from jailtime.org. My xend- config.sxp is setup for bridging, (network-script network-bridge) & (vif-script vif-bridge). Whenever I boot into a guest system, "ifconfig -a" only shows the loopback device. Any ideas on what happened to eth0? I''ve tried setting vif = [''''] and vif = [''mac=00:16:3E:00:00:11''] in my guest configuration file. -- Adam
Do you have the following settings in the domU config? ip = "xxx.xxx.xxx.xxx" netmask = "xxx.xxx.xxx.xxx" gateway = "xxx.xxx.xxx.xxx" hostname = "testing" On 2/21/06, Adam Huda <wolverine_@mac.com> wrote:> I''m running rawhide (vmlinuz-2.6.15-1.1955_FC5hypervisor kernel). I''m > booting my guests with the vmlinuz-2.6.15-1.1955_FC5guest kernel. > I''ve been trying out the guest filesystems from jailtime.org. My xend- > config.sxp is setup for bridging, (network-script network-bridge) > & (vif-script vif-bridge). Whenever I boot into a guest system, > "ifconfig -a" only shows the loopback device. Any ideas on what > happened to eth0? I''ve tried setting vif = [''''] and vif > [''mac=00:16:3E:00:00:11''] in my guest configuration file. > > -- Adam > > _______________________________________________ > 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 Tue, 2006-02-21 at 21:15 -0800, Adam Huda wrote:> I''m running rawhide (vmlinuz-2.6.15-1.1955_FC5hypervisor kernel). I''m > booting my guests with the vmlinuz-2.6.15-1.1955_FC5guest kernel. > I''ve been trying out the guest filesystems from jailtime.org. My xend- > config.sxp is setup for bridging, (network-script network-bridge) > & (vif-script vif-bridge). Whenever I boot into a guest system, > "ifconfig -a" only shows the loopback device. Any ideas on what > happened to eth0? I''ve tried setting vif = [''''] and vif = > [''mac=00:16:3E:00:00:11''] in my guest configuration file.The guest kernel is built with a modular xennet, so you''ll need to have the modules in the filesystem image as well. Jeremy
I see, thanks for the help. I''m running into a "Permission denied" error while trying to mount images: [root@localhost centos]# mount -o loop centos.4-2.img /mnt/centos/ centos.4-2.img: Permission denied [root@localhost centos]# ls -la total 1091656 drwxr-xr-x 2 root root 4096 Feb 8 22:53 . drwxr-xr-x 7 root root 4096 Feb 21 04:14 .. -rw-rw-rw- 1 root wheel 1049624576 Oct 16 19:14 centos.4-2.img [root@localhost centos]# ls -la /mnt/ total 36 drwxr-xr-x 5 root root 4096 Feb 21 01:36 . drwxr-xr-x 24 root root 4096 Feb 21 01:43 .. drwxr-xr-x 2 root root 4096 Feb 8 23:04 centos I''m not really sure where the permission denied error is coming from. As far as the xennet modules, I''m guessing I need to download the kernel source, build the xennet module and copy it over. Will this work? Thanks Adam On Feb 21, 2006, at 9:31 PM, Jeremy Katz wrote:> On Tue, 2006-02-21 at 21:15 -0800, Adam Huda wrote: >> I''m running rawhide (vmlinuz-2.6.15-1.1955_FC5hypervisor kernel). I''m >> booting my guests with the vmlinuz-2.6.15-1.1955_FC5guest kernel. >> I''ve been trying out the guest filesystems from jailtime.org. My >> xend- >> config.sxp is setup for bridging, (network-script network-bridge) >> & (vif-script vif-bridge). Whenever I boot into a guest system, >> "ifconfig -a" only shows the loopback device. Any ideas on what >> happened to eth0? I''ve tried setting vif = [''''] and vif >> [''mac=00:16:3E:00:00:11''] in my guest configuration file. > > The guest kernel is built with a modular xennet, so you''ll need to > have > the modules in the filesystem image as well. > > Jeremy >
On Tue, 2006-02-21 at 21:53 -0800, Adam Huda wrote:> As far as the xennet modules, I''m guessing I need to download the > kernel source, build the xennet module and copy it over. Will this work?The modules are in the actual package, but since you''re booting with a kernel outside the filesystem, it doesn''t work so well. IMHO, the whole model of booting a kernel from outside of the guest filesystem is pretty broken as there''s a fair bit of userspace which ends up depending pretty closely on the kernel these days. Jeremy
Lamont R. Peterson
2006-Feb-22 17:03 UTC
Re: [Fedora-xen] eth0 not showing up in guest domains
On Wednesday 22 February 2006 09:58am, Jeremy Katz wrote:> On Tue, 2006-02-21 at 21:53 -0800, Adam Huda wrote: > > As far as the xennet modules, I''m guessing I need to download the > > kernel source, build the xennet module and copy it over. Will this work? > > The modules are in the actual package, but since you''re booting with a > kernel outside the filesystem, it doesn''t work so well. IMHO, the whole > model of booting a kernel from outside of the guest filesystem is pretty > broken as there''s a fair bit of userspace which ends up depending pretty > closely on the kernel these days.Which is why I build a client kernel package that has everything but the kernel image itself in it (i.e. the modules). This gets installed inside the guest environment, satisfying the RPM dependency for other packages. Of course, this requires a little more work for the Gentoo clients, but the Red Hat and SUSE clients are perfectly happy. Would it make sense to ship such a package for the guests? -- Lamont R. Peterson <lamont@gurulabs.com> Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] GPG Key fingerprint: F98C E31A 5C4C 834A BCAB 8CB3 F980 6C97 DC0D D409
On Wed, 2006-02-22 at 10:03 -0700, Lamont R. Peterson wrote:> On Wednesday 22 February 2006 09:58am, Jeremy Katz wrote: > > On Tue, 2006-02-21 at 21:53 -0800, Adam Huda wrote: > > > As far as the xennet modules, I''m guessing I need to download the > > > kernel source, build the xennet module and copy it over. Will this work? > > > > The modules are in the actual package, but since you''re booting with a > > kernel outside the filesystem, it doesn''t work so well. IMHO, the whole > > model of booting a kernel from outside of the guest filesystem is pretty > > broken as there''s a fair bit of userspace which ends up depending pretty > > closely on the kernel these days. > > Which is why I build a client kernel package that has everything but the > kernel image itself in it (i.e. the modules). This gets installed inside the > guest environment, satisfying the RPM dependency for other packages.Why not install the actual kernel package in the guest environment and then use pygrub? Jeremy
Lamont R. Peterson
2006-Feb-22 18:12 UTC
Re: [Fedora-xen] eth0 not showing up in guest domains
On Wednesday 22 February 2006 10:43am, Jeremy Katz wrote:> On Wed, 2006-02-22 at 10:03 -0700, Lamont R. Peterson wrote: > > On Wednesday 22 February 2006 09:58am, Jeremy Katz wrote: > > > On Tue, 2006-02-21 at 21:53 -0800, Adam Huda wrote: > > > > As far as the xennet modules, I''m guessing I need to download the > > > > kernel source, build the xennet module and copy it over. Will this > > > > work? > > > > > > The modules are in the actual package, but since you''re booting with a > > > kernel outside the filesystem, it doesn''t work so well. IMHO, the > > > whole model of booting a kernel from outside of the guest filesystem is > > > pretty broken as there''s a fair bit of userspace which ends up > > > depending pretty closely on the kernel these days. > > > > Which is why I build a client kernel package that has everything but the > > kernel image itself in it (i.e. the modules). This gets installed inside > > the guest environment, satisfying the RPM dependency for other packages. > > Why not install the actual kernel package in the guest environment and > then use pygrub?I''ll have to find out. There were problems with that for us. I''m not sure if it was due to the mix of distros (Gentoo, RHEL3/4, CentOS3/4, SLES9, SUSE 9.x/10.0, FC3/4) or if there were other things, too. At first, we didn''t bother with any kernel modules and such within the guests, but we found that we did need to have some things (like Netfilter) available for the guests. We''re trying to maintain only one guest kernel for all distros and one set of modules for the guests, which is what we have now. -- Lamont R. Peterson <lamont@gurulabs.com> Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] GPG Key fingerprint: F98C E31A 5C4C 834A BCAB 8CB3 F980 6C97 DC0D D409
On Wed, 2006-02-22 at 11:12 -0700, Lamont R. Peterson wrote:> On Wednesday 22 February 2006 10:43am, Jeremy Katz wrote: > > Why not install the actual kernel package in the guest environment and > > then use pygrub? > > I''ll have to find out. There were problems with that for us. I''m not sure if > it was due to the mix of distros (Gentoo, RHEL3/4, CentOS3/4, SLES9, SUSE > 9.x/10.0, FC3/4) or if there were other things, too.pygrub should be pretty generic -- even the OpenSolaris folks are using it AFAIK Jeremy