[Th] geninitrd borked?
Cezary Krzyzanowski
dhubleizh at o2.pl
Tue Dec 19 22:18:31 CET 2006
Dnia 19-12-2006, wto o godzinie 22:03 +0100, Łukasz Jernaś napisał(a):
> It would be a good idea, there's no need for an rw root while initrd is
> running, it's set by rc-scripts after checking the partition.
You miss the point - I didn't include mountintg rootfs rw as a feature,
I've omitted the -r parameter because of lack of knowledge ;) Fixed and
commited. I'll release another version later, when the second problem
gets fixed.
> No idea, I've just run geninitrd -v -f initrd-2.6.16.36-1.gz 2.6.16.36-1 and
> it "included" bootsplash by default, although I have fbsplash installed too.
Hm - I think that geninitrds sysconfig file by default has bootsplash
and includes it whenever the bootsplash package is present.
Let's divide two things. Both bootsplash and fbsplash need kernel
patching in order to work and *also* need userspace programs.
I'm not quite sure, if the newer PLD kernels include bootsplash patches
at all and if the do, how does having both bootsplash and fbsplash
*kernel* patches influence the system.
>
> > > cannot find rootfs - looks like initrd isn't even started in that case.
> >
> > Do You use initramfs as initrdfs, or old initrd ?? I must say as I have
> > some idea what could be wrong with the rw/ro matter, but this just
> > doesn't get to me.
>
> See above - I didn't touch anything in /e/s/geninitrd
Darn - I don't have a bloody idea what could be wrong. Does that 'cannot
find rootfs' occur in result of switch_root, or somewhere earlier??
Please check two things 4 me in order to fix that.
1. Is the generated image initrd, or initramfs (should be the later).
mkdir /tmp/czarny_sucks
cp /boot/initrd-2.6.something.gz /tmp/czarny_sucks
cd /tmp/czarny_sucks
gunzip initrd<tab>
cpio -i < initrd<tab>
If this works, You have initramfs, if not - You've got initrd.
If initrd, please mount it:
mkdir fuck
modprobe loop
mount -oloop -tromfs initrd<tab> shit
and in both cases paste me the linuxrc/init script here.
2. What are You passing at kernel boot (through the bootloader) as the
root parameter? My work in initramfs is to parse that parameter and
mount the rootfs accordingly - I could've screwed that part, or didn't
anticipate some parameter form.
> N/P - 5 weeks is a long time though, it was enough to start and end my
> engineering project ;)
Yea, but /me wants to get world-famous. PPl don't get world-famous in 5
weeks of work ;p
More information about the pld-devel-en
mailing list