Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-23-2005, 02:37 AM
|
#1
|
Member
Registered: May 2003
Distribution: Slackware
Posts: 236
Rep:
|
Slackware 10.2, 2.6.13 kernel recompile, and a Thinkpad T23
Ok, so, I'm setting up Slackware 10.2 on my new (old) thinkpad t23. I get it installed, and put on the 2.6.13 kernel (after install, rather than installing it during setup) using the packages on the CD.
Everything I have read says to use APM intead of ACPI on the T23, because ACPI support isn't "really" there.
Ok, fine fine.. I'll just recompile the kernel.
However, I notice the .config I have doesn't have all the options that the 2.6.13 kernel I was using was compiled with. It would have certainly been nice to just uncheck ACPI, check APM, and uncheck the crap I don't need.
So, I take a stab at it (no biggy to reload, if it would come down to that), and find that.. Yeah, I missed a few things. Framebuffer support on boot, and the nib mouse quit working. That was just the stuff I found right off the bat.
I'm tired, and have just finished my last midterms for life (or, at least until I get my masters). I haven't had to recompile a kernel for a few years (My slack install on my desktop has been fine the way it is after my last recompile), and I have a horrible memory for things I don't do often.
Anybody mind telling me what I'm forgetting? Or pointing me to a .config that is suited to my needs? 
|
|
|
10-23-2005, 02:52 AM
|
#2
|
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
|
suggestion:
on the slack disk, in the kernel directories, are the .config files that were used to compile that version of the kernel.
dl the source for the exact same version, use pats .config as a base, and change only what you need to.
this is the lazy way i did my last kernel to get smp support, and it worked wonderfully
you can always go back and tweak to your hearts content after you have it working, just make sure you save a backup of your last fully working .config somwhere outside the source tree, so when do a mrproper you dont hose it.
|
|
|
10-23-2005, 06:20 AM
|
#3
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
I've been using APM instead of ACPI on all the ThinkPads I've been running Slack and a 2.4 kernel on: 567L 770X 570 T20 T23 T30 and now T40. On the T40 I finally installed Slackware 10.2 and a 2.6.13 kernel, and stopped using APM. I use ACPI now, and am able to control the Thinkpad's power saving features much better. I recompiled the kernel using the default .config mainly for the HIGHMEM option that lets me use all of the 1GB RAM that's inside the ThinkPad (instead of limiting to the first 840MB or thereabouts).
Nevertheless I wish the battery would last longer than 2 hours :-/
Eric
|
|
|
10-23-2005, 12:02 PM
|
#4
|
Member
Registered: May 2003
Distribution: Slackware
Posts: 236
Original Poster
Rep:
|
Ok, got it to work, except for the fact that now sound no longer works  I'm recompiling with just the driver for it selected, this time, just to see if that works.
|
|
|
10-23-2005, 12:10 PM
|
#5
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
You will probably have to reinstall alsa. I usually go to www.alsa-project.org and select my card and follow the instructions.
|
|
|
10-23-2005, 12:29 PM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
If you just re-compiled the kernel, then it is often enough to re-install the alsa-driver package that came with your Slackware. No need to download source code at http://www.alsa-project.org/
Only if you compile and run a new kernel, you wil need to use the Slackware buildscript and alsa-driver sources to re-build a new alsa-driver package for your new kernel.
The alsa-driver package is in the slackware/l/ directory, and the sources for it are in source/l/alsa-driver/ directory.
Eric
|
|
|
10-23-2005, 01:25 PM
|
#7
|
Member
Registered: May 2003
Distribution: Slackware
Posts: 236
Original Poster
Rep:
|
Tried to just reinstall the alsa drivers, but no go. "FATAL: Module snd_pcm_oss not found."
"FATAL: Module snd_mixer_oss not found."
I tried running alsaconf, but it can't find any soundcards. The default 2.6.13 kernel has no problems with sound.
What in the sound section of the kernel config should be compiled as a module?
|
|
|
10-23-2005, 02:02 PM
|
#8
|
Member
Registered: May 2003
Distribution: Slackware
Posts: 236
Original Poster
Rep:
|
Recompiled with sound stuff loaded as modules, and I didn't get the errors. However, I loaded up xmms, and discovered that.. Whoops! Doesn't work! Says the devices aren't there.
Freaking ugh.
*edit* discovered I was installing the wrong alsa-drivers.. Installed the one for 2.6.13, and found that I got an error on reboot.. insmod error. Don't remember the specifics.
I did some tweaks, and am recompiling again. If it doesn't work, I'm just going to download the latest kernel source and build my own kernel that way.
Last edited by SocialEngineer; 10-23-2005 at 03:59 PM.
|
|
|
10-23-2005, 06:46 PM
|
#9
|
Member
Registered: May 2003
Distribution: Slackware
Posts: 236
Original Poster
Rep:
|
Ok, well, I got ACPI working instead. I don't have time to screw with this crap  That was relatively easy, in fact. I just modprobe'd the battery, ac, fan, and thermal stuff. Worked without a hitch.
However, I do have an odd problem on shutdown. Something segfaults, but it doesn't give me enough time to see it. I might pop a shot of it with my roommate's digital cam, if I can.
|
|
|
All times are GMT -5. The time now is 08:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|