Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Nov. 25 2006,07:05 |
|
The comment about CONFIG_BLK_DEV_RAM caught my attention so I went back and checked the .config file before and after "make mrproper"/"make oldconfig" and discovered that (somehow) it was getting completely mangled - since "make oldconfig" was only showing the cpufreq options, I had presumed everything else was left as-is.
I had also noticed that kernelsource.dsl does not contain any kernel sources (sic) and I could not find them on Knoppix 3.4 so I prepared the sources as follows:
unpack 2.4.26 kernel sources (kernel.org) into /usr/src/linux-2.4.26 delete /usr/src/linux-2.4.26/include and replace with /include from Knoppix 3.4 copy knoppix kernel patch & .config from Knoppix 3.4 apply knoppix patch apply cpufreq patch
Then, after pulling up a copy of the Knoppix 3.4 .config, I did "make mrproper"/"make config" using the exact same responses as in the Knoppix 3.4 .config (except for the cpufreq options) - an extremely tedious process, I will have to look at "make menuconfig"/"make xconfig".
Next I did "make dep", "make clean", "make bzImage", "make modules", "make modules_install", "make" & "make install" (not sure if the last two are neccessary) which gave a bzImage kernel file (as opposed to a vmlinuz file last time).
When I boot from the bzImage file, I get further than last time, but the last few messages are:
RAMDISK: Compressed image found at block 0 Freeing initrd memory 784k freed VFS: Mounted root (ext2 filesystem) readonly Freeing uneeded kernel memory 140k freed Scanning for USB devices...Done Accessing DSL image as /dev/sda1.../linuxrc cannot create /etc/ld.so.cache: read-only filesystem
and then things drop back into the extremely limited kernel
Since a successful boot with linux24 gives the message "VFS: Mounted root (ext2 filesystem)" without the "readonly", I presume the problem is this.
Edit: I made a test by recompiling the kernel without making any changes and using .config from Knoppix 3.4 - I get the same result, i.e. the root filesystem is mounted read-only and then /linuxrc cannot create...
|