Re: kernel compilation, ethernet card modules
Hi, I has locate my 2 ethernet cards with the lspci comand, thanks chris. Then i has go to make menuconfig and have selected this two ethernet drivers in order to recompile the kernel. Then when i restarted with my new kernel it has take the eth0 driver but it has take it with a message error of ... it is on half duplex sheame ... so when i do a ifconfig it did not get an ip on a dhcp query. And the second problem is that it seems to not load the driver to eth1 and i has security about the correct driver selected. Any ideas about this two problems? Thanks in advance. Francisco. - Original Message - From: Christoph Loeffler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 PM Subject: Re: kernel compilation, ethernet card modules Hi, Francisco Castillo wrote: I has now instaled a 2.4.18 kernel on my debian woody, i has installed it with lilo running my old kernel 2.2.20 too. My new kernel only has a problem, that is : it seems to not have loaded the module of the ethernet card, so it give me the error Error while getting eth0 interface no such device First of all you should know, which ethernet card you have: manufacturer, model, useful is to know the chipset. - lspci could give you a hint. then you can try to load the driver for your card with modconf. The cards are named there, so perhaps it is easier to find the appropriate module with this tool. Once you know the module and you want to compile a custom kernel, you have to use this module, which works when loading with modconf. Other possibility: you boot with 2.2.20 and do lsmod this shows you the loaded modules, but if you did not compile it as module, it does not show up (if compiled in the kernel) Greetings chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
kernel compilation, ethernet card modules
Hi, I has now instaled a 2.4.18 kernel on my debian woody, i has installed it with lilo running my old kernel 2.2.20 too. My new kernel only has a problem, that is : it seems to not have loaded the module of the ethernet card, so it give me the error Error while getting eth0 interface no such device My error is described on http://www.esdebian.org/forum/viewtopic.php?showtopic=18898 I has do various make menuconfig trying to set my ethernet card ( i have put all drivers in order to catch my card), but i has not solve the problem. I has seen differences between the /lib/modules/2.4.18 and the /lib/modules/2.2.20 (i attach a ls of this directories) , it has no net directory (the 2.4.18) So i ask for help: How could i solve my problem? How colud i setup the eth0 interface ? Is make menuconfig the best choice in order to do it? Thanks in advance, Francisco. PD. I could public more info of my problem if you need it. morpheo:/lib/modules/2.4.18# ls -la total 60 drwxr-xr-x4 root root 4096 Jul 12 18:25 . drwxr-xr-x 10 root root 4096 Jul 12 18:25 .. lrwxrwxrwx1 root root 29 Jul 12 18:25 build - /usr/src/kernel-source-2.4.18 drwxr-xr-x3 root root 4096 Jul 12 18:25 kernel -rw-r--r--1 root root 2999 Jul 12 18:25 modules.dep -rw-r--r--1 root root 31 Jul 12 18:25 modules.generic_string -rw-r--r--1 root root 73 Jul 12 18:25 modules.ieee1394map -rw-r--r--1 root root 957 Jul 12 18:25 modules.isapnpmap -rw-r--r--1 root root 29 Jul 12 18:25 modules.parportmap -rw-r--r--1 root root14407 Jul 12 18:25 modules.pcimap -rw-r--r--1 root root 24 Jul 12 18:25 modules.pnpbiosmap -rw-r--r--1 root root 189 Jul 12 18:25 modules.usbmap drwxr-xr-x2 root root 4096 Jul 12 18:21 pcmcia morpheo:/lib/modules/2.2.20# ls -la total 112 drwxr-xr-x 12 root root 4096 Jul 8 19:21 . drwxr-xr-x 10 root root 4096 Jul 12 18:25 .. drwxr-xr-x2 root root 4096 Jul 8 19:21 block drwxr-xr-x2 root root 4096 Jul 8 19:21 cdrom drwxr-xr-x2 root root 4096 Jul 8 19:21 fs drwxr-xr-x2 root root 4096 Jul 8 19:21 ipv4 drwxr-xr-x2 root root 4096 Jul 8 19:21 ipv6 drwxr-xr-x2 root root 8192 Jul 8 19:21 misc -rw-r--r--1 root root30732 Jul 8 19:45 modules.dep -rw-r--r--1 root root 31 Jul 8 19:45 modules.generic_string -rw-r--r--1 root root 73 Jul 8 19:45 modules.ieee1394map -rw-r--r--1 root root 81 Jul 8 19:45 modules.isapnpmap -rw-r--r--1 root root 29 Jul 8 19:45 modules.parportmap -rw-r--r--1 root root 99 Jul 8 19:45 modules.pcimap -rw-r--r--1 root root 24 Jul 8 19:45 modules.pnpbiosmap -rw-r--r--1 root root 189 Jul 8 19:45 modules.usbmap drwxr-xr-x2 root root 4096 Jul 8 19:21 net drwxr-xr-x2 root root 4096 Jul 8 19:21 scsi drwxr-xr-x2 root root 4096 Jul 8 19:21 usb drwxr-xr-x2 root root 4096 Jul 8 19:21 video - Original Message - From: Kris Deugau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 08, 2004 5:34 PM Subject: Re: nat ipchains on debian woody Francisco Castillo wrote: Then i do a apt-get install kernel-image-2.18.14-686, and this installations works fine. Then it puts me a entry on the lilo in order to load the new kernel (the old kernel is a 2.2 original woody, it has a 686 ) but the problem for me now is that when i reboot the kernel canĀ“t load. It give me a kernel panic message , unable to load the boot.1006. It seems like this new kernel dont works on my hard plataform, but it happens the same with the kernel-image.2.18-14-586tsc. This could be true? I've heard of this happening (typically with Compaq servers, for some reason), but I've yet to have it happen to me. If you really want to run a 2.4 kernel, or you really want iptables, you'll probably have to compile a custom kernel. :/ IIRC you *can* use iptables with a 2.2 kernel, but it's a pain to get up and running. How can i Knew what is the soft or version of kernel-image i must use in my hard system? Anyone else? I've found stock kernels work fine for me, but I've occasionally run into hardware that doesn't run with them. Could be posible to has a kernel 2.2 of woody and a nat configuration (ipmasquerade) ? Could i do it with ipchanis? It can be done; it also has some very specific flaws and limitations that make it less flexible than iptables. What could be this procedure to setup this configuration? Here's a very trimmed-down version of a firewall script I used to use; for a variety of reasons I no longer use this particular script or anything like it on most of my systems.
Re: kernel compilation, ethernet card modules
Hi, Francisco Castillo wrote: I has now instaled a 2.4.18 kernel on my debian woody, i has installed it with lilo running my old kernel 2.2.20 too. My new kernel only has a problem, that is : it seems to not have loaded the module of the ethernet card, so it give me the error Error while getting eth0 interface no such device First of all you should know, which ethernet card you have: manufacturer, model, useful is to know the chipset. - lspci could give you a hint. then you can try to load the driver for your card with modconf. The cards are named there, so perhaps it is easier to find the appropriate module with this tool. Once you know the module and you want to compile a custom kernel, you have to use this module, which works when loading with modconf. Other possibility: you boot with 2.2.20 and do lsmod this shows you the loaded modules, but if you did not compile it as module, it does not show up (if compiled in the kernel) Greetings chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]