[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel 2.4.17 and above for debian LINUX (upgraded to 2.4.18, !!network problem)



Hi,

Thanks for one more way do it.

But, now I have upgraded 2.2r5 to 2.4.18 kernel and I 
have options to select either of the kernel images.

New Problem :
When booted on 2.2.19 kernel ,This version is on network,I can
do a telnet to this machine from another machine.
But,
When booted on 2.4.18 kernel ,installed from kernel.org site.This version is NOT on network,I cannot do a telnet to this machine.

when I do a route add 
#route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0

Error Message :
SIOCADDRT: No such device

How do I configure this on network, any debian tool to be used.
Please advsise
Thanks and Regards
Deepak


bjb@achilles.net wrote
On Tue, Apr 30, 2002 at 04:11:40PM +0200, STOJICEVIC Edi EXPSIA wrote:
> Next, these are the steps to upgrade your kernel :
... some manual steps erased ...

I already have some Woody cds (from Testing:  _not_ official
stable)  Debian 3.0.

I just installed a 2.4.18 kernel that I compiled
from a kernel-source-2.4.18 package on the woody cds.
Debian provides the make-kpkg utility for doing this.
(Note that the Woody cds also have the 2.4.18 kernel
pre-compiled and you can just install it with
apt-get install kernel-image-2.4.18... - I needed some
custom modifications so had to compile).

First apt-get install packaging-manual (for info on debian packages)
Then apt-get install kernel-package (for the make-kpkg program)
Then apt-get install kernel-source-2.4.18

Then cd to /usr/src/kernel-source-2.4.18

Then run

make-kpkg --revision 1.01.Custom --added-modules extra-modules buildpackage
make-kpkg --revision 1.01.Custom --added-modules extra-modules modules
cd ..
dpkg-source -x kernel-source-2.4.18_1.00.Custom_all.dsc
dpkg -i kernel-headers-2.4.18_1.00.Custom_i386.deb
dpkg -i kernel-image-2.4.18_1.00.Custom_i386.deb
dpkg -i kernel-doc-2.4.18_1.00.Custom_all.deb

(I typed the above from memory, you might want to check before
you blindly copy this).
(Ah yes, before installing kernel-image you might want to
move aside your /lib/modules/2.4.18 directory if you
had one.)

Check the make-kpkg man page.

There is a _lot_ of output between commands.  Wait for each
command to finish before starting the next one.  The
"make-kpkg ... binary" can take hours if you have a PII, 300MHz
for instance.  Ok, I'm not sure exactly how long but more
than 1 hour.

"extra-modules" is whatever other modules you want to compile/install
at the same time.

I'm sure I've forgotten steps etc. but this is the broad
outline (and those are the packages you'll need).

Good luck with your project.  Better yet, have fun.

----

I was thinking of putting the kernel-*-2.4.18_1.01.Custom*
packages into a directory, and telling apt to look there
using the file uri, but haven't completely researched
it yet (need the format of a Debian archive - woody-style
with the "pool" - not sure how to place files in there).

I'd also like to know how to create my own source package
(I have a module (which is just a .c file) for some
hardware that I'd like to pack up into a debian package
and then install).  I guess that would involve writing
install and rm scripts... no big deal, there's just one
.o file but I'm out of time on this project.

Pointers welcome!

-- 
bjb@achilles.net
Welcome to the GNU age!   http://www.gnu.org


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: