LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-11-2004, 11:19 AM   #1
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
compiling 2.6.8.1 question


I'm trying to compile and install kernel 2.6.8.1 in Slackware 10.0 and my sound and eth0 aren't working with the new kernel. I checked the rc.modules and the line for my sound card and newworking chip are commented out. I ran alsaconf and it tells me there aren't any sound cards or drivers available...

Is this the same rc.modules that the old kernel uses? If so, my sound works great with the 2.4.26 kernel... Should I just un-comment the lines in rc.modules that perain to my equipment, or will I be hosing the 2.4.26 kernel also?

And - does the rc.modules file get re-made with every new kernel compile/install? This would explain a lot, if it is so...

But I just wonder why sound will work for one kernel and not for the other, after I chose the same drivers during "make gconfig".

Thanks...!
 
Old 09-11-2004, 11:45 AM   #2
tmorton
Member
 
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198

Rep: Reputation: 31
Hi,
When you compiled 2.6.8.1, did you build sound and your eth0 into the kernel, or as modules? If you compiled them as modules, then uncomment the lines in /etc/rc.d/rc.modules.

Also, I had a load of problems with 2.6.8.1...2.6.6 seemed much less buggy. I had problems with burning CDs (IDE/ATAPI) as a user, I had issues ripping CDs, and my wireless card didn't work anymore. I'm back to 2.6.6.

HTH,
--
Taj
 
Old 09-11-2004, 01:08 PM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Enable hotplug may help with 2.6.xx kernel also.
 
Old 09-11-2004, 01:28 PM   #4
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
Build sound into the kernel or as modules? During "make gconfig", I pushed down the little buttons next to the things I needed turned on... ,i.e., sound, eth0, etc..

How do I tell if they are modules or in the kernel?
 
Old 09-11-2004, 01:39 PM   #5
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
in gconfig, ther + (pluses) if ther built in, - (minuses) if ther modules
the rc.modules file for the most part should be commented out as it should load them automatically, but you can uncomment them
you did do a 'make modules' as part of the kernel build process right?
 
Old 09-11-2004, 02:56 PM   #6
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
Yeah, I uncommented them in the rc.modules file, and re-booted with the 2.6.8.1 kernel - no sound, no ethernet.

One more thing... If I need to re-compile the kernel, do I have to start over from scratch, or can I use the same /boot/vmlinuz and /boot/System.map files?

... and, yes I did "make modules", then "make modules_install"...
 
Old 09-11-2004, 03:00 PM   #7
tmorton
Member
 
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198

Rep: Reputation: 31
You do need a new vmlinuz. From /usr/linux:
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.8.1

Edit /etc/lilo.conf, add a new entry for vmlinuz-2.6.8.1, then rerun lilo.
 
Old 09-11-2004, 03:01 PM   #8
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
Its a good idea to rerun all the makes, if you dindt change anything in the accual kernel then it will just skip right past it and it most likely will only build the modules you added in if you added some. but if you changed the kernel then you will need a whole new rebuild. skim through the tree and look to see if your specific card is in there and that its made as a module
 
Old 09-11-2004, 03:55 PM   #9
argatxa
LQ Newbie
 
Registered: Sep 2004
Location: London
Distribution: Slackware 10
Posts: 2

Rep: Reputation: 0
Having the same problem...

Researching on it.. is driving me nuts...
 
Old 09-11-2004, 04:01 PM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Are you sure hotplug is enabled ?
chmod +x /etc/rc.d/rc.hotplug
 
Old 09-11-2004, 09:30 PM   #11
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
gconfig's little type is harder to read than xconfig. I suggest using xconfig - much easier to read and understand.

I recompiled a couple of times now... Now, I get a kernel panic. I'm going to start over from scratch, undo everything except the source kernel images and do it right this time. Ah... and TAKE my time.

Gotta wait until Monday, though... golf in the morning... the rest of the day is shot at the P & M's tomorrow...

Thanks for the replies...!
 
Old 09-29-2004, 04:34 PM   #12
argatxa
LQ Newbie
 
Registered: Sep 2004
Location: London
Distribution: Slackware 10
Posts: 2

Rep: Reputation: 0
Yesterday I was able to succesfully build the 2.6.8.1 kernel (ahem... after several attemps due to blank screen starts - framebuffer conf).

I don't know if is the key point, but it seems that the 2.6.x kernels require of the new version of the package module-init-tools in order to be able to load the kernel modules... I did it and.. no big problems so far!!! (only the ******* SB16 Vibra ISA card)

http://kerneltrap.org/node/view/799

Section 3 ... module-init-tools
dowloadable from http://www.kernel.org/pub/linux/kern...rusty/modules/

Let me know if this solves the problem.... maybe I just hit the nail with other upgrade, but I cannot figure wihich other one could be...
 
  


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
compiling c++ question bluknight43 Programming 3 02-17-2005 06:12 AM
compiling question phil81 Linux - Software 5 06-02-2004 08:46 AM
g++ Compiling Question ErikJohnson Linux - General 9 04-01-2004 07:48 AM
Compiling Question fotoguy Linux - Software 0 05-24-2003 04:41 AM
Compiling Question Bigun Linux - Software 2 01-03-2003 03:39 AM

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

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