Re: upgrade debian kernal

2004-04-17 Thread S.D.A.
On Sat, Apr 17, 2004 at 12:42:01AM -0500 or thereabouts, Kent West wrote:
 S.D.A. wrote:
 
 On Wed, Apr 14, 2004 at 07:21:11PM -0500 or thereabouts, Kent West wrote:

 Apologies if this has been done before, but if it has, I surely can't
 
 I've never had to do anything extra _except_ add the initrd line to
 lilo.conf.
 
 When you apt-get install kernel-image-2.4-blahblah, it should warn you about
 this; at this point, if I haven't already done so on a previous kernel
 upgrade, I let that sit and hope over to a different VT or terminal window,
 and edit /etc/lilo.conf, like so:

It tells one to add that line, but it could be clearer as to exactly where.
Something you've done. Thanks.

 image=/vmlinuz
 label=Linux
 read-only
 initrd=/initrd.img
 append=hdc=ide-scsi
 #   restricted
 #   alias=1
 
 Notice the single line that says initrd=/initrd.img; this is the only 
 line I have to add, and I don't believe it matters where in the stanza 
 it goes. Then I save the file and hop back to my kernel installation and 
 tell it to continue. As part of the installation, it runs lilo so I 
 don't have to. Note also that this line is only needed with kernels that 
 were built to use an _init_ial _r_am _d_isk, which most official Debian 
 kernels are, I believe.
 Kent

So that's it, besides running Lilo? I wonder why, those two steps, don't tend to
work for me, when upgrading from the 2.2.* image from stable. :\

-- 
Steve
+
  Saturday Apr 17 2004 10:26:02 AM EDT
+
***
  ***
 *
 ** Confucious say: Is stuffy inside fortune cookie.
  ***
***


pgp0.pgp
Description: PGP signature


Re: upgrade debian kernal

2004-04-16 Thread Kevin Mark
On Thu, Apr 15, 2004 at 10:16:58AM +1000, Chris Lowe wrote:
 I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3. I
 would like to use menuconfig to build the kernel.  I am new to debian
 and have never compiled my own kernel before. What tools will I need to
 install/update before I can build the kernel?
  
 Thanks 
 Chris Lowe
  
Hi Chris,
there are pre-compiled version of 2.6.
do:
apt-cache search kernel-image|grep 2\.6|more
-Kev


signature.asc
Description: Digital signature


Re: upgrade debian kernal

2004-04-16 Thread S.D.A.
On Wed, Apr 14, 2004 at 07:21:11PM -0500 or thereabouts, Kent West wrote:
 Chris Lowe wrote:
 
 I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3. 
 I would like to use menuconfig to build the kernel.  I am new to 
 debian and have never compiled my own kernel before. What tools will I 
 need to install/update before I can build the kernel?
 
 
 If you're just wanting to upgrade to kernel 2.6.3, there's no need to 
 recompile (assuming you're running sid at least, and maybe earlier 
 versions). Just
apt-get install kernel-image-2.6.3-686
 (assuming a Pentium Pro or newer). You can see other available kernel 
 versions with
apt-cache search kernel-image

Hi Kent:

Not the OP, but I'd like to jump in, to clarify something for myself. :)

It seems to me, that there is more to installing a binary kernel image, if one
is going from the 2.2.x kernel in Woody, to a newer one.

Could someone detail the steps, say going from 2.2.x to  2.4.x. I mean, doesn't
one have to run lilo, make sure mod tools are installed, etc.?

I always get confused on the add such n such a stanza, to one's lilo. It doesn't
really say what line to put it on, etc. So speaking for myself, (but I'm sure
others would be interested to) it would be nice for someone to list the steps in
detail. Apologies if this has been done before, but if it has, I surely can't
find it.

Thanks.

-- 
Steve
+
  Friday Apr 16 2004 11:26:01 PM EDT
+
Your lucky color has faded.


pgp0.pgp
Description: PGP signature


Re: upgrade debian kernal

2004-04-16 Thread Adam Aube
Kevin Mark wrote:

 On Thu, Apr 15, 2004 at 10:16:58AM +1000, Chris Lowe wrote:
 I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3.

 there are pre-compiled version of 2.6.

Not in 3.0 (Woody) there aren't. There are backports available, but they are
not in the standard package sources.

Chris: To answer your original question - you will need module-init-tools to
use the new module setup in the 2.6 kernel series, gcc to compile the
kernel, and libncurses5-dev for make menuconfig.

Get module-init-tools from www.backports.org; the rest are available from
your preferred Debian mirror.

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-16 Thread Kent West
S.D.A. wrote:

On Wed, Apr 14, 2004 at 07:21:11PM -0500 or thereabouts, Kent West wrote:
 

