Skip to contentSkip to conversation

xen 3.1.0 on sles10sp1

DISCUSSION Sebastian Reitenbach 1 participant 1 message Jan 30, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Jan Beulich
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

"Sebastian Reitenbach" <[email protected]> 30.01.08 11:04

Quoted 1 line · Jan Beulich

The error message clearly indicates that you've got a broken /init in

your

Quoted 18 lines
Quoted 9 lines
Quoted 1 line

initrd. I guess you'll need to examine what went wrong during its

creation.

I just did that.
For some reason there was an
caps="$(</proc/xen/capabilities)"
if [ "$caps" != "${caps%control_d*}" ]; then
echo nothing
fi

Hmm, that section is there on purpose, but the body certainly shouldn't be empty.

Quoted 4 lines

I added the "echo nothing" into the if statement, then it worked. After restarting again, it panicked again, but now because of missing cciss HDD controler driver to access the root partition. I added this and it is starting now.

Quoted 5 lines

This sounds like your /etc/sysconfig/kernel (INITRD_MODULES) isn't set up properly. But otoh I assume other kernels get their initrd generated correctly. Maybe you missed some detail of how mkinitrd needs to be invoked, or what prerequisites it has? That would also explain why that section above as empty.

yeah, other kernels do not have this problem, I followed the README file, in point 5) To rebuild a kernel with a modified config...

I think, after that I just only ran depmod -a and mkinitrd without parameters, and then it was working, this is the way I usually use. also mkinitrd on sles10sp1 does not know about the -v parameter, and then it did not liked the --with paramters too:

mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen
Unknown option: -v
Try mkinitrd -h
srv4:/usr/local/src/dist #
mkinitrd -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen
Unknown option: --
Try mkinitrd -h

these versions are installed:

module-init-tools-3.2.2-32.33
mkinitrd-1.2-106.61

Sebastian

Quoted 8 lines
Quoted 2 lines

Sorry for the noise.

That's not just noise, thanks for pointing this out.

Jan