Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (15) </ ... 5 6 7 8 9 [10] 11 12 13 14 15 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to install CPU Freq Driver, Use cpufreqd with acpid and ACPI< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 23 2006,15:34 QUOTE

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.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 23 2006,18:41 QUOTE

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...
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 23 2006,20:48 QUOTE

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?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 24 2006,12:00 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 24 2006,13:59 QUOTE

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
Back to top
Profile PM 
74 replies since July 29 2006,19:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (15) </ ... 5 6 7 8 9 [10] 11 12 13 14 15 ... >/
reply to topic new topic new poll
Quick Reply: How to install CPU Freq Driver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code