how to compile a new kernel for dsl


Forum: HD Install
Topic: how to compile a new kernel for dsl
started by: mark_one

Posted by mark_one on Nov. 17 2005,18:58
hi dsl users.

i want to know: is it possible to compile my own kernel for dsl?
if the answer is yes, how does it work? any special procedure?
where can i get the config file for kernel 2.4.26 (dsl 1.5) ?
and how can i integrate the (new) kernel so that it will be installed when doing the frugal install thing?
i used the following 'remastering guide' to build what i need but i was not able to build that 'damn' kernel yet :)

< http://www.eng.uwaterloo.ca/twiki/bin/view/Linux/RemasteringGuide >

can anyone help me? thanks in advance.

greetings

mark

Posted by AwPhuch on Nov. 17 2005,23:43
I would love to see a kernel and bootfloppy w/ i486 processors with no math co-processor support built...

I know of quite a few machine that have 486sx chips in them, but DSL and the bootfloppy dies when it realized there is no math co-processor..

Can someone help?

Brian
AwPhuch

Posted by mark_one on Nov. 18 2005,10:03
hello.

i compiled a debian kernel package (with initrd) on my other machine but i cannot install it using 'chroot' and then 'dpgk -i package.deb' because the initrd-tools are missing. and it's not possible to install them using apt because of several version conflicts. but even compiling everything on another machine including an initrd image failed. after moving the data over to the dsl system and manipulating menu.lst i got several failure messages during boot process. and in the end it's always the same: kernel panic.
the first error looks like this:

'mount_devfs_fs(): unable to mount devfs, err: -2'

i think all errors showing up after this one depend on it. the joke is that a few lines before this message is shown, there's this line:

'mounting dev_fs to /dev ... Done.'

although i set the flags that are needed...ramdisk support... device_file_system support (during boot process) and so on...
maybe i'm doing it all wrong. i don't know. i'm coming from the 'debian corner' and tried to do it the 'debian way'.
i used kernel version 2.6.6 with a patch for epia mainboards.
is there really no one who can help me/us?

greetings

mark

Posted by skaos on Nov. 18 2005,12:03
A year (or two) ago I compiled a kernel for PCs without coprocessor and I seem to remember that I had to patch the kernel with XFS (or something like that). I think there are some documentation on the Knoppix home page on how to compile a kernel.
Posted by AwPhuch on Nov. 19 2005,02:33
You should be able to add math co-processor support from the getgo when you do a makemenuconf

I can compile kernels...just dont know how to add cloop support or all the other .config stuff that the stock DSL/KNOPPIX kernel has

Then to build into the floppy?? No clue

Brian
AwPhuch

Posted by mark_one on Nov. 21 2005,18:49
hi.

finally it worked. the only thing that i forgot was to compile xfs into the kernel. after i've done it the kernel works. now i can forget (modify) the time taking hotplug script and boot very fast.

mark

Posted by mark_one on Nov. 23 2005,10:01
hi.

if anyone has problems compiling a kernel, leave me a message.

greetings

mark

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.