LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Gentoo Fresh Build - 3COM 3c905C not being recognized. (https://www.linuxquestions.org/questions/linux-hardware-18/gentoo-fresh-build-3com-3c905c-not-being-recognized-703687/)

Wheat_Thins 02-10-2009 01:47 PM

Gentoo Fresh Build - 3COM 3c905C not being recognized.
 
Long time Ubuntu user wanting more exposure to the inner workings of Linux so am trying out Gentoo on a spare laptop.

Made it perfectly fine through the minimal base install (No live CD just CLI) compiled my own kernel based off the gentoo-source and no matter what I try I cannot get my network card to work.

Here is my lspci output:

Code:

00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go] (rev a3)
02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
02:01.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
02:01.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
02:01.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller

The only options I had when customizing the kernel was the 3C59X option under the 3COM 10/100 network controllers. I compiled it directly into the kernel instead of a module.

(Whats the benefit of a module compared to directly compiling it into the kernel anyways?)

Now when I boot I get to the very end of the boot process and hits this error message:

Code:

network interface eth0 does not exist please verify hardware or kernel module (driver)
The closest thing I could find with google or even in this forum was to try:

Code:

insmod 3c59x
which returns

Code:

insmod: can't read '3c59x': no such file or directory
Any help or direction would be greatly appreciated. :(

serafean 02-10-2009 02:11 PM

Hi, insmod loads the module from the directory you're currently in, you want to use
Code:

modprobe 3c59x
. If the minimal CD sees the controler fine, its just a matter of checking the kernel/module. Also check if the device doesn't have a different name :
Code:

ifconfig -a

Wheat_Thins 02-11-2009 07:50 AM

Quote:

Originally Posted by serafean (Post 3438779)
Hi, insmod loads the module from the directory you're currently in, you want to use
Code:

modprobe 3c59x
. If the minimal CD sees the controler fine, its just a matter of checking the kernel/module. Also check if the device doesn't have a different name :
Code:

ifconfig -a

When I try:

Code:

modprobe 3cc59x
I get:

Code:

FATAL: Module 3c59x not found.
I compiled this module directly into the kernel during kernel creation.

When I use ifconfig -a it only shows my local loop back "lo" device.



This is a Inspiron 8200 Laptop maybe there is an issue with the hardware in it?

Wheat_Thins 02-12-2009 01:22 PM

I just wanted to add to this that I was able to use the NIC during the installation when the CD does all the auto-recognizing of the hardware.

syg00 02-12-2009 05:15 PM

So check lsmod (on the liveCD).

Wheat_Thins 02-13-2009 09:04 AM

Quote:

Originally Posted by syg00 (Post 3441598)
So check lsmod (on the liveCD).

OK, so I booted into the minimal boot CD again. (NO GUI)

It see's my network adaptor just fine:

Quote:

eth0 Link encap:Ethernet HWaddr 00:08:74:E4:DD:A3
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:1428 (1.3 Kb) TX bytes:1366 (1.3 Kb)
Interrupt:11 Base address:0xc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:144 (144.0 b) TX bytes:144 (144.0 b)

I masked out my IP.

So then here is my lsmod:

Code:

Module                  Size  Used by
dock                  18448  0
fan                    12804  0
pcmcia                45100  0
video                  26640  0
backlight              13188  1 video
output                11776  1 video
thermal                24092  0
yenta_socket          32908  2
rsrc_nonstatic        20480  1 yenta_socket
pcmcia_core            45076  3 pcmcia,yenta_socket,rsrc_nonstatic
button                16528  0
battery                16640  0
ac                    12544  0
processor              39656  2 thermal
3c59x                  49960  0
mii                    13312  1 3c59x
floppy                61764  0
rtc                    20768  0
tg3                  111748  0
e1000                119616  0
jfs                  169836  0
raid10                30080  0
raid456              129296  0
async_memcpy          10880  1 raid456
async_xor              12160  1 raid456
xor                    21896  2 raid456,async_xor
async_tx              15948  3 raid456,async_memcpy,async_xor
raid1                  30080  0
raid0                  15872  0
dm_bbr                20128  0
dm_snapshot            24996  0
dm_mirror              29440  0
dm_mod                63428  3 dm_bbr,dm_snapshot,dm_mirror
sbp2                  29960  0
ohci1394              38192  0
ieee1394              92600  2 sbp2,ohci1394
sl811_hcd              19968  0
usbhid                35712  0
ohci_hcd              29700  0
uhci_hcd              30988  0
usb_storage          120608  2
ehci_hcd              39948  0
usbcore              133484  7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
lpfc                  216016  0
qla2xxx              168548  0
firmware_class        17408  2 pcmcia,qla2xxx
megaraid_sas          35504  0
megaraid_mbox          38160  0
megaraid_mm            18464  1 megaraid_mbox
megaraid              44360  0
aacraid                68996  0
sx8                    25484  0
DAC960                73032  0
cciss                  41220  0
cpqarray              28004  0
3w_9xxx                39300  0
3w_xxxx                32928  0
mptsas                43144  0
scsi_transport_sas    37120  1 mptsas
mptfc                  25988  0
scsi_transport_fc      49028  3 lpfc,qla2xxx,mptfc
scsi_tgt              22344  1 scsi_transport_fc
mptspi                28296  0
mptscsih              41344  3 mptsas,mptfc,mptspi
mptbase                78308  4 mptsas,mptfc,mptspi,mptscsih
atp870u                36352  0
dc395x                39052  0
sim710                13188  0
53c700                33444  1 sim710
qla1280              123660  0
dmx3191d              20096  0
sym53c8xx              77588  0
qlogicfas408          15104  0
aha152x                42512  0
aha1740                15872  0
advansys              85248  0
initio                24900  0
BusLogic              72948  0
arcmsr                29952  0
aic7xxx              168760  0
aic79xx              241624  0
scsi_transport_spi    30848  7 mptspi,53c700,dmx3191d,sym53c8xx,aha152x,aic7xxx,aic79xx
sg                    41360  0
pdc_adma              17668  0
sata_inic162x          20228  0
sata_mv                28936  0
ata_piix              26372  0
ahci                  34180  0
sata_qstor            17924  0
sata_vsc              16516  0
sata_uli              15620  0
sata_sis              16772  0
sata_sx4              20484  0
sata_nv                33160  0
sata_via              19588  0
sata_svw              15748  0
sata_sil24            24068  0
sata_sil              19080  0
sata_promise          20996  0
scsi_wait_scan          9472  0
pata_sis              21892  1 sata_sis
libata                152248  17 pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sis

Do I maybe need that "mii" module since its used by the "3x59x" module? How do I tell what the "mii" module actually is? Is there a place were I can look up what "mii" is?

Thank You for your patients with me.

Sargek 02-13-2009 09:44 AM

Is there an option in the kernel for "Tornado" instead of the 3com number? For example, there is an option for the 3com "vortex/boomerang" cards like this:

"CONFIG_VORTEX"

You could always build the kernel with EVERY 3com driver either built in or as a module and then if it works, look for the one that is loaded and remove the rest. I have always built kernel modules (drivers) into the kernel. The kernel is a bit larger, but all of my systems have run just fine. There are probably advantages to each. You MUST build file system support into the kernel not as a module, or use an initrd, because otherwise you will not be able to read the disk the / partition is on...

serafean 02-13-2009 10:01 AM

Hi, look through dmesg and look for any message about your card's driver (it would be easier if it was compiled as a module : run modprobe, and you can be sure the driver's outpt will be last = the first you look at). also modprobe won't work if the driver is compiled into the kernel : no module to load. I'll look around for mii and post back.

