Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
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.
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?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
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
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
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 01:36 PM.
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
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.