Chris Lowe wrote:

   

I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3. 
I would like to use menuconfig to build the kernel.  I am new to 
debian and have never compiled my own kernel before. What tools will I 
need to install/update before I can build the kernel?

 

If you're just wanting to upgrade to kernel 2.6.3, there's no need to 
recompile (assuming you're running sid at least, and maybe earlier 
versions). Just
  apt-get install kernel-image-2.6.3-686
(assuming a Pentium Pro or newer). You can see other available kernel 
versions with
  apt-cache search kernel-image
   

Hi Kent:

Not the OP, but I'd like to jump in, to clarify something for myself. :)

It seems to me, that there is more to installing a binary kernel image, if one
is going from the 2.2.x kernel in Woody, to a newer one.
Could someone detail the steps, say going from 2.2.x to  2.4.x. I mean, doesn't
one have to run lilo, make sure mod tools are installed, etc.?
I always get confused on the add such n such a stanza, to one's lilo. It doesn't
really say what line to put it on, etc. So speaking for myself, (but I'm sure
others would be interested to) it would be nice for someone to list the steps in
detail. Apologies if this has been done before, but if it has, I surely can't
find it.
Thanks.

 

I've never had to do anything extra _except_ add the initrd line to 
lilo.conf.

When you apt-get install kernel-image-2.4-blahblah, it should warn you 
about this; at this point, if I haven't already done so on a previous 
kernel upgrade, I let that sit and hope over to a different VT or 
terminal window, and edit /etc/lilo.conf, like so:

image=/vmlinuz
label=Linux
read-only
initrd=/initrd.img
append=hdc=ide-scsi
#   restricted
#   alias=1
Notice the single line that says initrd=/initrd.img; this is the only 
line I have to add, and I don't believe it matters where in the stanza 
it goes. Then I save the file and hop back to my kernel installation and 
tell it to continue. As part of the installation, it runs lilo so I 
don't have to. Note also that this line is only needed with kernels that 
were built to use an _init_ial _r_am _d_isk, which most official Debian 
kernels are, I believe.

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-15 Thread Paul Johnson
Chris Lowe [EMAIL PROTECTED] writes:

 I am running debian base 3.0r0 and I need to upgrade to kernel
 2.6.3. I would like to use menuconfig to build the kernel.  I am new
 to debian and have never compiled my own kernel before. What tools
 will I need to install/update before I can build the kernel?

Get kernel-package and kernel-source-version.  Follow the
instructions in /usr/share/doc/kernel-package/ (mirrored at
http://ursine.ca/cgi-bin/dwww?type=filelocation=/usr/share/doc/kernel-package) 
-- 
Paul Johnson
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: upgrade debian kernal

2004-04-15 Thread Wolfgang Pfeiffer
On Thu, 2004-04-15 at 02:16, Chris Lowe wrote:
 I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3.
 I would like to use menuconfig to build the kernel.  I am new to
 debian and have never compiled my own kernel before. What tools will I
 need to install/update before I can build the kernel?

  [ ... ]

I wrote some lines on how to do that on a Debian system:
http://www.geocities.com/wolfgangpfeiffer/kernel.html

You'll find there only the actual commands you'll need to build a kernel
the debian way, plus some hints on docs that are useful for
understanding what actually is done with these commands. Or that's at
least what I'm hoping for.
Should work, as I hope, on a x86 machine, too: I learned this stuff on
ppc.

And yes: Comments on how useful this page is are extremely welcome 
:)

HTH

Good luck
Wolfgang
-- 
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



upgrade debian kernal

2004-04-14 Thread Chris Lowe








I am running debian base 3.0r0 and
I need to upgrade to kernel 2.6.3. I would like to use menuconfig
to build the kernel. I am new to debian and have never compiled my own kernel before. What
tools will I need to install/update before I can build the kernel?



Thanks 

Chris Lowe










Re: upgrade debian kernal

2004-04-14 Thread Kent West
Chris Lowe wrote:

I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3. 
I would like to use menuconfig to build the kernel.  I am new to 
debian and have never compiled my own kernel before. What tools will I 
need to install/update before I can build the kernel?

If you're just wanting to upgrade to kernel 2.6.3, there's no need to 
recompile (assuming you're running sid at least, and maybe earlier 
versions). Just
   apt-get install kernel-image-2.6.3-686
(assuming a Pentium Pro or newer). You can see other available kernel 
versions with
   apt-cache search kernel-image

If you're really asking about compiling a kernel, it's been too long 
since I've done so, so I'll let others address that.

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-14 Thread Aurel
Hi Kris,

