LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nforce2 and 2.6 kernel (https://www.linuxquestions.org/questions/linux-newbie-8/nforce2-and-2-6-kernel-167437/)

-Dice 04-07-2004 04:38 PM

Nforce2 and 2.6 kernel
 
I heard somewhere that with the 2.6 kernel tree, my nforce2 will be supported. With a clean Debian 3.0r2 install, do I just download the kernel source, compile it, and then it's supported? Or how do I do this?

Thanks in advance

dulles 04-07-2004 05:29 PM

I just put a 2.6.5 kernel into a fresh woody install myself, and I as well have nforce.

I still can't get my sound working. They say that the Intex 8x0 package works, but I'm not so certain.

For nForce ethernet, try the experimental (enable 'experimental code' in the kernel config) forcedeth module. (turns out I had to use 3c90x. Run lspci and see what you can decipher!)

The AGP nVidia graphics worked no prob.

Hope it helps!

-Dice 04-08-2004 06:26 PM

Okay, I've compiled 2.6.5 with forcedeth off a clean woody install. Ethernet still won't work, not sure what I'm doing wrong. Could someone help, please?

dulles 04-09-2004 07:29 AM

Don't forget to do "depmod 2.6.5" after you make the kernel and modules. iirc, the Makefile doesn't do this for you on account of a bug.

Try this after you reboot into your new kernel:

modprobe forcedeth (If you made it a module, that is)
ifconfig eth0

The first command finds and inserts the module forcedeth, satisfying dependencies as intelligently as it can. The second gives data about the eth0 network device.

If the ifconfig command doesn't tell you it can't find the network interface eth0 (it'll give you a bunch of info instead), then it works and just needs to be configured. If you're on a DHCP network, try the dhcpc3 package. I may be wrong on the name, but it starts with dhcp and has a 3 at the end. If you're not using DHCP.... well.... try linuxconf or check the man pages on ifconfig. I'm just not too familiar with it.

Like I said earlier: it turned out for me that I needed to use 3c90x for my ethernet card.

The lspci command should be able to give you bunches of information about the PCI devices on your system. It may tell you something about your ethernet card which might lead you to try another module out.

-Dice 04-10-2004 11:29 PM

Thanks, I hadn't depmod'ed before. Actually, I tried doing it, but apparently woody doesn't ship with it, and I couldn't get it off the CD. I'll try fiding a .deb file.

Does it make a difference if I compiled it into the kernel or made it a module? It still works the same either way, right?

dulles 04-11-2004 12:43 AM

Well, modules are usually prefererable (for most folks) because it helps avoid the "monolithic kernel" problem.

Functionally, modules are nice because you can compile one, install it (depmod it, too), and try it out - all without a reboot!

But here's something maybe I didn't metion... VERY IMPORTANT... with the 2.6.5 kernel, you need new versions of all the module tools (insmod, rmmod, modprobe, etc.) in order to get them working. The package is called modules-init-tools.

IIRC there should be information in a file included with the kernel. Poke around the Documentation/ directory. modules.txt ?? I'm sorry I don't have a link!

-Dice 04-11-2004 01:28 AM

I installed modules-init-tools, but I'm not sure I did everything correctly and it all went to hell. Would I be better off using 2.6.4?


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