LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Building a new kernel

[ILUG] Building a new kernel

David Ryan david.ryan at baker.ie
Tue Feb 27 13:41:41 GMT 2001


Conor,

Hmm, I have looked through a few different books and online things, all
of which had different mechanisms for rebuilding the kernel.  I am
currently trying your one and will let you know what happens.

Meanwhile, I have managed to work out that what is happening is that the
initrd which is specified in my lilo.conf isn't being loaded, so we get
a kernel panic when no SCSI disks are available.  However, the exact
same initrd works for the other kernels.  Hmm.

I ran mk_initrd which indicates that a new initrd is being generated for
the two standard kernels (vmlinuz and vmlinuz.suse) but not for my two
new ones.  Either way, when I try to use either of the two 'initrd's
they don't get used.

Further problem - I went to compile in the aic7xxx and DAC960 modules
into another kernel, only to find (or not find, really) that there was
no DAC960 or mylex or anything similar that I could build into the
kernel.

I have included the output from running mk_initrd and also the contents
of lilo.conf to see if anyone can spot anything glaring.

I did a make bzdisk which wrote a boot disk, but had exactly the same
problem - no SCSI modules or support in the kernel, so no boot.

Any help appreciated.

Thanks,

David


****START output from mk_initrd****
donkey:/etc # mk_initrd
using "/dev/rd/c0d0p3" as root device (mounted on "/")

creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.2.16-SMP)
module aic7xxx is "/lib/modules/2.2.16-SMP/scsi/aic7xxx.o"
-> insmod aic7xxx
module DAC960 is "/lib/modules/2.2.16-SMP/block/DAC960.o"
-> insmod DAC960

creating initrd "//boot/initrd.suse" for kernel "//boot/vmlinuz.suse"
(2.2.16-SM
P)
module aic7xxx is "/lib/modules/2.2.16-SMP/scsi/aic7xxx.o"
-> insmod aic7xxx
module DAC960 is "/lib/modules/2.2.16-SMP/block/DAC960.o"
-> insmod DAC960

****START /etc/lilo.conf****
boot    = /dev/rd/c0d0
vga     = normal
read-only
prompt
timeout = 30

  image  = /boot/vmlinuz
  label  = linux
  root   = /dev/rd/c0d0p3
  initrd = /boot/initrd

  image  = /boot/vmlinuz-scsi
  label  = scsi
  root   = /dev/rd/c0d0p3

  image  = /boot/vmlinuz_scsimodule
  label  = module
  root   = /dev/rd/c0d0p3
  initrd = /boot/initrd.suse


  image  = /boot/vmlinuz.suse
  label  = suse
  root   = /dev/rd/c0d0p3
  initrd = /boot/initrd.suse




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell