[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ntpd under Xen Dom0 exhibits extremely high jitter/noise? runs stable/quiet under non-xen kernel.



On Thu, Jan 14, 2010 at 11:42:43PM -0800, mail ignored wrote:
> ok, both _should_ be simple enough.
> 
> On Thu, Jan 14, 2010 at 11:14 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> > xen.org's 2.6.18 kernel -> build from src,
> > http://www.xen.org/products/xen_source.html
> 
> tried that; scads of errors @ make.
> 
> tried a build of opensuse kernel src, just to check my procedure -- works 
> fine.
> 
> > RHEL/Centos kernel rpm ->  quite tricky, admittedly :D
> > I suppose you could try something like this
> >
> > wget -c 
> > http://mirror.centos.org/centos/5.4/centosplus/x86_64/RPMS/kernel-xen-2.6.18-164.10.1.el5.centos.plus.x86_64.rpm
> > mkdir tmp-root
> > cd tmp-root
> > rpm2cpio ../kernel-xen-2.6.18-164.10.1.el5.centos.plus.x86_64.rpm | cpio 
> > -idmv
> > cp -a ./boot/* /boot
> > cp -a ./lib/modules/* /lib/modules
> >
> > that is, extract the contents of kernel-xen rpm, and take only what's
> > in /boot and /lib/modules. After this you need to build initrd. The
> > command should be mkinitrd (haven't done this for a long time in
> > opensuse, so I forgot the exact syntax). Then you need to edit to add
> > the kernel and initrd entry to /boot/grub/menu.lst.
> 
> it *is* just mkinitrd ... but, when i do,
> 
>  mkinitrd
> 
> Kernel image:   /boot/vmlinuz-2.6.18-164.10.1.el5.centos.plusxen
> Initrd image:   /boot/initrd-2.6.18-164.10.1.el5.centos.plusxen
> Root device:    /dev/root (mounted on / as ext4)
> Resume device:  /dev/md2
> setup-md.sh: md1 found multiple times
> modprobe: Could not load
> /lib/modules/2.6.18-164.10.1.el5.centos.plusxen/modules.dep: No such
> file or directory
> WARNING: no dependencies for kernel module 'raid0' found.
> modprobe: Could not load
> /lib/modules/2.6.18-164.10.1.el5.centos.plusxen/modules.dep: No such
> file or directory
> WARNING: no dependencies for kernel module 'raid1' found.
> modprobe: Could not load
> /lib/modules/2.6.18-164.10.1.el5.centos.plusxen/modules.dep: No such
> file or directory
> WARNING: no dependencies for kernel module 'raid456' found.
> ...
> ...
> ...
> 
> where do i get the modules.dep file?  afaict, it's not in the redhat
> .rpm's extract.
> 

Run "depmod -a 2.6.18-164.10.1.el5.centos.plusxen".

-- Pasi


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.