LinuxQuestions.org
Review your favorite Linux distribution.
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 01-08-2009, 03:44 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

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


Hi,

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 2.6.27.7 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 : http://pastebin.com/m5ac1d423

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:
Code:
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 03:46 AM. Reason: typo
 
Old 01-08-2009, 08:57 PM   #2
SiegeX
Member
 
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

< CONFIG_SCSI_TGT=y
> CONFIG_SCSI_TGT=m
< CONFIG_CHR_DEV_ST=m
 
Old 01-08-2009, 11:43 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

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

Quote:
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?
 
  


Reply

Tags
kernel


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 12:11 PM
Taking a kernel from another distro. Linux.tar.gz Linux - Software 11 12-22-2004 01:58 PM
Taking Kernel from Kernel.org to vmlinuz hobbes567 Linux - Newbie 2 06-17-2004 05:47 PM
Kernel Decompress Taking a long time v2-ncl Linux - Laptop and Netbook 0 11-10-2003 09: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 06:51 AM


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