LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2006, 05:51 AM   #1
zajcev
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
kernel compilation


hello, I need help with kernel compilation slackware 10.2 kernel which I want to install is 2.6.18
I copy him in /usr/src/linux-2.6.18
make mrproper
make xconfig
make bzImage
make install
make modules
make modules_install
Add new bzImage to boot and in lilo, and thats OK But have some problems
I'v got asus a7n8x-x MB integrated sound card and webstar cable modem atached on lan port on my mother board.
I try to install sound card with alsaconf but he say that there is no sound card find.
With modem dont know I add /sbin/dhclient and set DHCP enable, I must forgot something to add in configuration of kernel.
Some advice will help thanx

PS
sorry for bad english
 
Old 10-02-2006, 06:23 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
With a 2.6.x kernel the only steps you need are to edit your lilo.conf ("vmlinuz" points to the new kernel, I'd suggest to add the old kernel as well, probably "vmlinuz-ide-2.4.33" or similar) and then:

Code:
make xconfig      <- or menuconfig for CLI or whatever config
make
make modules_install
make install
This will call /sbin/lilo automatically.

AFAIR the stock kernel source has the sound modules not selected. Be sure to check the ALSA basic thing and your specific sound card when you do your "make xconfig" under Device Drivers --> Multimedia devices --> Sound

About the LAN thing: Be sure that your card is included in the kernel config. Than you can edit /etc/rc.d/rc.inet1.conf to activate DHCP for your network interface.
 
Old 10-02-2006, 08:38 AM   #3
zajcev
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
make xconfig
make bzImage
OK
but when I type #make modules_install it finish too fast (a do this in dir where I unpack new kernel /usr/src/linux2.6.18
but when I type just #make modules it start to do something and then type make install, I figure oput that this is same like /sbin/lilo
Now I was looking for (my MB is asus A7N8X-X) realtek alc650 my sound card but can't find it, the same is about lan MCP integrated nvidiaMAC-realtek 8201b2 PHY, there is 81..80 but not mine?
In last kernel it works fine.
I wander something under windows I always install driver VIA but when I reading book my MB had nvidia nforce is this chipset who I need to setup in kernel?
 
Old 10-02-2006, 02:20 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
You could of course start with the config file for the official "huge26.s" kernel from the upcoming 11.0 release. Most hardware will be compiled in the kernel or build as module -- this would leave you probably with your hardware running, and you could check the output of "lsmod" which modules are actually needed.
You could grab the file from any Slackware mirror, copy it to your kernel source dir and issue "make oldconfig" before you do "make xconfig".

"make modules" should not be necessary, too, AFAIK. "make" should build the kernel itself AND the modules in one pass. "make modules_install" should copy all modules to /lib/modules/2.6.18 and make should copy the kernel and its config file to /boot and call lilo to update your boot loader.

BTW, "make bzImage" should not be necessary AFAIK. You had to do it with a 2.4.x kernel, but not any longer with 2.6.x
 
Old 10-02-2006, 02:32 PM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Try to compile the "forcedeth" module to get your network card working: Device drivers --> Network device support --> Ethernet (10 or 100 Mbit) --> nForce Ethernet support.

EDIT: According to that post (http://www.driverheaven.net/archive/...p/t-49744.html see posting from RAMChYLD) you need the "Intel 8x0" sound driver which you find in the kernel's Device drivers --> Multimedia devices section.

Last edited by titopoquito; 10-02-2006 at 02:36 PM.
 
Old 10-02-2006, 03:59 PM   #6
zajcev
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
ok man help me a lot, I succesfuly install modem and sound card, now I got some other questions:
-How to check is everything ok with kernel I just compile, have to explain this, I install valknut and I have problem when he s started my system go drastycly slowly, but for now this is only with valknut before he was just fine so I wonder. I also got some sense that system is slowly then before.
-How to check how much memory I have, I know that I got 1GB RAM bit when I start slackware kinfosys he shows me that I'v got 883MB, here is picture this is image from 2.4kernel ut same thing is in 2.6.18

This is one of reason why I compile kernel but it's still same.
- I'v got pioneer DVD-RW 110 and install nero burning rom becouse I have to burn dvd's and k3b make some shit with dvd disc's, in recorder I have only image recorder, I suppose this is becouse I again forget something to add in kernel
 
Old 10-02-2006, 04:00 PM   #7
zajcev
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
http://img243.imageshack.us/my.php?i...apshot1lp6.png
 
Old 10-02-2006, 04:12 PM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
There should be nothing special in the kernel configuratio to use your cd burner (unless you deactivated much, but I had never trouble with my NEC burner, neither with a vanilla kernel source nor with the Slackware kernels). And you don't need the "append" line in lilo.conf that you needed with a 2.4.x kernel.
About the memory: As far as I remember (I searched for this some months ago) this should be no problem, your computer should take the 1GB but just show the 883 MB, that's normal. I think else you have to activate the 4GB memory ability (I think it's under "General ..." at the beginning of the kernel configure). AFAIR you need this only if you want to install more than 1GB. The 883MB doesn't harm I think, but maybe you want to feed Google again to make sure about this.

If I start k3b the first time after a fresh install, there is a pop up window which asks me about changing the CD recorder's permissions so that normal users can use it and not just root. Have you seen/changed this?

Sorry don't know anything about the slow processing. BTW have you enabled udev? It's necessary for 2.6.18 and is not activated (executable bit set) if you do a fresh Slackware install...
 
  


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
kernel compilation nick021 Linux - Newbie 5 12-21-2005 12:18 PM
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 02:08 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 12:35 PM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 08:33 AM


All times are GMT -5. The time now is 10:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration