Laptops :: How to install CPU Freq Driver
No, the recompilation does not assume anything - the fs doesn't matter since the initrd was left alone - but I guess its a kernel problem right now.
The sources in mydsl are the knoppix 3.4 i386 sources!
Try taking out "quiet" option in syslinux.cfg to see paste out the output so that's it may be easier to see what went wrong.
If I take out the "quiet" option plenty of messages scroll off the screen quickly but I guess the relevant ones are the last few:
kmod: failed to exec /sbin/modprobe -s -k block-major, errno = 2
VFS: Cannot open root device "" or 01:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root FS on 01:00
I'm pretty sure the first line is due to not having a floppy drive, but I'm not sure what "root=" boot option is required:
/dev/sda1 or mnt/sda1?
/cdrom (the USB stick is mounted as this)?
the location of the /KNOPPIX/KNOPPIX file?
the location of the minirt.gz file?
a location /boot "unpacked" from the linux24 file?
or?
I presume this should go in the syslinux.cfg file:
DEFAULT linux24 root=? APPEND ramdisk_size=100000 init=/etc/init...
You can scroll back using shift+pageup/down - pause by hitting scroll lock. Esp. check those to do with ram/ramdisk.
Well, if your usb worked for the original kernel, it should not require any extra changing that config... (though I suppose root would be /ramdisk). Did you change anything else in the .config?
I scrolled back through the boot messages as suggested - I did not see any other errors other than one about a broken Dell BIOS and a modprobe error for a scsi-host adapter (I haven't got one)
The only changes to the .config file were made by the cpufreq patch.
I modified my syslinux.cfg file to read as follows:
DEFAULT vmlinuz APPEND root=xxx ramdisk_size=100000 init=/etc/init...
and tried root=/dev/root, cdrom, /dev/cdrom, /dev/sda1, /root, /sys, dev/ram, /ramdisk - in each case, I got an error of the form:
VFS: Cannot open root device "sda1" or 08:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root FS on 08:01
It appears that the error I get is right before the kernel loads the KNOPPIX file, if I use linux24 to boot successfully, the last messages prior to this are:
RAMDISK: compressed image found at block 0
VFS: Mount root (ext2 filesystem)
aaaaagh
In the .config can you list CONFIG_BLK_DEV_RAM*
A quick search on google had someone suggest that increased size in the kernel need to increase the memory as well.. so you could try CONFIG_BLK_DEV_RAM_SIZE=8192
EDIT: I just looked at the kernelsource.dsl and it looks like it is not the kernel source package at all - but is just the kernel headers (hence why you needed to download the original kernel package). So it may be easier using knoppix 3.4 to do this since it will be all set up there already - which is less margin for error.
EDIT 2: Decided to try something out... some interesting things:
Using gcc1*, gcc-2.95, and kernel.org 2.4.26 source with the knoppix patch booted fine (using the .config from kernelsource.dsl)
Mixing in the other stuff from mydsl caused problems somehow.
EDIT 3: nevermind if you read that.. I hard rebooted and it worked - odd - but it shows you don't need to use the mydsl kernel stuff - which mixing with could cause problems :P
Next Page...
original here.