Re: "eth0: unknown interface" with newly-compiled kernel



strnbrg wrote:
I built a new kernel from the 2.6.25.6 sources, installed it, the
modules and the new System.map. But for some reason it doesn't want
to do anything ethernet. The new kernel comes up ok otherwise. I
know I configured ethernet (of various kinds) in to the kernel (I
started with the default configuration and didn't remove anything
network-related).

If I type "route", all that comes up is the loopback device. If I
type "ifconfig eth0 up", it comes back with "eth0: unknown interface:
No such device".

"lspci" seems to know about my network card:
02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970
[PCnet32 LANCE] (rev 10).

/var/log/messages doesn't say anything about a network interface.
However, dmesg seems not unhappy:
loop: module loaded
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation


1. Make sure that PCNET32 is set in your .config file
2. Try eth1 or eth2

Robert
.



Relevant Pages

  • Re: networking problem
    ... > Static IP address configuration in Windows XPe environment HOWTO ... > To be able to be pingable with one ethernet card in your target machine, ... > Network Command Shell ... > Command Shell Interface Context ...
    (microsoft.public.windowsxp.embedded)
  • problem building UML kernel with 2.6.16.1 -- dies when linking vmlinux
    ... I'm trying to build a UML kernel with 2.6.16.1. ... # Loadable module support ... # IP: Virtual Server Configuration ... # UML Network Devices ...
    (Linux-Kernel)
  • Woody with 2.4.18-bf2.4: network interface configuration
    ... I'm very puzzled about how network device configuration is actually ... done under Woody with the "of-the-shelf" kernel 2.4.18-bf2.4. ... that "interface eth0 already configured". ...
    (Debian-User)
  • Re: Firewire debugging tools - firedump & fireproxy?
    ... Develop a low level dedicated ethernet debug interface. ... of the kernel. ... modifications to network drivers. ...
    (Linux-Kernel)
  • Re: Problem with NON-Wireless network card
    ... Under previous kernel, which I still have installed, it finds this card and configures eth0 to use it. ... Since it is not in the hardware list in the network configuration utility, ... First as root in a terminal type lspci and from the list should be your Ethernet card. ...
    (Fedora)