LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-26-2003, 05:51 PM   #1
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
custom kernel the debian way


i've been trying to look this up, but not found anything yet.
up until now i have been compiling the kernel using the regular steps of make config, make ... ....

so, now i wanna try the debian way. my kernel source is /home/ksrc/.
i have a symlink in /usr/src called linux which points to the kernel src tree. i go into this linux folder and run a "make-kpkg .... kernel_image" command, which makes a kernelxxx.deb file in /usr/src. i think thats fine.
now, i got the alsa drivers and utils using apt-get. it goes and saves the tars under /usr/src. according to the install help here http://www.sonic.net/~rknop/linux/debian_alsa.html, it is suggested to do a "make-kpkg ....modules_image" after the kernel image was built. when i do that, only the alsa drivers are built, nothing else (im thinking that make-kpkg looks at /usr/src).

this is just looking too messy. what do i do to install the modules i had selected before running the make-kpkg for the kernel-image? when do they get moved to the right location? do we have to do a "make modules_install" in the debian way?

any help is needed.

also, can someone tell me what is the option that is to be selected in the kernel for enabling "soundcore"? thanks.

Last edited by h/w; 12-26-2003 at 05:53 PM.
 
Old 12-26-2003, 11:24 PM   #2
subh
Member
 
Registered: Jun 2003
Posts: 78

Rep: Reputation: 15
I have tried to compile 2.6.0 kernel in debian woody few times but failed everytime to compile kernel properly. I have failed to work my dvd & cdrw .
Could someone post his work how to compile 2.6.0 kernel in debian way.
 
Old 01-28-2006, 10:48 AM   #3
carstenbjensen
Member
 
Registered: Aug 2003
Location: Denmark, Europe, Earth
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
Debian FAQ

Quote:
Originally Posted by subh
I have tried to compile 2.6.0 kernel in debian woody few times but failed everytime to compile kernel properly. I have failed to work my dvd & cdrw .
Could someone post his work how to compile 2.6.0 kernel in debian way.
Have you read the Debian FAQ page about the issue?
http://www.debian.org/doc/FAQ/ch-kernel.en.html
 
Old 01-28-2006, 03:36 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
Read this
http://www.falkotimme.com/howtos/deb...el2.6_compile/

Also, make sure u create a initrd image once you install your kernel.
 
Old 01-29-2006, 03:22 AM   #5
subh
Member
 
Registered: Jun 2003
Posts: 78

Rep: Reputation: 15
Thanks very much for the reply. Atleast someone replied my question after almost 2 years. Now I am using debain sid with 2.6.12 kernel. I want to install 2.6.15 kernel now. But I would like my 3d working as I have ATI Readon Pro 9800. I have installed ATIdriver from ati website. Will the 3D work if I compile the new kernel 2.6.15 ?
 
Old 01-29-2006, 05:47 PM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
Quote:
Originally Posted by subh
Thanks very much for the reply. Atleast someone replied my question after almost 2 years. Now I am using debain sid with 2.6.12 kernel. I want to install 2.6.15 kernel now. But I would like my 3d working as I have ATI Readon Pro 9800. I have installed ATIdriver from ati website. Will the 3D work if I compile the new kernel 2.6.15 ?
Glad it worked for you. Well I have experience with getting 3D acceleration for the Intel Graphics card, but do not have any experience with the ATI thing. All I know is that in the kernel configuration you have to enable the AGP(specific to your ATI card) and the DRM module for your card under Character Devices. Also then you need to intstall the package:

apt-get install xlibmesa-dri

The above step is very important if you need to get the 3D working after configuring your kernel.
 
Old 01-30-2006, 10:52 AM   #7
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
Well the 3d will work if you have the generic module support for ATI, but you'll want OpenGL and stuff which has to be compiled after you have the kernel compiled. For EVERY kernel you have you always have to have the drivers compiled specifically. Which really sucks because I've got 2 6.8.15 kernels but they were installed differently and so whenever I switch to see if one is having problems over another I always have to uninstall the nvidia module and re-install it. =( I've never worked with ATi but I assume it's pretty close to the same, you'll have to get the source and probably compile or install something that's kernel specific.
 
  


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
custom debian packages? mithereal Debian 3 09-13-2005 08:46 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
custom debian install steffa Linux - Software 1 03-20-2005 03:24 PM
custom kernel with Debian kernel-package comprookie2000 Debian 9 06-29-2004 05:30 PM
Debian install with custom kernel... robbow52 Debian 2 02-24-2004 04:38 PM


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

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