Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-08-2009, 02:44 AM   #1
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 640

Rep: Reputation: 36
taking out CONFIG_IDE from kernel .config


I'm hoping someone familiar with the lower layers of IDE/SATA disk communications can kindly have a look at this.

Following a long discussion on lkml, I picked up that it's no longer recommended to keep the legacy IDE drivers in at the same time as the newer SATA drivers, so without changing anything else on my system, I removed CONFIG_IDE and friends.
It's the same as I've always run - just took out IDE. See the link to the diff between the old .config and the new .config (without IDE) below.

I would have thought this would cause things to run more smoothly, but instead, I now find that the fan is now running almost all the time (not full-speed, but still audible) while earlier, it was almost always off.
Note that nothing else is changed. Same scaling governor, booting to runlevel 3, no binary blobs, no difference in application load. Just the fan running slightly more than with the legacy ide drivers compiled in.
So - while I thought I'd get things even more smoothly, I ended with the opposite.
Now - before someone jump in and say I should stick with the stock Slackware kernel - note that this is part of a learning expedition on my side to understand further of the kernel - I really want to understand this. I've read and read, and now I've hit a temporary obsticle, with which I would greatly appreciate some constructive input.
I suspect the problem lies in how the upper layers of disk access/filesystems communicate with the lower-level drivers sata / ide, but I haven't a clue as to why I see this behaviour...

Any insight or pointers to where this might be address would be greatly appreciated!

Diff showing what I took out of .config :

System is a Lenovo X200 with SATA hdd and cdrom. No functional difference in the system. boots and mounts hdd/cdrom just fine. Just the fan that's different.

And one small difference in dmesg post boot:
These lines obviously don't appear where I've taken out CONFIG_IDE:
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
Probing IDE interface ide0...
Probing IDE interface ide1...

Last edited by Yalla-One; 01-08-2009 at 02:46 AM. Reason: typo
Old 01-08-2009, 07:57 PM   #2
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Rep: Reputation: 38
Rather than removing them entirely, you should have just used 'menuconfig' to uncheck the ones you didn't want. menuconfig categorizes the options and points to documentation (by pressing '?') to make sure that what you are removing is in fact solely IDE related. This would also make your diff a lot cleaner since it wouldn't be listing the removal of already commented out stuff.

Also, without loading up menuconfig to be sure, some of those options don't all seem to be related to IDE, such as

Old 01-08-2009, 10:43 PM   #3
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 640

Original Poster
Rep: Reputation: 36
Hi, and thanks for answering!

Originally Posted by SiegeX View Post
Rather than removing them entirely, you should have just used 'menuconfig' to uncheck the ones you didn't want.
This is exactly what I did. I never venture into entering .config by hand :-) I thought that was implied, sorry I didn't make it clearer in original post.

So I took out everything IDE and legacy-IDE-related from make menuconfig and then diffed the .configs when I didn't get the expected result...

The system works great, but the fan hums at low speed non-stop, as opposed to before...

Is there anything I should look for in /proc or /sys or elsewhere that might give a hint as to what's changed?



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
Taking kernel from livecd zaicheke Linux - General 2 03-20-2005 11:11 AM
Taking a kernel from another distro. Linux.tar.gz Linux - Software 11 12-22-2004 12:58 PM
Taking Kernel from to vmlinuz hobbes567 Linux - Newbie 2 06-17-2004 04:47 PM
Kernel Decompress Taking a long time v2-ncl Linux - Laptop and Netbook 0 11-10-2003 08:47 AM
is there a way to re-compile the modules in the kernel without taking out the oldones likid0 Linux - Software 3 06-29-2003 05:51 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration