LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-12-2004, 10:46 AM   #1
asjapulk
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo
Posts: 6

Rep: Reputation: 0
initrd & kernel panic


Using Debian Woody, Intel S875WP1LX MB.

Problem:
I have to use initrd because Promise won't open their drivers source code and/or release patches to S150TX4 (PD20319). So I can only compile modules. But I want to boot (and mount root fs) from SATA raid1.

So I made partitions to sata raid and copied files from pATA drive.

Then I made initrd image:
mount /dev/sda1 /SATA
chroot /SATA /bin/bash
mount -t proc proc /proc
Just to be sure I recompiled kernel with cramfs, reiserfs ja minix support. New kernel to ->/boot/2.4.24
mkinitrd -r /dev/sda1 -o /boot/raid /lib/modules/2.4.24
(sda1 should be the new "/" (filesystem is ext3).

To lilo.conf:
disk=/dev/sda
boot=/dev/sda

image=/boot/2.4.24
label=raidkernel
initrd=/boot/raid
root=/dev/sda1

Running lilo gives no error messages..but when booting, I get:
...
RAMDISK: cramfs filesystem found at block 0
RAMDISK: loading 1024 blocks [1 disk] into ram disk... done
Freeing initrd memory: 1024k freed
cramsfs: wrong magic
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
ufs was compiled with read only ..etc
UDF-fs: No partition found (1)
sh-2021: reiserfs_read_super: can not find reiserfs on ramdisk(1,0)
Kernel panic: VFS: Unable to mount root fs on (08:01)


So I mounted /boot/raid to see whats wrong: In loadmodules there is:
modprobe -k ft3xx
and /lib/modules/2.4.24/kernel/drivers/scsi/ft3xx.o in in place.
Also in modules.dep there is a line:
/lib/modules/2.4.24/kernel/drivers/scsi/ft3xx.o:

What could be the problem?

Is there any hope to get kernel support for Promise S150TX4?
 
Old 01-12-2004, 11:50 AM   #2
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
You need devfs, XFS, and/or UFS compiled into your kernel to get rid of your problem.

*NOTE: a search of these forums for "kernel panic" would have netted you about 400 topics on this same issue that have answers for you.

rberry88
 
Old 01-13-2004, 02:35 AM   #3
asjapulk
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo
Posts: 6

Original Poster
Rep: Reputation: 0
Did that -- no help. It seems it cannot access 08:01 (meaning first scsi drive?--/dev/sda1). How can I tell if the initrd loaded the module correctly? Seems that it didn't. What to do that it will?
I made a search in google and read pretty much threads about this problem, before I posted this thread. Found nothing to help me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bootsplash causes kernel panic after modifying initrd bewareofthesnowman Linux - Software 2 02-28-2006 07:33 PM
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 04:09 PM
cramfs, kernel-panic...initrd, bootsplash... Outabux Debian 3 10-26-2004 07:42 PM
SuSE 8.1 - drive mapping & initrd w/ Kernel 2.4.22 DJFauß Linux - General 2 09-07-2003 08:00 AM
initrd kernel panic gavares Linux - General 0 08-25-2003 12:40 PM


All times are GMT -5. The time now is 08:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration