mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Unable to boot kernel after compiling source for 2.6.17-1.2157
@ 2006-08-15 15:17 Zeidler, Mike
  2006-08-15 15:31 ` Michal Piotrowski
  0 siblings, 1 reply; 4+ messages in thread
From: Zeidler, Mike @ 2006-08-15 15:17 UTC (permalink / raw)
  To: linux-kernel

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
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to boot kernel after compiling source for 2.6.17-1.2157
  2006-08-15 15:17 Unable to boot kernel after compiling source for 2.6.17-1.2157 Zeidler, Mike
@ 2006-08-15 15:31 ` Michal Piotrowski
  2006-08-15 15:34   ` Arjan van de Ven
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Piotrowski @ 2006-08-15 15:31 UTC (permalink / raw)
  To: Zeidler, Mike; +Cc: linux-kernel

Hi,

On 15/08/06, Zeidler, Mike <mike.zeidler@windriver.com> 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/)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to boot kernel after compiling source for 2.6.17-1.2157
  2006-08-15 15:31 ` Michal Piotrowski
@ 2006-08-15 15:34   ` Arjan van de Ven
  0 siblings, 0 replies; 4+ messages in thread
From: Arjan van de Ven @ 2006-08-15 15:34 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: Zeidler, Mike, linux-kernel

On Tue, 2006-08-15 at 17:31 +0200, Michal Piotrowski wrote:
> Hi,
> 
> On 15/08/06, Zeidler, Mike <mike.zeidler@windriver.com> 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


it's even easier: just do a "make install" 

it looks like the original bug is an selinux case (since nothing else
should prevent modules from loading ;).. could be a bad initrd could be
something else.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Unable to boot kernel after compiling source for 2.6.17-1.2157
@ 2006-08-15 18:46 Zeidler, Mike
  0 siblings, 0 replies; 4+ messages in thread
From: Zeidler, Mike @ 2006-08-15 18:46 UTC (permalink / raw)
  To: Arjan van de Ven, Michal Piotrowski; +Cc: linux-kernel

Thanks, doing the "make install" as root did the trick. Machine boots
like a charm.

Mike 

-----Original Message-----
From: Arjan van de Ven [mailto:arjan@infradead.org] 
Sent: Tuesday, August 15, 2006 11:34 AM
To: Michal Piotrowski
Cc: Zeidler, Mike; linux-kernel@vger.kernel.org
Subject: Re: Unable to boot kernel after compiling source for
2.6.17-1.2157

On Tue, 2006-08-15 at 17:31 +0200, Michal Piotrowski wrote:
> Hi,
> 
> On 15/08/06, Zeidler, Mike <mike.zeidler@windriver.com> 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


it's even easier: just do a "make install" 

it looks like the original bug is an selinux case (since nothing else
should prevent modules from loading ;).. could be a bad initrd could be
something else.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-15 18:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 15:17 Unable to boot kernel after compiling source for 2.6.17-1.2157 Zeidler, Mike
2006-08-15 15:31 ` Michal Piotrowski
2006-08-15 15:34   ` Arjan van de Ven
2006-08-15 18:46 Zeidler, Mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®