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: (3) </ 1 2 [3] >/

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

reply to topic new topic new poll
Topic: Damn! Some impressions and questions< Next Oldest | Next Newest >
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Feb. 06 2007,12:17 QUOTE

Quote
"broken"


Broken means broken. You can compile the kernel but not the modules (setting eg CONFIG_M686 gets around this).  There was a patch to fix this for CONFIG_M386=y.  This is why you don't see anyone posting that they sucessfully rebuilt dsl's 2.4.26 kernel for 386 with modules (I've rebuilt these for 686).

I googled for a million years to find this bug and, pointing this out on the debian-knoppix mail list, asked how then the 2.4.26 modules were compiled in knoppix 3.4? Fabian Franz (one of the key developers) replied saying he remembered the problem ("..Was a pain ... ") but couldn't recall exactly they did.  He guesses they applied the patch. Unfortunately they didn't document this on the cd.

See http://archives.free.net.ph/message/20060918.102253.416ff98c.en.html

The patch and bug description is here:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-04/4189.html

I've been meaning to post something about this so this is a good opportunity.

BTW interesting that Fabian Franz likes the 2.4.26 kernel and says he still uses a 2.4.27 ! I believe Mr Franz was responsible for a number of the important knoppix features inherited by dsl.
Back to top
Profile PM 
torp Offline





Group: Members
Posts: 172
Joined: July 2005
Posted: Feb. 06 2007,12:44 QUOTE

mkswap /yourswapfile

swapon /yourswapfile

free (use to see if swap is working)



torp


--------------
-|||-----|||-
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 06 2007,13:49 QUOTE

Quote (WDef @ Feb. 06 2007,11:17)
Quote
"broken"

Broken means broken. You can compile the kernel but not the modules (setting eg CONFIG_M686 gets around this).  There was a patch to fix this for CONFIG_M386=y.  This is why you don't see anyone posting that they sucessfully rebuilt dsl's 2.4.26 kernel for 386 with modules (I've rebuilt these for 686).

I was wondering if this was what you meant - after a long time and a lot of help from the DSL forum regulars, I managed to rebuild 2.4.26 kernel modules and use them in DSL - see http://damnsmalllinux.org/cgi-bin....p;st=70 page 15.

As you say, the trick was to modify the drmP.h file - after this things worked and I used the bluetooth and cpufreq modules thus created in DSL.

If you think it might be useful, I could post the drmP.h file
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Feb. 06 2007,15:00 QUOTE

Ah - seems I'm way behind the times then!  So the_hats_rule found a different archive of the same bug report.  Where would we be without google ...

Re posting the file: I'm wondering if Robert might not consider putting that patch file (or the equiv drmP.h file) on ibiblio somewhere for easy reference?
Or maybe the repo.  With a text file explaining why it's there.

I must say for quite a while I felt very p*ssed off indeed with Knoppix for not documenting this patch with their 2.4.26 kernel information in /usr/src.  It's just got the usual "we only use a vanilla kernel" blurb plus knoppix-kernel.patch, with an out-of-date reference to another patch they weren't using any longer anyway (not needed). Grrrr ...

Documentation, documentation, documentation.
Back to top
Profile PM 
nixclusive Offline





Group: Members
Posts: 5
Joined: Feb. 2007
Posted: Feb. 07 2007,13:01 QUOTE

use the commands swapon/swapoff:

Code Sample
swapon <device>
should put to use your swap partition.
Back to top
Profile PM 
14 replies since Feb. 04 2007,20:50 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: Damn! Some impressions and questions

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