LinuxQuestions.org
Help answer threads with 0 replies.
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 02-19-2004, 01:38 AM   #1
blockme
LQ Newbie
 
Registered: Feb 2004
Location: Old Europe
Distribution: Debian Sarge/Sid
Posts: 29

Rep: Reputation: 15
Question Questions regarding upgrade to 2.6.2


Hello,

I was messing around a bit and tried to update my kernel from 2.4.23 / 2.4.22 to 2.6.2....

now i have some questions about it:

1. Is it easier to use the precompiled binary e.g. kernel-image-2.6.2-1-686-smp to install then recompiling?

2. When i am installing the new kernel (dpkg) it seems that the old kernel is throwing more error messages than before. the old kernel will have problems locating some modules even they're still there.

3. when running a make-kpkg clean i wont be able to compile the kernel with this tool. i have to start a single "make" and cancel it. then make-kpkg will work again. is this due a mistake in configuration?

4. mouse behaviour is different all the time i am trying a new upgrade. sometimes i do not have a mouse (all options about ps/2 enabled) other times the mouse will go crazy due double entries in XF86-Config-4.... what do i have to take care when upgrading?

5. is there a good FAQ/Upgrade information around for debian? i havent found anything like this.

6. how do i get a current list of my current chipsets (USB, Board, PCI, Kernel, IDE or whatever and so on) and how to know the correct module for it? is there an translation list or smth like this?
lspci, lsmod?? what about isdn / usb and such?


Thanks for help.

Last edited by blockme; 02-19-2004 at 01:55 AM.
 
Old 02-19-2004, 04:37 AM   #2
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
This should get you started.

http://www.desktop-linux.net/debkernel.htm
 
Old 02-19-2004, 04:57 AM   #3
blockme
LQ Newbie
 
Registered: Feb 2004
Location: Old Europe
Distribution: Debian Sarge/Sid
Posts: 29

Original Poster
Rep: Reputation: 15
thanks this looks great. even patches are explained...

but: on this page they are not using --append_to_version and --initrd options for make_kpkg??? modules_image is missing, too (modules wont be installed???)

and what about system.map?? do i have to include it into lilo.conf somehow?

am i able to use 2.4.23 kerlen AND 2.6.2 kernel with boot menu?

initrd seems to miss completely? do i need it? or will it work w/o

thanks for information :-)
 
Old 02-19-2004, 07:55 AM   #4
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
I don't use initrd. It is a option under device->block devices.
System.map is part of the make-pkg process.
It is not only possible to have both the 2.4.x and 2.6.x in the same menu but have different distros listed from diffenent partitiions, ie.

default=Linux2.6

image=/boot/vmlinuz
vga=773
label=Linux2.6
read-only

image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
read-only

image=/slack/vmlinuz
root=/dev/hda3
label=Slack2.6
read-only

image=/slack/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi nosmp apm=off apci=off"
root=/dev/hda3
label=Slack2.4
read-only

But personally I use the following, I do it the normal way. It is all up to you.:

For building the 2.6 kernel

Take and read the following:

http://www.linux.org.uk/~davej/docs/...loween-2.6.txt

You need to get the module-init-tools.

cp linux-2.6.2.tar.gz /usr/src
tar jfx linux-2.6.2.tar.gz
ln -sf linux-2.6.2 linux
cd linux

Use lspci -v to help select your hardware. This will be helpful for configuring the 2.6 kernel.

make mrproper
make menuconfig
make
make modules_install
make install

Then modify you lilo.conf or grub.txt

make install installs vmlinuz into the boot directory along with System.map
It creates a symbolic link to you old vmlinuz -> vmlinuz.old and System.old

All you need to do is add entry for the old vmlinuz. I use lilo.conf

This is mine....

image=/boot/vmlinuz
label=Linux2.6
read-only

** This would be you redhat config. **
image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
read-only

If you are using lilo, issue lilo -v or modify you menu.lst for grub.

Hope this helps. The more people use 2.6 the better.
 
Old 02-19-2004, 08:20 AM   #5
blockme
LQ Newbie
 
Registered: Feb 2004
Location: Old Europe
Distribution: Debian Sarge/Sid
Posts: 29

Original Poster
Rep: Reputation: 15
thanks for answer.

ive read that you can specify a map within lilo config. if you wont specify the map lilo will use /boot/map as standard.
make-kpkg wont install lilo (it will mess it up when installing with dpkg)

what is system.map for? and is it the thing mentioned in lilo.conf manual? (man lilo.conf)
within your examples you aren't using a system.map.
 
  


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
Some before-I-upgrade questions knobdy SUSE / openSUSE 5 10-24-2005 11:56 AM
questions after upgrade of RH 7.3 ergo_sum Linux - Newbie 2 05-03-2005 12:08 PM
upgrade questions Dosnerd90 Amigo 2 04-02-2005 02:46 PM
Upgrade questions saxophobe Linux - Newbie 2 11-26-2003 08:00 AM
Distro Upgrade Questions wrc1944 Linux - Newbie 6 10-17-2002 11:40 AM

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

All times are GMT -5. The time now is 09:51 AM.

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