LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   initrd & kernel panic (https://www.linuxquestions.org/questions/linux-general-1/initrd-and-kernel-panic-133984/)

asjapulk 01-12-2004 09:46 AM

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?

rberry88 01-12-2004 10:50 AM

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

asjapulk 01-13-2004 01:35 AM

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


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