User Feedback :: Damn! Some impressions and questions



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.

mkswap /yourswapfile

swapon /yourswapfile

free (use to see if swap is working)



torp

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

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.

use the commands swapon/swapoff:

Code Sample
swapon <device>
should put to use your swap partition.

Next Page...
original here.