[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Balky Netgear FA311 ethernet card



Ron Johnson wrote:
>
>Have you grepped dmesg for eth0 or "[Nn]atsemi"?  What about
>/var/log/*log?  (Maybe that's what you mean by "does come up in
>the kernel messages", but the specifics would be useful.)
>
>And what's the output of lspci and "modprobe -v natsemi"?
>

Brian P. Flaherty wrote:
>I am currently running a 2.2 kernel with the same card.  It is my
>second card, and I have this in my /etc/network/interfaces file:
>
># The second network card
># (network, broadcast and gateway are optional)
># automatically added when upgrading
>auto eth1
> iface eth1 inet static
>        pre-up modprobe natsemi
>        address 192.168.110.125
>        netmask 255.255.255.0
>
>When I do lsmod, I see pci-scan is used by natsemi, so I think
>the above modprobe loads both modules. >
>Looking at the natsemi.c source, there is a debug variable that you
>can set when the module is loaded.  It says that 1 is normal messages
>and 7 is verbose.  If it still isn't working, perhaps doing that can
>help you figure out what is going wrong?
>

Thanks to both of you for your responses. I tried the /etc/network/interfaces file provided by Brian. The FA311 card is still dead from the point of view of the hub.

An ifconfig without parameters showed eth0 as up, but not running. lsmod showed only natsemi, not pci-scan. I set the debug variable to 7 on natsemi, and generated the kernel messages provided below from dmesg. I see that it now says that autonegotiation did not complete. I would be happy to provide a complete copy of the dmesg output if that would be helpful. Should the FA311 card be listed in early part of the kernel messages? That is when it seems to turn off. Brian, is pci-scan.o on your system? It was not on mine, and I had to compile it from the sources. Also Brian, where did you find out about ifup and /etc/network/interfaces? None of the Linux networking references I have even mention it.

Rick

The output of lspci is:

00:00.0 Host bridge: Intel Corp. 440FX - 82441FX PMC [Natoma] (rev 02)
00:07.0 ISA bridge: Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01)
00:07.1 IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
00:11.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W [Millennium] (rev 01)
00:13.0 SCSI storage controller: Adaptec AIC-7881U
00:14.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller

modprobe -v natsemi results in no response.

Excerpts from dmesg:

Linux version 2.4.18-bf2.4 (root@zombie) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Son Apr 14 09:53:28 CEST 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
found SMP MP-table at 000fb860
hm, page 000fb000 reserved twice.
hm, page 000fc000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 000f8000 reserved twice.
On node 0 totalpages: 16384
zone(0): 4096 pages.
zone(1): 12288 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.4
   Virtual Wire compatibility mode.
OEM ID: INTEL    Product ID: 440FX        APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 1
Kernel command line: auto BOOT_IMAGE=Linux ro root=1607
Initializing CPU#0
Detected 179.633 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 357.99 BogoMIPS
Memory: 61172k/65536k available (1783k kernel code, 3976k reserved, 549k data, 280k init, 0k highmem)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Before vendor init, caps: 0000fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 8K, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0000fbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0000fbff 00000000 00000000 00000000
CPU:             Common caps: 0000fbff 00000000 00000000 00000000
CPU: Intel Pentium Pro stepping 07
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000004
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-3, 2-9, 2-11, 2-15, 2-17, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...
..... (found pin 0) ...works.
number of MP IRQ sources: 16.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00170011
.......     : max redirection entries: 0017
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 001 01 0 0 0 0 0 1 1 31
01 001 01  0    0    0   0   0    1    1    39
02 000 00  1    0    0   0   0    0    0    00
03 000 00  1    0    0   0   0    0    0    00
04 001 01  0    0    0   0   0    1    1    41
05 001 01  0    0    0   0   0    1    1    49
06 001 01  0    0    0   0   0    1    1    51
07 001 01  0    0    0   0   0    1    1    59
08 001 01  0    0    0   0   0    1    1    61
09 000 00  1    0    0   0   0    0    0    00
0a 001 01  0    0    0   0   0    1    1    69
0b 000 00  1    0    0   0   0    0    0    00
0c 001 01  0    0    0   0   0    1    1    71
0d 001 01  0    0    0   0   0    1    1    79
0e 001 01  0    0    0   0   0    1    1    81
0f 000 00  1    0    0   0   0    0    0    00
10 001 01  1    1    0   1   0    1    1    89
11 000 00  1    0    0   0   0    0    0    00
12 001 01  1    1    0   1   0    1    1    91
13 001 01  1    1    0   1   0    1    1    99
14 001 01  0    0    0   0   0    1    1    A1
15 000 00  1    0    0   0   0    0    0    00
16 000 00  1    0    0   0   0    0    0    00
17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:18
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:19
IRQ10 -> 0:10
IRQ11 -> 0:16
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:20
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 179.6363 MHz.
..... host bus clock speed is 59.8785 MHz.
cpu: 0, clocks: 598785, slice: 299392
CPU0<T0:598784,T1:299392,D:0,S:299392,C:598785>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfdba1, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: PIIX3: Enabling Passive Release on 00:07.0
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket

.
.
.
then, at the end of messages:

NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 280k freed
Adding Swap: 64224k swap-space (priority -1)
natsemi.c:v1.07 1/9/2001  Written by Donald Becker <becker@scyld.com>
 http://www.scyld.com/network/natsemi.html
(unofficial 2.4.x kernel port, version 1.07+LK1.0.14, Nov 27, 2001 Jeff Garzik, Tjeerd Mulder)
eth0: NatSemi DP8381[56] at 0xc482a000, 00:40:f4:52:0f:24, IRQ 9.
eth0: Transceiver status 0x7849 advertising 0x5e1.
eth0: autonegotiation did not complete in 4000 usec.




Reply to: