Re: [SLUG] Debian kernel question

2004-11-06 Thread Peter Chubb
 Steven == Steven Chang-Lin Yu [EMAIL PROTECTED] writes:

Steven Alan L Tyree wrote:
 I'm running Debian testing on one of my machines. If I just run
 
 apt-get install kernel-image-xxx-xxx
 
 does that install a new kernel completely or do I need to do other
 things to get it to run properly?

Just reboot.

Steven You need to edit GRUB or LILO to load up the new kernel image

This isn't necessary *unless*  you've edited lilo.conf to a
non-standard configuration.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
The technical we do immediately,  the political takes *forever*
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Debian kernel question

2004-11-05 Thread Alan L Tyree
I'm running Debian testing on one of my machines. If I just run

apt-get install kernel-image-xxx-xxx

does that install a new kernel completely or do I need to do other
things to get it to run properly?

Thanks for help,
Alan

-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian kernel question

2004-11-05 Thread Steven Chang-Lin Yu
Alan L Tyree wrote:
I'm running Debian testing on one of my machines. If I just run
apt-get install kernel-image-xxx-xxx
does that install a new kernel completely or do I need to do other
things to get it to run properly?
Thanks for help,
Alan
 

You need to edit GRUB or LILO to load up the new kernel image
--
Steven Chang-Lin Yu
http://requiemonline.tripod.com - Online Guide To Requiem
Celluar: +61 0401 043 641
Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian kernel question

2004-11-05 Thread Alan L Tyree
On Sat, 06 Nov 2004 12:55:04 +1100
Steven Chang-Lin Yu [EMAIL PROTECTED] wrote:

 Alan L Tyree wrote:
 
 I'm running Debian testing on one of my machines. If I just run
 
 apt-get install kernel-image-xxx-xxx
 
 does that install a new kernel completely or do I need to do other
 things to get it to run properly?
 
 Thanks for help,
 Alan
 
   
 
 You need to edit GRUB or LILO to load up the new kernel image

Thanks Steven,

 
 -- 
 Steven Chang-Lin Yu
 http://requiemonline.tripod.com - Online Guide To Requiem
 Celluar: +61 0401 043 641
 
 Reclaim Your Inbox!
 http://www.mozilla.org/products/thunderbird
 
 


-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian Kernel

2003-09-04 Thread Steve Kowalik
At  4:17 pm, Wednesday, September  3 2003, Nicholas Wilcox mumbled:
 It's actually saying to make sure you have the initrd=blah line in the
 kernel definition in your lilo.conf. Sometimes you can update the image
 parameter but forget to change the initrd parameter.
 
Well, I use GRUB, but having the image point to /vmlinuz, and the initrd to
/initrd.img has given me no problems so far.

Cheers,
-- 
   Steve
jaq how about MTBF?  scsi will once again rise high and rule with a metal
fist
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Debian Kernel

2003-09-02 Thread Bruce Badger
I have just upgraded my machine from stable to sarge (I specified sarge
in my sources so I stick with it when it becomes stable).  Apart from
the fact that Gnome is broken, things have gone quite smoothly so far.

I would like to use a more recent kernel.  I looked at the kernel
packages, and there are zillions of them!  I suppose it's a good way of
handling all the variety of targets for binary kernels, but it's a bit
of a shock when compared to all the other packages.

Anyway, I decided to go with  kernel-image-2.4.21-4-686.  I have a
single CPU PIII, so this kernel seemed like a good fit for me.  I did an
apt-get -d install (-d to download only) and apt decided to download
kernel-image-2.4.21-4-686-smp too.  I don't understand this.  The smp
kermal was not listed as a dependency for the non smp kernel.

So, would some kind soul please tell me:
o If the kernel I'm trying to install is a reasonable one to go for?
o Why I got the bonus SMP kernel?
o Will the bonus SMP kernel be installed too?
o If apt-get install will Do The Right Thing to make the non-SMP kernel
bootable?

Many thanks,
Bruce

-
Bruce Badger
OpenSkills.com


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian Kernel

2003-09-02 Thread Steve Kowalik
At  3:41 pm, Tuesday, September  2 2003, Bruce Badger mumbled:
 So, would some kind soul please tell me:
 o If the kernel I'm trying to install is a reasonable one to go for?

