LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-23-2005, 02:37 AM   #1
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 30
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?
 
Old 10-23-2005, 02:52 AM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
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.
 
Old 10-23-2005, 06:20 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,240

Rep: Reputation: Disabled
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
 
Old 10-23-2005, 12:02 PM   #4
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
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.
 
Old 10-23-2005, 12:10 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
You will probably have to reinstall alsa. I usually go to www.alsa-project.org and select my card and follow the instructions.
 
Old 10-23-2005, 12:29 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,240

Rep: Reputation: Disabled
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
 
Old 10-23-2005, 01:25 PM   #7
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
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?
 
Old 10-23-2005, 02:02 PM   #8
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
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.
 
Old 10-23-2005, 06:46 PM   #9
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Original Poster
Rep: Reputation: 30
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.
 
  


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
Need help configuring Wifi - Thinkpad T23 RedHat 9 R0b1n_h00d Linux - Wireless Networking 3 09-22-2005 07:55 PM
Need to Install Slackware 10.1 on an ibm thinkpad T23 ttumelty Slackware - Installation 5 08-22-2005 08:52 AM
Mandrake 10.1 in IBM Thinkpad T23 tantotea Mandriva 3 03-11-2005 10:47 AM
Suse on t23 thinkpad sachinnshah Linux - Networking 0 09-27-2004 12:47 AM
Porblems installing Slackware 8.0 on a Thinkpad T23 Sfin Slackware 2 08-04-2002 11:48 PM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
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