WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: DomU boot fails with can't find root on Fedora 6

> >-------------
> > Module signed with unknown public key
> > insmod: error inserting '/lib/xenblk.ko': -1 Required key not available
> 
> You've broken something horribly.
> 

 I know that. But what? 



On Wed, Jan 31, 2007 at 03:16:06PM -0600, Jerry Amundson wrote:
> On 1/31/07, Ligesh <myself@xxxxxxxxxx> wrote:
> > Yeah. the problem was the mkinitrd doesnt' give any proper error 
> > messages, and the
> 
> That's simply wrong - if the module is not found. mkinitrd aborts. Did
> you redirect to /dev/null?
> e.g.
> # mkinitrd --with=xenblk.ko /boot/initrd-2.6.19-1.2895.fc6xen.img
> 2.6.19-1.2895.fc6xen
> No module xenblk.ko found for kernel 2.6.19-1.2895.fc6xen, aborting.

 It not only gives no error for me, it creates an initrd image, but without the 
module. It does abort on centos-4.4 but not on fedora.

 sh -x mkinitrd -f --with=xennetsadfasdf --builtin=aic7xxx 
--builtin=serverworks --preload=xenblk --omit-raid-modules --omit-lvm-modules   
/boot/initrd-xen 2.6.19-1.2895.fc6xen


Gives this: Please note the xennetsaddf on the command above and exit 0 at the 
end.


-----------------------------
+ '[' 'mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00' == -n ']'
+ echo 'mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00'
+ rootdev=/dev/root
+ emit 'echo Mounting root filesystem.'
+ NONL=
+ '[' 'echo Mounting root filesystem.' == -n ']'
+ echo 'echo Mounting root filesystem.'
+ emit 'mount /sysroot'
+ NONL=
+ '[' 'mount /sysroot' == -n ']'
+ echo 'mount /sysroot'
+ '[' -n '' ']'
+ emit 'echo Setting up other filesystems.'
+ NONL=
+ '[' 'echo Setting up other filesystems.' == -n ']'
+ echo 'echo Setting up other filesystems.'
+ emit setuproot
+ NONL=
+ '[' setuproot == -n ']'
+ echo setuproot
+ '[' -n '' ']'
+ emit 'echo Switching to new root and running init.'
+ NONL=
+ '[' 'echo Switching to new root and running init.' == -n ']'
+ echo 'echo Switching to new root and running init.'
+ emit switchroot
+ NONL=
+ '[' switchroot == -n ']'
+ echo switchroot
+ chmod +x /tmp/initrd.xN9949/init
+ cd /tmp/initrd.xN9949
+ findall .
+ echo nash-find .
+ /sbin/nash --force --quiet
+ cpio --quiet -c -o
+ '[' -n 1 ']'
+ gzip -9
+ rm -rf /tmp/initrd.xN9949 /tmp/initrd.img.cu9950
+ '[' -n '' ']'
+ exit 0

---------------------------------------



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