LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-07-2005, 02:01 PM   #1
arew264
Member
 
Registered: Jul 2005
Distribution: Arch Linux / Debian Etch (soon) / have tried many others
Posts: 94

Rep: Reputation: 15
Debian on Dell Latitude D300xt: I8k refuses to compile


Hey, I have the laptop described in the title, and the thermal sensor on the motherboard is burned out. I don't want to pay the $200 to fix it, so I have previously used i8k to just turn on my fan and leave it on. Now, I am running Debian Sarge and when I try to compile I8k, I get along fine until I enter:
make module

This is supposed to make i8k.o, a module you can add to the kernel to get the file /proc/i8k to monitor the Dell BIOS status. I recieve this when I try to compile it:

debian: /home/arew/i8kutils-1.27# make module
make -C /lib/modules/' uname -r' /build M=/home/arew/i8kutils-1.27 modules
make: *** /lib/modules/2.4.27-2-386/build: No such file or directory. Stop.
make: *** [i8k.ko] Error 2

I have no idea what this means other than that the file build is not where the script is looking. Is there anyone who can help me out? Any help you could provide would be great because I can't use a burned out laptop, and there appears to me no other easy and free way to ventilate it.
 
Old 07-08-2005, 02:20 PM   #2
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
Isn't that module already available in the kernel? I know it is on the 2.6 kernel for Sarge, and it was in previous 2.4 series on previous releases.
 
Old 07-08-2005, 03:22 PM   #3
arew264
Member
 
Registered: Jul 2005
Distribution: Arch Linux / Debian Etch (soon) / have tried many others
Posts: 94

Original Poster
Rep: Reputation: 15
Kernel Integration

Well, yes it should be in /boot/(kernelversion/kernel/drivers/char/i8k.o, but its not there and all my attempts to recompile the kernel with it have not worked. My kernel is 2.4.27 (I guess Sarge puts on a kernel that fits your system?). Any help would be appreciated.
 
Old 07-09-2005, 07:40 PM   #4
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
That particular module should already live on your system at:
/lib/modules/<kernel-version>/kernel/drivers/char/
For instance, in the woody kernel, it was here:

/lib/modules/2.4.18-bf2.4/kernel/drivers/char

You can also verify by checking the kernel config (/boot/config-<kernel-version>) and grepping for I8K.
Using the woody kernel as an example again:

$ cat /boot/config-2.4.18-bf2.4 |grep I8K
CONFIG_I8K=m

You can easily insert and remove modules using the modconf utility.

I don't have a machine here locally that runs the default 2.4 kernel for Sarge to check with for sure, but I'm almost positive it should already have that module compiled in.

Edit:
Checking here shows that it doesnt' seem to be compiled into the default 386 kernel, but perhaps you could install the 686 kernel instead -- it is in there already.

Last edited by rbochan; 07-09-2005 at 07:47 PM.
 
Old 07-20-2005, 09:07 PM   #5
arew264
Member
 
Registered: Jul 2005
Distribution: Arch Linux / Debian Etch (soon) / have tried many others
Posts: 94

Original Poster
Rep: Reputation: 15
It works

Well, I installed the 686 kernel, and it works great. Thanks for your help!
 
  


Reply



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
wireless problem in debian on my DELL Latitude D510 hqking Linux - Laptop and Netbook 1 07-21-2005 11:54 AM
1400 x 1050 problem on Debian 3.1 with Dell Latitude C610 (ATI Radeon Mobility) jaypaulw Linux - Newbie 2 06-16-2005 08:38 PM
i8kutils issue: no /proc/i8k on Dell Inspiron 8500 geraschenko Linux - Newbie 1 05-28-2004 03:50 PM
A Dell Latitude, some advice. Tarts General 5 10-10-2003 08:31 AM
Install on a Dell Latitude Cp StudlyDego73 Linux - Hardware 3 04-03-2002 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:34 PM.

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
Open Source Consulting | Domain Registration