LinuxQuestions.org
Register a domain and help support LQ
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 04-29-2007, 12:27 AM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Rep: Reputation: 36
More kernel compile questions


How would I go about getting the configs that the slack kernels are compiled with? I find that bareacpi works great with my laptop, but the 2.6 kernels are missing some drivers and I can't use them. I tried to compile my own, but the first pass resulted in a blank screen, and the second pass caused the system to hard reset when I tried to boot. What I would like to do is get the config for the 2.4.33.3 bareacpi.i, and use it to compile a 2.6 kernel.
 
Old 04-29-2007, 12:56 AM   #2
ryanoa
Member
 
Registered: Jan 2006
Location: Santa Cruz, CA
Distribution: Slack 10.2 and 11.0
Posts: 102

Rep: Reputation: 15
They are located on any of the Slacware mirrors. Just look in the kernels directory
 
Old 04-29-2007, 01:41 AM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Original Poster
Rep: Reputation: 36
Is what the config file is, the settings used to compile the kernel? I didn't know that....
 
Old 04-29-2007, 10:23 AM   #4
Indiestory
Member
 
Registered: Aug 2006
Location: Aberdeen, Scotland
Distribution: OpenBSD
Posts: 164
Blog Entries: 1

Rep: Reputation: 30
you can get the config from a running kernel, have a read through this http://www.kroah.com/lkn/
it tells you pretty much everything you need to know about kernel compilation.

I don't think that this will work though. There are big differences between the 2.4 series and the 2.6, you can always try. If it works please report back im interested to see if it can
 
Old 04-29-2007, 12:40 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You really can't use 2.4.x configs for 2.6.x kernels. You can try, but it won't work. Just read that guide, it will help.
 
Old 04-29-2007, 02:50 PM   #6
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Original Poster
Rep: Reputation: 36
I'm not going to use the config to build it, I was going to see if I could use it as a guide when setting up the config for the 2.6 kernel. The 2.4.33.3 kernel works great on this box, but none of the 2.6 kernels I've found (or compiled myself) work.
 
Old 05-01-2007, 11:56 AM   #7
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Original Poster
Rep: Reputation: 36
Continuing: I have built a couple of working kernels, but no matter what I do, I can't get the sound to work, I can't get my wireless cards to work, and the mouse pad does not work. This is a problem that all pre-compiled kernels exhibit, as well as the ones I've compiled myself. Does anyone have an older Toshiba laptop running a 2.6.x kernel? My machine is a Satellite 1415 s173.
 
Old 05-01-2007, 12:52 PM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You unmuted the sound right ... alsamixer.
 
Old 05-02-2007, 03:30 PM   #9
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by H_TeXMeX_H
You unmuted the sound right ... alsamixer.
Actually, alsamixer gives an error about device not found. I'll post the error along with lspci output tonight. I'm guessing I need to find the drivers for the sound chipset in this box and get them installed. It should be that simple. Likewise for my network cards. One is an Intel 10/100 pro something that is rather common, the other is an Atheros wireless card. Neither of those should be that hard to get working. All of them work in 2.4.x kernels, I'm wondering if the drivers were just not included in the 2.6.x kernels?
 
Old 05-02-2007, 04:22 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
If you compiled your own, you probably left it out. If you want to compile your own, may want to start with one of the default slackware 2.6.x configs, and take out whatever you don't need.

I would read Chapter 7 of this guide:
http://www.kroah.com/lkn/

That way you don't have to do trial and error.

Most things you'll be changing are in the device drivers section. And, of course, processor stuff and I/O scheduler.

Last edited by H_TeXMeX_H; 05-02-2007 at 04:24 PM.
 
Old 05-02-2007, 06:02 PM   #11
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
did you do alsaconf before running alsamixer?
 
Old 05-09-2007, 03:32 PM   #12
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by H_TeXMeX_H
I would read Chapter 7 of this guide:
http://www.kroah.com/lkn/

That way you don't have to do trial and error.
That is a very usefull chapter! However, I'm not able to mount sysfs, have not yet figured out how to get that to work in Slackware 11. I did, however get a new build with network support working. Sound is still dead, and the kernel comes with the second to the most recent version of Alsa. I'm going to update Alsa to most current and see if sound works.

When I boot, I get a blank screen. I suspect that it's going to the secondary display instead of the primary display. The nVidia drivers caused the same thing to happen, I had to modify xorg.conf to force it to use the primary display. I can login blindly and startx, and then KDE goes to the primary monitor. But all console output (Ctrl-F1-6) gives me a blank screen. It's a Toshiba s173 1415. nVidia GeForce 420 Go. Any ideas how to force the console to the primary output instead of the secondary outpout?
 
Old 05-09-2007, 04:07 PM   #13
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Did you compile in framebuffer support ? (vesafb)
 
Old 05-09-2007, 04:48 PM   #14
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 372

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by H_TeXMeX_H
Did you compile in framebuffer support ? (vesafb)
I did it both ways. With framebuffer support, the nVidia drivers will not install. You get a message saying that the drivers are not compatible with framebuffer enabled. I think it's when I compiled without fb support that I started getting the blank screen, but I can try it again tonight to see if that is it or not.
 
Old 05-09-2007, 04:58 PM   #15
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I got that error too, but that's only if you include rivafb and nvidiafb. Do NOT include these and it will work. Only include vesafb for framebuffer, that should not interfere with the nvidia drivers.

So, in other words, the ONLY thing you should have checked under Graphics support is:

Quote:
Device Drivers -> Graphics support -> Support for frame buffer devices -> VESA VGA graphics support
Nothing having to do with nivida should be checked including nvdia framebuffer support and nvidia riva support ... again these two should NOT be checked.

Last edited by H_TeXMeX_H; 05-09-2007 at 05:05 PM.
 
  


Reply

Tags
alsa, nvidia, satellite, slackware11, sysfs, toshiba


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
2.6.10 kernel compile questions YBA^[x] Slackware 3 01-20-2005 03:54 PM
Several more questions about kernel compile? BajaNick Slackware 3 01-11-2005 08:59 AM
Kernel compile questions Alan Lakin Slackware 2 02-01-2004 11:05 PM
kernel compile questions e1000 Slackware 10 10-23-2003 12:14 PM
Kernel compile questions Bruce Hill Linux - General 11 07-14-2003 06:38 AM


All times are GMT -5. The time now is 12: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration