LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-17-2004, 06:37 PM   #1
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
Switching to 2.6.7 in Slackware 10


I have a fresh install of Slackware 10. My Shuttle AN35N motherboard is nforce2 Ultra 400 based causing the well-known onboard ethernet and onboard sound problems. Rather than using the nVidia drivers with the default 2.4.26 kernel, I want to move to the 2.6.7 kernel included in /testing.

What steps do I take to move to this kernel (from the 2 distribution CDs)?

For Audio I plan to use ALSA (snd_intel8x0). For network I plan to use forcedeath.

Thanks
 
Old 08-17-2004, 07:29 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
(with Linux 2.6.7 as an alternate choice in /testing).
the i8x0 module is probably included.
You can also take the sources here: http://kernel.org/
 
Old 08-17-2004, 08:33 PM   #3
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 415

Rep: Reputation: 85
Cool

Patrick V made it easy - just go to /testing/packages/linux-2.6.7 and use pkgtool to install everything except the kernel-headers package, then reboot into the 2.6.7 kernel.

You probably won't need an initrd, but be sure to read the README.initrd file (also in the same directory) just in case you do.

Have fun!
 
Old 08-17-2004, 08:41 PM   #4
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
Quote:
Originally posted by Ozar
Patrick V made it easy - just go to /testing/packages/linux-2.6.7 and use pkgtool to install everything except the kernel-headers package, then reboot into the 2.6.7 kernel.

You probably won't need an initrd, but be sure to read the README.initrd file (also in the same directory) just in case you do.

Have fun!
Don't you still need to run lilo or is it done by the install script? (I am on 2.6.7 but I did it by hand.)
 
Old 08-17-2004, 09:00 PM   #5
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 415

Rep: Reputation: 85
If I remember correctly, Patrick set it up with a symlink from vmlinuz pointing the new kernel, so that a LILO command isn't necessary. It should be ready to go after installing the testing packages.

It wouldn't be a bad idea though to check the /boot directory and make certain that vmlinuz is indeed pointing to 2.6.7 and that your lilo.conf file boots using vmlinuz as the kernel entry.

If it's not that way, make any necessary adjustments.
 
Old 08-17-2004, 09:26 PM   #6
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Ozar
Patrick V made it easy - just go to /testing/packages/linux-2.6.7 and use pkgtool to install everything except the kernel-headers package, then reboot into the 2.6.7 kernel.

You probably won't need an initrd, but be sure to read the README.initrd file (also in the same directory) just in case you do.

Have fun!
Cool, a couple more questions, if I may:

Why don't I install the kernel-headers package?

Regarding initrd: is it correct that initrd composes a very basic system for loading the kernel into? If so, I would only need a new one if 2.6.7 needs something different than 2.4.X?

Is there any chance of conflicts between 2.4.X kernel modules and 2.6.7 modules? Or does the install take care of this?

Thanks !
 
Old 08-17-2004, 10:16 PM   #7
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 415

Rep: Reputation: 85
Regarding kernel headers, if you should decide to stick with the 2.4 kernel, the 2.6 headers could become problematic once installed. They can be added later, if needed.

The initrd image is used as an initial ramdisk to load scsi and/or ext3 filesystem support at system boot if they were compiled into the kernel as modules. Don't make/use one if you don't need it.

I've heard others say that conflicts did arise when they tried to maintain 2.4 and 2.6 kernels on the same installation and then tried to switch back and forth between the two.

Once you know the 2.6 kernel is working properly, you can delete all the 2.4 kernel files in the /boot directory and the 2.4 modules in /lib/modules/ if you wish, but take care when doing this so that you don't delete any important files.

Have fun, and let us know how it goes!

Last edited by ozar; 08-17-2004 at 10:17 PM.
 
Old 08-17-2004, 11:15 PM   #8
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Original Poster
Rep: Reputation: 15
<Posting from lynx because X isn't working yet >

I was surprised when I got home tonight, that forcedeth was already loaded as a module. I had to rmmod/insmod it to get the eth to come up, but it seems to work now.

I'm going to work on sound now, if I get that to work with the 2.4 kernel, I'm defering going to 2.6.

Thanks for the help !
 
Old 08-17-2004, 11:23 PM   #9
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Quote:
Originally posted by Skazi
Cool, a couple more questions, if I may:

Why don't I install the kernel-headers package?

Regarding initrd: is it correct that initrd composes a very basic system for loading the kernel into? If so, I would only need a new one if 2.6.7 needs something different than 2.4.X?

Is there any chance of conflicts between 2.4.X kernel modules and 2.6.7 modules? Or does the install take care of this?

Thanks !
Kernel Headers: I remember reading somewhere that headers need to match not the kernel, but the libs and binaries which were compiled against those headers. How much truth is in it, I dont know.

There is almost not chance of 2.4 and 2.6 modules conflicting. They are in different dirs and have different extensions: 2.4 has .o, 2.6 has .ko.

There is only one point of conflict as I see it: System.map file. It holds a map of modules for a particular kernel. There doesn't seem to be a way to have one of many System.map files chosen at lilo.
 
Old 08-18-2004, 01:08 AM   #10
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Original Poster
Rep: Reputation: 15
Got everything working with 2.4.26:

sound: seems like ALSA was all setup, just needed to unmute and adjust volume with alsamixer

network: I noticed that the forcedeth kernel module was already loaded. After doing rmmod/insmod of the module seemed to fix

Last edited by Skazi; 08-18-2004 at 01:14 AM.
 
Old 09-28-2004, 01:29 PM   #11
stigfjel
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware, FreeBSD
Posts: 7

Rep: Reputation: 0
I also tried to install kernel 2.6.7 from /testing at disk 2 in slackware 10, but I got som problems. I use a SCSI-disk as my system disk, and I followed the instructions from README.initrd. It didn't work. The filesystem on my system disk is ext3. I don't know what to do. Can anyone help me?
This is my hardware(I will just write up the essential components):
P4C 3.0 GHz NW
Asus P4C800-E Deluxe
Adaptec 39160 SCSI-controller
ATI Radeon X800 Pro

Last edited by stigfjel; 09-28-2004 at 01:35 PM.
 
  


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
Switching to Slackware 10.? ??? chemichael Slackware 8 11-30-2005 10:31 PM
Switching from Slackware to Debian Eklipz Debian 6 12-06-2004 05:37 PM
Switching from Slackware to Gentoo? NonSumPisces Linux - Distributions 6 07-12-2004 12:04 PM
installed slackware 9.1 - switching from suse - help tw001_tw Slackware 5 05-26-2004 11:21 AM
switching to slackware? Pathian Slackware 13 02-26-2004 08:53 AM

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

All times are GMT -5. The time now is 11:35 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