Tobias
2006-Feb-18 09:00 UTC
[Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen
I have two sata harddrives with raid1 on a ubuntu server 5.10 with xen 3.0 i do mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen this way it can not find the modules.dep which lays elsewhere. can anyone explain what I am doing wrong here. Tobias FATAL: Could not load /lib/modules/2.6.12.6-xen/modules.dep: No such file or directory root@xenubuntu:~# locate modules.dep /lib/modules/2.6.12-9-386/modules.dep /usr/share/man/man5/modules.dep.5.gz root@xenubuntu:~# admin@xenubuntu:/boot$ ls -l insgesamt 28951 -rw-r--r-- 1 root root 239770 2005-10-10 15:16 abi-2.6.12-9-386 -rw-rw-r-- 1 94 141 59242 2005-12-04 23:04 config-2.6.12.6-xen -rw-rw-r-- 1 94 141 27766 2005-12-04 23:21 config-2.6.12.6-xen0 -rw-rw-r-- 1 94 141 12016 2005-12-04 23:29 config-2.6.12.6-xenU -rw-r--r-- 1 root root 64135 2005-10-10 14:12 config-2.6.12-9-386 drwxr-xr-x 2 root root 1024 2006-02-17 19:00 grub -rw-r--r-- 1 root root 4906373 2006-02-17 18:54 initrd.img-2.6.12-9-386 drwxr-xr-x 2 root root 12288 2006-02-17 18:50 lost+found -rw-r--r-- 1 root root 94664 2005-06-30 17:49 memtest86+.bin -rw-rw-r-- 1 94 141 1100719 2005-12-04 23:04 System.map-2.6.12.6-xen -rw-rw-r-- 1 94 141 914798 2005-12-04 23:21 System.map-2.6.12.6-xen0 -rw-rw-r-- 1 94 141 551788 2005-12-04 23:29 System.map-2.6.12.6-xenU -rw-r--r-- 1 root root 897159 2005-10-10 15:16 System.map-2.6.12-9-386 -rw-r--r-- 1 94 141 4741065 2005-12-04 23:04 vmlinux-syms-2.6.12.6-xen -rw-r--r-- 1 94 141 5918582 2005-12-04 23:21 vmlinux-syms-2.6.12.6-xen0 -rw-r--r-- 1 94 141 3113293 2005-12-04 23:29 vmlinux-syms-2.6.12.6-xenU -rw-r--r-- 1 94 141 1554316 2005-12-04 23:04 vmlinuz-2.6.12.6-xen -rw-r--r-- 1 94 141 2229483 2005-12-04 23:21 vmlinuz-2.6.12.6-xen0 -rw-r--r-- 1 94 141 1155698 2005-12-04 23:29 vmlinuz-2.6.12.6-xenU -rw-r--r-- 1 root root 1206555 2005-10-10 15:16 vmlinuz-2.6.12-9-386 lrwxrwxrwx 1 94 141 20 2006-02-17 20:31 vmlinuz-2.6.12-xen -> vmlinuz-2.6. 12.6-xen lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6.12-xen0 -> vmlinuz-2.6 .12.6-xen0 lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6.12-xenU -> vmlinuz-2.6 .12.6-xenU lrwxrwxrwx 1 94 141 20 2006-02-17 20:31 vmlinuz-2.6-xen -> vmlinuz-2.6.12. 6-xen lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6-xen0 -> vmlinuz-2.6.12 .6-xen0 lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6-xenU -> vmlinuz-2.6.12 .6-xenU -rw-r--r-- 1 94 141 199659 2005-12-04 21:23 xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen-3.0.gz -> xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen-3.gz -> xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen.gz -> xen-3.0.0.gz -rw-r--r-- 1 94 141 497840 2005-12-04 21:23 xen-syms-3.0.0 admin@xenubuntu:/boot$ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Craig Webster
2006-Feb-18 09:33 UTC
Re: [Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen
On 18 Feb 2006, at 09:00, Tobias wrote:> FATAL: Could not load /lib/modules/2.6.12.6-xen/modules.dep: No > such file or directory > > root@xenubuntu:~# locate modules.dep > /lib/modules/2.6.12-9-386/modules.dep > /usr/share/man/man5/modules.dep.5.gz > root@xenubuntu:~#You have a modules.dep for 2.6.12-9-386 but not for the 2.6.12.6-xen that you''re trying to build an initrd for. Try this: # mkdir /lib/modules/2.6.12.6-xen # cd /usr/src/linux # make modules_install # depmod And then try again. Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)131 661 0689 | w: http://xeriom.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew Thompson
2006-Feb-18 17:15 UTC
Re: [Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen
On Sat, Feb 18, 2006 at 09:33:52AM +0000, Craig Webster wrote:> On 18 Feb 2006, at 09:00, Tobias wrote: > >FATAL: Could not load /lib/modules/2.6.12.6-xen/modules.dep: No > >such file or directory > > > >root@xenubuntu:~# locate modules.dep > >/lib/modules/2.6.12-9-386/modules.dep > >/usr/share/man/man5/modules.dep.5.gz > >root@xenubuntu:~# > > You have a modules.dep for 2.6.12-9-386 but not for the 2.6.12.6-xen > that you''re trying to build an initrd for. > Try this: > > # mkdir /lib/modules/2.6.12.6-xen > # cd /usr/src/linux > # make modules_install > # depmod > > And then try again.I am not familiar enough with the kernel build process to know if that does the right thing or not, but I believe that I resolved it this way: depmod -v 2.6.12.6-xen -- Andrew Thompson http://aktzero.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xen
2006-Feb-19 19:51 UTC
Re: [Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen
Hi, Shouldn''t that be:- mkinitrd -o /boot/xen-modules-2.6.12.6-xen0 2.6.12.6-xen0 ? Lyle ------------------------------------------------------------ Lyle Hopkins - CosmicPerl.com CGI Scripts - Internet software solutions for the professional webmaster Email: webmaster@cosmicperl.com Web site: http://www.cosmicperl.com Specializing in Affiliate Software solutions ------------------------------------------------------------ ----- Original Message ----- From: Tobias To: Xen Sent: Saturday, February 18, 2006 9:00 AM Subject: [Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen I have two sata harddrives with raid1 on a ubuntu server 5.10 with xen 3.0 i do mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen this way it can not find the modules.dep which lays elsewhere. can anyone explain what I am doing wrong here. Tobias FATAL: Could not load /lib/modules/2.6.12.6-xen/modules.dep: No such file or directory root@xenubuntu:~# locate modules.dep /lib/modules/2.6.12-9-386/modules.dep /usr/share/man/man5/modules.dep.5.gz root@xenubuntu:~# admin@xenubuntu:/boot$ ls -l insgesamt 28951 -rw-r--r-- 1 root root 239770 2005-10-10 15:16 abi-2.6.12-9-386 -rw-rw-r-- 1 94 141 59242 2005-12-04 23:04 config-2.6.12.6-xen -rw-rw-r-- 1 94 141 27766 2005-12-04 23:21 config-2.6.12.6-xen0 -rw-rw-r-- 1 94 141 12016 2005-12-04 23:29 config-2.6.12.6-xenU -rw-r--r-- 1 root root 64135 2005-10-10 14:12 config-2.6.12-9-386 drwxr-xr-x 2 root root 1024 2006-02-17 19:00 grub -rw-r--r-- 1 root root 4906373 2006-02-17 18:54 initrd.img-2.6.12-9-386 drwxr-xr-x 2 root root 12288 2006-02-17 18:50 lost+found -rw-r--r-- 1 root root 94664 2005-06-30 17:49 memtest86+.bin -rw-rw-r-- 1 94 141 1100719 2005-12-04 23:04 System.map-2.6.12.6-xen -rw-rw-r-- 1 94 141 914798 2005-12-04 23:21 System.map-2.6.12.6-xen0 -rw-rw-r-- 1 94 141 551788 2005-12-04 23:29 System.map-2.6.12.6-xenU -rw-r--r-- 1 root root 897159 2005-10-10 15:16 System.map-2.6.12-9-386 -rw-r--r-- 1 94 141 4741065 2005-12-04 23:04 vmlinux-syms-2.6.12.6-xen -rw-r--r-- 1 94 141 5918582 2005-12-04 23:21 vmlinux-syms-2.6.12.6-xen0 -rw-r--r-- 1 94 141 3113293 2005-12-04 23:29 vmlinux-syms-2.6.12.6-xenU -rw-r--r-- 1 94 141 1554316 2005-12-04 23:04 vmlinuz-2.6.12.6-xen -rw-r--r-- 1 94 141 2229483 2005-12-04 23:21 vmlinuz-2.6.12.6-xen0 -rw-r--r-- 1 94 141 1155698 2005-12-04 23:29 vmlinuz-2.6.12.6-xenU -rw-r--r-- 1 root root 1206555 2005-10-10 15:16 vmlinuz-2.6.12-9-386 lrwxrwxrwx 1 94 141 20 2006-02-17 20:31 vmlinuz-2.6.12-xen -> vmlinuz-2.6. 12.6-xen lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6.12-xen0 -> vmlinuz-2.6 .12.6-xen0 lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6.12-xenU -> vmlinuz-2.6 .12.6-xenU lrwxrwxrwx 1 94 141 20 2006-02-17 20:31 vmlinuz-2.6-xen -> vmlinuz-2.6.12. 6-xen lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6-xen0 -> vmlinuz-2.6.12 .6-xen0 lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6-xenU -> vmlinuz-2.6.12 .6-xenU -rw-r--r-- 1 94 141 199659 2005-12-04 21:23 xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen-3.0.gz -> xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen-3.gz -> xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen.gz -> xen-3.0.0.gz -rw-r--r-- 1 94 141 497840 2005-12-04 21:23 xen-syms-3.0.0 admin@xenubuntu:/boot$ ------------------------------------------------------------------------------ _______________________________________________ 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
Ralph Passgang
2006-Feb-19 21:31 UTC
Re: [Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen
that depends on the extraversion that was used when compiling the kernel. The default version is 2.6.12.6-xen at the moment, but everbody can change it by editing the .config file. --Ralph Am Sonntag, 19. Februar 2006 20:51 schrieb Xen:> Hi, > Shouldn''t that be:- > mkinitrd -o /boot/xen-modules-2.6.12.6-xen0 2.6.12.6-xen0 > > ? > > Lyle > > ------------------------------------------------------------ > Lyle Hopkins - CosmicPerl.com CGI Scripts - > Internet software solutions for the professional webmaster > Email: webmaster@cosmicperl.com > Web site: http://www.cosmicperl.com > Specializing in Affiliate Software solutions > ------------------------------------------------------------ > ----- Original Message ----- > From: Tobias > To: Xen > Sent: Saturday, February 18, 2006 9:00 AM > Subject: [Xen-users] mkinitrd -o /boot/xen-modules-2.6.12.6-xen > 2.6.12.6-xen > > > I have two sata harddrives with raid1 on a ubuntu server 5.10 with xen > 3.0 > > i do mkinitrd -o /boot/xen-modules-2.6.12.6-xen 2.6.12.6-xen > this way it can not find the modules.dep which lays elsewhere. > > can anyone explain what I am doing wrong here. > > Tobias > > > FATAL: Could not load /lib/modules/2.6.12.6-xen/modules.dep: No such file > or directory > > root@xenubuntu:~# locate modules.dep > /lib/modules/2.6.12-9-386/modules.dep > /usr/share/man/man5/modules.dep.5.gz > root@xenubuntu:~# > > > admin@xenubuntu:/boot$ ls -l > insgesamt 28951 > -rw-r--r-- 1 root root 239770 2005-10-10 15:16 abi-2.6.12-9-386 > -rw-rw-r-- 1 94 141 59242 2005-12-04 23:04 config-2.6.12.6-xen > -rw-rw-r-- 1 94 141 27766 2005-12-04 23:21 config-2.6.12.6-xen0 > -rw-rw-r-- 1 94 141 12016 2005-12-04 23:29 config-2.6.12.6-xenU > -rw-r--r-- 1 root root 64135 2005-10-10 14:12 config-2.6.12-9-386 > drwxr-xr-x 2 root root 1024 2006-02-17 19:00 grub > -rw-r--r-- 1 root root 4906373 2006-02-17 18:54 initrd.img-2.6.12-9-386 > drwxr-xr-x 2 root root 12288 2006-02-17 18:50 lost+found > -rw-r--r-- 1 root root 94664 2005-06-30 17:49 memtest86+.bin > -rw-rw-r-- 1 94 141 1100719 2005-12-04 23:04 System.map-2.6.12.6-xen > -rw-rw-r-- 1 94 141 914798 2005-12-04 23:21 System.map-2.6.12.6-xen0 > -rw-rw-r-- 1 94 141 551788 2005-12-04 23:29 System.map-2.6.12.6-xenU > -rw-r--r-- 1 root root 897159 2005-10-10 15:16 System.map-2.6.12-9-386 > -rw-r--r-- 1 94 141 4741065 2005-12-04 23:04 > vmlinux-syms-2.6.12.6-xen -rw-r--r-- 1 94 141 5918582 2005-12-04 23:21 > vmlinux-syms-2.6.12.6-xen0 -rw-r--r-- 1 94 141 3113293 2005-12-04 23:29 > vmlinux-syms-2.6.12.6-xenU -rw-r--r-- 1 94 141 1554316 2005-12-04 23:04 > vmlinuz-2.6.12.6-xen -rw-r--r-- 1 94 141 2229483 2005-12-04 23:21 > vmlinuz-2.6.12.6-xen0 -rw-r--r-- 1 94 141 1155698 2005-12-04 23:29 > vmlinuz-2.6.12.6-xenU -rw-r--r-- 1 root root 1206555 2005-10-10 15:16 > vmlinuz-2.6.12-9-386 lrwxrwxrwx 1 94 141 20 2006-02-17 20:31 > vmlinuz-2.6.12-xen -> vmlinuz-2.6. 12.6-xen lrwxrwxrwx 1 94 141 21 > 2006-02-17 20:31 vmlinuz-2.6.12-xen0 -> vmlinuz-2.6 .12.6-xen0 lrwxrwxrwx > 1 94 141 21 2006-02-17 20:31 vmlinuz-2.6.12-xenU -> vmlinuz-2.6 > .12.6-xenU lrwxrwxrwx 1 94 141 20 2006-02-17 20:31 vmlinuz-2.6-xen > -> vmlinuz-2.6.12. 6-xen lrwxrwxrwx 1 94 141 21 2006-02-17 20:31 > vmlinuz-2.6-xen0 -> vmlinuz-2.6.12 .6-xen0 lrwxrwxrwx 1 94 141 21 > 2006-02-17 20:31 vmlinuz-2.6-xenU -> vmlinuz-2.6.12 .6-xenU -rw-r--r-- 1 > 94 141 199659 2005-12-04 21:23 xen-3.0.0.gz > lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen-3.0.gz -> > xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen-3.gz -> > xen-3.0.0.gz lrwxrwxrwx 1 94 141 12 2006-02-17 20:31 xen.gz -> > xen-3.0.0.gz -rw-r--r-- 1 94 141 497840 2005-12-04 21:23 > xen-syms-3.0.0 > admin@xenubuntu:/boot$ > > > > > > > --------------------------------------------------------------------------- >--- > > > _______________________________________________ > 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