First if you recompile your kernel, you can choose a 2.6.5 (why a
2.6.3?! weird). Anyway, it's the same.
As Kent say you can see available versions with apt-cache search
kernel-image.
Then, do  'apt-get install kernel-package' to install some tools you'll
need to compile your new kernel using the Debian way (simplier).
go to /usr/src and unpack kernel sources.

cd your_source_directory (usually just linux)

make menuconfig
make-kpkg --revision=MyKernel.1 kernel_image
take a break.

cd ..
dpkg -i kernel-image*
run lilo -v (just to be sure)

reboot

go to: http://www.digitalhermit.com/~kwan/kernel.html to read the kernel
HowTo (you can also do that in first!)
Aurel

Kent West wrote:

Chris Lowe wrote:

I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3. 
I would like to use menuconfig to build the kernel.  I am new to 
debian and have never compiled my own kernel before. What tools will 
I need to install/update before I can build the kernel?

If you're just wanting to upgrade to kernel 2.6.3, there's no need to 
recompile (assuming you're running sid at least, and maybe earlier 
versions). Just
   apt-get install kernel-image-2.6.3-686
(assuming a Pentium Pro or newer). You can see other available kernel 
versions with
   apt-cache search kernel-image

If you're really asking about compiling a kernel, it's been too long 
since I've done so, so I'll let others address that.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-14 Thread Matt Kirchhoff
On Wed, 14 Apr 2004 19:21:11 -0500, Kent West wrote:

 Chris Lowe wrote:
 
 I am running debian base 3.0r0 and I need to upgrade to kernel 2.6.3. 
 I would like to use menuconfig to build the kernel.  I am new to 
 debian and have never compiled my own kernel before. What tools will I 
 need to install/update before I can build the kernel?

 
 If you're just wanting to upgrade to kernel 2.6.3, there's no need to 
 recompile (assuming you're running sid at least, and maybe earlier 
 versions). Just
 apt-get install kernel-image-2.6.3-686
 (assuming a Pentium Pro or newer). You can see other available kernel 
 versions with
 apt-cache search kernel-image
 
 If you're really asking about compiling a kernel, it's been too long 
 since I've done so, so I'll let others address that.

Since you're running Woody, you'll need to find a backported kernel-image
for 2.6. Try searching www.backports.org (and look through the list
archives in recent weeks; there's been lots of discussion thus).

As for custom compilation, see the following:
http://newbiedoc.sourceforge.net/system/kernel-pkg.html

-- 
Matt Kirchhoff
Have you checked the Wiki today?
http://wiki.debian.net



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-14 Thread s. keeling
Incoming from Aurel:
 Hi Kris,
 
 First if you recompile your kernel, you can choose a 2.6.5 (why a
 2.6.3?! weird). Anyway, it's the same.
 As Kent say you can see available versions with apt-cache search
 kernel-image.
 
 Then, do  'apt-get install kernel-package' to install some tools you'll
 need to compile your new kernel using the Debian way (simplier).
 
 go to /usr/src and unpack kernel sources.
 
 cd your_source_directory (usually just linux)
 
 make menuconfig
 make-kpkg --revision=MyKernel.1 kernel_image

make-kpkg  --revision=MyKernel.1 kernel_image modules_image

 take a break.
 
 cd ..
 dpkg -i kernel-image*

and dpkg -i modules-image*

 run lilo -v (just to be sure)
 
 reboot


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)   http://www.spots.ab.ca/~keeling 
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-14 Thread Bill Moseley
On Wed, Apr 14, 2004 at 07:15:31PM -0600, s. keeling wrote:
  make menuconfig
  make-kpkg --revision=MyKernel.1 kernel_image
 
 make-kpkg  --revision=MyKernel.1 kernel_image modules_image

Assuming there's something in /usr/src/modules, right?
Like pcmcia-cs?  Or is pcmcia-cs now in 2.6?

-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-14 Thread Aurel
Bill Moseley wrote:

On Wed, Apr 14, 2004 at 07:15:31PM -0600, s. keeling wrote:
 

make menuconfig
make-kpkg --revision=MyKernel.1 kernel_image
 

make-kpkg  --revision=MyKernel.1 kernel_image modules_image
   

Assuming there's something in /usr/src/modules, right?
Like pcmcia-cs?  Or is pcmcia-cs now in 2.6?
 

yep, otherwise no need to add modules_image

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrade debian kernal

2004-04-14 Thread Kent West
Matt Kirchhoff wrote:

On Wed, 14 Apr 2004 19:21:11 -0500, Kent West wrote:

 

Chris Lowe wrote:

   

I am running debian base 3.0r0
 

assuming you're running sid at least

Since you're running Woody

Well, duh! I was paying close attention, huh?

Ignore me; I'm an idiot.

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]