LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-08-2003, 08:46 AM   #1
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
adaptec.s kernel upgrade for slackware?


I just built a new system that has aic7889 scsi contoller. It is an SMP box and I will have to re-build the kernel to support the smp, anyway here is my question when I update 2.4.22 to .23, i plan on grabbing the "adaptec.s" ".config" for .23 but i don't have much experience with aic and scsi on linux so I have a few questions.


On my ide system, I would just go to slackware-current, grab


kernel-source-2.4.23-noarch-2.tgz
kernel-headers-2.4.23-i386-1
kernel-ide-2.4.23-i486-1
kernel-modules-2.4.23-i486-1

and just "upgradepkg", lilo and reboot and I'm done.

This is from slack
Quote:
Use upgradepkg to install the new kernel, kernel-modules, and alsa packages.
After installing the kernel-ide package you will need to run lilo ('lilo' at
a command prompt) or create a new system boot disk ('makebootdisk'), and
reboot.

If desired, a kernel from the kernels/ directory may be used instead. For
example, to use the kernel in kernels/scsi.s/, you would copy it to the
boot directory like this:

cd kernels/scsi.s
cp bzImage /boot/vmlinuz-scsi.s-2.4.23

Create a symbolic link:
ln -sf /boot/vmlinuz-scsi.s-2.4.23 /boot/vmlinuz

Then, run 'lilo' or create a new system boot disk and reboot.
So, in my case I would use the "adaptec.s" kernel. but do I still need the "headers & modules" packages?

What is the best way to get multiple kernels to boot? Using symlinks? It seems that /lib/mod<blahblahblah> gets confused with multiple kernels. Should I be using several sym's to point to one another?

Last question, what exactly does System.map do? Any good reads out there about it.

thx,
 
Old 12-09-2003, 03:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If you are about to build a custom kernel
you will only need the vanilla-source ...


Cheers,
Tink
 
Old 12-09-2003, 07:58 PM   #3
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
When you install the new kernel it should update /lib/modules appropiately. Everything for the new kernel, if it's a different version, goes under it's own directory. This is done automatically when you install the modules from the source tree. Like so:

Code:
DaHammer@slack:/lib/modules$ ls -l
total 12
drwxr-xr-x    4 root     root         4096 Nov 26 04:19 2.4.22/
drwxr-xr-x    3 root     root         4096 Nov 26 16:35 2.6.0-test10/
drwxr-xr-x    3 root     root         4096 Dec  1 22:02 2.6.0-test11/
 
  


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
Slackware 10.2; Adaptec 2410SA; WD2500JS X3; Linux 2.6.14.2; Kernel (and user) Panic! Killer Bassist Linux - Hardware 13 11-29-2005 10:55 AM
Slackware Kernel upgrade carlosinfl Slackware 8 06-18-2005 12:33 AM
Slackware 10.1 kernel upgrade killed my network - help! clowntoe Slackware 13 06-10-2005 11:52 AM
Slackware 10 - Botched kernel 2.6.7 upgrade MDesigner Slackware 14 06-25-2004 05:16 PM
DHCLIENT Stops working after upgrade kernel from 2.4.20 to 2.4.22 in Slackware curdanet Linux - Networking 5 11-01-2003 12:57 PM

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

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