Indeed. 2.4.21-4-686 (or 2.4.21-5-686, at a pinch) is okay.

 o Why I got the bonus SMP kernel?

I'd need to see the output of apt-get to determine that.

 o Will the bonus SMP kernel be installed too?

You said to apt-get to only download. Therefore, I'm to assume you're going
to use dpkg -i to install it, in which case, no.

 o If apt-get install will Do The Right Thing to make the non-SMP kernel
 bootable?
 
Keep in mind if either or both kernels are installed, your machine will
remain bootable. SMP or non-SMP it will still boot. An SMP kernel is not
dependant on having more than one CPU.
That doesn't answer your question, however. If you use lilo, yes, installing
the .deb will do the Right Thing.

Cheers,
-- 
   Steve
I've lost my sig!
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian Kernel

2003-09-02 Thread Bruce Badger
On Tue, 2003-09-02 at 19:17, Steve Kowalik wrote:
 At  3:41 pm, Tuesday, September  2 2003, Bruce Badger mumbled:
  So, would some kind soul please tell me:
...
  o Why I got the bonus SMP kernel?
 
 I'd need to see the output of apt-get to determine that.

OK :-)

wally:~# apt-get -d install kernel-image-2.4.21-4.686
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  kernel-image-2.4.21-4-686 kernel-image-2.4.21-4-686-smp 
The following NEW packages will be installed:
  kernel-image-2.4.21-4-686 kernel-image-2.4.21-4-686-smp 
0 packages upgraded, 2 newly installed, 0 to remove and 0  not upgraded.
Need to get 22.3MB of archives. After unpacking 60.9MB will be used.
Do you want to continue? [Y/n] 
Get:1 ftp://ftp.iinet.net sarge/main kernel-image-2.4.21-4-686 2.4.21-4
[11.0MB]Get:2 ftp://ftp.iinet.net sarge/main
kernel-image-2.4.21-4-686-smp 2.4.21-4 [11.3MB]
Fetched 22.3MB in 14m11s
(26.2kB/s)
Download complete and in download only mode

  o Will the bonus SMP kernel be installed too?
 
 You said to apt-get to only download. Therefore, I'm to assume you're going
 to use dpkg -i to install it, in which case, no.

Well, I plan to use apt-get install without the -d this time.  Will that
work OK?

  o If apt-get install will Do The Right Thing to make the non-SMP kernel
  bootable?
  
 Keep in mind if either or both kernels are installed, your machine will
 remain bootable. SMP or non-SMP it will still boot. An SMP kernel is not
 dependant on having more than one CPU.
 That doesn't answer your question, however. If you use lilo, yes, installing
 the .deb will do the Right Thing.

Great, thanks.  In trying to understand why I got the bonus SMP kernel
(above) I used apt-get -d install to get kernel-image-2.4.20.3.686. 
This one came down *without* a bonus SMP package.

Then, when running the apt-get install again (to really install it) I
got this:

You are attempting to install an initrd kernel image (version
2.4.20-3-686) This will not work unless you have configured your boot
loader to use initrd. (An initrd image is a kernel image that expects to
use an INITial Ram Disk to mount a minimal root file system into RAM and
use that for booting).

This reads like back off unless you know what you are doing!.  But is
it really saying do remember to update lilo.conf, old bean?  Or is it
saying something else altogether?

Many thanks,
Bruce


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian Kernel

2003-09-02 Thread Steve Kowalik
At 10:43 pm, Tuesday, September  2 2003, Bruce Badger mumbled:
 wally:~# apt-get -d install kernel-image-2.4.21-4.686
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following extra packages will be installed:
   kernel-image-2.4.21-4-686 kernel-image-2.4.21-4-686-smp 
 The following NEW packages will be installed:
   kernel-image-2.4.21-4-686 kernel-image-2.4.21-4-686-smp 
 0 packages upgraded, 2 newly installed, 0 to remove and 0  not upgraded.
 Need to get 22.3MB of archives. After unpacking 60.9MB will be used.
 Do you want to continue? [Y/n] 
 Get:1 ftp://ftp.iinet.net sarge/main kernel-image-2.4.21-4-686 2.4.21-4
 [11.0MB]Get:2 ftp://ftp.iinet.net sarge/main
 kernel-image-2.4.21-4-686-smp 2.4.21-4 [11.3MB]
 Fetched 22.3MB in 14m11s
 (26.2kB/s)
 Download complete and in download only mode
 
Because you are installing 'kernel-image-2.4.21-4.686', which gets expanded
to both kernels. Install 'kernel-image-2.4.21-4-686', and you'll get only
686.

 Well, I plan to use apt-get install without the -d this time.  Will that
 work OK?
 
Keeping in mind the above information, it will work okay.

 Great, thanks.  In trying to understand why I got the bonus SMP kernel
 (above) I used apt-get -d install to get kernel-image-2.4.20.3.686. 
 This one came down *without* a bonus SMP package.
 
 Then, when running the apt-get install again (to really install it) I
 got this:
 
 You are attempting to install an initrd kernel image (version
 2.4.20-3-686) This will not work unless you have configured your boot
 loader to use initrd. (An initrd image is a kernel image that expects to
 use an INITial Ram Disk to mount a minimal root file system into RAM and
 use that for booting).
 
 This reads like back off unless you know what you are doing!.  But is
 it really saying do remember to update lilo.conf, old bean?  Or is it
 saying something else altogether?
 
It's saying do remember to update lilo.conf, or Bad Things Will Happen.
Like having an unbootable shiny new kernel.

Cheers,
-- 
   Steve
* vorlon installs ntop to look at the copyright file, and finds that he
  can't purge it because of a broken maintainer script. Heh.
luca vorlon: this is your punishment for questioning the Luca
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] debian kernel 2.4.21 with freeswan 2.00 and herberts patch

2003-07-17 Thread Adam Hewitt
Hi All,

I am trying to get freeswan working with the 2.4.21 debian kernel 
(which Herbert backported the 2.5 IPsec stack for), and I am having 
some problems.

As far as I understand it I need to get the freeswan-2.00.patch.gz file 
from http://gondor.apana.org.au/~herbert/debian/freeswan/

I checked the first couple of lines in that patch to find that it is 
looking at this file:
linux/include/freeswan/ipsec_kversion.h

I cant find this file anywhere on my system, nor can I find it in the 
packages.debian.org search engine.

Also, and I dont know whether this is important or not, but when I try 
and install freeswan 2.00 I get an error saying that it cannot find 
KLIPS in this kernel. I assume that is because freeswan needs to be 
patched before it can use the 2.5 IPSec stack.

Would someone mind giving me some idea on what I need to do to get this 
working?

Cheers,

Adam.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] debian kernel 2.4.21 with freeswan 2.00 and herberts patch

2003-07-17 Thread Alexander Samad
Damned western australians 


you need the freeswan-module-source packages, the patch is applied
agains this module.



On Thu, Jul 17, 2003 at 02:56:53PM +0800, Adam Hewitt wrote:
 Hi All,
 
 I am trying to get freeswan working with the 2.4.21 debian kernel 
 (which Herbert backported the 2.5 IPsec stack for), and I am having 
 some problems.
 
 As far as I understand it I need to get the freeswan-2.00.patch.gz file 
 from http://gondor.apana.org.au/~herbert/debian/freeswan/
 
 I checked the first couple of lines in that patch to find that it is 
 looking at this file:
 linux/include/freeswan/ipsec_kversion.h
 
 I cant find this file anywhere on my system, nor can I find it in the 
 packages.debian.org search engine.
 
 Also, and I dont know whether this is important or not, but when I try 
 and install freeswan 2.00 I get an error saying that it cannot find 
 KLIPS in this kernel. I assume that is because freeswan needs to be 
 patched before it can use the 2.5 IPSec stack.
 
 Would someone mind giving me some idea on what I need to do to get this 
 working?
 
 Cheers,
 
 Adam.
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Debian kernel source

2001-06-27 Thread Ken Foskey

 
 $ dpkg -S /usr/include/linux/version.h 
 libc6-dev: /usr/include/linux/version.h
 
 So on my Debian system that suggests that you need the development library
 sources for libc6.


One thing that irked me a little was that I installed the kernel source 
for DEB and it did not require GCC and GCC did not require the include 
libraries.

Strange
KenF


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug