LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2006, 12:51 AM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Rep: Reputation: 30
need help booting 2.4.32 kernel in FC3


Hey guys,

I need to boot a custom 2.4.32 kernel in FC3 and I am having some troubles.

First, FC3 is a 2.6 environment, so i installed an old modutils package (2.4.27) and then did:
Code:
make dep && make bzImage modules modules_install
cp arch/i386/boot/bzImage /boot/custom-kernel
cd /boot
mkinitrd /boot/initrd-2.4.32.img 2.4.32
I get the following messages from the mkinitrd command:
Code:
cp: cannot stat `lvm2': No such file or directory
cp: cannot stat `/sbin/vgwrapper': No such file or directory
ln: accessing `/tmp/initrd.Vm2683/bin/vgwrapper': No such file or directory
ln: accessing `/tmp/initrd.Vm2683/bin/vgwrapper': No such file or directory
But it still successfully creates the image, so then I add these lines to my grub.conf:
Code:
Title custom-kernel (2.4.32)
    root (hd0,2)
    kernel /custom-kernel ro root=/dev/VolGroup00/LogVol100 rhgb quiet
    initrd /initrd-2.4.32.img
Then I try to boot and get this kernel panic:
Code:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Kernel panic: VFS: Unable to mount root fs on 00:00
So after doing some googling, i found this.

It seems to suggest making an alias for scsi_hostadapter in /etc/modules.conf for the appropriate scsi adapter. So then I looked up my dell latitute d610's scsi adapter, and found this which says that HD is attached by SATA, and needs the ata_piix module, so then i created my /etc/modules.conf:
Code:
alias scsi_hostadapter ata_piix
I then rebooted, and get a similar error, the only thing that changed is 00:00 to 08:05. I confirmed that ata_piix is the correct module by booting FC3's normal 2.6 kernel and doing an lsmod:
Code:
lsmod | grep ata
ata_piix      8389 2
libata       40005 1 ata_piix
scsi_mod    117417 3 usb_storage,libata,sd_mod
Can anyone shed any light?

Thanks!
George

Last edited by hedpe; 05-16-2006 at 01:28 AM.
 
Old 05-16-2006, 01:47 AM   #2
hedpe
Member
 
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Original Poster
Rep: Reputation: 30
Okay i made some progress by building everything SCSI related as modules, now i get a whole load of errors:
Code:
insmod: error inserting `/lib/scsi_mod.o': -1 Unknown symbol in module
ERROR /bin/insmod excited abnormally!
insmod: error inserting `/lib/sd_mod.o': -1 Unknown symbol in module
I get the same error for libata.o, ata_piix.o, and lvm-mod.o

then i get failed to create /edv/ide/host0/bus0/target0/lun0/disc

So my guess is trying to fix the top most first

Thanks!
George
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3:booting problem : cofiguring kernel parameters vishalsoni79 Fedora - Installation 3 08-27-2005 12:35 PM
DISCUSSION: DMA with FC3 on a GA-8TRS350MT motherboard with a custom 2.6.12 kernel - FC3 DVD playbac rylan76 LinuxAnswers Discussion 0 08-21-2005 05:18 PM
Problem booting FC3 jobless_joe Linux - Software 2 06-15-2005 05:53 PM
Linux (FC3) Not Booting Kenji Miyamoto Linux - General 2 02-17-2005 07:47 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration