Re: Unable to boot kernel after compiling source for 2.6.17-1.2157

From: Michal Piotrowski
Date: Tue Aug 15 2006 - 11:29:14 EST


Hi,

On 15/08/06, Zeidler, Mike <mike.zeidler@xxxxxxxxxxxxx> wrote:
After building the kernel and copying the arch/i386/boot/bzImage to
/boot/vmlinuz-2.6.17-1.2157_FC5smp
and doing a make modules_install
and doing a mkinitrd

Try to use new-kernel-pkg instead of mkinitrd
sudo /sbin/new-kernel-pkg --make-default --mkinitrd --depmod
--kernel-args="crashkernel=64M@16M" --install $VER

You can also use
http://www.stardust.webpages.pl/files/crap/kgbi2.sh

And modifying grub.conf to have the following lines

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2157_FC5smp)
root (hd0,0)
kernel /vmlinuz-2.6.17-1.2157_FC5smp ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.17-1.2157_FC5smp.img

I am still getting the following errors:


Insmod : error inserting '/lib/scsi_mod.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/sd_mod.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/libata.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/satasil24.ko' : -1 Operation not
Permitted
Insmod : error inserting '/lib/ata_piix.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/jbd.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/ext3' : -1 Operation not Permitted
Insmod : error inserting '/lib/dm_mod.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/mirror.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/zero.ko' : -1 Operation not Permitted
Insmod : error inserting '/lib/snapshot.ko' : -1 Operation not Permitted

Any advice?

Mike

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/