[PlanetCCRMA] Kernel Panic on boot - Newbie - Long

Ken Smith kens@kensnet.org
Sun Oct 24 10:20:02 2004

Hi, This is my first posting to this list - so a few introductions. I'm Ken,
I live in South London UK. I'm just trying out Linux Audio after a long
period doing audio work on Win$dows. I'm firm supporter of Linux - and I've
seen Audio on Linux developing and now I'm trying it out. Sorry this post
has got a bit long.

Enough introductions. In short, I'm trying to modify the 2.4.26 kernel to
support the VIA IDE channel in my ASUS P4P800 MB system that also has a 3Ghz
P4 and a dreaded SBLIVE. The 'linux aggressive' SBLIVE is finally working
but that was a 'battle royal' to write up in another thread. I already have
the CCRMA FC1 2.4.26 SMP system running fine - its great - thank you Planet
CCRMA for all your hard work. 

I'm currently using the VIA proprietary driver for the 6410 IDE interface
and I have found it to be 9 times slower accessing the disk with the VIA
proprietary driver/linux than accessing the same data on the same disk with
the VIA driver for Win$dows. I timed how long it took to copy a 1G file. I
have found a patch that is supposed to allow the linux native IDE drivers to
support that hardware and I'm keen to see if that performs better. I've been
using a fairly large project to try out with Ardour which has 18 tracks -
each source .wav file is about 1G. xruns everywhere and jack shuts ardour
down about every 20 secs. Smaller projects are fine and increasing the
buffer size in jack helps but as soon as I add many effects it becomes crash

I've never compiled a Linux Kernel before so first I've tried just compiling
the kernel from the source without modifying or patching anything. My nice
new kernel panics at boot up. So I'm probably doing something very simple
wrong but I just can't spot it.

My procedure is as follows...

Source downloaded with apt and /usr/src/linux and /usr/src/linux-2.4 linked
to the source directory. The directory of the source tree is here ...
http://www.kensnet.org/ccrma/sourcelist.txt (These files are hosted on an
ADSL line so don't expect great speed)

Copy the config file from /boot to /usr/src/linux. That file can be seen
here.. www.kensnet.org/ccrma/.config

make clean #The log of that is here

make mrproper #The log of that is here

make xconfig #Just save the result without making any changes. Log file here

make dep #Logfile is here... http://www.kensnet.org/ccrma/make-dep.txt

There are these errors in that logfile - are some source files missing??

acsi.c:74:25: asm/atarihw.h: No such file or directory
acsi.c:75:27: asm/atariints.h: No such file or directory
acsi.c:76:28: asm/atari_acsi.h: No such file or directory
acsi.c:77:29: asm/atari_stdma.h: No such file or directory
acsi.c:78:29: asm/atari_stram.h: No such file or directory
au1000_gpio.c:41:24: asm/au1000.h: No such file or directory
au1000_gpio.c:42:29: asm/au1000_gpio.h: No such file or directory
fetchop.c:59:25: asm/machvec.h: No such file or directory
fetchop.c:60:24: asm/sn/sgi.h: No such file or directory
fetchop.c:61:26: asm/sn/addrs.h: No such file or directory
fetchop.c:62:25: asm/sn/arch.h: No such file or directory
fetchop.c:63:28: asm/sn/fetchop.h: No such file or directory
fetchop.c:64:29: asm/sn/sn_cpuid.h: No such file or directory
hp_psaux.c:41:26: asm/hardware.h: No such file or directory
hp_psaux.c:43:21: asm/gsc.h: No such file or directory
hp_sdc.c:76:21: asm/gsc.h: No such file or directory
i2c-algo-8xx.c:38:24: asm/mpc8xx.h: No such file or directory
i2c-algo-8xx.c:39:26: asm/commproc.h: No such file or directory
i2c-algo-ibm_ocp.c:63:21: asm/ocp.h: No such file or directory
i2c-algo-sibyte.c:32:30: asm/sibyte/64bit.h: No such file or directory
i2c-algo-sibyte.c:33:36: asm/sibyte/sb1250_regs.h: No such file or directory
i2c-algo-sibyte.c:34:37: asm/sibyte/sb1250_smbus.h: No such file or
i2c-ite.h:36:31: asm/it8172/it8172.h: No such file or directory
vac-serial.c:74:29: asm/baget/baget.h: No such file or directory
via-pmu.c:36:22: asm/prom.h: No such file or directory
via-pmu.c:37:25: asm/machdep.h: No such file or directory
via-pmu.c:41:26: asm/sections.h: No such file or directory
via-pmu.c:44:30: asm/pmac_feature.h: No such file or directory
via-pmu.c:47:26: asm/sections.h: No such file or directory
via-pmu.c:48:26: asm/cputable.h: No such file or directory
via-pmu.c:49:22: asm/time.h: No such file or directory
md5sum: WARNING: 1 of 13 computed checksums did NOT match

I edited the Makefile to append the name .test to the resultant kernel.
Makefile is here http://www.kensnet.org/ccrma/Makefile

make bzImage #Logfile is here http://www.kensnet.org/ccrma/make-bzImage.txt

make modules #Logfile here... http://www.kensnet.org/ccrma/make-modules.txt

make modules_install #Logfile here...

make install #Logfile here... http://www.kensnet.org/ccrma/make-install.txt

The directory of the /boot area is here

I noticed that the initrd image is smaller compared to the one for the smp
system that normally boots...

-rw-r--r--  1 root root  101264 Oct 24 17:33
-rw-r--r--  1 root root  164079 Oct 14 10:55
-rw-r--r--  1 root root  168684 Oct 14 10:55

And at boot up the kernel panics and dies as follows....

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/1" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS Unable to mount root fs on 00:00

It looks like initrd runs and then it falls in a heap trying to find the
bootable system on disk. I think.

Any help from Kernel Gurus/Builders very much appreciated.

Thanks in advance