Wheat_Thins 02-16-2009 03:11 PM

Quote:

Originally Posted by Sargek (Post 3442394)
Is there an option in the kernel for "Tornado" instead of the 3com number? For example, there is an option for the 3com "vortex/boomerang" cards like this:

"CONFIG_VORTEX"

You could always build the kernel with EVERY 3com driver either built in or as a module and then if it works, look for the one that is loaded and remove the rest. I have always built kernel modules (drivers) into the kernel. The kernel is a bit larger, but all of my systems have run just fine. There are probably advantages to each. You MUST build file system support into the kernel not as a module, or use an initrd, because otherwise you will not be able to read the disk the / partition is on...

There is a Tornado specific kernel option which I picked to be built directly into the kernel.


Quote:

Originally Posted by serafean (Post 3442409)
Hi, look through dmesg and look for any message about your card's driver (it would be easier if it was compiled as a module : run modprobe, and you can be sure the driver's outpt will be last = the first you look at). also modprobe won't work if the driver is compiled into the kernel : no module to load. I'll look around for mii and post back.

dmesg output:

Code:

[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.27-gentoo-r8 (root@livecd) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)) #1 Mon Feb 9 05:06:49 EST 2009
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.467689] NET: Registered protocol family 2
[    0.467986] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.468469] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.468738] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.468889] TCP: Hash tables configured (established 16384 bind 16384)
[    0.468994] TCP reno registered
[    0.469186] NET: Registered protocol family 1

