Re: Custom kernel and boot problems still...

1997-01-11 Thread Vatiainen Heikki
There's a package called 'kernel-package' that has Debian Linux kernel package 
build scripts in it. You can find kernel-package from section misc. Note that 
there might be a newer version in unstable than stable.

I'm attaching a previous mail from debian-user about the same question. 
Make-kpkg is one of the files in package kernel-package.

You wrote:
[cut]
> How hard is it to compile a kernel on Debian?  I suppose I will have
> to find out :)  TIA for any options or ideas!
[cut]

// Heikki




To: <[EMAIL PROTECTED]>
Cc: debian-user@lists.debian.org
Subject: Re: A few questions.
From: Manoj Srivastava <[EMAIL PROTECTED]>
Date: 08 Jan 1997 03:56:23 -0600

Hi,

About question 2:
>>"Jon" ==   <[EMAIL PROTECTED]> writes:


Jon> 2) I am use to directly building slackware kernals. Will
Jon> something like make config; make; make zImage; make zlilo; make
Jon> modules; make modules_install break any dependancy info? I
Jon> noticed make-kpkg; what options would be comparable to the makes
Jon> above?

The procedure would work, but leave no record with dpkg about
 the kernel being used. I like being able to use dpkg to track kernel
 images/sources and easy install/de-install.

The above sequence is equivalent to the excerpt from the
README file:
 
INSTALLATION NOTES:
 For the Brave and the impatient:
1% cd 
2% make config   # or make menuconfig or make xconfig and configure
3% make-kpkg -r=custom.1.0 kernel_image
4% dpkg -i ../kernel-image-X.XXX_1.0_.deb
5% shutdown -r now # If and only if LILO worked or you have a means of
   # booting the new kernel. YOU HAVE BEEN WARNED!!
Detailed instructions
 ...



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Custom kernel and boot problems still...

1997-01-11 Thread Syrus Nemat-Nasser
On Fri, 10 Jan 1997, Kendrick Myatt wrote:

> Hmmm...
> In my /etc/modules file I only have the following:
> #auto
> serial
> lp
> ne
> 
> However, each time I boot it is still going and polling for all the
> nic cards and CD-ROMs, which effectively hoses my LAN.  I tried modconf and
> according to it, nothing is loaded except the above.
> How hard is it to compile a kernel on Debian?  I suppose I will have
> to find out :)  TIA for any options or ideas!

Compiling your own custom kernel the the way to go.  You need to have the 
kernel source installed.  Then, you can use the following sequence of 
commands as root:

$ cd /usr/src/linux
$ make config
$ make dep ; make clean
$ make zImage

The last step creates a compressed kernel image in a subdirectory of 
/usr/src/linux (you'll see which one at the end of a successful 
compile).  "make config" is a primitive interactive script.  "make 
menuconfig" is a console/xterm menu-driven version, and "make xconfig" is 
a tcl/tk version of "make menuconfig".  The advantage of the latter two 
is that you can go back and change previous settings without starting 
over.

A great source of simple info about compiling kernels on linux, and 
configuring lilo to boot your kernel from the hard drive is the book 
_Running_Linux_ by Matt Welsh and Lar Kaufman.  A earlier version by 
Welsh, titled _Linux_Installation_and_Getting_Started_ should be freely 
available on the web in ps format.  I've also heard a rumor that someone 
is working on a new commercial version of this book which will include 
Debian-specific information.

Luck.  Syrus.

--
Syrus Nemat-Nasser <[EMAIL PROTECTED]>UCSD Physics Dept.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Custom kernel and boot problems still...

1997-01-11 Thread Kendrick Myatt
Hmmm...
In my /etc/modules file I only have the following:
#auto
serial
lp
ne

However, each time I boot it is still going and polling for all the
nic cards and CD-ROMs, which effectively hoses my LAN.  I tried modconf and
according to it, nothing is loaded except the above.
How hard is it to compile a kernel on Debian?  I suppose I will have
to find out :)  TIA for any options or ideas!

Regards,

Kendrick


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]