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

Asrai khn asraikhn at gmail.com
Wed Dec 20 14:28:45 UTC 2006


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

  $ cat /etc/ld.so.conf.d/kernelcap-2.6.18-1.2868.fc6.conf
>   # This directive teaches ldconfig to search in nosegneg subdirectories
>   # and cache the DSOs there with extra bit 0 set in their hwcap match
>   # fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
>   # search in nosegneg subdirectories and to match this extra hwcap bit
>   # in the ld.so.cache file.
>   hwcap 0 nosegneg
>
> > But still getting these error message in domU log file and also on
> > console when access it via console which makes domU console unusable.
>
> What kernel version are you running & what kernel-xen & libc RPMs are
> installed in your guest showing this problem. Also are they successfully
> (eg, rpm -V kernel-xen  libc)


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"
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.

uname -r
2.6.18-1.2849.fc6xen

Secondly the default initrd for xen kernel that come with fc6 fails to start
our guest so i have created initrd manually by ...

mkinitrd -f --with=xennet --preload=xenblk /boot/initrd-
2.6.18-1.2849.fc6xen-domU.img 2.6.18-1.2849.fc6xen

and then use this initrd for 'ramdisk' in vms.cfg

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061220/90ce797b/attachment.htm>


More information about the Fedora-xen mailing list