Skip to contentSkip to conversation

Dell Precision 330 (Pentium 4, i850 chipset, 3c905c)

DISCUSSION I Lee Hetherington 2 participants 8 messages Jan 4, 2001 – Jan 5, 2001

lore
Share & tools
lore
#0 lore raw

Anybody get this working with 2.2.18 or 2.4.0-prerelease? I can't seem to get the on-board 3c905c to work. I've seen it without an interrupt assignment in /proc/interrupts. With Red Hat's pump (DHCP), it sends packets out but doesn't seem to see the response.

I can provide more details.

--Lee Hetherington

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 7 lines · I Lee Hetherington

Anybody get this working with 2.2.18 or 2.4.0-prerelease? I can't seem to get the on-board 3c905c to work. I've seen it without an interrupt assignment in /proc/interrupts. With Red Hat's pump (DHCP), it sends packets out but doesn't seem to see the response.

I can provide more details.

Please do. The boot-time messages which come out of the driver would be interesting. It would help if you add `debug=7' to the 3c59x modprobe command line also.

Thanks.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to I Lee Hetherington
Quoted 3 lines · Andrew Morton

Please do. The boot-time messages which come out of the driver would be interesting. It would help if you add `debug=7' to the 3c59x modprobe command line also.

OK. I've included dmesg output due to modprobe with debug=7 followed by ifup (using pump -- problems persist with static IP as well), cat /proc/interrupts showing no eth0, and ifconfig eth0.

Please let me know what else I can provide to help out.

--Lee Hetherington

3c59x.c 15Sep00 Donald Becker and others http://www.scyld.com/network/vortex.html
eth0: 3Com 3c905C Tornado at 0xe880, 00:b0:d0:14:d2:b4, IRQ 11
Internal config register is 1800000, transceivers 0xa.
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 1, status 24.
MII transceiver found at address 2, status 24.
Enabling bus-master transmits and whole-frame receives.

eth0: Initial media type Autonegotiate.
eth0: MII #1 status 0024, link partner capability 41e1, setting full-duplex.
eth0: vortex_open() InternalConfig 01800000.
eth0: vortex_open() irq 11 media status 8080.
eth0:  Filling in the Rx ring.
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: Trying to send a boomerang packet, Tx index 0.
eth0: interrupt, status f201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status f201.
eth0: exiting interrupt, status f000.
eth0: Media selection timer tick happened, Autonegotiate.
eth0: MII transceiver has status 0020.
eth0: Media selection timer finished, Autonegotiate.
eth0: Trying to send a boomerang packet, Tx index 1.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: Trying to send a boomerang packet, Tx index 2.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 3.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 4.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 5.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 6.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 7.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 8.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 9.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 10.
eth0: interrupt, status e201, latency 2, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: vortex_close() status e000, Tx status 00.
eth0: vortex close stats: rx_nocopy 0 rx_copy 0 tx_queued 11 Rx pre-checksummed 0.
eth0: Initial media type Autonegotiate.
eth0: MII #1 status 0020, link partner capability 41e1, setting full-duplex.
eth0: vortex_open() InternalConfig 01800000.
eth0: vortex_open() irq 11 media status 8080.
eth0:  Filling in the Rx ring.
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: Trying to send a boomerang packet, Tx index 0.
eth0: interrupt, status f201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status f201.
eth0: exiting interrupt, status f000.
eth0: Media selection timer tick happened, Autonegotiate.
eth0: MII transceiver has status 0020.
eth0: Media selection timer finished, Autonegotiate.
eth0: Trying to send a boomerang packet, Tx index 1.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: no boomerang interrupt pending
eth0: no boomerang interrupt pending
eth0: Trying to send a boomerang packet, Tx index 2.
eth0: interrupt, status e201, latency 2, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 3.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 4.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 5.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 6.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 7.
eth0: interrupt, status e201, latency 2, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 8.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 9.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: Trying to send a boomerang packet, Tx index 10.
eth0: interrupt, status e201, latency 3, cur_rx 0, dirty_rx 0
eth0: In interrupt loop, status e201.
eth0: exiting interrupt, status e000.
eth0: vortex_close() status e000, Tx status 00.
eth0: vortex close stats: rx_nocopy 0 rx_copy 0 tx_queued 22 Rx pre-checksummed 0.
           CPU0       
  0:      20048          XT-PIC  timer
  1:        314          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 11:       1660          XT-PIC  aic7xxx
 12:          0          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 15:          7          XT-PIC  ide1

NMI: 0

eth0 Link encap:Ethernet HWaddr 00:B0:D0:14:D2:B4
BROADCAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:1 frame:0 TX packets:23 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:100
Interrupt:11 Base address:0xe880

#4 lore raw
In reply to I Lee Hetherington
Quoted 10 lines · I Lee Hetherington
Quoted 3 lines · Andrew Morton

Please do. The boot-time messages which come out of the driver would be interesting. It would help if you add `debug=7' to the 3c59x modprobe command line also.

OK. I've included dmesg output due to modprobe with debug=7 followed by ifup (using pump -- problems persist with static IP as well), cat /proc/interrupts showing no eth0, and ifconfig eth0.

OK, that's wierd. Why on earth isn't it showing up in /proc/interrupts? It's certainly generating Tx interrupts, and the ISR is being called.

Is this a new NIC? 3Com have just started shipping a new flavour of the 905c, the 3c905CX. With this device the RxReset command takes tens of milliseconds to complete, not tens of microseconds like all the others. This breaks the driver. You end up being able to transmit but not receive.

And the old media interface selection algorithms don't work
right with the 3c905CX either. We only got this sorted
a few days ago and we missed the 2.4.0 boat :(

Could you please test this 2.2 driver?

	http://www.uow.edu.au/~andrewm/linux/3c59x.c-2.2.19-pre2-2.gz

Thanks.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw
In reply to I Lee Hetherington
Quoted 3 lines · Andrew Morton

Could you please test this 2.2 driver?

        http://www.uow.edu.au/~andrewm/linux/3c59x.c-2.2.19-pre2-2.gz

Bingo! This driver works fine. Thanks.

(Why do hardware people keep tweaking things for seemingly unnecessary reasons?)

--Lee Hetherington

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#6 lore raw
In reply to I Lee Hetherington
Quoted 8 lines · I Lee Hetherington
Quoted 3 lines · Andrew Morton

Could you please test this 2.2 driver?

        http://www.uow.edu.au/~andrewm/linux/3c59x.c-2.2.19-pre2-2.gz

Bingo! This driver works fine. Thanks.

And /proc/interrupts?

Quoted 1 line

(Why do hardware people keep tweaking things for seemingly unnecessary reasons?)

They hate software people.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/