[    0.930627] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.931423] 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.932338] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
[    0.932433] PCI: setting IRQ 5 as level-triggered
[    0.932440] serial 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 5 (level, low) -> IRQ 5
[    0.932605] serial 0000:00:1f.6: PCI INT B disabled
[    0.935300] brd: module loaded
[    0.936730] loop: module loaded
[    0.936820] Intel(R) PRO/1000 Network Driver - version 7.3.20-k3-NAPI
[    0.936911] Copyright (c) 1999-2006 Intel Corporation.
[    0.937095] e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6
[    0.937187] e1000e: Copyright (c) 1999-2008 Intel Corporation.
[    0.937429] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[    0.937521] e100: Copyright(c) 1999-2006 Intel Corporation
[    0.938334] console [netcon0] enabled
[    0.938423] netconsole: network logging started

[    2.432264] Advanced Linux Sound Architecture Driver Version 1.0.17.
[    2.432954] ALSA device list:
[    2.433063]  No soundcards found.
[    2.433251] Netfilter messages via NETLINK v0.30.
[    2.433399] nf_conntrack version 0.5.0 (6144 buckets, 24576 max)
[    2.433921] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    2.434289] ctnetlink v0.93: registering with nfnetlink.
[    2.435655] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.435788] TCP cubic registered
[    2.435878] NET: Registered protocol family 17
[    2.436295] RPC: Registered udp transport module.
[    2.436387] RPC: Registered tcp transport module.
[    2.436517] Using IPI Shortcut mode
[    2.436881] registered taskstats version 1

I trimmed the output because it was to big to post the entire posting. I have only included anything that looked related to the network or other errors in the output. I notice it does not even list the 3com driver, does the network driver have to be a module to show up in dmesg?

serafean 02-19-2009 01:14 PM

Hi, why is there e1000 in your lsmod and dmesg? (rhetorical question : I know you had nothing to do with it) unless your card is something else than it says it is (unlikely), try removing the e1000 module from /lib/modules/(you'll find it here) or recompiling the kernel without e1000 support (it might help forcing the kernel to detect correctly the driver to use). Another option is to blacklist the e1000 module : add
Code:

blacklist e1000
to /etc/modprobe.conf.

ciberrust 03-28-2009 10:51 AM

Quote:

Originally Posted by Wheat_Thins (Post 3445924)
There is a Tornado specific kernel option which I picked to be built directly into the kernel.




dmesg output:

Code:

[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.27-gentoo-r8 (root@livecd) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)) #1 Mon Feb 9 05:06:49 EST 2009
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.467689] NET: Registered protocol family 2
[    0.467986] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.468469] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.468738] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.468889] TCP: Hash tables configured (established 16384 bind 16384)
[    0.468994] TCP reno registered
[    0.469186] NET: Registered protocol family 1

[    0.930627] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.931423] 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.932338] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
[    0.932433] PCI: setting IRQ 5 as level-triggered
[    0.932440] serial 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 5 (level, low) -> IRQ 5
[    0.932605] serial 0000:00:1f.6: PCI INT B disabled
[    0.935300] brd: module loaded
[    0.936730] loop: module loaded
[    0.936820] Intel(R) PRO/1000 Network Driver - version 7.3.20-k3-NAPI
[    0.936911] Copyright (c) 1999-2006 Intel Corporation.
[    0.937095] e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6
[    0.937187] e1000e: Copyright (c) 1999-2008 Intel Corporation.
[    0.937429] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[    0.937521] e100: Copyright(c) 1999-2006 Intel Corporation
[    0.938334] console [netcon0] enabled
[    0.938423] netconsole: network logging started

[    2.432264] Advanced Linux Sound Architecture Driver Version 1.0.17.
[    2.432954] ALSA device list:
[    2.433063]  No soundcards found.
[    2.433251] Netfilter messages via NETLINK v0.30.
[    2.433399] nf_conntrack version 0.5.0 (6144 buckets, 24576 max)
[    2.433921] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    2.434289] ctnetlink v0.93: registering with nfnetlink.
[    2.435655] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.435788] TCP cubic registered
[    2.435878] NET: Registered protocol family 17
[    2.436295] RPC: Registered udp transport module.
[    2.436387] RPC: Registered tcp transport module.
[    2.436517] Using IPI Shortcut mode
[    2.436881] registered taskstats version 1

I trimmed the output because it was to big to post the entire posting. I have only included anything that looked related to the network or other errors in the output. I notice it does not even list the 3com driver, does the network driver have to be a module to show up in dmesg?

i have the same problem with 2 3com cards in centos 5.2:
3Com Corporation 3c905B 100BaseTX [Cyclone]
3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)

the module is not there, it seems that the module is no longer supported anymore, but it got to be a way i've google for days with no luck on the cards...


All times are GMT -5. The time now is 02:31 AM.