Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Networking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-30-2008, 10:08 PM
strnbrg
 
Posts: n/a
"eth0: unknown interface" with newly-compiled kernel

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


Reply With Quote
  #2 (permalink)  
Old 06-30-2008, 10:32 PM
Robert Harris
 
Posts: n/a
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
Reply With Quote
  #3 (permalink)  
Old 06-30-2008, 11:44 PM
David Schwartz
 
Posts: n/a
Re: "eth0: unknown interface" with newly-compiled kernel

On Jun 30, 2:08*pm, strnbrg <strnbr...@gmail.com> wrote:

> "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


The e100 driver is not the correct driver for your network interface.
You need either the lance driver or the pcnet32 driver. Make sure both
of them are compiled into your kernel or loaded as modules and try
again.

The config entries are:

config PCNET32
tristate "AMD PCnet32 PCI support"
depends on NET_PCI && PCI
select CRC32
select MII
help
If you have a PCnet32 or PCnetPCI based network (Ethernet)
card,
answer Y here and read the Ethernet-HOWTO, available from
<http://www.tldp.org/docs.html#howto>.

To compile this driver as a module, choose M here. The module
will be called pcnet32.

and

config LANCE
tristate "AMD LANCE and PCnet (AT1500 and NE2100) support"
depends on ISA && ISA_DMA_API
help
If you have a network (Ethernet) card of this type, say Y and
read
the Ethernet-HOWTO, available from
<http://www.tldp.org/docs.html#howto>. Some LinkSys cards are
of this type.

To compile this driver as a module, choose M here: the module
will be called lance. This is recommended.

I believe it's the PCNET32 driver that you want, but I'm not 100%
sure.

DS
Reply With Quote
  #4 (permalink)  
Old 07-01-2008, 03:03 AM
strnbrg
 
Posts: n/a
Re: "eth0: unknown interface" with newly-compiled kernel

Thanks, that worked!
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:46 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Credit Cards | Mortgage Calculator | Debt Help | Credit Cards | Car Tuning



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114