Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0: unknown interface: no such device ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
no_name
n00b
n00b


Joined: 29 Sep 2004
Posts: 32
Location: Berlin

PostPosted: Tue Oct 19, 2004 1:38 pm    Post subject: eth0: unknown interface: no such device ?? Reply with quote

Hi,
I got some problems with my network card. I performed a stage1 installation and everything works just fine. But as I tried to boot from harddisk I realised that my network card couldn't be found anymore. While booting up I got some error messages like:
Code:
SIOCSIFNETMASK: No such device
eth0: Unknown interface: No such device

I have a 3COM card (3c905B TX) and a 2.6.8.1 Kernel. I already activated 3COM support for 3c59x/900 Series network cards in my Kernel (menuconfig). And I also tried to load 3c59x module (autoload) but the problem still persists.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Oct 19, 2004 1:55 pm    Post subject: Reply with quote

You can't have it both ways - is it built in or a module ?
You need the 3c59x module for almost all 100mbit 3Com cards.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
no_name
n00b
n00b


Joined: 29 Sep 2004
Posts: 32
Location: Berlin

PostPosted: Tue Oct 19, 2004 2:04 pm    Post subject: Reply with quote

Well, I have tried both. First as built in and then as a module. It's all the same: unknown interface.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Tue Oct 19, 2004 2:20 pm    Post subject: Reply with quote

no_name,

Show us the lspci output.
You either don't have the NIC you think you do or you have been building the wrong thing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
no_name
n00b
n00b


Joined: 29 Sep 2004
Posts: 32
Location: Berlin

PostPosted: Tue Oct 19, 2004 2:41 pm    Post subject: Reply with quote

NeddySeagoon,
there is no lspci on my system (command not found) but I'm quite sure that it is the right NIC since I read the printing on the card itself.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Oct 19, 2004 2:46 pm    Post subject: Reply with quote

Code:
emerge pciutils

to get lspci.

We mean it ;-)

But if you're absolutely sure, then try disabling ACPI and APIC on boot - these are known to cause weird problems from time to time.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Tue Oct 19, 2004 3:23 pm    Post subject: Reply with quote

no_name,

The 3c509B can have several chip sets, depending on what it says on the top of the large black IC in the card, you need either
the 3c59x or 3c50x driver.
See this page http://support.3com.com/infodeli/inotes/techtran/5a96_5ea.htm
Since you have tried one, give the other a shot.

lspci is on the liveCD too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Oct 19, 2004 9:29 pm    Post subject: Reply with quote

NeddySeagoon wrote:
The 3c509B

Erm... 3C905B, I think he wrote ;-)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
val
Apprentice
Apprentice


Joined: 30 Jun 2004
Posts: 234

PostPosted: Wed Oct 20, 2004 5:07 am    Post subject: Reply with quote

I had this happen to me and all that was wrong was that I had a bad ethernet cable. I struggled with it for days before I figured this out. :lol:

Sometimes the fancy ones with the rubber that goes around the head and covers up the tiny plastic lever (hope this makes sense) don't work with linux drivers for eth0 (reason is totally beyond me). Get a really plain one.
_________________
My log saw what happened to Laura Palmer. Go ahead. Ask it.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Oct 20, 2004 8:34 am    Post subject: Reply with quote

Quote:
Sometimes the fancy ones with the rubber that goes around the head and covers up the tiny plastic lever

You mean a molded connector.

Quote:
(hope this makes sense) don't work with linux drivers for eth0 (reason is totally beyond me).

Reason is simple - it is very hard to see whether they are broken.
Meaning it probably is.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
no_name
n00b
n00b


Joined: 29 Sep 2004
Posts: 32
Location: Berlin

PostPosted: Thu Oct 21, 2004 6:22 pm    Post subject: Reply with quote

OK, I found a solution, which is still dissatisfactory. It is working proberly if I enter:
Code:
modprobe 3c59x
but I want to load it automatically during boot up!!

As I already mentioned, it can't find the eth0 device if it is built in the kernel or loaded as module (/etc/modules.autoload.d/kernel-2.6).
Back to top
View user's profile Send private message
kaffeen
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 139
Location: The Frozen North

PostPosted: Thu Oct 21, 2004 6:35 pm    Post subject: Reply with quote

To have it load during boot, add '3c59x' to /etc/modules.autoload.d/kernel-2.6.
Back to top
View user's profile Send private message
val
Apprentice
Apprentice


Joined: 30 Jun 2004
Posts: 234

PostPosted: Thu Oct 21, 2004 7:38 pm    Post subject: Reply with quote

adaptr wrote:
Quote:
Sometimes the fancy ones with the rubber that goes around the head and covers up the tiny plastic lever

You mean a molded connector.

Quote:
(hope this makes sense) don't work with linux drivers for eth0 (reason is totally beyond me).

Reason is simple - it is very hard to see whether they are broken.
Meaning it probably is.


Well, the wierd thing would be that such cables would work with the same computer booted into windows but not in linux.
_________________
My log saw what happened to Laura Palmer. Go ahead. Ask it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum