[Fedora-xen] 4gb seg fixup, process on FC6 domU

Asrai khn asraikhn at gmail.com
Wed Dec 20 14:37:41 UTC 2006


On 12/20/06, Daniel P. Berrange <berrange at redhat.com> wrote:
>
> On Wed, Dec 20, 2006 at 07:19:06PM +0500, Asrai khn wrote:
> > Hi Dan,
> >
> >
> > Both of those are redundant/wrong for FC6.
> > >
> > >First, there is no separate /lib/tls anymore - FC6 ditched old pthreads
> > >implementation, and the new NPTL is the default in /lib. So renaming
> the
> > >empty /lib/tls directory is irrelevant.
> > >
> > >Second, the 'hwcap 0 nosegneg' stuff is automatically installed by the
> > >Xen kernel RPM, eg
> > >
> > >  $ rpm -qf /etc/ld.so.conf.d/kernelcap-2.6.18-1.2868.fc6.conf
> > >  kernel-xen-2.6.18-1.2868.fc6
> >
> >
> > When i do this on host  machine gives me...
> >
> > rpm -qf /etc/ld.so.conf.d/kernelcap-2.6.18-1.2849.fc6.conf
> > kernel-xen-2.6.18-1.2849.fc6
> >
> > but gives nothing on guest, i don't have /etc/ld.so.conf.d/kernelcap-
> > 2.6.18-1.2849.fc6.conf on guests
>
> So, have you actually got a kernel-xen installed in your guest ? It
> sounds very much like you dont....


yes we don't have xen kernel  on guest  coz we  are not using pygrub.

> I'm launching  guest using xm create vms.cfg
> >
> > and vms.cfg is as under
> >
> > kernel = "/boot/vmlinuz-2.6.18-1.2849.fc6xen"
> > ramdisk = "/boot/initrd-2.6.18-1.2849.fc6xen-domU.img"
>
> The fact that you are explicitly listing kernels from Dom0 instead of
> using the regular pygrub  bootloader, also suggests to me you've not
> got kernel-xen installed in your guest image


True, no pygrub

> memory = 128
> > name = "xxxx"
> > #vif = [ 'mac=00:16:3e:11:69:85, bridge=xenbr0' ]
> > vif = [ 'ip=66.xxx.xxx.xxx' ]
> > disk = ['tap:aio:/var/uml/vm3/root,sda1,w',
> > 'tap:aio:/var/uml/vm3/var,sda2,w', 'tap:aio:/var/uml/vm3/swap,sda3,w']
> > root = "/dev/sda1 ro"
> > on_reboot   = 'restart'
> > on_crash    = 'restart'
> >
> > So the kernel running on guest ... and i have also copied the xen kernel
> > modules /lib/modules/ on guest disk image by mounting it.
>
> If you're not using pygrub, then you'll at least need to make sure the
> correct 'kernelcap' file is installed in the guest, with file name
> matching the kernel version.


What do you mean by install 'kernelcap' file on guest?
you want me to create this file manually in the specific path and then echo
'something' to it?

Thanks. Askar

Dan.
> --
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496
> -=|
> |=-           Perl modules: http://search.cpan.org/~danberr/
>               -=|
> |=-               Projects: http://freshmeat.net/~danielpb/
> -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B
> 9505  -=|
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061220/ce8606d1/attachment.htm>


More information about the Fedora-xen mailing list