DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-12-16 22:08:21

td-dns323
Member
Registered: 2007-06-06
Posts: 25

How to build a new kernel on native Debian ?

Hi all.

After successful install native Debian (http://dns323.kood.org/howto:install_debian), i want to build a new kernel without missing options (ACL, etc.).

There somes things i not understand :
- with native Debian on DNS323, where is the kernel ?
- how update this kernel ?

Thanks for your help.

For building the new kernel, i execute the following steps :

    apt-cache search linux-source

    apt-get install linux-source-2.6.18

    cd /usr/src

    tar jxvf /usr/src/linux-source-2.6.18.tar.bz2

    apt-get install linux-patch-debian-2.6.18

    apt-get source linux-2.6

    apt-get install build-essential fakeroot

    apt-get build-dep linux-2.6

    cd linux-2.6-2.6.18.dfsg.1

    fakeroot debian/rules debian/build debian/stamps

    fakeroot make -f debian/rules.gen binary-arch-arm


********************************
2 DNS-323 with 4 Seagate ATA 500 Go 16 Mo cache UDMA-300 7200 rpm Barracuda 7200.10 in Raid 1 -Firmware 1.03

Offline

 

#2 2007-12-17 00:51:10

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: How to build a new kernel on native Debian ?

You can't use vanilla or debian kernels. Either use the sources from dlink or the experimental git repository (see http://dns323.kood.org/software:kernel)

Offline

 

#3 2007-12-17 13:45:08

td-dns323
Member
Registered: 2007-06-06
Posts: 25

Re: How to build a new kernel on native Debian ?

Hi Fonz.

There's something i don't understand : when i install native Debian, the kernel is coming from Debian ?

I have installed a lot of package on my DNS323 (mysql, bugzilla, cvs, etc.) without problems.

I now want to install ACL, but something is missing in the kernel, and i want to include it in the kernel.

Thanks.


********************************
2 DNS-323 with 4 Seagate ATA 500 Go 16 Mo cache UDMA-300 7200 rpm Barracuda 7200.10 in Raid 1 -Firmware 1.03

Offline

 

#4 2007-12-17 17:42:35

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: How to build a new kernel on native Debian ?

td-dns323 wrote:

There's something i don't understand : when i install native Debian, the kernel is coming from Debian ?

Don't think so. Try 'uname -a' to see what kernel you're running. It will show sth like '...2.6.12.6-arm1...' which is the firmware kernel.
You've installed a debian root file system, but not a debian kernel.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB