LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-22-2004, 10:46 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Upgrade kernel - advice?


I apt-cache searched here and found this image suitable for upgrading:

kernel-image-2.6.8-1-k7 - Linux kernel image for version 2.6.8 on AMD K7

I am using currently 2.6.5-1-k7.

I want to be advised on:

Will I need to reconfigure modules/drivers?

Does upgrading kernel also upgrades modules? will apt take care of modules compatibility?

Do I need to reconfigure X?

Do I need to edit lilo's conf files?

Thank you!
 
Old 09-22-2004, 11:26 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Updating the kernel you may have to install modules for that kernel. If you had to added something special. ( i.e Nvidia ).

You still have your old kernel. So if it doesn't work for some reason, you can simply reboot into your old kernel and try to fix it. Kernels are only removed when you uninstall them yourself.

Your only updating a patch level witch usually works very easily.

X Config shouldn't require and changes at all.

lilo should be updated for you.
 
Old 09-23-2004, 08:00 AM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Original Poster
Rep: Reputation: 46
Hi leonscape, thank you!

"Updating the kernel you may have to install modules for that kernel. If you had to added something special. ( i.e Nvidia )."

I do have an nvidia card, but I use the old nv driver, no big deal. I didn't compiled/installed the new nvidia driver, as I don't play any game or stuff like that.

The only "non standard" hardware I have is a tv/radio card, but it uses the bttv driver, which is also no big deal. I read somewhere this driver is compiled inside any modern kernel.

My current install was a woody that I apt dist-upgraded to sid. It replaced kernel 2.2*idepci with a 2.6.5.1-k7. I have no problems loading modules for my hardware now. Will I have with 2.6.8.1-k7? Do you believe so?

The rest is a abit kg7 mboard, ethernet 8139, seagate and samsung hardidsks, lg dvd, matshita cdrw, standard floppies, sblive!, via apollo, via 686a.


"You still have your old kernel. So if it doesn't work for some reason, you can simply reboot into your old kernel and try to fix it. Kernels are only removed when you uninstall them yourself."

Cool. Just like the dist-upgrade didn't erase the old 2.2.*idepci. But, how do I edit lilo to boot the old kernel, in case I need it? The only editable files in /boot are the /boot/map, /boot/config-2-2*idepci and /boot/config-2.6.5-1.k7. I mean, does lilo have something like grub's menu.lst?
 
Old 09-23-2004, 02:55 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Lilo uses /etc/lilo.conf, you can edit the options there. Then run /sbin/lilo for the changes to take effect.

Grub is available for Debian as well.

Quote:
My current install was a woody that I apt dist-upgraded to sid. It replaced kernel 2.2*idepci with a 2.6.5.1-k7. I have no problems loading modules for my hardware now. Will I have with 2.6.8.1-k7? Do you believe so?
You shouldn't have any problems at all.
 
Old 09-23-2004, 03:25 PM   #5
amyloid
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 10

Rep: Reputation: 0
FYI:

I use the 2.6.8 kernel, and it was my first experience with 2.6 It's great!

But, there is a minor bug that may be an issue:
no cdrecording in a non-root account.

See news at-
www.k3b.org

I know there are patches circulating for this, but they might not work on debian source, although I've never tried.
 
Old 09-23-2004, 06:29 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by amyloid
FYI:

I use the 2.6.8 kernel, and it was my first experience with 2.6 It's great!

But, there is a minor bug that may be an issue:
no cdrecording in a non-root account.

See news at-
www.k3b.org

I know there are patches circulating for this, but they might not work on debian source, although I've never tried.
There is no need to patch k3b the latest version (0.11.16-1) in unstable is already updated with the fix.
 
Old 09-23-2004, 06:36 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by bruno buys
Hi leonscape, thank you!

The only "non standard" hardware I have is a tv/radio card, but it uses the bttv driver, which is also no big deal. I read somewhere this driver is compiled inside any modern kernel.
It is included in the Debian kernels I tried the only problem I had is having to use modprobe bttv card=?? tuner=?? either manually or the way I finally do it now is at the bottom of the /etc/init.d/bootmisc.sh it never seems to get detected properly any other way.
Quote:
My current install was a woody that I apt dist-upgraded to sid. It replaced kernel 2.2*idepci with a 2.6.5.1-k7. I have no problems loading modules for my hardware now. Will I have with 2.6.8.1-k7? Do you believe so?
The modules should continue to load as always.

Quote:
Cool. Just like the dist-upgrade didn't erase the old 2.2.*idepci. But, how do I edit lilo to boot the old kernel, in case I need it? The only editable files in /boot are the /boot/map, /boot/config-2-2*idepci and /boot/config-2.6.5-1.k7. I mean, does lilo have something like grub's menu.lst?
There is no need to edit lilo when you install the new kernel with apt/dpkg everything is taken care of automatically and the links are updated for the /vmlinuz and /initrd.img of the new kernel and the old kernel is moved to links for booting as a backup.
 
Old 09-23-2004, 06:46 PM   #8
amyloid
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 10

Rep: Reputation: 0
Thanks for the info. I gotta get it asap.

peace,
Steve
 
Old 09-23-2004, 08:56 PM   #9
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Original Poster
Rep: Reputation: 46
This is great news. I'll manage to get 2.6.8 here.

So, the clear it up, k3b works ok with 2.6.8, in the end?

And my tv card is set when i do:

modprobe bttv radio=1 card=37 # this is code for 'pixel view play tv pro'
modprobe tuner type=2 # code for tuner philips ntsc
 
Old 09-23-2004, 10:33 PM   #10
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Original Poster
Rep: Reputation: 46
Running 2.6.8 ok!

No need to edit lilo stuff, no modules, no anything.
I just apt-getted install kernel-image etc etc...

And rebooted. Hw keeps working as usual.

Cool!
Thanks everybody for your assistance!
 
Old 09-24-2004, 04:21 PM   #11
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Original Poster
Rep: Reputation: 46
Run into the k3b not working on non-root with 2.6.8 issue. Did you guys fix it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Upgrade Advice HighLife Linux - Newbie 3 09-14-2005 11:08 PM
Redhat 7.2 upgrade/security advice stoke Red Hat 2 03-21-2005 05:29 AM
Hardware upgrade advice EnVoy Linux - Hardware 3 11-20-2003 01:06 AM
General Debian Upgrade Advice mudelf Linux - General 2 10-27-2003 06:13 AM
Hardware Upgrade Advice KungFuHamster General 11 10-09-2003 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration