LinuxQuestions.org
Review your favorite Linux distribution.
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-13-2005, 09:24 PM   #1
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Rep: Reputation: 15
Post Slackware Walkthrough for kernel 2.6.12.4 from kernel 2.4.29


This is a walkthrough for updating the kernel on slakware 10.1 kernel 2.4.29 to kernel 2.6.12.4 the newest stable version at the moment. i have downloaded the kernel from the www.kernel.org site. For newbs like me you have to find the mirror that has the DL available....

next step: i have read everything from "how to's" to "this is how's".... almost none of it makes sense!
for now the answer is unresolved. from the README once kernel is untarred i get that we need to NOT put the kernel in the usr/src/DIRECTORY

to untar the .gz file type: command in the directory of choice.

tar -xvzf linux-2.6.12.4.tar.gz

for bz formats i beleive its: tar -xvjf linux-2.6.12.4.tar.bz2

onced the tarred file is untarred you then have to ....this is where i am confused....... i gather from the README that i have to make menuconfig and then compile the kernel. i went in and read the help on each and every one of the options. WOAH!!!! that took a long time. choose what suits your fancy and then continue on. this is the exact point that i am stumped on. some help me's state that i have to give the kernel a symbolic link to where the kernel is at, others like the one the kernel comes with, state that i do not need to do such things but to go ahead and install the kernel in the usr/src/xxxx directory. which one is right or are both right? any help will hellp me put together this WALKTHROUGH for other helpless noobs like me.
 
Old 08-13-2005, 11:02 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
Quote:
BAHHHH!!!!!!!!!!!!!!!ARGH!!!!!!!!!!!!!!!!!!!!!!!!SHEEZ!!!!!!!! u gotta luv it....
From a pragmatic point of view, it looks like you don't even want to attempt to upgrade that way. It looks like you want to find the newer version of Slackware that comes with the 2.6.12.4 kernel. Then, you probably want to install that newer version on a separate partition and try it out before you begin depending on it.

From what I have seen, when you make that great a change in kernels, you might also need to change a lot of other things in your system as well. As you might guess, those other things that you might need to change are not documented. You find out about those other things when you boot up with the new kernel and your system doesn't work properly.
 
Old 08-14-2005, 12:48 AM   #3
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Please calm down, I will try to give you some hints that worked for me when compiling the latest kernel in Slackware 10.1

From your post I discern that you already compile the kernel using
make menuconfig
make
make modules_install
if that is the case you have almost finished, what remains to use your new kernel is the following
1. copy your new kernel to the boot directory
assuming you are in /usr/src/linux (cp arch/i386/boot/bzImage /boot/kernel-2.6.12.-4)
2. copy the system.map
(cp System.map /boot/System.map-2.6.12.4)
3. copy the configuration
(cp .config /boot/config-2.6.12.4)
4. update your boot loader (lilo or grub), in either case you must review carefully that lilo or grub is pointing to your new kernel

Anyway, I suggest you to read the following explanation, I used it and it helped me a lot:

http://www.slackersbible.org/node/42
 
Old 08-14-2005, 01:03 AM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
My 2 pence

http://xushi.co.uk/guides/kernel.php

HTH
 
Old 08-14-2005, 02:09 AM   #5
ncf
Member
 
Registered: Jun 2005
Distribution: Slackware/10.1
Posts: 47

Rep: Reputation: 15
I don't mean this in a troll-like way, but did you read this:

Kernel Compile Guide for 2.6.0

Also, you will most likely have to recompile alsa also. Perhaps, if you are able, you can just use the /testing/ kernel provided by Slackware http://www.slackware.at/data/slackwa...inux-2.6.12.3/ <--yes, you are trying to do .4, but that should be released by the slackware team soon ;P

HTH
-Wes
 
Old 08-15-2005, 01:00 PM   #6
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
Smile guys guys guys c'mon.......

well everyone i thank you extensively for your help on this matter. as for my quote it is meant to be just a joke.... a buddy and i were just joking about how much you have to get through to make things just right. it came to mind and viola i changed my quote. no biggie.... again as for your help it is greatly appreciated. the xushi.co.uk link is proving to be absolutly wonderful.... i am doing it step by step and will post resultys. thanks everyone... hopefully i will typing this next reply in 2.6.12.4... till then...see ya...
 
Old 08-15-2005, 03:49 PM   #7
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
Talking on 2.6.12.4 and LUVING IT

hello all the moment that ihavd been waiting for has now arrived. i am currently running the 2.6.12.4 kernel succesfully. alot of things work on my system now such as my wireless mouse that previously did not work. so now i have the ability to finally use the mireless mx700 duo that i had. no more dealing with 2 mice anymore. pheww... that is a relief. all i did was follow the guide that xushi had on the earlier post. line by line. DL and install pkg, so on.....everything is working great except that sounds is now gone. i had alsa running b4 now it gives me some errors. i love my xmms so i would like to get it back. lol....
 
Old 08-15-2005, 04:01 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
BIG edit: i didn't read your post too well...

are the soundmodules loaded ?
can you post the output of "lsmod |grep snd "


egag

Last edited by egag; 08-15-2005 at 04:05 PM.
 
Old 08-15-2005, 04:17 PM   #9
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
it wont list anything.... :(

i tried the lsmod |grep snd and it just goes back to command promt.... still no sound.... when i go to my xmms it tells me to check that my soundcard is configured correctly, i have the correct output plugin selected and that no other program is blocking the soundcard... i am not sure what i did to mess up the prev settings but alsa was working when i was on the 2.4.29 kernel. is it possible that i messed up the modules dealing with alsa? if so can i fix it without having to recompile the kernel?

Last edited by silverdrgn; 08-15-2005 at 04:20 PM.
 
Old 08-15-2005, 04:32 PM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
welll...i forgot to ask: did you make the alsa stuff as modules,
or did you compile it into the kernel. ?
i always make them as modules.

to be sure do a " modprobe -l |grep snd ".
if there's no output, the modules are not there or alsa is compiled in the kernel.
( ...or you forgot to mark the alsa items in xconfig )

egag
 
Old 08-15-2005, 05:09 PM   #11
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
/lib/modules/2.6.12.4/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/2.6.12.4/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/2.6.12.4/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.12.4/kernel/sound/pci/snd-ens1371.ko
/lib/modules/2.6.12.4/kernel/sound/pci/snd-ens1370.ko
/lib/modules/2.6.12.4/kernel/sound/pci/ac97/snd-ak4531-codec.ko
/lib/modules/2.6.12.4/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sbawe.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sb8.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sb8-dsp.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sb16.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sb16-dsp.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sb16-csp.ko
/lib/modules/2.6.12.4/kernel/sound/isa/sb/snd-sb-common.ko
/lib/modules/2.6.12.4/kernel/sound/isa/gus/snd-interwave.ko
/lib/modules/2.6.12.4/kernel/sound/isa/gus/snd-interwave-stb.ko
/lib/modules/2.6.12.4/kernel/sound/isa/gus/snd-gus-lib.ko
/lib/modules/2.6.12.4/kernel/sound/isa/cs423x/snd-cs4231-lib.ko
/lib/modules/2.6.12.4/kernel/sound/i2c/snd-tea6330t.ko
/lib/modules/2.6.12.4/kernel/sound/i2c/snd-i2c.ko
/lib/modules/2.6.12.4/kernel/sound/i2c/other/snd-ak4117.ko
/lib/modules/2.6.12.4/kernel/sound/drivers/snd-dummy.ko
/lib/modules/2.6.12.4/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/2.6.12.4/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd-timer.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd-rtctimer.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.12.4/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.12.4/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.12.4/kernel/sound/core/oss/snd-mixer-oss.ko


that is what it gives me when i put in the modprobe -l |grep snd

i think i mesed up when compiling.... how can i fix it now?
 
Old 08-15-2005, 05:20 PM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
no, i don't think you messed up.
you only need to load the modules.

is /etc/rc.d/rc.alsa executable ?
if not, make it executable and run it.
then check if the modules are loaded with lsmod.

and is hotplug running ?
check if /etc/rc.d/rc.hotplug is executable.

also, maybe remove this module :
/lib/modules/2.6.12.4/kernel/sound/pci/snd-intel8x0m.ko

AFAIK it's a modem driver causing nothing but trouble.

egag
 
Old 08-15-2005, 05:41 PM   #13
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
lets give it a try....

ok i see the prob module that you stated is trouble.... removed it. also i dont know how to make files executables. my freind told me how when i first got slack on my box. i never used it so i forgot...(sorry) i feel that once i get alsa working everything wil b just fine. uh oh im being summoned by the wife. b right backk...

Last edited by silverdrgn; 08-15-2005 at 05:46 PM.
 
Old 08-15-2005, 05:52 PM   #14
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
to make files executable use ( for example ) :" chmod +x /etc/rc.d/rc.alsa "

egag
 
Old 08-15-2005, 06:46 PM   #15
silverdrgn
Member
 
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
Unhappy well guys i'll b back later if the wife allows me to play

Will edit once return...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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.1 .+ 2.6 kernel??? alaios Slackware 3 04-10-2005 09:53 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 04:05 PM
Kernel Panic with new kernel in slackware Omniscientist Linux - General 4 11-12-2004 01:21 PM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM
slackware kernel source install (kernel 2.6.6) ? LinuxOG Slackware 22 06-06-2004 04:34 PM

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

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