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) </ ... 3 4 5 6 7 [8] 9 10 11 12 13 ... >/

[ 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. 21 2006,14:17 QUOTE

If the .config is the same, then it is the same and shouldn't matter either :)
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 22 2006,10:15 QUOTE

Now that I had time to look carefully, I can see that the two .config files are the same.

I am kind of surprised that the two files are the same - I would have expected the file with kernelsource.dsl to be specific to DSL and the one from the linux 2.4.26 sources from kernel.org to be generic. I looked in the DSL download area, but the only .config file I could find seemed to be specific to DSL 2.1 which I believe was Linux 2.4.31 - of course I could have missed the point entirely and the .config file could be specific to a certain Linux version...

The bzimage file I get is +/-3MB whereas minirt24.gz is +/-785KB and linux24 is +/-970KB hence my thinking that I had the wrong .config file.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 22 2006,14:06 QUOTE

To easily check next time, you can use `diff myfile1 myfile2`

Generic configs are still good :)

Hm, that is larger and you didnt compile a lot of stuff into the kernel - it's probably a better packaging method I suppose.  Well, as long as you can boot off it, there should be no problem
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 22 2006,14:16 QUOTE

I discovered I had missed out a step in the recompilation - "make clean", i.e. what I should have typed was:

make mrproper
make oldconfig
make dep
make clean
make bzImage (or make && make install)
make modules && make modules_install

The bzImage file I get is now +/- 1MB - I renamed this minirt24.gz and tried to boot with it but got a kernel panic message.

Maybe the thing I'm missing is to do something with the new /boot/system.map, vmlinuz and .config files created? I've seen something about using "mkinitrd /boot/initrd" but I get an error that bash doesn't know about this command (gcc1, gcc-2.95 & gnu-utils.dsl are loaded) and I've seen something about editing grub/lilo to point to the new /boot files but in a USB boot I don't have grub/lilo...
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 22 2006,18:19 QUOTE

I think the bzImage is a compressed kernel package, not the initrd (which as I originally stated, you might not need to replace this)

I think you could also boot off the vmlinuz as the kernel.  The new .config should be what you just changed from the oldconfig.  I think the System.map file should be in the same dir as the vmlinuz if you're using that.
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) </ ... 3 4 5 6 7 [8] 9 10 11 12 13 ... >/
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