Linux Debian support - Debian Kernel building

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > August 2007 > Debian Kernel building





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Debian Kernel building
Tim Binsted

2007-08-13, 7:12 pm

I am building a kernel in Debian (both etch and lenny). Building the kernel
goes fine, but I can't find the tools mkinitrd etc.

Have added the line:
deb http://www.backports.org/debian etch (or lenny) module-init-tools
initrd-tools procps to sources.list

However I cannot get hold of these tools. Have also tried with the standard
installation (and have tried search etc.)

Any ideas please.

Would also be happy with a kernel that is built with HIGHMEM.

As an aside. Why does Debian restrict itself to 1GByte?

Gr, Tim Binsted
sk8r-365

2007-08-13, 7:12 pm

Government satellites recorded Tim Binsted saying:
<snip>
>
> Would also be happy with a kernel that is built with HIGHMEM.
>
> As an aside. Why does Debian restrict itself to 1GByte?
>


It does up to 4GB:

grep HIGHMEM /boot/config-2.6.18-4-686
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y



--
sk8r-365

http://goodbye-microsoft.com/
Mumia W.

2007-08-13, 7:12 pm

On 08/13/2007 01:37 PM, Tim Binsted wrote:
> I am building a kernel in Debian (both etch and lenny). Building the kernel
> goes fine, but I can't find the tools mkinitrd etc.
>
> Have added the line:
> deb http://www.backports.org/debian etch (or lenny) module-init-tools
> initrd-tools procps to sources.list
>
> However I cannot get hold of these tools. Have also tried with the standard
> installation (and have tried search etc.)
>
> Any ideas please.
>
> Would also be happy with a kernel that is built with HIGHMEM.
>
> As an aside. Why does Debian restrict itself to 1GByte?
>
> Gr, Tim Binsted


That 'deb' line should look like this:

deb http://www.backports.org/debian etch main contrib non-free

You don't select individual packages within the sources.list file.
Instead you use aptitude (or synaptic) to select and install the
packages you want.

Take a look at the Debian Reference:
http://www.debian.org/doc/manuals/r...e/index.en.html

At a console or X terminal, type "aptitude"
Tim Binsted

2007-08-14, 1:12 pm

sk8r-365 wrote:

> Government satellites recorded Tim Binsted saying:
> <snip>
>
> It does up to 4GB:
>
> grep HIGHMEM /boot/config-2.6.18-4-686
> # CONFIG_NOHIGHMEM is not set
> CONFIG_HIGHMEM4G=y
> # CONFIG_HIGHMEM64G is not set
> CONFIG_HIGHMEM=y
>
>
>

I have grepped the config file (config-2.6.18-486, not 686) which is the
standard one installed with my installation and both HIGHMEM4G and
HIGHMEM64G are not set.
It would therefore seem that if I install another kernel I will get HIGHMEM
support.
Thanks. But I am also going to build a kernel anyway so that I can do it
under Debian!
sk8r-365

2007-08-14, 1:12 pm

Government satellites recorded Tim Binsted saying:

> I have grepped the config file (config-2.6.18-486, not 686) which is the
> standard one installed with my installation and both HIGHMEM4G and
> HIGHMEM64G are not set.
> It would therefore seem that if I install another kernel I will get HIGHMEM
> support.


Yes, the 486 was default, but this is an Asus k8n with a Sempron 64
and 1BG RAM. Therefore, I added the 686 series and removed the
other. And, yes, you'd get better HIGHMEM support using the 686
kernel. Someone else can support my guess - or correct me -; I
think the 486 boards weren't designed for so much RAM - 512MB at
best as I recall.

> Thanks. But I am also going to build a kernel anyway so that I can do it
> under Debian!


It's a good experience if nothing else. Think most every user should
do it a few times as it provides them with a richer knowledge of
their system and basic OS functions.
--
sk8r-365

http://goodbye-microsoft.com/
Paul Cupis

2007-08-15, 7:12 am

Tim Binsted wrote:
> I am building a kernel in Debian (both etch and lenny). Building the kernel
> goes fine, but I can't find the tools mkinitrd etc.
>
> Have added the line:
> deb http://www.backports.org/debian etch (or lenny) module-init-tools
> initrd-tools procps to sources.list
>
> However I cannot get hold of these tools. Have also tried with the standard
> installation (and have tried search etc.)


apt-cache show initramfs-tools

How are you building the kernel? Are you using kernel-package/make-kpkg?
Tim Binsted

2007-08-16, 1:13 pm

Paul Cupis wrote:

> Tim Binsted wrote:
>
> apt-cache show initramfs-tools
>
> How are you building the kernel? Are you using kernel-package/make-kpkg?


I have been trying to follow an (old?) Debian HOWTO from Falko Timme
(hhtp://www.falkotimme.com/howtos/debian_kernel2.6_compile)

I have built kernels before but straight from www.kernel.org and then
everything with the hand. But I want to try the "Debian way".
Tim Binsted

2007-08-16, 1:13 pm

Mumia W. wrote:

> deb http://www.backports.org/debian etch main contrib non-free


I have tried this in my sources.list and I always get the following error
after doing an aptitude update:
404 Not Found.

Mumia W.

2007-08-16, 1:13 pm

On 08/16/2007 09:44 AM, Tim Binsted wrote:
> Mumia W. wrote:
>
>
> I have tried this in my sources.list and I always get the following error
> after doing an aptitude update:
> 404 Not Found.
>


Oops, this should work:

deb http://www.backports.org/debian etch-backports main contrib non-free

Or even better, go to http://www.backports.org/ and read the information
on how to set up sources.list to use that service.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com