LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-30-2005, 07:04 AM   #1
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
not recompile kernel, but 1 module -possible?


Hello,

I started linux with slackware about 2 years ago or so. Now, i have slack installed on my laptop (sempron 2800, S754)

In slack i compiled my own kernel, and i needed to change the sourcecode of a certain module (powernow-k8) to make frequency scaling work on my laptop.
(in kernel 2.6.9)

Now, i was wondering if i can install debian. And just recompile only that powernow-k8 module for my laptop, instead of recompiling a complete kernel.

thanks in advance.
 
Old 01-30-2005, 08:36 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Switching from one distribution to another is not as easy as you seem to want it to be. It essentially involves starting from scratch, in which case you'd recompile your kernel anyway. If you just want that module, you can just go into your source tree and rebuild, the kernel will only rebuild relevant parts anyway.
 
Old 01-30-2005, 10:02 AM   #3
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally posted by Matir
Switching from one distribution to another is not as easy as you seem to want it to be. It essentially involves starting from scratch, in which case you'd recompile your kernel anyway. If you just want that module, you can just go into your source tree and rebuild, the kernel will only rebuild relevant parts anyway.
I think you misunderstood me OR i just didn't explained myself correctly.

What i meant was, yes, i will install debian from scratch. just with a debian sarge or maybe mepis disk. but i was wondering, when i have everything installed, if i can just download the source of that powernow-k8 module, compile it for my current kernel, and use it.

Because i know what changes i have to make at the sourcecode of that certain module. I just don't wanna compile a complete new kernel for that debian system i just installed.
 
Old 01-30-2005, 06:46 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
If it's a kernel module you can just run make modules then either put the module in the /lib/modules/ tree yourself or run make modules_install.
 
Old 01-31-2005, 03:48 PM   #5
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally posted by /bin/bash
If it's a kernel module you can just run make modules then either put the module in the /lib/modules/ tree yourself or run make modules_install.
thanks, i'll try that
 
  


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
recompile kernel to include module samfrog88 Linux - Software 1 01-06-2005 06:28 PM
Kernel / module recompile for 5.1 ? how ? Wynand1 Linux - Newbie 6 03-09-2004 01:33 AM
Module Install without Kernel Recompile? bongski55 Linux - General 4 09-29-2003 12:30 AM
How to remove module from kernel without recompile? Stoic Linux - Software 10 09-23-2003 06:17 PM
how can i recompile the kernel and include the vfat module? kublador Linux - General 6 02-22-2003 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:39 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
Open Source Consulting | Domain Registration