From tulip-admin@blueraja.scyld.com Tue May 16 10:23:08 2000 Received: from panda.infomagnetics.com (panda.InfoMagnetics.COM [198.163.1.170]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA24906 for ; Tue, 16 May 2000 10:22:59 -0400 Received: from darveau (hidden-user@[205.200.7.2]) by panda.infomagnetics.com (8.9.3/8.9.3) with SMTP id JAA00901 for ; Tue, 16 May 2000 09:28:06 -0500 (CDT) Message-ID: <000801bfbf41$c36a0d30$0ffea8c0@imt.ca> From: "Stephane Darveau" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01BFBF17.D5B3B2E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [tulip] Component Information Date: Tue May 16 10:23:09 2000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BFBF17.D5B3B2E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good Day, My name is Stephane Darveau and I am currently employed at Info = Magnetics Technologies in Winnipeg. I am researching potential parts = for an upcoming project involving ethernet transmission, and was hoping = you could send me a datasheet as well as a price quote for your DEC = 21140 tulip ethernet controller chip. Please contact me via email at = sdarveau@imt.ca for any questions or comments. I look forward to hearing from you, Stephane Darveau ------=_NextPart_000_0005_01BFBF17.D5B3B2E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Good Day,
 
My name is Stephane Darveau and I am = currently=20 employed at Info Magnetics Technologies in Winnipeg.  I am = researching=20 potential parts for an upcoming project involving ethernet transmission, = and was=20 hoping you could send me a datasheet as well as a price quote for your = DEC 21140=20 tulip ethernet controller chip.  Please contact me via email at sdarveau@imt.ca for any questions or = comments.
 
I look forward to hearing from = you,
 
Stephane = Darveau
------=_NextPart_000_0005_01BFBF17.D5B3B2E0-- From tulip-admin@blueraja.scyld.com Tue May 16 18:03:09 2000 Received: from tinet0.redestb.es ([194.179.106.117]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id SAA04172 for ; Tue, 16 May 2000 18:03:08 -0400 Received: from fclients0.redestb.es ([194.179.106.116]) by tinet0.redestb.es (Post.Office MTA v3.1 release PO203a ID# 0-0U10L2S100) with ESMTP id AAA234; Tue, 16 May 2000 23:57:35 +0200 Received: from moebius ([62.82.192.110]) by fclients0.redestb.es (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-0U10L2S100) with ESMTP id AAA195; Tue, 16 May 2000 23:57:33 +0200 Received: from rcm by moebius with local (Exim 3.12 #1 (Debian)) id 12rpLB-0000JW-00; Tue, 16 May 2000 23:57:25 +0200 From: Rafael Cordones Marcos To: linux-tulip@beowulf.org Cc: danilo@cs.uni-magdeburg.de Message-ID: <20000516235725.A1189@bcnartdirecte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i X-Operating-System: GNU/Debian Linux with kernel 2.2.14 Subject: [tulip] Xircom CBEM support Date: Tue May 16 18:03:13 2000 Hi, Is anybody working on Xircom CBEM support in tulip.c? I have a Xircom RBEM56G-100 and the network part doesn't work with the latest pcmcia package. The tulip driver I am using is: -------------------------------------------------------------------------- May 15 08:29:24 moebius kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) May 15 08:29:24 moebius kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x200, 00:10:A4:FA:92:69, IRQ 9. -------------------------------------------------------------------------- Thanks, Rafa P.S. danilo@cs.uni-magdeburg.de has not answered yet an email I sent him last week. -- Linux! The Choice of a GNU Generation! -> http://www.debian.org From tulip-admin@blueraja.scyld.com Wed May 17 04:16:14 2000 Received: from vaio.greennet (adsl-151-196-245-38.bellatlantic.net [151.196.245.38]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id EAA08907 for ; Wed, 17 May 2000 04:16:13 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id EAA01750; Wed, 17 May 2000 04:13:40 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Stephane Darveau cc: linux-tulip@beowulf.org Subject: Re: [tulip] Component Information In-Reply-To: <000801bfbf41$c36a0d30$0ffea8c0@imt.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed May 17 04:16:15 2000 On Tue, 16 May 2000, Stephane Darveau wrote: > My name is Stephane Darveau and I am currently employed at Info Magnetics > Technologies in Winnipeg. I am researching potential parts for an > upcoming project involving ethernet transmission, and was hoping you could > send me a datasheet as well as a price quote for your DEC 21140 tulip > ethernet controller chip. You missed the point of this mailing list: to discuss issues relating to Linux drivers for the Tulip chip, and the many work-alikes. I can answer part of the question: The 21140 chip was End-Of-Lifed last year. AFAIK, no commercial quantities are available. The suggested replacement is the 21143, which has an uncertain future. Most board vendors are building around the following work-almost-alike chips ADMtek Comet/Centaur LiteOn PNIC-II Macronx 98713/98715/98725 Donald Becker becker@scyld.com Scyld Computing Corporation 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Wed May 17 19:59:00 2000 Received: from mail.sisna.com (mail.sisna.com [216.126.204.54]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA18902 for ; Wed, 17 May 2000 19:58:59 -0400 Message-Id: <200005171745.AA3955294410@mail.sisna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Poly" Reply-To: To: Donald Becker CC: X-Mailer: Subject: [tulip] Linksys Network Card not working Date: Wed May 17 19:59:01 2000 Dear Tulip List Members, I am hoping that someone can help me with the following: I have a Lynksys LNE 100 TX Fast Ethernet Adaptor (Version 2 with WakeUp-On-Line feature) on my PC, an HP 6640C, which has a AMD K6-2/500MHz 3DNow Processor. I have set it up as a Dual Boot, Windows98 or Linux, Red Hat 6.2. As a Windows Machine, there is no problem, and it talks well with my other machine, an old Pentium 166 with Windows95. When it boots as Linux Machine, the Red Hat 6.2 recognises the Network Card, uses tulip.c for it, and correctly sets the I/O 1400-14ff. But it does not work. When I do the ifconfig command, it says: SIOCSIFFLAGS: Resource Temporary Unavailable. It did not make much sense to try route, but I did and it also said: SIOCADDRT: Network is down. My question is, what to do now? I will be very grateful for any answer. I read as much as I could understand on the problem, and also checked my system. Below is more information that I found useful, on the IRQs and in the /var/log/messages. Thanks very much for the help. Poly. Please read on... In /var/log/messages, I found the following suspicious lines: The PCI BIOS has not enabled the device at 0/96 updating PCI Command 0083 to 0087 tulip.c :v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov eth0: Lite-on PNIC-II rev 37 at 0x1400, 00:A0:CC :37:95:B8, IRQ 0 Below is the Interrupt Request from Red Hat Information IRQ CPUO 0 51951 XT-PIC timer 1 36 XT-PIC keyboard 2 0 XT-PIC cascade 8 1 XT-PIC rtc 12 6684 XT-PIC PS/2 Mouse 13 0 XT-PIC fpu 14 100231 XT-PIC ide0 15 3348 XT-PIC ide1 NMI 0 >From cat /proc/pci I found: IRQ 9 VGA Adapter IRQ 11 USB Also from some other file: IRQ 4 ttyS00 at 0x03f8 On the Windows98 side, the IRQs are as follows: 00 Timer 01 Keyboard 02 Programmable Interrupt Control 03 Com2 04 Com1 06 Standard Floppy 07 Printer Port LPT1 08 System CMOS/Real Time Clock 09 ACPI IRQ Holder for PCI IRQ Steering 09 Linksys LNE 100TX Fast Ethernet Adaptor 09 SiS 530 (VGA Adaptor) 10 ACPI IRQ Holder for PCI IRQ Steering 10 Conexant PCI Modem Emulator 10 Master Riptide PCI Audio Device 11 ACPI IRQ Holder for PCI IRQ Steering 11 ACPI IRQ Holder for PCI IRQ Steering - again 11 SiS 7001 PCI to USB Open Host Controller 11 SCI IRQ used by ACPI bus 12 PS/2 compatible Mouse Port 14 SiS 5513 Dual PCI IDE Controller 14 Primary IDE Dual FIFO 15 SiS 5513 Dual PCI IDE Controller 15 Secondary IDE Controller Dual FIFO Thanks again. From tulip-admin@blueraja.scyld.com Wed May 17 20:41:42 2000 Received: from studict.student.utwente.nl (studict.student.utwente.nl [130.89.220.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id UAA19348 for ; Wed, 17 May 2000 20:41:42 -0400 Received: from student.utwente.nl (cal14b063.student.utwente.nl [130.89.227.206]) by studict.student.utwente.nl (8.8.6/MQT) with ESMTP id CAA24513 for ; Thu, 18 May 2000 02:36:32 +0200 (METDST) Message-ID: <39233B0B.76ECD1C4@student.utwente.nl> From: The DJ Reply-To: d.hartman@student.utwente.nl Organization: I'd wish ;-) X-Mailer: Mozilla 4.61 (Macintosh; I; PPC) X-Accept-Language: en MIME-Version: 1.0 To: linux-tulip@beowulf.org Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Subject: [tulip] Farallon card Date: Wed May 17 20:41:43 2000 i have a farallon Fast Ether TX-10/100 PN996 PCI card with DEC21143 chipset. What are the changes the Tulip driver will work on this card? Derk-Jan Hartman From tulip-admin@blueraja.scyld.com Wed May 17 21:19:18 2000 Received: from vaio.greennet (216-59-48-175.usa.flashcom.net [216.59.48.175]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA19918 for ; Wed, 17 May 2000 21:19:18 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id VAA06003; Wed, 17 May 2000 21:17:08 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Poly cc: linux-tulip@beowulf.org In-Reply-To: <200005171745.AA3955294410@mail.sisna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Re: Linksys Network Card not working Date: Wed May 17 21:19:19 2000 On Wed, 17 May 2000, Poly wrote: > In /var/log/messages, I found the following suspicious lines: > The PCI BIOS has not enabled the device at 0/96 > updating PCI Command 0083 to 0087 > tulip.c :v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov > eth0: Lite-on PNIC-II rev 37 at 0x1400, 00:A0:CC > :37:95:B8, IRQ 0 IRQ 0 Read http://www.scyld.com/expert/irq-conflict.html Windows said > 09 ACPI IRQ Holder for PCI IRQ Steering > 09 Linksys LNE 100TX Fast Ethernet Adaptor Donald Becker becker@scyld.com Scyld Computing Corporation 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Wed May 17 21:21:07 2000 Received: from vaio.greennet (216-59-48-175.usa.flashcom.net [216.59.48.175]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA19979 for ; Wed, 17 May 2000 21:21:06 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id VAA06008; Wed, 17 May 2000 21:18:53 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: The DJ cc: linux-tulip@beowulf.org Subject: Re: [tulip] Farallon card In-Reply-To: <39233B0B.76ECD1C4@student.utwente.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed May 17 21:21:08 2000 On Thu, 18 May 2000, The DJ wrote: > i have a farallon Fast Ether TX-10/100 > PN996 PCI card with DEC21143 chipset. > What are the changes the Tulip driver will work on this card? The v91g or v91g-ppc driver in recent 2.2 kernels should work. The v92 driver almost certainly will work. http://www.scyld.com/network/tulip.html ftp://www.scyld.com/pub/network/tulip.c Donald Becker becker@scyld.com Scyld Computing Corporation 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Thu May 18 05:27:25 2000 Received: from caramel.medres.ch (caramel.medres.ch [212.254.210.225]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id FAA24501 for ; Thu, 18 May 2000 05:27:24 -0400 Received: (qmail 31691 invoked by uid 1004); 18 May 2000 09:26:49 -0000 Received: from j.stifter@medres.ch by caramel with scan4virus-0.19 (uvscan: v4.0.70/v4074. . Clean. Processed in 0.300548 secs); 18/05/2000 11:26:49 Received: from unknown (HELO poseidon.medres.ch) (212.254.210.230) by caramel.medres.ch with SMTP; 18 May 2000 09:26:48 -0000 From: Jan Stifter To: d.hartman@student.utwente.nl Cc: linux-tulip@beowulf.org Subject: Re: [tulip] Farallon card Organization: Medres AG Reply-To: j.stifter@medres.ch Message-ID: References: <39233B0B.76ECD1C4@student.utwente.nl> In-Reply-To: <39233B0B.76ECD1C4@student.utwente.nl> X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by blueraja.scyld.com id FAA24502 Date: Thu May 18 05:27:26 2000 On Thu, 18 May 2000 02:36:30 +0200, The DJ wrote: >i have a farallon Fast Ether TX-10/100 >PN996 PCI card with DEC21143 chipset. >What are the changes the Tulip driver will work on this card? hi there, i am using the same card here for various linux systems. i took the driver: static const char version[] = "tulip.c:v0.91g 7/16/99 and copied it directly in the kernel source. it worked for me even for kernel 2.0.35 hope it helps jan --- >I placed the following in my rc.local file and it is creating havoc. Try "rm havoc". from the qmail mailing-list. From tulip-admin@blueraja.scyld.com Thu May 18 19:09:36 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA00327 for ; Thu, 18 May 2000 19:09:36 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id TAA11451 for ; Thu, 18 May 2000 19:09:31 -0400 From: Homer Wilson Smith To: linux-tulip@beowulf.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] 21143 Date: Thu May 18 19:09:37 2000 Donald, Is there any hope of getting the 21143 to do full duplex with a Cisco 1900 using v91-92? I am at my wits end here and have to do something fast. Thanks Homer ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com From tulip-admin@blueraja.scyld.com Fri May 19 00:47:46 2000 Received: from vaio.greennet ([206.24.4.33]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA01561 for ; Fri, 19 May 2000 00:47:45 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id AAA12536; Fri, 19 May 2000 00:50:54 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Homer Wilson Smith cc: Linux Tulip Driver List In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Re: Digital Tulip Design Date: Fri May 19 00:47:47 2000 On Mon, 8 May 2000, Homer Wilson Smith wrote: > > > I was not able to get v92g to run in linux 2.0.36. > > You don't have 'pci-scan.o' loaded. > This worked beautifully, still no FD on 21143 Kingstons. > Using insmod tulip options=x AFTER pci_scan is loaded, > the only options that tulip diag reports as full duplex are > 4,5,8,10,26 and 27. Hmmm, did you try #14? This should set MII- 100baseTx-FD > Perhaps it is a problem with Cisco 1900 Switches in Full Dup mode? Ciscos switches frequently have broken autonegotiation. > May 10 19:25:46 jane kernel: tulip.c:v0.92 4/17/2000 Written by Donald Becker > May 10 19:25:46 jane kernel: http://www.scyld.com/network/tulip.html > May 10 19:25:46 jane kernel: eth0: Digital DS21143 Tulip rev 65 at 0x2820000, 00:40:F0:4C:E6:A9, IRQ 11. > May 10 19:25:46 jane kernel: eth0: EEPROM default media type Autosense. > May 10 19:25:46 jane kernel: eth0: Index #0 - Media MII 100baseTx (#13) > described by a 21140 non-MII (0) block. Huh? That's not right. It should be just "MII transceiver". I have what I believe is an identical board that has no problem with v0.92 > May 10 19:25:46 jane kernel: eth0: MII transceiver #1 config 3100 status > 782d advertising 03e0. > Media MII, block type 3, length 13. > MII interface PHY 0 (media type 11). That looks normal. > 2646 0001 0000 0000 0000 0000 0000 0300 > 10a6 0104 c000 4cf0 a9e6 1e00 0000 0800 > 8d01 0003 0000 7800 01e0 5000 1800 0000 > 0000 0000 0000 0000 0000 0000 0000 0000 The table on my Kingston-provided adatper, which reads correctly with v92, is identical. 2646 0001 0000 0000 0000 0000 0000 0000 006b 0104 c000 3bf0 0200 1e00 0000 0800 8d01 0003 0000 7800 01e0 5000 1800 0000 0000 0000 0000 0000 0000 0000 0000 0000 Donald Becker becker@scyld.com Scyld Computing Corporation 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Fri May 19 02:46:23 2000 Received: from caramel.medres.ch (caramel.medres.ch [212.254.210.225]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id CAA03722 for ; Fri, 19 May 2000 02:46:22 -0400 Received: (qmail 6863 invoked by uid 1004); 19 May 2000 06:45:44 -0000 Received: from j.stifter@medres.ch by caramel with scan4virus-0.19 (uvscan: v4.0.70/v4074. . Clean. Processed in 0.291633 secs); 19/05/2000 08:45:44 Received: from unknown (HELO poseidon.medres.ch) (212.254.210.230) by caramel.medres.ch with SMTP; 19 May 2000 06:45:44 -0000 From: Jan Stifter To: linux-tulip@beowulf.org Organization: Medres AG Reply-To: j.stifter@medres.ch Message-ID: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by blueraja.scyld.com id CAA03723 Subject: [tulip] how do i unsubscribe Date: Fri May 19 02:46:24 2000 sorry for this stupid question, but it seems that the unsubscribe doesn't work: i sent a message to linux-tulip-request@beowulf.org with unsubscribe in the body: On 19 May 2000 06:42:22 -0000, MAILER-DAEMON@caramel.medres.ch wrote: >Hi. This is the qmail-send program at caramel.medres.ch. >I'm afraid I wasn't able to deliver your message to the following addresses. >This is a permanent error; I've given up. Sorry it didn't work out. > >: >209.220.232.76 does not like recipient. >Remote host said: 550 ... User unknown >Giving up on 209.220.232.76. > >--- Below this line is a copy of the message. > >Return-Path: >Received: (qmail 6807 invoked by uid 1004); 19 May 2000 06:42:21 -0000 >Received: from j.stifter@medres.ch by caramel with scan4virus-0.19 (uvscan: v4.0.70/v4074. . Clean. Processed in 0.297149 secs); 19/05/2000 08:42:21 >Received: from unknown (HELO poseidon.medres.ch) (212.254.210.230) > by caramel.medres.ch with SMTP; 19 May 2000 06:42:21 -0000 >From: Jan Stifter >To: linux-tulip-request@beowulf.org >Subject: unsubscribe >Date: Fri, 19 May 2000 08:43:57 +0200 >Organization: Medres AG >Reply-To: j.stifter@medres.ch >Message-ID: <4lo9is8hcgpq4iigmqh0qo8kkmcalg0d1f@4ax.com> >X-Mailer: Forte Agent 1.8/32.548 >MIME-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: quoted-printable > >unsubscribe > so either point me, where i can unsubscribe myself or unsubscribe me manually. thanks jan From tulip-admin@blueraja.scyld.com Fri May 19 03:10:20 2000 Received: from caramel.medres.ch (caramel.medres.ch [212.254.210.225]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id DAA04060 for ; Fri, 19 May 2000 03:10:20 -0400 Received: (qmail 7071 invoked by uid 1004); 19 May 2000 07:09:42 -0000 Received: from j.stifter@medres.ch by caramel with scan4virus-0.19 (uvscan: v4.0.70/v4074. . Clean. Processed in 0.288786 secs); 19/05/2000 09:09:41 Received: from unknown (HELO poseidon.medres.ch) (212.254.210.230) by caramel.medres.ch with SMTP; 19 May 2000 07:09:41 -0000 From: Jan Stifter To: j.stifter@medres.ch Cc: linux-tulip@beowulf.org Subject: Re: [tulip] how do i unsubscribe Organization: Medres AG Reply-To: j.stifter@medres.ch Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by blueraja.scyld.com id DAA04061 Date: Fri May 19 03:10:21 2000 sorry, i found it on the new web-interface. please ignore my message. jan From tulip-admin@blueraja.scyld.com Fri May 19 10:57:14 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA06975; Fri, 19 May 2000 10:57:14 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id KAA10274; Fri, 19 May 2000 10:57:06 -0400 From: Homer Wilson Smith To: Donald Becker cc: Linux Tulip Driver List In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Re: Digital Tulip Design Date: Fri May 19 10:57:16 2000 On Fri, 19 May 2000, Donald Becker wrote: > On Mon, 8 May 2000, Homer Wilson Smith wrote: > > > > I was not able to get v92g to run in linux 2.0.36. > > > You don't have 'pci-scan.o' loaded. > > This worked beautifully, still no FD on 21143 Kingstons. > > Using insmod tulip options=x AFTER pci_scan is loaded, > > the only options that tulip diag reports as full duplex are > > 4,5,8,10,26 and 27. > > Hmmm, did you try #14? > This should set MII- 100baseTx-FD We need full dup in 10baseT-FD mode. The 100 base T has always worked fine. > > > Perhaps it is a problem with Cisco 1900 Switches in Full Dup mode? > > Ciscos switches frequently have broken autonegotiation. > > > May 10 19:25:46 jane kernel: tulip.c:v0.92 4/17/2000 Written by Donald Becker > > May 10 19:25:46 jane kernel: http://www.scyld.com/network/tulip.html > > May 10 19:25:46 jane kernel: eth0: Digital DS21143 Tulip rev 65 at 0x2820000, 00:40:F0:4C:E6:A9, IRQ 11. > > May 10 19:25:46 jane kernel: eth0: EEPROM default media type Autosense. > > May 10 19:25:46 jane kernel: eth0: Index #0 - Media MII 100baseTx (#13) > > described by a 21140 non-MII (0) block. > > Huh? That's not right. It should be just "MII transceiver". > I have what I believe is an identical board that has no problem with v0.92 > > > May 10 19:25:46 jane kernel: eth0: MII transceiver #1 config 3100 status > > 782d advertising 03e0. > > > > Media MII, block type 3, length 13. > > MII interface PHY 0 (media type 11). > > That looks normal. > > > 2646 0001 0000 0000 0000 0000 0000 0300 > > 10a6 0104 c000 4cf0 a9e6 1e00 0000 0800 > > 8d01 0003 0000 7800 01e0 5000 1800 0000 > > 0000 0000 0000 0000 0000 0000 0000 0000 > > The table on my Kingston-provided adatper, which reads correctly with v92, > is identical. > 2646 0001 0000 0000 0000 0000 0000 0000 > 006b 0104 c000 3bf0 0200 1e00 0000 0800 > 8d01 0003 0000 7800 01e0 5000 1800 0000 > 0000 0000 0000 0000 0000 0000 0000 0000 > > > Donald Becker becker@scyld.com > Scyld Computing Corporation > 410 Severn Ave. Suite 210 > Annapolis MD 21403 > > From tulip-admin@blueraja.scyld.com Fri May 19 21:53:05 2000 Received: from turing.xman.org (IDENT:root@adsl-63-198-73-118.dsl.lsan03.pacbell.net [63.198.73.118]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA12367; Fri, 19 May 2000 21:53:04 -0400 Received: from scherbius.xman.org (scherbius.philstone.com [192.168.1.7]) by turing.xman.org (8.9.3/8.9.3) with ESMTP id RAA24120; Fri, 19 May 2000 17:52:47 -0700 Received: by scherbius.xman.org (Postfix, from userid 502) id 77EC12FD70; Fri, 19 May 2000 18:52:25 -0700 (PDT) From: Christopher Smith To: Donald Becker Cc: Poly , linux-tulip@beowulf.org Subject: Re: [tulip] Re: Linksys Network Card not working Message-ID: <20000519185225.A31250@xman.org> References: <200005171745.AA3955294410@mail.sisna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from becker@scyld.com on Wed, May 17, 2000 at 09:17:08PM -0400 Comment: I can't believe you're actually reading mail headers. Date: Fri May 19 21:53:06 2000 On Wed, May 17, 2000 at 09:17:08PM -0400, Donald Becker wrote: > On Wed, 17 May 2000, Poly wrote: > > In /var/log/messages, I found the following suspicious lines: > > The PCI BIOS has not enabled the device at 0/96 > > updating PCI Command 0083 to 0087 > > tulip.c :v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov > > eth0: Lite-on PNIC-II rev 37 at 0x1400, 00:A0:CC > > :37:95:B8, IRQ 0 > > IRQ 0 > Read > http://www.scyld.com/expert/irq-conflict.html After you fix that you will potentially find problems with the card's autonegotiation if you are using a switch. This can be corrected either by upgrading to Donald's latest driver, upgrading to the latest devel kernel, or applying this attached patch against the driver in the 2.2.x kernel. I recommend only going with the patch if you actually experience the problem, as I wrote it myself and my knowledge of the tulip driver, tulip chip, and network driver programming is miniscule compared to the collective efforts that went into the driver in the first place, so there's a decent chance the patch causes problems elsewhere (although I haven't had any problems). --Chris patch: --- donald/tulip.c Tue Apr 11 21:03:51 2000 +++ tulip/tulip.c Tue Apr 11 21:07:17 2000 @@ -18,7 +18,7 @@ */ #define SMP_CHECK -static const char version[] = "tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov\n"; +static const char version[] = "tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov\nModified (ver.5) by Christopher Smith (x@xman.org) to work with Linksys LNE100TX\nPlease do not bug Donald about problems with this driver until you've tested with regular v0.91g-ppc\n"; /* A few user-configurable values. */ @@ -389,6 +389,7 @@ HAS_MII | HAS_MEDIA_TABLE | CSR12_IN_SROM | MC_HASH_ONLY, tulip_timer }, { "Lite-On PNIC-II", 256, 0x0801fbff, HAS_MII | HAS_NWAY143 | HAS_8023X, t21142_timer }, + // HAS_MII | HAS_NWAY143 | HAS_8023X, mxic_timer }, { "ADMtek Comet", 256, 0x0001abef, MC_HASH_ONLY, comet_timer }, { "Compex 9881 PMAC", 128, 0x0001ebef, @@ -949,7 +950,6 @@ outl(tp->mtable->csr12dir | 0x100, ioaddr + CSR12); break; case DC21142: - case PNIC2: if (tp->mii_cnt || media_cap[dev->if_port] & MediaIsMII) { outl(0x82020000, ioaddr + CSR6); outl(0x0000, ioaddr + CSR13); @@ -973,7 +973,7 @@ outl(0x000711C0, ioaddr + CSR14); /* Turn on NWay. */ outl(0x00000001, ioaddr + CSR13); break; - case MX98715: case MX98725: + case MX98715: case MX98725: case PNIC2: outl(0x01a80000, ioaddr + CSR6); outl(0xFFFFFFFF, ioaddr + CSR14); outl(0x00001000, ioaddr + CSR12); @@ -1524,8 +1524,9 @@ outl(0x0000, ioaddr + CSR14); } else t21142_start_nway(dev); - } else if (tp->chip_id == PNIC2) { - t21142_start_nway(dev); + // Chris hack + // } else if (tp->chip_id == PNIC2) { + // t21142_start_nway(dev); } else if (tp->chip_id == LC82C168 && ! tp->medialock) { if (tp->mii_cnt) { dev->if_port = 11; @@ -1546,7 +1547,7 @@ dev->if_port = 0; tp->csr6 = 0x01880000 | (tp->full_duplex ? 0x0200 : 0); outl(0x0f370000 | inw(ioaddr + 0x80), ioaddr + 0x80); - } else if (tp->chip_id == MX98715 || tp->chip_id == MX98725) { + } else if (tp->chip_id == MX98715 || tp->chip_id == MX98725 || tp->chip_id == PNIC2) { /* Provided by BOLO, Macronix - 12/10/1998. */ dev->if_port = 0; tp->csr6 = 0x01a80200; From tulip-admin@blueraja.scyld.com Sat May 20 14:33:38 2000 Received: from rail.cita.utoronto.ca (rail.cita.utoronto.ca [128.100.76.4]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id OAA17420 for ; Sat, 20 May 2000 14:33:38 -0400 Received: from [128.100.76.65] (eagle.cita.utoronto.ca) by rail.cita.utoronto.ca id 10502; Sat, 20 May 2000 14:33:24 Sender: pogosyan@cita.utoronto.ca Message-ID: <3926DA74.87201C0@cita.utoronto.ca> From: Dmitri Pogosyan Organization: CITA,University of Toronto X-Mailer: Mozilla 4.72 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Lynksys ver2 not yet working Date: Sat May 20 14:33:39 2000 Hi, O'K I know it is not yet a problem, just I'm lacking understanding something in configuration, so I'd appreciate some guidance I'm running 2.2.5 kernel (remnant of RH6.0 installation) and already have one tulip card (Accton EN1207 with original DEC 21140 chip - I guess 21140 AB) in my computer. It lives happily with 89H tulip driver. Now I got Lynksys 100 TX Fast Ethernet Adaptor (ver 2) yesterday and plug it into my machine, and it does not work. Of course, you would say that I should upgrade to newer kernel/driver or use the driver supplied by Lynksys, and this will be a part of my question. But, first of all preliminaries PCI code detects the card allright (to my understanding) #cat /proc/pci Bus 0, device 10, function 0: Ethernet controller: DEC DC21140 (rev 34). Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=32. Min Gnt=20.Max Lat=40. I/O at 0xc000 [0xc001]. Non-prefetchable 32 bit memory at 0xe1800000 [0xe1800000]. Bus 0, device 11, function 0: Ethernet controller: LiteOn Unknown device (rev 37). Vendor id=11ad. Device id=c115. Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=32. Min Gnt=8.Max Lat=56. I/O at 0xb800 [0xb801]. Non-prefetchable 32 bit memory at 0xe1000000 [0xe1000000]. tulip-diag is also happy ( I have version v1.19 10/2/99, so fairly new in comparison with the tulip driver itself) #tulip-diagtulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov) Index #1: Found a Digital DS21140 Tulip adapter at 0xc000. Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 128. Index #2: Found a Lite-On PNIC-II adapter at 0xb800. Port selection is 10mpbs-serial, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 72. The NWay status register is 000020ce. The current PNIC-II MAC address is 00:a0:cc:e3:63:83 (a000a000 e3cc8363). The current PNIC-II WOL address is 00:a0:cc:e3:63:83. Internal autonegotiation state is 'Ability detect'. Use '-a' or '-aa' to show device registers, '-e' to show EEPROM contents, -ee for parsed contents, or '-m' or '-mm' to show MII management registers. -------- What is wrong, is that no eth1 interface was created. Looking in /var/log/messages on boot we see the problem May 20 11:21:08 localhost kernel: tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa .gov May 20 11:21:08 localhost kernel: eth0: Digital DS21140 Tulip at 0xc000, 00 00 e 8 4e 5f 09, IRQ 9. May 20 11:21:08 localhost kernel: eth0: MII transceiver found at MDIO address 1 , config 1000 status 782d. May 20 11:21:08 localhost kernel: PCI latency timer (CFLT) is 0x20, PCI comma nd is 0017. May 20 11:21:08 localhost kernel: Unknown Tulip-style PCI ethernet chip type 11a d c115 detected: not configured. ----------------- So is this just a problem of old tulip driver, or I don't load the module properly (I tried to load manually with no effect - eth1 does not appear ) ? I read somewhere that there can be the problem with 2 tulip cards that the second is not recognized and you have to supply i/o address to modprobe option explicitly. But I cannot find the reference. Now more specific questions: I tried to compile Donalds latest 0.92 driver, which is advertised to be compilable under every recent kernel but I'm getting #gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c tulip.c:161: pci-scan.h: No such file or directory tulip.c:162: kern_compat.h: No such file or directory I guess I'm missing some parts ? Attempt to compile tulip.c which comes on Lynksys floppy produce the whole stream of errors. Should it be possible to compile it with 2.2.5 kernel or probably just not ? Best regards, Dmitri Pogosyan From tulip-admin@blueraja.scyld.com Sat May 20 14:39:29 2000 Received: from rail.cita.utoronto.ca (rail.cita.utoronto.ca [128.100.76.4]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id OAA17526 for ; Sat, 20 May 2000 14:39:29 -0400 Received: from [128.100.76.65] (eagle.cita.utoronto.ca) by rail.cita.utoronto.ca id 10518; Sat, 20 May 2000 14:39:15 Sender: pogosyan@cita.utoronto.ca Message-ID: <3926DBD3.39AC1F6E@cita.utoronto.ca> From: Dmitri Pogosyan Organization: CITA,University of Toronto X-Mailer: Mozilla 4.72 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] mII-diag Date: Sat May 20 14:39:30 2000 Playing with my tulip card (Accton EN1207 DEC21140 chip (AB ? ) ) recently I got the following with mii-diag tulip-diag is happy, giving #tulip-diag -m tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov) Index #1: Found a Digital DS21140 Tulip adapter at 0xc000. Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 128. MII PHY found at address 1, status 0x782d. MII PHY #1 transceiver registers: 1000 782d 7810 0001 01e1 0021 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 4000 0000 2089 0010 0000 0002 0001 0000 0000 0000 0000 0000 0000 0000. but mii-diag fails #mii-diag eth0 SIOCGMIIPHY on eth0 failed: No such device # Is this how it is supposed to be with this card ? Best regards, Dmitri Pogosyan From tulip-admin@blueraja.scyld.com Sat May 20 15:52:22 2000 Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA18155 for ; Sat, 20 May 2000 15:52:21 -0400 Received: from derf.citeweb.net (HSE-Montreal-ppp35449.qc.sympatico.ca [216.209.205.153]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id PAA00719 for ; Sat, 20 May 2000 15:58:16 -0400 (EDT) Message-Id: <4.3.1.0.20000520154516.00ad3960@mail.flashmail.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 To: tulip@scyld.com From: =?iso-8859-1?Q?Fr=E9d=E9ric?= Cormier Subject: Re: [tulip] Lynksys ver2 not yet working In-Reply-To: <3926DA74.87201C0@cita.utoronto.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by blueraja.scyld.com id PAA18156 Date: Sat May 20 15:52:26 2000 Hi, The basic answer is that when you compile tulip.c v0.92, you also have to compile pci-scan.c that came with it. When it's done, run depmod -a to check module dependencies and then you can do modprobe tulip, or you can insert the pci-scan.o module manually before inserting the tulip.o module. At 14:33 00-05-20 -0400, you wrote: >Hi, >O'K I know it is not yet a problem, just I'm lacking understanding >something in >configuration, so I'd appreciate some guidance > >I'm running 2.2.5 kernel (remnant of RH6.0 installation) and already >have one tulip >card (Accton EN1207 with original DEC 21140 chip - I guess 21140 AB) in >my computer. >It lives happily with 89H tulip driver. > >Now I got Lynksys 100 TX Fast Ethernet Adaptor (ver 2) yesterday and >plug it >into my machine, and it does not work. Of course, you would say that >I should >upgrade to newer kernel/driver or use the driver supplied by Lynksys, >and this will be >a part of my question. But, first of all preliminaries > >PCI code detects the card allright (to my understanding) >#cat /proc/pci > > Bus 0, device 10, function 0: > Ethernet controller: DEC DC21140 (rev 34). > Medium devsel. Fast back-to-back capable. IRQ 9. Master >Capable. Latency=32. Min Gnt=20.Max Lat=40. > I/O at 0xc000 [0xc001]. > Non-prefetchable 32 bit memory at 0xe1800000 [0xe1800000]. > Bus 0, device 11, function 0: > Ethernet controller: LiteOn Unknown device (rev 37). > Vendor id=11ad. Device id=c115. > Medium devsel. Fast back-to-back capable. IRQ 11. Master >Capable. Latency=32. Min Gnt=8.Max Lat=56. > I/O at 0xb800 [0xb801]. > Non-prefetchable 32 bit memory at 0xe1000000 [0xe1000000]. > >tulip-diag is also happy ( I have version v1.19 10/2/99, so fairly new >in comparison with the tulip driver itself) > >#tulip-diagtulip-diag.c:v1.19 10/2/99 Donald Becker >(becker@cesdis.gsfc.nasa.gov) >Index #1: Found a Digital DS21140 Tulip adapter at 0xc000. > Port selection is MII, half-duplex. > Transmit started, Receive started, half-duplex. > The Rx process state is 'Waiting for packets'. > The Tx process state is 'Idle'. > The transmit threshold is 128. >Index #2: Found a Lite-On PNIC-II adapter at 0xb800. > Port selection is 10mpbs-serial, half-duplex. > Transmit stopped, Receive stopped, half-duplex. > The Rx process state is 'Stopped'. > The Tx process state is 'Stopped'. > The transmit threshold is 72. > The NWay status register is 000020ce. > The current PNIC-II MAC address is 00:a0:cc:e3:63:83 (a000a000 >e3cc8363). > The current PNIC-II WOL address is 00:a0:cc:e3:63:83. > Internal autonegotiation state is 'Ability detect'. > Use '-a' or '-aa' to show device registers, > '-e' to show EEPROM contents, -ee for parsed contents, > or '-m' or '-mm' to show MII management registers. > >-------- >What is wrong, is that no eth1 interface was created. Looking in >/var/log/messages on boot >we see the problem > >May 20 11:21:08 localhost kernel: tulip.c:v0.89H 5/23/98 >becker@cesdis.gsfc.nasa >.gov >May 20 11:21:08 localhost kernel: eth0: Digital DS21140 Tulip at 0xc000, >00 00 e >8 4e 5f 09, IRQ 9. >May 20 11:21:08 localhost kernel: eth0: MII transceiver found at MDIO >address 1 >, config 1000 status 782d. >May 20 11:21:08 localhost kernel: PCI latency timer (CFLT) is 0x20, >PCI comma >nd is 0017. >May 20 11:21:08 localhost kernel: Unknown Tulip-style PCI ethernet chip >type 11a >d c115 detected: not configured. > >----------------- >So is this just a problem of old tulip driver, or I don't load the >module properly >(I tried to load manually with no effect - eth1 does not appear ) ? >I read somewhere that there can be the problem with 2 tulip cards that >the second >is not recognized and you have to supply i/o address to modprobe option >explicitly. >But I cannot find the reference. > >Now more specific questions: I tried to compile Donalds latest 0.92 >driver, which is advertised >to be compilable under every recent kernel but I'm getting >#gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c >tulip.c:161: pci-scan.h: No such file or directory >tulip.c:162: kern_compat.h: No such file or directory > >I guess I'm missing some parts ? > >Attempt to compile tulip.c which comes on Lynksys floppy produce the >whole stream of errors. >Should it be possible to compile it with 2.2.5 kernel or probably just >not ? > > Best regards, Dmitri Pogosyan > > > >_______________________________________________ >tulip mailing list >tulip@scyld.com >http://www.scyld.com/mailman/listinfo/tulip Frédéric Cormier cormierf@flashmail.com Frédéric Cormier, alias Derf derf@citeweb.net ICQ:4735399 ------------------------------------------------------ Quand je vois une grande personne sur une bicyclette, j'ai confiance dans l'espèce humaine. H.G. Wells ------------------------------------------------------ http://derf.citeweb.net/ From tulip-admin@blueraja.scyld.com Sat May 20 16:30:18 2000 Received: from localhost.localdomain (user29.megabit.utoronto.ca [142.150.240.79]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id QAA18785 for ; Sat, 20 May 2000 16:30:18 -0400 Received: from cita.utoronto.ca (localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id QAA01418 for ; Sat, 20 May 2000 16:29:55 -0400 Sender: pogosyan@cita.utoronto.ca Message-ID: <3926F5A4.F8D941AE@cita.utoronto.ca> From: Dmitri Pogosyan Reply-To: pogosyan@cita.utoronto.ca X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Subject: Re: [tulip] Lynksys ver2 not yet working Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat May 20 16:30:23 2000 Thanks for your answer ! The key word was 'comes with the driver'. I actually copied the link, which gave me only tulip.c Now I looked into ftp archive where tulip.c came from, and sure enough there are the necessary files there. Now the probem is - pci-scan.c does not compile producing lots of error, including basic things like /usr/include/linux/msdos_fs_sb.h:10: parse error before `uid_t' /usr/include/linux/msdos_fs_sb.h:10: warning: no semicolon at end of struct or union etc. (this is just an example). It is the same type of erros I got while trying to compile tulip.c which came with Linksys card. Which is encouraging, meaning that something is wrong with my kernel-dependent compilation set-up. I'm using gcc-2.95.2-3 - any know problems with this compiler ? Dmitri Pogosyan From tulip-admin@blueraja.scyld.com Sat May 20 19:34:15 2000 Received: from localhost.localdomain (user29.megabit.utoronto.ca [142.150.240.79]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA22491 for ; Sat, 20 May 2000 19:34:14 -0400 Received: from cita.utoronto.ca (localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id TAA01185 for ; Sat, 20 May 2000 19:33:54 -0400 Sender: pogosyan@cita.utoronto.ca Message-ID: <392720C4.3DF9FEF1@cita.utoronto.ca> From: Dmitri Pogosyan Reply-To: pogosyan@cita.utoronto.ca X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Subject: Re: [tulip] Lynksys ver2 is working now Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat May 20 19:34:15 2000 All right, switching to egcs solved compilation problems with latest tulip driver and pci-scan.c Now if only I can make the card work at 100Mbs connection with my notebook , running Windows 98, which has 3com 10/100 Mps adapter built in. I'm using recent .92 driver from Donald. Card seems to negotiate 100baseT-FD connection first, but at this state no pings pass through (activity light is flashing when I send a ping from notebook to the card). Then 'Transmit timed out' and the card switched to 10baseT and connection worked. from /var/log/messages May 20 18:49:22 localhost kernel: eth1: N-Way autonegotiation status 000000c8, 100baseTx-FDX. May 20 18:49:22 localhost kernel: eth1: Using NWay-set 100baseTx-FDX media, csr12 000000c8. May 20 18:50:22 localhost kernel: eth1: N-Way autonegotiation status 000000c8, 100baseTx-FDX. May 20 18:50:22 localhost kernel: eth1: Using NWay-set 100baseTx-FDX media, csr12 000000c8. May 20 18:50:33 localhost kernel: eth1: Transmit timed out, status e4000000, CSR12 000000c8, resetting... May 20 18:51:22 localhost kernel: eth1: N-Way autonegotiation status 000000c8, 10baseT. May 20 18:51:22 localhost kernel: eth1: Using NWay-set 10baseT media, csr12 000000c8. Well, probably I should check Linksys drivers as well. Thanks for your help, Dmitri Pogosyan From tulip-admin@blueraja.scyld.com Sun May 21 07:13:19 2000 Received: from tinet0.redestb.es (tinet0.redestb.es [194.179.106.117]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id HAA24819 for ; Sun, 21 May 2000 07:13:18 -0400 Received: from fclients0.redestb.es ([194.179.106.116]) by tinet0.redestb.es (Post.Office MTA v3.1 release PO203a ID# 0-0U10L2S100) with ESMTP id AAA266 for ; Sun, 21 May 2000 13:13:08 +0200 Received: from moebius ([62.82.202.49]) by fclients0.redestb.es (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-0U10L2S100) with ESMTP id AAA153 for ; Sun, 21 May 2000 13:13:04 +0200 Received: from rcm by moebius with local (Exim 3.12 #1 (Debian)) id 12tTXj-00006w-00; Sun, 21 May 2000 13:05:11 +0200 From: Rafael Cordones Marcos To: tulip@scyld.com Message-ID: <20000521130510.A292@bcnartdirecte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i X-Operating-System: GNU/Debian Linux with kernel 2.2.14 Subject: [tulip] IRQ Confict? Date: Sun May 21 07:13:20 2000 Hi, I have a Xircom RBEM56G-100 which is supposed to work as a DEC 21143 clone. But it does not work well on my system with 2.2.14 kernel and pcmcia-cs-3.1.14 package. -------------------------------------------------------------------- May 21 12:48:34 moebius kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo @cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) May 21 12:48:34 moebius kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x200, 0 0:10:A4:FA:92:69, IRQ 9. May 21 12:48:34 moebius kernel: eth0: MII transceiver #0 config 3100 status 7809 advertising 01e1. May 21 12:48:34 moebius kernel: serial_attach(bus 32, fn 1) May 21 12:48:34 moebius kernel: tty02 at 0x0280 (irq = 9) is a 16550A May 21 12:48:34 moebius cardmgr[141]: executing: './network start eth0' May 21 12:48:34 moebius kernel: eth0: tulip_open() irq 9. May 21 12:48:34 moebius cardmgr[141]: executing: './serial start ttyS2' May 21 12:50:30 moebius kernel: eth0: Transmit error, Tx status 7fff8800. May 21 12:50:31 moebius kernel: eth0: Transmit error, Tx status 7fff8800. May 21 12:50:32 moebius kernel: eth0: Transmit error, Tx status 7fff8800. -------------------------------------------------------------------- The thing is I did a cat /proc/pci and got the following: -------------------------------------------------------------------- PCI devices found: Bus 32, device 0, function 0: Ethernet controller: Unknown vendor Unknown device (rev 3). Vendor id=115d. Device id=3. Medium devsel. IRQ 9. I/O at 0x200 [0x201]. Non-prefetchable 32 bit memory at 0x60013000 [0x60013000]. Non-prefetchable 32 bit memory at 0x60012000 [0x60012000]. Bus 32, device 0, function 1: Serial controller: Unknown vendor Unknown device (rev 3). Vendor id=115d. Device id=103. Medium devsel. IRQ 9. I/O at 0x280 [0x281]. Non-prefetchable 32 bit memory at 0x60011000 [0x60011000]. Non-prefetchable 32 bit memory at 0x60010000 [0x60010000]. Bus 0, device 0, function 0: Host bridge: Intel 440BX - 82443BX Host (rev 3). Medium devsel. Master Capable. Latency=64. Prefetchable 32 bit memory at 0x12000000 [0x12000008]. Bus 0, device 1, function 0: PCI bridge: Intel 440BX - 82443BX AGP (rev 3). Medium devsel. Master Capable. Latency=128. Min Gnt=140. Bus 0, device 4, function 0: Multimedia audio controller: Unknown vendor Unknown device (rev 0). Vendor id=125d. Device id=1968. Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=64. Min Gnt=2.Max Lat=24. I/O at 0xf800 [0xf801]. Bus 0, device 7, function 0: ISA bridge: Intel 82371AB PIIX4 ISA (rev 2). Medium devsel. Fast back-to-back capable. Master Capable. No bursts. Bus 0, device 7, function 1: IDE interface: Intel 82371AB PIIX4 IDE (rev 1). Medium devsel. Fast back-to-back capable. Master Capable. Latency=64. I/O at 0xfcd0 [0xfcd1]. Bus 0, device 7, function 2: USB Controller: Intel 82371AB PIIX4 USB (rev 1). Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64. I/O at 0xfce0 [0xfce1]. Bus 0, device 7, function 3: Bridge: Intel 82371AB PIIX4 ACPI (rev 2). Medium devsel. Fast back-to-back capable. Bus 0, device 10, function 0: CardBus bridge: Texas Instruments PCI1250 (rev 2). Medium devsel. IRQ 9. Master Capable. Latency=168. Max Lat=7. Bus 0, device 10, function 1: CardBus bridge: Texas Instruments PCI1250 (rev 2). Medium devsel. IRQ 9. Master Capable. Latency=168. Min Gnt=192.Max Lat=7. Bus 1, device 0, function 0: VGA compatible controller: ATI Unknown device (rev 220). Vendor id=1002. Device id=4c42. Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=66. Min Gnt=8. Non-prefetchable 32 bit memory at 0xfd000000 [0xfd000000]. I/O at 0xe800 [0xe801]. Non-prefetchable 32 bit memory at 0xfecfe000 [0xfecfe000]. -------------------------------------------------------------------- As you can see at the begining I have the Xircom card (which is a ethernet+modem card). It has IRQ9 assigned as well as the CardBus bridge. But as can be seen at the end... the VGA Card has the *same* IRQ 9 assigned!! Is this correct? By the way, where can I find the source code of "tulip.c:v0.91g-ppc 7/16/99"?? Thanks for your time. Rafa C. Marcos -- Linux! The Choice of a GNU Generation! -> http://www.debian.org From tulip-admin@blueraja.scyld.com Sun May 21 12:25:53 2000 Received: from tinet0.redestb.es (tinet0.redestb.es [194.179.106.117]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA26306 for ; Sun, 21 May 2000 12:25:53 -0400 Received: from fclients0.redestb.es ([194.179.106.116]) by tinet0.redestb.es (Post.Office MTA v3.1 release PO203a ID# 0-0U10L2S100) with ESMTP id AAA144 for ; Sun, 21 May 2000 18:25:43 +0200 Received: from moebius ([62.82.198.49]) by fclients0.redestb.es (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-0U10L2S100) with ESMTP id AAA174 for ; Sun, 21 May 2000 18:25:39 +0200 Received: from rcm by moebius with local (Exim 3.12 #1 (Debian)) id 12tYWW-0000L9-00; Sun, 21 May 2000 18:24:16 +0200 From: Rafael Cordones Marcos To: tulip@scyld.com Message-ID: <20000521182416.B292@bcnartdirecte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i X-Operating-System: GNU/Debian Linux with kernel 2.2.14 Subject: [tulip] netdriver-2.0 doesn't compile Date: Sun May 21 12:25:54 2000 Hi, I have been trying to get the dirvers in the netdriver-2.0 package to compile but first I get: --------------------------------------------------------------------- gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -c -o pci-skeleton.o pci-skeleton.c pci-skeleton.c:89: linux/modversions.h: No existe el fichero o el directorio In file included from pci-skeleton.c:111: kern_compat.h:38: linux/modversions.h: No existe el fichero o el directorio make: *** [pci-skeleton.o] Error 1 --------------------------------------------------------------------- "No existe el fichero o el directorio" means "File or directory does not exist". If I remove all reference to modversions.h in the c files I would get an awfully long list of errors. I am using "gcc version 2.95.2 20000313 (Debian GNU/Linux)", kernel 2.2.14 and pcmcia-cs-3.1.14. Any help would be appreciated. Thanks. Rafa -- Linux! The Choice of a GNU Generation! -> http://www.debian.org From tulip-admin@blueraja.scyld.com Sun May 21 13:24:29 2000 Received: from rail.cita.utoronto.ca (rail.cita.utoronto.ca [128.100.76.4]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA27966 for ; Sun, 21 May 2000 13:24:29 -0400 Received: from [128.100.76.65] (eagle.cita.utoronto.ca) by rail.cita.utoronto.ca id 26880; Sun, 21 May 2000 13:24:10 Sender: pogosyan@cita.utoronto.ca Message-ID: <39281BBA.C5BB03CF@cita.utoronto.ca> From: Dmitri Pogosyan Organization: CITA,University of Toronto X-Mailer: Mozilla 4.72 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Subject: [tulip] Linksys ver2 is working - conclusion Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun May 21 13:24:30 2000 As a conclusion: I switched to tulip.c supplied by Linksys and with this driver my Linksys 100 TX ver 2 card works fine in 100TX-Full Duplex mode, connected via crossover cable to Windows98 notebook. On contrary, 0.92 driver fails to connected at 100 Mbs connection (although it tries for some time but gets transmit timeout). Seems to be the same problem with autonegotiation of Linksys cards as was heavily discussed on this mailing list in March. Although now it is not a connection to a switch, but a direct crossover connection to another machine. Dmitri Pogosyan PS As a remark: gcc-2.95.2 failed to compile the drivers From tulip-admin@blueraja.scyld.com Sun May 21 17:36:26 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id RAA02014 for ; Sun, 21 May 2000 17:36:24 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 0B59686A4; Mon, 22 May 2000 07:35:47 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Mon, 22 May 2000 07:35:53 +1000 From: Jason Thomas To: Rafael Cordones Marcos Cc: tulip@scyld.com Subject: Re: [tulip] netdriver-2.0 doesn't compile Message-ID: <20000522073553.A323@topic.com.au> Reply-To: jason@topic.com.au References: <20000521182416.B292@bcnartdirecte.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: <20000521182416.B292@bcnartdirecte.com>; from rcm@bcnartdirecte.com on Sun, May 21, 2000 at 06:24:16PM +0200 Date: Sun May 21 17:36:26 2000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline you need kernel headers with modules support, modversions.h is created when you compile your kernel with modules support. Rafael Cordones Marcos [rcm@bcnartdirecte.com] wrote: > Hi, > > I have been trying to get the dirvers in the netdriver-2.0 package to > compile but first I get: > > --------------------------------------------------------------------- > gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -c -o pci-skeleton.o pci-skeleton.c > pci-skeleton.c:89: linux/modversions.h: No existe el fichero o el directorio > In file included from pci-skeleton.c:111: > kern_compat.h:38: linux/modversions.h: No existe el fichero o el directorio > make: *** [pci-skeleton.o] Error 1 > --------------------------------------------------------------------- > "No existe el fichero o el directorio" means "File or directory does not > exist". > > If I remove all reference to modversions.h in the c files I would get an > awfully long list of errors. > > I am using "gcc version 2.95.2 20000313 (Debian GNU/Linux)", > kernel 2.2.14 and pcmcia-cs-3.1.14. > > Any help would be appreciated. Thanks. > > Rafa > > -- > Linux! The Choice of a GNU Generation! -> http://www.debian.org > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas System Administrator - UID 0 Phone: +61 2 6257 7111 tSA Consulting Group Pty. Ltd. Fax: +61 2 6257 7311 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 49s9BIj2vBChB58OP9A4zEEKyzrOVygh Comment: Ha Ha iQA/AwUBOShWuO3GMESSUoi+EQIpRACeLD2wog5qZLmTE09mJJnUMyFnp2wAoJlE xw5/kWZ61DjDJOnEKIcUsaX1 =7cyv -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From tulip-admin@blueraja.scyld.com Sun May 21 19:22:29 2000 Received: from pelvoux.demon.co.uk (mail@pelvoux.demon.co.uk [194.222.23.198]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA02666; Sun, 21 May 2000 19:22:27 -0400 Received: from fozzy by pelvoux.demon.co.uk with local (Exim 3.12 #1 (Debian)) id 12tf2r-00009M-00; Mon, 22 May 2000 00:22:05 +0100 From: Steven Fosdick To: Donald Becker Cc: linux-tulip@beowulf.org Message-ID: <20000522002205.A492@pelvoux> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Subject: [tulip] Re: Problems with the Netgear FA310TX - Reset Chip Date: Sun May 21 19:22:30 2000 Hello Donald (and list), I was wondering if you had any further thoughts on the TX lockup problem I am having with the FA310TX card in 10MbitHD mode that I mentioned in my e-mail to the list on 4th May, with further information on 6th May? When the driver detects a TX timeout it stops and starts the receiver, but in my case that doesn't seem to get the transmitter working again - it remains "waiting for TX to finish". Using ifconfig to take the interface down, then bring it up again does get things going again. Assuming the has the effect of calling tulip_close followed by tulip_open I would guess that it is resetting the chip that actually does the trick, so I then thought that it may be possible to work around this problem by resetting the chip when we detect a TX timeout. That brings me on to a couple of other questions: 1. In the tulip_open function it says that we must wait 50 PCI cycles between asserting the reset bit and clearing it again, but the only function to be called between these two is request_interrupt and I am not clear as to how this waits the appropriate time. 2. Having reset the chip, how much of the work in tulip_open has to be re-done? I would guess at everything except the request_interrupt and tulip_init_ring, but I would like your guidance on that one. With this information I would hope to test a modified version of the driver that resets the chip upon detecting the timeout. I am quite happy to try making the necessary modifications and let you know the outcome. Unless, of course, you have any other ideas. Steve Fosdick. From tulip-admin@blueraja.scyld.com Mon May 22 04:39:14 2000 Received: from pelvoux.demon.co.uk (mail@pelvoux.demon.co.uk [194.222.23.198]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id EAA05284; Mon, 22 May 2000 04:39:13 -0400 Received: from fozzy by pelvoux.demon.co.uk with local (Exim 3.12 #1 (Debian)) id 12tnje-00009H-00; Mon, 22 May 2000 09:38:50 +0100 From: Steven Fosdick To: Donald Becker Cc: linux-tulip@beowulf.org Subject: Re: [tulip] Re: Problems with the Netgear FA310TX - Reset Chip Message-ID: <20000522093850.A465@pelvoux> References: <20000522002205.A492@pelvoux> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <20000522002205.A492@pelvoux>; from steven.fosdick@btinternet.com on Mon, May 22, 2000 at 12:22:05AM +0100 Date: Mon May 22 04:39:16 2000 On Mon, May 22, 2000 at 12:22:05AM +0100, I wrote: > When the driver detects a TX timeout it stops and starts the receiver, but I should have said: > When the driver detects a TX timeout it stops and starts the TRANSMITTER, Steve From tulip-admin@blueraja.scyld.com Mon May 22 11:27:01 2000 Received: from pongo.cs.wisc.edu (pongo.cs.wisc.edu [128.105.162.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA07853 for ; Mon, 22 May 2000 11:27:01 -0400 Received: from pongo.cs.wisc.edu (localhost [127.0.0.1]) by pongo.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id KAA01730; Mon, 22 May 2000 10:26:37 -0500 (CDT) Message-Id: <200005221526.KAA01730@pongo.cs.wisc.edu> To: Homer Wilson Smith cc: linux-tulip@beowulf.org In-Reply-To: Message from Homer Wilson Smith of "Thu, 04 May 2000 18:19:32 EDT." From: David Thompson Subject: [tulip] Re: Kingston Date: Mon May 22 11:27:02 2000 Yes, we're seeing some problems with a similar configuration (kingston 21143, tulip v0.91g, to a cisco switch). Our kernel is much newer, 2.2.12. In the testing I've done, that cards start out negotiating correctly (full dup), but then randomly drop back to half dup. This sucks. I also tried to force full duplex everywhere. The options= parameter doesn't seem to work as documented on these cards. Anyone else have any experience with this? -- Dave Thompson Associate Researcher Department of Computer Science University of Wisconsin-Madison http://www.cs.wisc.edu/~thomas 1210 West Dayton Street Phone: (608)-262-1017 Madison, WI 53706-1685 Fax: (608)-262-6626 -- Homer Wilson Smith wrote: > > I am unable to get Kingston KNE100TX 21143's to go into >Full Dup with Cisco Switches. > > With the SMC cards work right with Linux 2.0.36 and v91g? > > Thanks Homer > >------------------------------------------------------------------------ >Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink >(607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY >homer@lightlink.com Is that too much to ask? http://www.lightlink.com > >------------------------------------------------------------------- From tulip-admin@blueraja.scyld.com Mon May 22 12:45:32 2000 Received: from imo15.mx.aol.com (imo15.mx.aol.com [152.163.225.5]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA08512 for ; Mon, 22 May 2000 12:45:32 -0400 From: Layla3000@aol.com Received: from Layla3000@aol.com by imo15.mx.aol.com (mail_out_v27.9.) id k.c4.401d75c (4211) for ; Mon, 22 May 2000 12:44:35 -0400 (EDT) Message-ID: To: linux-tulip@beowulf.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 5.0 for Windows sub 106 Subject: [tulip] Help! Date: Mon May 22 12:45:33 2000 Hello; I hope that some how that you can help me. I am searching for the web site or ANY information about Liteon drivers. I need to update my driver which is Liteon CD Rom LTN 301. This driver does not support multi-session soft ware and what I am using it for mainly is to load pictures from a Kodak Picture CD. If you have any information that could help me, I would really appreciate it. I own a Packard Bell computer and as you might or might not know they are out of business so I can not call upon them for help. Thank-you for taking a moment to read this e-mail. Jeanine Coyne(Layla3000@aol.com) :) From tulip-admin@blueraja.scyld.com Mon May 22 13:29:38 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA08903 for ; Mon, 22 May 2000 13:29:38 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id NAA18561; Mon, 22 May 2000 13:29:12 -0400 From: Homer Wilson Smith To: David Thompson cc: Homer Wilson Smith , linux-tulip@beowulf.org In-Reply-To: <200005221526.KAA01730@pongo.cs.wisc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Re: Kingston Date: Mon May 22 13:29:39 2000 > Yes, we're seeing some problems with a similar configuration (kingston > 21143, tulip v0.91g, to a cisco switch). Our kernel is much newer, > 2.2.12. In the testing I've done, that cards start out negotiating > correctly (full dup), but then randomly drop back to half dup. I have pretty much given up with the 21143 chips, even v92 doesn't work. If someone knows another card that will do 10baseT Full Dup properly with a Cisco 1900 Switch I would love to know. Homer From tulip-admin@blueraja.scyld.com Mon May 22 17:19:50 2000 Received: from borg.denalics.net (postfix@borg.denalics.net [209.112.170.15]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id RAA09997 for ; Mon, 22 May 2000 17:19:49 -0400 Received: from borg.denalics.net (borg.denalics.net [209.112.170.15]) by borg.denalics.net (Postfix) with ESMTP id 3A7CF48896; Mon, 22 May 2000 12:12:27 -0900 (HADT) From: "Christopher E. Brown" To: David Thompson Cc: Homer Wilson Smith , linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: <200005221526.KAA01730@pongo.cs.wisc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon May 22 17:19:51 2000 On Mon, 22 May 2000, David Thompson wrote: > > Yes, we're seeing some problems with a similar configuration (kingston > 21143, tulip v0.91g, to a cisco switch). Our kernel is much newer, > 2.2.12. In the testing I've done, that cards start out negotiating > correctly (full dup), but then randomly drop back to half dup. > > This sucks. > > I also tried to force full duplex everywhere. The options= parameter > doesn't seem to work as documented on these cards. > > Anyone else have any experience with this? What Kingston card? I have had zero problems with the KNE100TX units. The later ones (21143 based) require a .91 driver, but thats it. I have > 100 used (20 somthing are 21143), and about 15 of the 21143 units are talking to cisco switches. --- As folks might have suspected, not much survives except roaches, and they don't carry large enough packets fast enough... --About the Internet and nuclear war. From tulip-admin@blueraja.scyld.com Mon May 22 19:07:34 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA10627 for ; Mon, 22 May 2000 19:07:34 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id TAA06411; Mon, 22 May 2000 19:07:03 -0400 From: Homer Wilson Smith To: "Christopher E. Brown" cc: David Thompson , Homer Wilson Smith , linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon May 22 19:07:35 2000 > What Kingston card? I have had zero problems with the > KNE100TX units. The later ones (21143 based) require a .91 driver, > but thats it. I have > 100 used (20 somthing are 21143), and about 15 > of the 21143 units are talking to cisco switches. I am using KNE100TX with 21143 connected to cisco 1900, 10baseT forced full dup. The card won't auto negotiate, but can be 'forced' into various Fd modes through the options=command. Most of the FD modes don't work at all, some do work, but statistics on the Ciscos show lots of runt frames and very slow throughput, the usual signs of the card being in half duplex and the Cisco being in full. This behavior is replicateable with the 21140 by actually putting them in half duplex while the cisco is in full dup. The 21140's work properly providing 1000Kbyte/sec throughput between two linux boxes in FD mode options=16. The Full dup green light never turns on in either card, but we are very happy with the performance of the 21140's. Alsa they are no longer avialable. If I am doing something stupid here, I would dearly love to know because we are very dedicated to the Kingston 2114x's Homer > > --- > As folks might have suspected, not much survives except roaches, > and they don't carry large enough packets fast enough... > --About the Internet and nuclear war. > > From tulip-admin@blueraja.scyld.com Mon May 22 19:55:00 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA11017 for ; Mon, 22 May 2000 19:54:57 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id A1063870A; Tue, 23 May 2000 09:54:19 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Tue, 23 May 2000 09:54:26 +1000 From: Jason Thomas To: Homer Wilson Smith Cc: "Christopher E. Brown" , David Thompson , Homer Wilson Smith , linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston Message-ID: <20000523095426.B2011@topic.com.au> Reply-To: jason@topic.com.au References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: ; from homer@lightlink.com on Mon, May 22, 2000 at 07:07:00PM -0400 Date: Mon May 22 19:55:01 2000 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Is the switch a Catalyst 1900, if so, it only autonegotiates duplex operation on 100BaseTx ports. http://www.cisco.com/univercd/cc/td/doc/product/lan/28201900/1928v9x/19icg9x/19icintr.htm Homer Wilson Smith [homer@lightlink.com] wrote: > > What Kingston card? I have had zero problems with the > > KNE100TX units. The later ones (21143 based) require a .91 driver, > > but thats it. I have > 100 used (20 somthing are 21143), and about 15 > > of the 21143 units are talking to cisco switches. > > I am using KNE100TX with 21143 connected to cisco 1900, > 10baseT forced full dup. The card won't auto negotiate, but > can be 'forced' into various Fd modes through the options=command. > > Most of the FD modes don't work at all, some do work, but statistics > on the Ciscos show lots of runt frames and very slow throughput, the usual > signs of the card being in half duplex and the Cisco being in full. > > This behavior is replicateable with the 21140 by actually > putting them in half duplex while the cisco is in full dup. > > The 21140's work properly providing 1000Kbyte/sec throughput > between two linux boxes in FD mode options=16. > > The Full dup green light never turns on in either card, > but we are very happy with the performance of the 21140's. > Alsa they are no longer avialable. > > If I am doing something stupid here, I would dearly love > to know because we are very dedicated to the Kingston 2114x's > > Homer > > > > --- > > As folks might have suspected, not much survives except roaches, > > and they don't carry large enough packets fast enough... > > --About the Internet and nuclear war. > > > > > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas System Administrator - UID 0 Phone: +61 2 6257 7111 tSA Consulting Group Pty. Ltd. Fax: +61 2 6257 7311 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: KuYcPdTuXvTnMerCCVLbq1J96QwQoNNf Comment: Ha Ha iQA/AwUBOSnIsu3GMESSUoi+EQJuvwCggPN+idMXmdAOF0UH6wPgVlDCY+IAoNtg is/iAH/dFcmZecYtFDDraPMj =6Ysj -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A-- From tulip-admin@blueraja.scyld.com Mon May 22 20:47:42 2000 Received: from borg.denalics.net (postfix@borg.denalics.net [209.112.170.15]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id UAA11410 for ; Mon, 22 May 2000 20:47:42 -0400 Received: from borg.denalics.net (borg.denalics.net [209.112.170.15]) by borg.denalics.net (Postfix) with ESMTP id A260D48896; Mon, 22 May 2000 15:40:24 -0900 (HADT) From: "Christopher E. Brown" To: Homer Wilson Smith Cc: linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon May 22 20:47:43 2000 On Mon, 22 May 2000, Homer Wilson Smith wrote: > > What Kingston card? I have had zero problems with the > > KNE100TX units. The later ones (21143 based) require a .91 driver, > > but thats it. I have > 100 used (20 somthing are 21143), and about 15 > > of the 21143 units are talking to cisco switches. > > I am using KNE100TX with 21143 connected to cisco 1900, > 10baseT forced full dup. The card won't auto negotiate, but > can be 'forced' into various Fd modes through the options=command. > > Most of the FD modes don't work at all, some do work, but statistics > on the Ciscos show lots of runt frames and very slow throughput, the usual > signs of the card being in half duplex and the Cisco being in full. > > This behavior is replicateable with the 21140 by actually > putting them in half duplex while the cisco is in full dup. > > The 21140's work properly providing 1000Kbyte/sec throughput > between two linux boxes in FD mode options=16. > > The Full dup green light never turns on in either card, > but we are very happy with the performance of the 21140's. > Alsa they are no longer avialable. > > If I am doing something stupid here, I would dearly love > to know because we are very dedicated to the Kingston 2114x's > > Homer Am very confused here, I have been using the KNE100TX units, 1 - 4 per box for some time. When the 21143 units started arriveing it was fun, but as soon as I switched from 89h everything was happy again. I checked, the 15 21143 KNE100TX cards are talking to Catalyst 2900 series units. All drop straight into 100FD, and more than a few hold 80Mbit+ each way during office hrs (Linux based filtering firewalls, and MASQ boxes). --- As folks might have suspected, not much survives except roaches, and they don't carry large enough packets fast enough... --About the Internet and nuclear war. From tulip-admin@blueraja.scyld.com Tue May 23 00:46:35 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA12474 for ; Tue, 23 May 2000 00:46:35 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id AAA18464; Tue, 23 May 2000 00:45:01 -0400 From: Homer Wilson Smith To: Jason Thomas cc: "Christopher E. Brown" , David Thompson , linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: <20000523095426.B2011@topic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue May 23 00:46:36 2000 Thanks, this is not a problem in autonegotiation, in 10baseT mode, the switch can be forced into Full Dup mode. It works flawlessly with the 21140 options=16, but the 21143 doesn't work at all. Its a real problem. ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com On Tue, 23 May 2000, Jason Thomas wrote: > Is the switch a Catalyst 1900, if so, it only autonegotiates duplex > operation on 100BaseTx ports. > > http://www.cisco.com/univercd/cc/td/doc/product/lan/28201900/1928v9x/19icg9x/19icintr.htm > > Homer Wilson Smith [homer@lightlink.com] wrote: > > > What Kingston card? I have had zero problems with the > > > KNE100TX units. The later ones (21143 based) require a .91 driver, > > > but thats it. I have > 100 used (20 somthing are 21143), and about 15 > > > of the 21143 units are talking to cisco switches. > > > > I am using KNE100TX with 21143 connected to cisco 1900, > > 10baseT forced full dup. The card won't auto negotiate, but > > can be 'forced' into various Fd modes through the options=command. > > > > Most of the FD modes don't work at all, some do work, but statistics > > on the Ciscos show lots of runt frames and very slow throughput, the usual > > signs of the card being in half duplex and the Cisco being in full. > > > > This behavior is replicateable with the 21140 by actually > > putting them in half duplex while the cisco is in full dup. > > > > The 21140's work properly providing 1000Kbyte/sec throughput > > between two linux boxes in FD mode options=16. > > > > The Full dup green light never turns on in either card, > > but we are very happy with the performance of the 21140's. > > Alsa they are no longer avialable. > > > > If I am doing something stupid here, I would dearly love > > to know because we are very dedicated to the Kingston 2114x's > > > > Homer > > > > > > --- > > > As folks might have suspected, not much survives except roaches, > > > and they don't carry large enough packets fast enough... > > > --About the Internet and nuclear war. > > > > > > > > > > > > _______________________________________________ > > tulip mailing list > > tulip@scyld.com > > http://www.scyld.com/mailman/listinfo/tulip > > -- > Jason Thomas > System Administrator - UID 0 Phone: +61 2 6257 7111 > tSA Consulting Group Pty. Ltd. Fax: +61 2 6257 7311 > 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ > From tulip-admin@blueraja.scyld.com Tue May 23 00:47:09 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA12509 for ; Tue, 23 May 2000 00:47:09 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id AAA18668; Tue, 23 May 2000 00:46:36 -0400 From: Homer Wilson Smith To: "Christopher E. Brown" cc: linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue May 23 00:47:10 2000 > Am very confused here, I have been using the KNE100TX units, 1 > - 4 per box for some time. When the 21143 units started arriveing it > was fun, but as soon as I switched from 89h everything was happy > again. I checked, the 15 21143 KNE100TX cards are talking to Catalyst > 2900 series units. All drop straight into 100FD, and more than a few > hold 80Mbit+ each way during office hrs (Linux based filtering > firewalls, and MASQ boxes). 2900 series is 100baseT , we are using 1900 which has 10baseT ports. The 21143's work fine in 100baseT mode. Homer > > > --- > As folks might have suspected, not much survives except roaches, > and they don't carry large enough packets fast enough... > --About the Internet and nuclear war. > > From tulip-admin@blueraja.scyld.com Tue May 23 02:09:33 2000 Received: from mrs-2.smartworld.net (mrs-2.smartworld.net [216.70.64.27]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id CAA13163 for ; Tue, 23 May 2000 02:09:33 -0400 From: undefined@engineer.com Received: from exodus.engineer.com (1Cust222.tnt1.dfw2.da.uu.net [63.21.20.222]) by mrs-2.smartworld.net (8.9.1a/8.9.1) with ESMTP id CAA80267 for ; Tue, 23 May 2000 02:08:52 -0500 (CDT) Message-Id: <4.3.1.20000523005254.410a96a0@pop.freewwweb.com> X-Sender: anonym@pop.freewwweb.com X-Mailer: QUALCOMM Windows Eudora Version 4.3 To: tulip@scyld.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [tulip] ton o' errors with netgear NIC Date: Tue May 23 02:09:34 2000 Mr. Becker and other mailing-list participants, In my home I have 2 computers, each with a Netgear card, connected merely by a crossover cable. Under light network-traffic loads running interactive network applications (telnet, ssh, linuxconf, swat for samba) between the two computers, the two computers are happy. But when transfering (ftp, scp) a file greater than (approx.) 100 KB between the computers, one computer complains loudly of errors. Large files transfered in one specific direction actually slow to a patheticcrawl after the first 600 KB (see trouble-shooting below for a more detailed description). So it's not just errors, but the problem causes severe network slow-downs. I have read the mailing-list archives as far back as Jan '99 and did not see a problem posted similar to mine, though after the first 3 hours of reading the problems all seem the same. I have tried to include all information that I saw included and saw requested in previous postings from the archive. I have also included general computer hardware and configuration information. Below is all information I could think of extracting from both computers relevant to this problem, and following that is a description of my trouble-shooting to date. NOTE: I simply refer to the two computers as "tulip" and "ne2k" as those are generic descriptions of the installed NICs and the easiest way to distinguish between the two computers on a mailing-list specifically concerning NIC drivers. tulip: Netgear FA310TX PCI Red Hat 6.1 kernel 2.2.12-20 tulip.c v0.89H 5/23/98 and upgraded to v0.92 4/17/2000 circa '98-'99 PII-450 (440BX chipset) ne2k: Netgear EA201c Red Hat 6.1 kernel 2.2.12-20 ne.c v1.10 9/23/94 circa '94 486 (ISA & VLB only) connected by cat5 crossover cable EDITORIAL NOTE: Hardware addresses withheld due to privacy concerns. If the hardware addresses are really necessary for trouble-shooting, then please request that I mail them directly to your email address, and not to a public forum. --- dmesg on tulip --- tulip.c:v0.92 4/17/2000 Written by Donald Becker http://www.scyld.com/network/tulip.html eth0: Lite-On 82c168 PNIC rev 32 at 0xc40f1000, **:**:**:**:**:**, IRQ 5. eth0: MII transceiver #1 config 3000 status 7829 advertising 01e1. --- /var/log/messages on tulip --- no errors or any references --- eth0 in /proc/net/dev on tulip --- Receive bytes packets errs drop fifo frame compressed multicast 1008022 1427 523 0 0 1046 0 0 Transmit bytes packets errs drop fifo colls carrier compressed 1662749 1855 307 0 0 276 307 0 --- ifconfig eth0 on tulip --- Link encap:Ethernet HWaddr **:**:**:**:**:** inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1427 errors:523 dropped:0 overruns:0 frame:1046 TX packets:1855 errors:307 dropped:0 overruns:0 carrier:307 collisions:276 txqueuelen:100 Interrupt:5 Base address:0x1000 --- mii-diag on tulip --- mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Basic registers of MII PHY #1: 3000 782d 0040 6212 01e1 0021 0000 0000. Basic mode control register 0x3000: Auto-negotiation enabled. You have link beat, and everything is working OK. Your link partner is generating 10baseT link beat (no autonegotiation). --- tulip-diag on tulip --- tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Lite-On 82c168 PNIC adapter at 0xd400. Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 72. MII PHY found at address 1, status 0x782d. MII PHY #1 transceiver registers: 3000 782d 0040 6212 01e1 0021 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0300 0000 003c 8006 0f00 ff00 002c 4000 0080 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x782d ... 782d. Link status: established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation complete. Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. No specific information is known about this transceiver type. I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 0021: 10baseT. Negotiation did not complete. --- dmesg on ne2k --- ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov) NE*000 ethercard probe at 0x300: ** ** ** ** ** ** eth0: NE2000 found at 0x300, using IRQ 10. --- /var/log/messages on ne2k --- no errors or any references --- eth0 in /proc/net/dev on ne2k --- Receive bytes packets errs drop fifo frame compressed multicast 1667226 1940 0 0 0 230 0 1 Transmit bytes packets errs drop fifo colls carrier compressed 1562737 2043 0 0 0 0 0 0 --- ifconfig eth0 on ne2k --- Link encap:Ethernet HWaddr **:**:**:**:**:** inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1933 errors:0 dropped:0 overruns:0 frame:230 TX packets:2036 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:10 Base address:0x300 --- ne2k-diag on ne2k --- ne2k-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) Checking the ethercard at 0x300. Receive alignment error counter (0x30d) is ff Passed initial NE2000 probe, value 00. Station Address PROM 0: ** ** ** ** ** ** ** ** ** ** ** ** 00 00 00 00 Station Address PROM 0x10: 00 00 00 00 00 00 00 00 00 00 00 00 57 57 57 57 NE2000 found at 0x300, using start page 0x40 and end page 0x80. The current MAC stations address is **:**:**:**:**:**. 8390 page 0: 20 ff ff 7a 42 00 ff 00 20 00 7b ff 21 00 00 00. 8390 page 1: 60 ** ** ** ** ** ** 7b 00 00 00 80 00 ff 00 00. 8390 page 2: 00 ff 49 ff 49 ff 49 ff 49 ff 49 ff 49 ff 49 ff. 8390 page 3: e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff. --- What have I tried so far? I noticed that the tulip was the one screaming about errors, so I assume (very possibly incorectly) that the problem lies with it. The network slowdown is also greatest when transfering from tulip to ne2k. (Though that doesn't really suggest anything as the problem could be ne2k RX and not necessarily tulip TX.) That's why I'm posting to this tulip mailing-list, instead of the ne2k mailing-list (if one even exists). I've also focused most of my trouble-shooting on the tulip. Since all the errors were on the tulip, I first thought maybe it was the tulip driver. So I upgraded to v0.92 from netdriver-2.0-2.src.rpm. No improvement. Tulip dual-boots between linux and win98, so I transfered (ftp) files between tulip (in both OSes) and ne2k, and based on throughput numbers win98 is quite faster, which makes me believe the problem is driver-based and not hardware-based. But I don't know of a ifconfig or /proc/net/dev equivalent in win98, so maybe the problem of massive errors still exists in win98, I just can't see the errors. I then started reading the mailing-list archives and saw a mention of bad cabling. "Duh," I thought, but I don't have a spare known-working crossover cable (nor do we have them in general use at work for me to borrow overnight) to test with. But if the problem was with the cabling wouldn't there be errors reported on both computers instead of all (TX and RX) on one end? I did flip-flop which end of the crossover cable was plugged into which computer, but all the errors continued to be reported by tulip. If this is very possibly the problem, then I'll purchase another crossover cable for testing, but I would prefer to not have to. I've checked the simple configuration stuff like IRQ, but that doesn't seem to be the problem. Both cards are recognized with no problems reported, so it makes me believe it's something else besides driver configuration, like the driver itself. Oh, I don't think it's the TCP/IP stack, as I use to have these machines connected by PLIP, and never encountered any problems (besides balancing the use of the parallel port with both PLIP and a printer). I am unable to solve the problem, and short of testing (which requires buying) a new crossover cable and new NICs, I don't know what to test or try next. I apologize if the problem/solution is obvious from the above information, and I've just happened to be blind to it. If that's the case, then I am sorry I wasted your time and bandwidth, but please still inform me of the solution (with whatever ridicule you fill necessary). Thank you in advance for your assistance. C o r e y W r i g h t mailto:undefined@pobox.com http://zeros-ones.homepage.com/Corey-Wright-public-key.html From tulip-admin@blueraja.scyld.com Tue May 23 03:02:02 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id DAA13507 for ; Tue, 23 May 2000 03:01:59 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 0416286B3; Tue, 23 May 2000 17:01:20 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Tue, 23 May 2000 17:01:30 +1000 From: Jason Thomas To: undefined@engineer.com Cc: tulip@scyld.com Subject: Re: [tulip] ton o' errors with netgear NIC Message-ID: <20000523170130.G2011@topic.com.au> Reply-To: jason@topic.com.au References: <4.3.1.20000523005254.410a96a0@pop.freewwweb.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HB4mHL4PVvkpZAgW" Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: <4.3.1.20000523005254.410a96a0@pop.freewwweb.com>; from undefined@engineer.com on Tue, May 23, 2000 at 01:08:32AM +0000 Date: Tue May 23 03:02:04 2000 --HB4mHL4PVvkpZAgW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline there is a newer 8390 driver available, I assume that is the chip on th ne2k card you have. its called 8390too or something maybe this can help. undefined@engineer.com [undefined@engineer.com] wrote: > Mr. Becker and other mailing-list participants, > > In my home I have 2 computers, each with a Netgear card, connected merely > by a crossover cable. Under light network-traffic loads running > interactive network applications (telnet, ssh, linuxconf, swat for samba) > between the two computers, the two computers are happy. But when > transfering (ftp, scp) a file greater than (approx.) 100 KB between the > computers, one computer complains loudly of errors. Large files transfered > in one specific direction actually slow to a patheticcrawl after the first > 600 KB (see trouble-shooting below for a more detailed description). So > it's not just errors, but the problem causes severe network slow-downs. > > I have read the mailing-list archives as far back as Jan '99 and did not > see a problem posted similar to mine, though after the first 3 hours of > reading the problems all seem the same. I have tried to include all > information that I saw included and saw requested in previous postings from > the archive. I have also included general computer hardware and > configuration information. Below is all information I could think of > extracting from both computers relevant to this problem, and following that > is a description of my trouble-shooting to date. > > NOTE: I simply refer to the two computers as "tulip" and "ne2k" as those > are generic descriptions of the installed NICs and the easiest way to > distinguish between the two computers on a mailing-list specifically > concerning NIC drivers. > > tulip: > Netgear FA310TX PCI > Red Hat 6.1 > kernel 2.2.12-20 > tulip.c v0.89H 5/23/98 and upgraded to v0.92 4/17/2000 > circa '98-'99 PII-450 (440BX chipset) > > ne2k: > Netgear EA201c > Red Hat 6.1 > kernel 2.2.12-20 > ne.c v1.10 9/23/94 > circa '94 486 (ISA & VLB only) > > connected by cat5 crossover cable > > EDITORIAL NOTE: Hardware addresses withheld due to privacy concerns. If > the hardware addresses are really necessary for trouble-shooting, then > please request that I mail them directly to your email address, and not to > a public forum. > > --- dmesg on tulip --- > > tulip.c:v0.92 4/17/2000 Written by Donald Becker > http://www.scyld.com/network/tulip.html > eth0: Lite-On 82c168 PNIC rev 32 at 0xc40f1000, **:**:**:**:**:**, IRQ 5. > eth0: MII transceiver #1 config 3000 status 7829 advertising 01e1. > > --- /var/log/messages on tulip --- > > no errors or any references > > --- eth0 in /proc/net/dev on tulip --- > > Receive > bytes packets errs drop fifo frame compressed multicast > 1008022 1427 523 0 0 1046 0 0 > Transmit > bytes packets errs drop fifo colls carrier compressed > 1662749 1855 307 0 0 276 307 0 > > --- ifconfig eth0 on tulip --- > > Link encap:Ethernet HWaddr **:**:**:**:**:** > inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1427 errors:523 dropped:0 overruns:0 frame:1046 > TX packets:1855 errors:307 dropped:0 overruns:0 carrier:307 > collisions:276 txqueuelen:100 > Interrupt:5 Base address:0x1000 > > --- mii-diag on tulip --- > > mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) > http://www.scyld.com/diag/index.html > Basic registers of MII PHY #1: 3000 782d 0040 6212 01e1 0021 0000 0000. > Basic mode control register 0x3000: Auto-negotiation enabled. > You have link beat, and everything is working OK. > Your link partner is generating 10baseT link beat (no autonegotiation). > > --- tulip-diag on tulip --- > > tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) > http://www.scyld.com/diag/index.html > Index #1: Found a Lite-On 82c168 PNIC adapter at 0xd400. > Port selection is MII, half-duplex. > Transmit started, Receive started, half-duplex. > The Rx process state is 'Waiting for packets'. > The Tx process state is 'Idle'. > The transmit threshold is 72. > MII PHY found at address 1, status 0x782d. > MII PHY #1 transceiver registers: > 3000 782d 0040 6212 01e1 0021 0000 0000 > 0000 0000 0000 0000 0000 0000 0000 0000 > 5000 0000 0000 0000 0000 0000 0300 0000 > 003c 8006 0f00 ff00 002c 4000 0080 000b. > Basic mode control register 0x3000: Auto-negotiation enabled. > Basic mode status register 0x782d ... 782d. > Link status: established. > Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. > Able to perform Auto-negotiation, negotiation complete. > Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. > No specific information is known about this transceiver type. > I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT > Advertising no additional info pages. > IEEE 802.3 CSMA/CD protocol. > Link partner capability is 0021: 10baseT. > Negotiation did not complete. > > --- dmesg on ne2k --- > > ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov) > NE*000 ethercard probe at 0x300: ** ** ** ** ** ** > eth0: NE2000 found at 0x300, using IRQ 10. > > --- /var/log/messages on ne2k --- > > no errors or any references > > --- eth0 in /proc/net/dev on ne2k --- > > Receive > bytes packets errs drop fifo frame compressed multicast > 1667226 1940 0 0 0 230 0 1 > Transmit > bytes packets errs drop fifo colls carrier compressed > 1562737 2043 0 0 0 0 0 0 > > --- ifconfig eth0 on ne2k --- > > Link encap:Ethernet HWaddr **:**:**:**:**:** > inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1933 errors:0 dropped:0 overruns:0 frame:230 > TX packets:2036 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:10 Base address:0x300 > > --- ne2k-diag on ne2k --- > > ne2k-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) > Checking the ethercard at 0x300. > Receive alignment error counter (0x30d) is ff > Passed initial NE2000 probe, value 00. > Station Address PROM 0: ** ** ** ** ** ** ** ** ** ** ** ** 00 00 00 00 > Station Address PROM 0x10: 00 00 00 00 00 00 00 00 00 00 00 00 57 57 57 57 > NE2000 found at 0x300, using start page 0x40 and end page 0x80. > The current MAC stations address is **:**:**:**:**:**. > 8390 page 0: 20 ff ff 7a 42 00 ff 00 20 00 7b ff 21 00 00 00. > 8390 page 1: 60 ** ** ** ** ** ** 7b 00 00 00 80 00 ff 00 00. > 8390 page 2: 00 ff 49 ff 49 ff 49 ff 49 ff 49 ff 49 ff 49 ff. > 8390 page 3: e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff. > > --- > > What have I tried so far? I noticed that the tulip was the one screaming > about errors, so I assume (very possibly incorectly) that the problem lies > with it. The network slowdown is also greatest when transfering from tulip > to ne2k. (Though that doesn't really suggest anything as the problem could > be ne2k RX and not necessarily tulip TX.) That's why I'm posting to this > tulip mailing-list, instead of the ne2k mailing-list (if one even > exists). I've also focused most of my trouble-shooting on the tulip. > > Since all the errors were on the tulip, I first thought maybe it was the > tulip driver. So I upgraded to v0.92 from netdriver-2.0-2.src.rpm. No > improvement. Tulip dual-boots between linux and win98, so I transfered > (ftp) files between tulip (in both OSes) and ne2k, and based on throughput > numbers win98 is quite faster, which makes me believe the problem is > driver-based and not hardware-based. But I don't know of a ifconfig or > /proc/net/dev equivalent in win98, so maybe the problem of massive errors > still exists in win98, I just can't see the errors. > > I then started reading the mailing-list archives and saw a mention of bad > cabling. "Duh," I thought, but I don't have a spare known-working > crossover cable (nor do we have them in general use at work for me to > borrow overnight) to test with. But if the problem was with the cabling > wouldn't there be errors reported on both computers instead of all (TX and > RX) on one end? I did flip-flop which end of the crossover cable was > plugged into which computer, but all the errors continued to be reported by > tulip. If this is very possibly the problem, then I'll purchase another > crossover cable for testing, but I would prefer to not have to. > > I've checked the simple configuration stuff like IRQ, but that doesn't seem > to be the problem. Both cards are recognized with no problems reported, so > it makes me believe it's something else besides driver configuration, like > the driver itself. > > Oh, I don't think it's the TCP/IP stack, as I use to have these machines > connected by PLIP, and never encountered any problems (besides balancing > the use of the parallel port with both PLIP and a printer). > > I am unable to solve the problem, and short of testing (which requires > buying) a new crossover cable and new NICs, I don't know what to test or > try next. > > I apologize if the problem/solution is obvious from the above information, > and I've just happened to be blind to it. If that's the case, then I am > sorry I wasted your time and bandwidth, but please still inform me of the > solution (with whatever ridicule you fill necessary). > > Thank you in advance for your assistance. > > C o r e y W r i g h t > mailto:undefined@pobox.com > http://zeros-ones.homepage.com/Corey-Wright-public-key.html > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas Phone: +61 2 6257 7111 System Administrator - UID 0 Fax: +61 2 6257 7311 tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --HB4mHL4PVvkpZAgW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: fyArkbuBc9/fOp+lb1kvYw7iAE7HWguq Comment: Ha Ha iQA/AwUBOSosyu3GMESSUoi+EQLYAQCeIvaJEEGcn4m7RViy9VAcByQoGvUAnidR D6yFq0vyAkI2CWf9kLh4QqOI =1lXi -----END PGP SIGNATURE----- --HB4mHL4PVvkpZAgW-- From tulip-admin@blueraja.scyld.com Tue May 23 03:34:46 2000 Received: from vaio.greennet (adsl-151-196-242-22.bellatlantic.net [151.196.242.22]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id DAA13826 for ; Tue, 23 May 2000 03:34:46 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id DAA01029; Tue, 23 May 2000 03:34:32 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: undefined@engineer.com cc: tulip@scyld.com Subject: Re: [tulip] ton o' errors with netgear NIC In-Reply-To: <4.3.1.20000523005254.410a96a0@pop.freewwweb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue May 23 03:34:47 2000 On Tue, 23 May 2000 undefined@engineer.com wrote: > In my home I have 2 computers, each with a Netgear card, connected merely > by a crossover cable. Under light network-traffic loads running .. > connected by cat5 crossover cable > > EDITORIAL NOTE: Hardware addresses withheld due to privacy concerns. If There is no reason to go to the effort. The most malicious thing someone could do with the info is trigger Wake-On-LAN, but your boards don't support Wake-On-LAN. > tulip.c:v0.92 4/17/2000 Written by Donald Becker > http://www.scyld.com/network/tulip.html > eth0: Lite-On 82c168 PNIC rev 32 at 0xc40f1000, **:**:**:**:**:**, IRQ 5. > eth0: MII transceiver #1 config 3000 status 7829 advertising 01e1. > Receive > bytes packets errs drop fifo frame compressed multicast > 1008022 1427 523 0 0 1046 0 0 > Transmit > bytes packets errs drop fifo colls carrier compressed > 1662749 1855 307 0 0 276 307 0 You might have a bad crossover cable. It's probably mispaired. Or your link partner might be set to forced full duplex. > MII PHY #1 transceiver registers: > 3000 782d 0040 6212 01e1 0021 0000 0000 > 0000 0000 0000 0000 0000 0000 0000 0000 > 5000 0000 0000 0000 0000 0000 0300 0000 > 003c 8006 0f00 ff00 002c 4000 0080 000b. > Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. > No specific information is known about this transceiver type. What transceiver type are you using? > ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov) > NE*000 ethercard probe at 0x300: ** ** ** ** ** ** > eth0: NE2000 found at 0x300, using IRQ 10. > Receive > bytes packets errs drop fifo frame compressed multicast > 1667226 1940 0 0 0 230 0 1 > Transmit > bytes packets errs drop fifo colls carrier compressed > 1562737 2043 0 0 0 0 0 0 Hmmm, no collisions. Very, very suspicious. I'm guessing forced-full-duplex at this point. > What have I tried so far? I noticed that the tulip was the one screaming > about errors, so I assume (very possibly incorectly) that the problem lies > with it. The network slowdown is also greatest when transfering from tulip Nope. It's almost certainly a configuration or hardware error. > RX) on one end? I did flip-flop which end of the crossover cable was > plugged into which computer, but all the errors continued to be reported by > tulip. If this is very possibly the problem, then I'll purchase another > crossover cable for testing, but I would prefer to not have to. I've been buying Belkin crossover cables from buy.com. They are cheap, and clearly coded with grey molded ends on a yellow cable. This isn't a specific endorsement for Buy.com, but they do have good prices right now. They must be operating at big loss to have low prices and such bad shipping practices -- one of my orders came with one cable per box! Anyway, check the forced-full-duplex setting on the NE2000 card. Donald Becker becker@scyld.com Scyld Computing Corporation 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Tue May 23 13:42:46 2000 Received: from borg.denalics.net (postfix@borg.denalics.net [209.112.170.15]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA17862 for ; Tue, 23 May 2000 13:42:44 -0400 Received: from borg.denalics.net (borg.denalics.net [209.112.170.15]) by borg.denalics.net (Postfix) with ESMTP id 2373148896; Tue, 23 May 2000 08:35:28 -0900 (HADT) From: "Christopher E. Brown" To: Homer Wilson Smith Cc: linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue May 23 13:42:47 2000 On Tue, 23 May 2000, Homer Wilson Smith wrote: > > Am very confused here, I have been using the KNE100TX units, 1 > > - 4 per box for some time. When the 21143 units started arriving it > > was fun, but as soon as I switched from 89h everything was happy > > again. I checked, the 15 21143 KNE100TX cards are talking to Catalyst > > 2900 series units. All drop straight into 100FD, and more than a few > > hold 80Mbit+ each way during office hrs (Linux based filtering > > firewalls, and MASQ boxes). > > 2900 series is 100baseT , we are using 1900 which has > 10baseT ports. The 21143's work fine in 100baseT mode. > > Homer Hmm, just loaded the last release NMP/DMP for my Catalyst 1201 and brought into the office. At home it was talking to 21140 KNE100TX units at 10FD, same at the office with the 21143 cards, drops right to 10FD unless overridden. I am not doubting there are issues on the Cisco end here, just trying to narrow down the product lines and whatnot. Given their habit of buying a /neat/ company, and after re-badging dropping their new product in the middle of the product line there can be some major differences between what are supposed to be similar devices. --- As folks might have suspected, not much survives except roaches, and they don't carry large enough packets fast enough... --About the Internet and nuclear war. From tulip-admin@blueraja.scyld.com Tue May 23 15:45:34 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA19455 for ; Tue, 23 May 2000 15:45:34 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id PAA27954; Tue, 23 May 2000 15:45:00 -0400 From: Homer Wilson Smith To: "Christopher E. Brown" cc: linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue May 23 15:45:35 2000 > I am not doubting there are issues on the Cisco end here, just > trying to narrow down the product lines and whatnot. Given their > habit of buying a /neat/ company, and after re-badging dropping their > new product in the middle of the product line there can be some major > differences between what are supposed to be similar devices. You mean like Netspeed and Aironet :) I am using Cisco 1912's and 1924's exclusively. I just can't get the 21143's to work. The tulip-diag SAYS they are in full dup, but the green light is not on, and packet throughput is very slow with lots of runt frames, which is classic symptoms of card being in half duplex and cisco being in full. Don't know though, maybe something else is going on. Homer > > --- > As folks might have suspected, not much survives except roaches, > and they don't carry large enough packets fast enough... > --About the Internet and nuclear war. > > From tulip-admin@blueraja.scyld.com Tue May 23 19:17:03 2000 Received: from emerald.lightlink.com (root@emerald.lightlink.com [205.232.34.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA21862 for ; Tue, 23 May 2000 19:17:02 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by emerald.lightlink.com (8.8.8/8.8.8) with ESMTP id TAA24538 for ; Tue, 23 May 2000 19:16:33 -0400 From: Homer Wilson Smith To: linux-tulip@beowulf.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Cisco 1900 + 21143 Date: Tue May 23 19:17:04 2000 Running two linux 2.0.36 boxes connected to a Cisco 1900 switch, I got the following speeds and behavior trying to put box B into full dup mode. Box A is already in Full Dup using a 21140, Cisco 1900 ports are forced full dup 10 base T, not 100 base T. K is KiloBytes/second using ftp from B to A. HD means tupli-diag shows half duplex, Runts means Cisco is showing lots of runt frames. Cisco light blinks, means the green light slowly turns on and off, rather than just turning on, like it was trying over and over to negotiate something. Box A is 21140 Option Box B 21140 Box B 21143 0 HD 200K with Runts HD 200K with Runts 16 1100K No packets transfer 4 1100K No packets transfer 20 1100K No packets transfer 10 1100K Cisco light blinks, card light off 26 1100K Cisco light blinks, card light off 11 HD 200K Runts HD 250K Runts 27 1100K No packets transfer ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com From tulip-admin@blueraja.scyld.com Tue May 23 19:39:38 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA22519 for ; Tue, 23 May 2000 19:39:36 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 27B1E86B3; Wed, 24 May 2000 09:38:54 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Wed, 24 May 2000 09:39:10 +1000 From: Jason Thomas To: Homer Wilson Smith Cc: "Christopher E. Brown" , linux-tulip@beowulf.org Subject: Re: [tulip] Re: Kingston Message-ID: <20000524093910.A19923@topic.com.au> Reply-To: jason@topic.com.au References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: ; from homer@lightlink.com on Tue, May 23, 2000 at 03:45:00PM -0400 Date: Tue May 23 19:39:39 2000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The duplex light is controlled by software on the tulip cards, this requires code for each of the different cards/chips in the range, according to Donald. Homer Wilson Smith [homer@lightlink.com] wrote: > > I am not doubting there are issues on the Cisco end here, just > > trying to narrow down the product lines and whatnot. Given their > > habit of buying a /neat/ company, and after re-badging dropping their > > new product in the middle of the product line there can be some major > > differences between what are supposed to be similar devices. > > You mean like Netspeed and Aironet :) > > I am using Cisco 1912's and 1924's exclusively. I just > can't get the 21143's to work. The tulip-diag SAYS they > are in full dup, but the green light is not on, and packet > throughput is very slow with lots of runt frames, which is > classic symptoms of card being in half duplex and cisco being > in full. Don't know though, maybe something else is going on. > > Homer > > > > > --- > > As folks might have suspected, not much survives except roaches, > > and they don't carry large enough packets fast enough... > > --About the Internet and nuclear war. > > > > > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas System Administrator - UID 0 Phone: +61 2 6257 7111 tSA Consulting Group Pty. Ltd. Fax: +61 2 6257 7311 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 1geV4FKF98lqrBcRmW8jNJFVzrxsxotk Comment: Ha Ha iQA/AwUBOSsWnu3GMESSUoi+EQJ6IACfT+jM2XQnimUkAeJWuZO53zbeOUIAoJUa 73Q8//OgcB65xdFvrnNXNv1J =7AuK -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- From tulip-admin@blueraja.scyld.com Thu May 25 00:05:40 2000 Received: from localhost.cita.utoronto.ca (user08.megabit.utoronto.ca [142.150.240.58]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA31628 for ; Thu, 25 May 2000 00:05:39 -0400 Received: from cita.utoronto.ca (localhost [127.0.0.1]) by localhost.cita.utoronto.ca (8.9.3/8.9.3) with ESMTP id AAA11896 for ; Thu, 25 May 2000 00:04:54 -0400 Sender: pogosyan@cita.utoronto.ca Message-ID: <392CA648.EA28F244@cita.utoronto.ca> From: Dmitri Pogosyan Reply-To: pogosyan@cita.utoronto.ca X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] NWay status register Date: Thu May 25 00:05:41 2000 How do I decode the NWay status register which is reported by tulip-diag ? In my case it reads ............ The NWay status register is 41e1d0cc ............ Thanks, Dmitri Pogosyan From tulip-admin@blueraja.scyld.com Thu May 25 05:03:35 2000 Received: from wsp133.north-east.co.uk (wsp133.north-east.co.uk [195.188.128.15]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id FAA32754 for ; Thu, 25 May 2000 05:03:34 -0400 Received: from dhcp40.north-east.co.uk [195.188.128.40] (HELO wslibretto) by wsp133.north-east.co.uk (AltaVista Mail V2.0N/2.0N BL25N listener) id 0000_0070_392c_ec38_0b81; Thu, 25 May 2000 10:02:48 +0100 Message-ID: <004301bfc628$09cd3c60$2880bcc3@northeast.co.uk> From: "Tim Dixon" To: "Donald Becker" Cc: References: <003f01bfba7b$f59cc920$2880bcc3@northeast.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Subject: [tulip] Re: More DFE-570TX Tx Hung Problems Date: Thu May 25 05:03:36 2000 Just to update Donald and the several other people who've expressed interest in this... > [Just to summarise; we've been getting "Tx Hung" errors where we have > several DFE-570TXs in one box so that some of the ports end up > sharing IRQs. Simply ifconfig'ing the stuck port up and down makes > no difference. Other ports on the same card continue to work. >/proc/interrupts revealed that no interrupts were being taken on the >IRQ shared by the ports concerned. Although ifconfiging down the stuck >port didn't make any difference, taking down ALL the ports sharing the >IRQ and bringing them back up again seemed to do the trick. >We've had the same problem on a couple of different IRQ lines in the >same machine (in each case, 3 ports shared an IRQ)] We've found the same problem running driver V0.92 and I'm seriously starting to suspect the motherboard rather than the devices or the drivers. It looks like the devices believe they have an interrupt request pending on the shared IRQ but it isn't being delivered. My guess is that a condition arises in which two simultaneous interrupts on the same IRQ are mishandled by the arbitration hardware and it is essentially waiting for the interrupt requests to be cleared before recognising another interrupt - which will never happen because it's the ISR that clears the requests (effectively that the hardware is behaving in an edge-triggered rather than level-triggered manner). We've built a similar system with a different brand of motherboard and have during initial testing experience no similar problems. We'll replace the system in the field later in the week and see if the problems go away. Tim From tulip-admin@blueraja.scyld.com Thu May 25 11:26:49 2000 Received: from vaio.greennet (adsl-151-196-251-234.bellatlantic.net [151.196.251.234]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA02516 for ; Thu, 25 May 2000 11:26:49 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id LAA01855; Thu, 25 May 2000 11:26:45 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Dmitri Pogosyan cc: tulip@scyld.com Subject: Re: [tulip] NWay status register In-Reply-To: <392CA648.EA28F244@cita.utoronto.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Thu May 25 11:26:50 2000 On Thu, 25 May 2000, Dmitri Pogosyan wrote: > How do I decode the NWay status register which is reported > by tulip-diag ? In my case it reads > > ............ > The NWay status register is 41e1d0cc > ............ The upper word is the link partner's code word 0x41e1 Autonegotiation worked, and you are talking to a 10+100/HD+FD switch. This confirms that you have a working SYM transceiver. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Fri May 26 08:00:08 2000 Received: from mixmaster.shinn.net (mixmaster.shinn.net [209.119.24.186]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA13968 for ; Fri, 26 May 2000 08:00:07 -0400 Received: (from mixmaster@localhost) by mixmaster.shinn.net (8.9.3/8.9.3) id HAA08210; Fri, 26 May 2000 07:59:08 -0400 From: Anonymous Sender Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at . To: " Message-ID: Subject: [tulip] The REALLY problem of Transmit-Timout! Date: Fri May 26 08:00:09 2000 Hi for all! I have a little network with one Linux server (Pentium II 350MHz 256MB RAM 2x8GB IDE) and four Windows98 workstations (different CPU / RAM / HD / NIC / VGA). From last 2 years I have upgrade the Linux box with different distributions & kernels (RH 5.x/6.x, Mandrake 5.x/6.x, kernels 2.0.x/2.2.x). I use Samba (from 2.0.0 to 2.0.7) on Linux for emulate a NT server (very good). The problem are the continuos TRANSMIT ERROR (timeouts) in the network. To test the network I make 'ping –t server' in any Windows client, and when 'transmit timeout' occurs I need to manually restart the HUB. With this the network restart, and we can continue out job. This problem occurs randomly: days no, days little, days heavy... I have tested with TWO different HUBS (one 100MB x 8 ports / actually 10/100 x 8 ports); and TWO different NICs on Linux box: 3Com 905B PCI and Intel EEPRO 100+ PCI. I installed more than 20 drivers for two NICs (originals from kernel source, modified from official "Linux Network Drivers' at SCYLD (old on NASA server), modified from different people at mailing list on TUX, betas, and official drivers from 3Com and Intel), with different options (Multicast limit, max_interrupt, debug), and different compile variations (gcc/pgcc, -O/O2/O6). WITH ALL I have problems, but... I have read most messages from last 8 moth on mailing list on TUX, for 3Com 59x/90x NIC, EEPRO100 NIC and Digital 21*4* NIC. On ALL lists there are people with TIMEOUTS PROBLEMS. You think that the problem is on hardware? I think NO !!!!! (Please test I said, the are messages for all different hardware: http://www.tux.org/hypermail/linux-vortex/ ; http://www.tux.org/hypermail/linux-tulip/ ; http://www.tux.org/hypermail/linux-eepro100/ ) If I restart eth0 with ifconfig, the network restart; if I power off-on the Hub, the network restart; if I unplug-plug any network wire of the network, the network... obviously... restart. FROM ALL THIS... PLEASE!, make a modified driver, that when RESTART de NIC, restart ALL components (chip, transceiver, queues) and, THIS IS THE MOST IMPORTANT, "RESTART THE ETHERNET INTERFACE WITH THE KERNEL". I think the problem is on the queues with Ethernet interface (at O.S. level): at moment you don't flush queues after a network error, or no restart send-receive status after restart NIC. Is this possible? What you think? Please, send any comment, or Transmit-Timeout problem continues... at eternum! Thanks for all! LARS18TH From tulip-admin@blueraja.scyld.com Fri May 26 09:41:56 2000 Received: from mail.xmission.com (root@mail.xmission.com [198.60.22.22]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id JAA14471 for ; Fri, 26 May 2000 09:41:55 -0400 Received: from xmission.xmission.com ([198.60.22.20]) by mail.xmission.com with esmtp (Exim 3.03 #3) id 12vKMS-0006PB-00; Fri, 26 May 2000 07:41:12 -0600 Received: from alhaz by xmission.xmission.com with local (Exim 2.12 #1) id 12vKMQ-0006w0-00; Fri, 26 May 2000 07:41:10 -0600 Subject: Re: [tulip] The REALLY problem of Transmit-Timout! To: nobody@mixmaster.shinn.net (Anonymous Sender) Cc: tulip@scyld.com ( from "Anonymous Sender" at May 26, 2000 07:59:08 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Message-Id: From: Eric Jorgensen Date: Fri May 26 09:41:56 2000 Somebody is going to slap me for suggesting this, but have you tried the same problematic NICs and other sundry equipment with different motherboards? I'm not saying there isn't a problem -- but i think you have a PCI issue. Otherwise, *everyone* would be experiencing this kind of thing. Right now I manage on the order of about 30 Intel 82559's and about 20 Lite-On LNE100tx's under various versions of Linux from 2.2.5 to 2.2.15. The *ONLY* ones that had problems were the systems with decidedly funky PCI busses - APPRO branded active backplane systems with single-board SMP PII cards. These beasts have like 3 completely dissimilar PCI host bridges in them and for some reason no PCI nic is completely happy in them. That being said, not all of the APPRO boxes here have PCI issues - just the two most important ones (DNS servers). I have three web servers in identical hardware that have never had a problem. - Eric > > Hi for all! > > I have a little network with one Linux server (Pentium II 350MHz 256MB RAM 2x8GB IDE) and four Windows98 workstations (different CPU / RAM / HD / NIC / VGA). From last 2 years I have upgrade the Linux box with different distributions & kernels (RH 5.x/6.x, Mandrake 5.x/6.x, kernels 2.0.x/2.2.x). I use Samba (from 2.0.0 to 2.0.7) on Linux for emulate a NT server (very good). > > The problem are the continuos TRANSMIT ERROR (timeouts) in the network. To test the network I make 'ping –t server' in any Windows client, and when 'transmit timeout' occurs I need to manually restart the HUB. With this the network restart, and we can continue out job. This problem occurs randomly: days no, days little, days heavy... > > I have tested with TWO different HUBS (one 100MB x 8 ports / actually 10/100 x 8 ports); and TWO different NICs on Linux box: 3Com 905B PCI and Intel EEPRO 100+ PCI. I installed more than 20 drivers for two NICs (originals from kernel source, modified from official "Linux Network Drivers' at SCYLD (old on NASA server), modified from different people at mailing list on TUX, betas, and official drivers from 3Com and Intel), with different options (Multicast limit, max_interrupt, debug), and different compile variations (gcc/pgcc, -O/O2/O6). WITH ALL I have problems, but... From tulip-admin@blueraja.scyld.com Fri May 26 14:39:00 2000 Received: from obelix.hrz.tu-chemnitz.de (obelix.hrz.tu-chemnitz.de [134.109.132.55]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id OAA16860 for ; Fri, 26 May 2000 14:38:59 -0400 Received: from sunnyboy.informatik.tu-chemnitz.de by obelix.hrz.tu-chemnitz.de with Local SMTP (PP); Fri, 26 May 2000 20:37:47 +0200 Received: from mykonos.informatik.tu-chemnitz.de.informatik.tu-chemnitz.de (mykonos.informatik.tu-chemnitz.de [134.109.184.25]) by sunnyboy.informatik.tu-chemnitz.de (8.8.8/8.8.8) with ESMTP id UAA29817 for ; Fri, 26 May 2000 20:37:44 +0200 (MET DST) Received: from localhost by mykonos.informatik.tu-chemnitz.de.informatik.tu-chemnitz.de (8.8.5/client-1.5) id UAA03634; Fri, 26 May 2000 20:37:45 +0200 (MET DST) From: Marco Flohrer To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Cogent Quartet EM400TX <-crossover-> SMC EtherPower 10/100 Dual Date: Fri May 26 14:39:01 2000 Hello! I now have one port of my EM400TX connected via crossover cable to one port of my SMC EtherPower 10/100 Dual. Bootup-messages of these cards: (only the used port) SMC: eth0: Digital DS21140 Tulip rev 32 at 0xd800, 00:E0:29:25:23:89, IRQ 10. eth0: EEPROM default media type Autosense. eth0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block. eth0: MII transceiver #3 config 3100 status 7809 advertising 01e1. eth0: Advertising 0101 on PHY 3, previously advertising 01e1. eth0: Advertising 0101 (to advertise is 0100). Cogent: eth2: Digital DS21140 Tulip rev 32 at 0xb800, 00:00:92:95:2A:C8, IRQ 12. eth2: EEPROM default media type Autosense. eth2: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block. eth2: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. I force booth Cards with an lilo-option to 100BaseTX-FD, which seems to work. But: I have to 'ifconfig eth2 down; ifconfig eth2 up' to reinitialize the Cogent after the maschine with the SMC has booted up to get the link work. What is the reason for this? If i use an Dlink DFE500TX as replasement for one of both cards, there is no problem. -- Now STRONGARMed and dangerous! No RISC, no fun! :) mailto: marco.flohrer@informatik.tu-chemnitz.de talk: mafl@diamond.csn.tu-chemnitz.de From tulip-admin@blueraja.scyld.com Sun May 28 13:35:21 2000 Received: from mail.arcor-ip.de (mail-ffm-p.arcor-ip.de [145.253.2.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA28360 for ; Sun, 28 May 2000 13:35:20 -0400 Received: from nepomuk.asu.com (145.253.188.18) by mail.arcor-ip.de; 28 May 2000 19:34:18 +0200 Received: by nepomuk.asu.com (Postfix, from userid 500) id 320A585B5; Sun, 28 May 2000 19:30:55 +0200 (CEST) From: Philipp Schulte To: tulip@scyld.com Message-ID: <20000528193055.A1181@asu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: philipp.schulte@arcormail.de Subject: [tulip] ASIX AX88140 Date: Sun May 28 13:35:21 2000 Hello, I have a rather stange problem: I am using an ASIX AX88140 with the Linux-Kernel 2.2.15. If I choose the old_tulip-module the card works fine except one thing. I can not establish any connection from an other Client. There is just no reply. But if I ping the other client from the ASIX AX88140 everytings works fine. It seems like the card needs to wake up first. The card is described in /var/log/messages as follows: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov eth0: ASIX AX88140 rev 16 at 0xd800, 00:50:00:00:03:1C, IRQ 10. eth0: EEPROM default media type 100baseTx. eth0: Index #0 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. eth0: ***WARNING***: No MII transceiver found! eth0: Using EEPROM-set media 100baseTx. OK, I decided to try the tulip-module. I can load it without any problems, and I can ping myself but not any other client. The connection seems to be dead. Then I downloaded the current tulip-driver and compiled it. When I want to load the module I get the following output: nepomuk:/usr/src/linux/modules # insmod tulip Using /lib/modules/2.2.15/net/tulip.o /lib/modules/2.2.15/net/tulip.o: unresolved symbol pci_drv_unregister /lib/modules/2.2.15/net/tulip.o: unresolved symbol pci_drv_register I took a look at the source but don't feel like I should change anything. What did I do wrong? Will the new tulip-driver be able to correct the "wake-up"-ping problem? Thanks a lot, Phil From tulip-admin@blueraja.scyld.com Sun May 28 15:04:49 2000 Received: from mail.arcor-ip.de (mail-ffm-p.arcor-ip.de [145.253.2.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA28753 for ; Sun, 28 May 2000 15:04:49 -0400 Received: from nepomuk.asu.com (145.253.188.5) by mail.arcor-ip.de; 28 May 2000 21:03:55 +0200 Received: by nepomuk.asu.com (Postfix, from userid 500) id 3028485B8; Sun, 28 May 2000 20:17:26 +0200 (CEST) From: Philipp Schulte To: tulip@scyld.com Subject: Re: [tulip] ASIX AX88140 Message-ID: <20000528201726.A1054@asu.com> Mail-Followup-To: tulip@scyld.com References: <20000528193055.A1181@asu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000528193055.A1181@asu.com>; from phil@asu.com on Sun, May 28, 2000 at 07:30:55PM +0200 Sender: phil@nepomuk.asu.com Date: Sun May 28 15:04:50 2000 Hello, in my prior mail the "From:"-part was broken due to a misconfugured sender_cannonical. It was fixed now, sorry. Phil From tulip-admin@blueraja.scyld.com Sun May 28 16:52:38 2000 Received: from vaio.greennet ([204.253.167.1]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id QAA29152 for ; Sun, 28 May 2000 16:52:37 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id QAA01430; Sun, 28 May 2000 16:52:09 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Philipp Schulte cc: tulip@scyld.com Subject: Re: [tulip] ASIX AX88140 In-Reply-To: <20000528193055.A1181@asu.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sun May 28 16:52:39 2000 On Sun, 28 May 2000, Philipp Schulte wrote: > I am using an ASIX AX88140 with the Linux-Kernel 2.2.15. If I choose > the old_tulip-module the card works fine except one thing. I can not > establish any connection from an other Client. There is just no > reply. But if I ping the other client from the ASIX AX88140 everytings > works fine. It seems like the card needs to wake up first. .. > tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov > eth0: ASIX AX88140 rev 16 at 0xd800, 00:50:00:00:03:1C, IRQ 10. This is a know bug in that driver version. The 88140 has a different Rx filter than the 21140: it does not enable broadcast reception in the same way. > OK, I decided to try the tulip-module. I can load it without any > problems, and I can ping myself but not any other client. The > connection seems to be dead. > Then I downloaded the current tulip-driver and compiled it. When I > want to load the module I get the following output: > > nepomuk:/usr/src/linux/modules # insmod tulip > Using /lib/modules/2.2.15/net/tulip.o > /lib/modules/2.2.15/net/tulip.o: unresolved symbol pci_drv_unregister > /lib/modules/2.2.15/net/tulip.o: unresolved symbol pci_drv_register You need to load "pci-scan.o" first. Read http://www.scyld.com/network/updates.html Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Mon May 29 05:02:05 2000 Received: from mail3.lig.bellsouth.net (mail3.lig.bellsouth.net [205.152.0.51]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id FAA31737 for ; Mon, 29 May 2000 05:02:05 -0400 Received: from vortex.morris.net (adsl-78-168-161.hsv.bellsouth.net [216.78.168.161]) by mail3.lig.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id FAA06296 for ; Mon, 29 May 2000 05:01:07 -0400 (EDT) Received: from Morris.net (speedy.morris.net [192.168.10.101]) by vortex.morris.net (8.9.3/8.8.7) with ESMTP id EAA24561 for ; Mon, 29 May 2000 04:01:07 -0500 Sender: jim@Morris.net Message-ID: <3932320C.20524AA5@Morris.net> From: Jim Morris X-Mailer: Mozilla 4.72C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.2.15-jfm i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Problems loading Tulip modules in 2.2.15 kernel Date: Mon May 29 05:02:06 2000 Hi all. I'm having a strange problem here.... I've built a Linux 2.2.15 kernel, using the tulip and old_tulip modules included. Works great on my uniprocessor system. I tarred up the kernel directory, and then unpacked the it on my SMP system, and built with IDENTICAL kernel compile-time options EXCEPT for the SMP support option. I.e. all I changed in "make menuconfig" was that one option. When trying to load the tulip or old_tulip modules, I get an error like this: [root@darkstar /root]# modprobe old_tulip /lib/modules/2.2.15-jfm/net/old_tulip.o: unresolved symbol __global_cli /lib/modules/2.2.15-jfm/net/old_tulip.o: unresolved symbol __global_save_flags /lib/modules/2.2.15-jfm/net/old_tulip.o: unresolved symbol __global_restore_flas That got chopped off a little pasting it between windows, but you get the picture. Is there some sort of problem with the stock tulip drivers on an SMP 2.2.15 kernel? Or do I have something else going on here.... Thanks! BTW, I have a reason that I need to use an older driver, and not the latest available. This system has two Linksys LNE100TX cards that only work with the Linksys supplied driver. So in reality, I started off trying to use the Linksys driver, and saw the problem. But switching to the kernel supplied modules makes no difference... Again, thanks for any suggestions... -- /-----------------------------\ | Jim Morris | Jim@Morris.net | \-----------------------------/ From tulip-admin@blueraja.scyld.com Mon May 29 08:02:08 2000 Received: from mail.arcor-ip.de (mail-ffm-p.arcor-ip.de [145.253.2.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA32371 for ; Mon, 29 May 2000 08:02:07 -0400 Received: from nepomuk.asu.com (145.253.188.7) by mail.arcor-ip.de; 29 May 2000 14:01:05 +0200 Received: by nepomuk.asu.com (Postfix, from userid 500) id 054027375; Mon, 29 May 2000 13:55:40 +0200 (CEST) From: Philipp Schulte To: tulip@scyld.com Subject: Re: [tulip] ASIX AX88140 Message-ID: <20000529135539.A1261@asu.com> Mail-Followup-To: tulip@scyld.com References: <20000528193055.A1181@asu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from becker@scyld.com on Sun, May 28, 2000 at 04:52:08PM -0400 Sender: phil@nepomuk.asu.com Date: Mon May 29 08:02:09 2000 On Sun, May 28, 2000 Donald Becker wrote: > On Sun, 28 May 2000, Philipp Schulte wrote: > > nepomuk:/usr/src/linux/modules # insmod tulip > > Using /lib/modules/2.2.15/net/tulip.o > > /lib/modules/2.2.15/net/tulip.o: unresolved symbol pci_drv_unregister > > /lib/modules/2.2.15/net/tulip.o: unresolved symbol pci_drv_register > > You need to load "pci-scan.o" first. OK, I loaded it and tried to load the tulip-module afterwards. insmod says: "Device or recourse busy". /var/log/messages says: "Failed to map PCI address 0x0 for device 'ASIX AX88141'" What am I doing wrong? Why does the new tulip-driver say I am using a AX88141 while the old one said I am using an AX88140? Thanks for your help, Phil From tulip-admin@blueraja.scyld.com Mon May 29 12:40:57 2000 Received: from mout0.freenet.de ([194.97.50.131]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA00547; Mon, 29 May 2000 12:40:31 -0400 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout0.freenet.de with esmtp (Exim 3.14 #3) id 12wRvL-0007bT-00; Mon, 29 May 2000 17:57:51 +0200 Received: from [213.6.138.27] (helo=valkyrie.tabtnet.de) by mx0.freenet.de with esmtp (Exim 3.14 #3) id 12wRvK-0000hT-00; Mon, 29 May 2000 17:57:50 +0200 Received: from gmx.de (alpha.tabtnet.de [192.168.1.129]) by valkyrie.tabtnet.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id RAA02741; Mon, 29 May 2000 17:55:38 +0200 Message-ID: <393292F7.B44EF3A0@gmx.de> From: Tobias Abt X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: tulip@scyld.com, tulip-bug@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] v0.92: "transmit timed out" problems Date: Mon May 29 12:41:04 2000 Using a CNet 100TX(E) 21143 Tulip based card (against a ne2k-pci board) I get "transmit timed out" problems with v0.92 while older versions (0.89 and v0.91*) work perfectly, even with automatic media detection. I also have the similar problems with my other tulip based card (Allnet 8832). Seems to be a general problem... This is the output of "lspci -v": 00:0b.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 30) Subsystem: Accton Technology Corporation Cheetah Fast Ethernet Flags: bus master, medium devsel, latency 32, IRQ 11 I/O ports at b000 Memory at dd800000 (32-bit, non-prefetchable) (wrong manufacturer/device ids, seems to be pretty common with standard cards?) If I start the driver with "options=12" to force 10base-T, I get this output: May 17 18:16:24 banshee kernel: tulip.c:v0.92 4/17/2000 Written by Donald Becker May 17 18:16:24 banshee kernel: http://www.scyld.com/network/tulip.html May 17 18:16:24 banshee kernel: eth0: Digital DS21143 Tulip rev 48 at 0xc884a000, 00:80:AD:83:54:E4, IRQ 10. May 17 18:16:24 banshee kernel: eth0: EEPROM default media type Autosense. May 17 18:16:24 banshee kernel: eth0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block. May 17 18:16:24 banshee kernel: eth0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block. May 17 18:16:24 banshee kernel: eth0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block. May 17 18:16:24 banshee kernel: eth0: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block. May 17 18:16:25 banshee named[127]: ns_forw: sendto([193.0.14.129].53): Network is unreachable May 17 18:16:25 banshee kernel: eth0: Using user-specified media 10baseT(forced). May 17 18:17:05 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fff8ffff 8ffd0008, resetting... May 17 18:17:30 banshee last message repeated 2 times May 17 18:20:45 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fff8ffff 8ffd0008, resetting... May 17 18:21:55 banshee last message repeated 7 times May 17 18:22:55 banshee last message repeated 6 times May 17 18:23:55 banshee last message repeated 6 times May 17 18:24:55 banshee last message repeated 6 times May 17 18:25:35 banshee last message repeated 4 times If I use the driver without any options I get: May 17 17:10:30 banshee kernel: tulip.c:v0.92 4/17/2000 Written by Donald Becker May 17 17:10:30 banshee kernel: http://www.scyld.com/network/tulip.html May 17 17:10:30 banshee kernel: eth0: Digital DS21143 Tulip rev 48 at 0xc884a000, 00:80:AD:83:54:E4, IRQ 10. May 17 17:10:30 banshee kernel: eth0: EEPROM default media type Autosense. May 17 17:10:30 banshee kernel: eth0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block. May 17 17:10:30 banshee kernel: eth0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block. May 17 17:10:30 banshee kernel: eth0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block. May 17 17:10:30 banshee kernel: eth0: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block. May 17 17:13:05 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:13:05 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. May 17 17:13:20 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:13:20 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. May 17 17:13:35 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:13:35 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. May 17 17:13:50 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:13:50 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. May 17 17:14:05 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:14:05 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. May 17 17:14:20 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:14:20 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. May 17 17:14:35 banshee kernel: eth0: 21140 transmit timed out, status f0660000, SIA 000052ca ffff0001 fffbffff 8ffd0008, resetting... May 17 17:14:35 banshee kernel: eth0: transmit timed out, switching to 100baseTx-FDX media. The output of "tulip-diag -vee": tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DS21143 Tulip adapter at 0xb000. Port selection is 10mpbs-serial, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 72. The NWay status register is 000000c6. EEPROM size is 6. PCI Subsystem IDs, vendor 1113, device 1207. CardBus Information Structure at offset 00000000. Ethernet MAC Station Address 00:80:AD:83:54:E4. EEPROM transceiver/media description for the Digital DS21143 Tulip chip. Leaf node at offset 30, default media type 0800 (Autosense). 4 transceiver description blocks: Media 10baseT, block type 2, length 6. Serial transceiver for 10baseT (media type 0). GP pin direction 08af GP pin data 00a5. Media 10baseT-Full Duplex, block type 2, length 6. Serial transceiver for 10baseT-Full Duplex (media type 4). GP pin direction 08af GP pin data 00a5. Media 100baseTx, block type 4, length 8. SYM transceiver for 100baseTx (media type 3). GP pin direction 08af GP pin data 00a5. No media detection indication (command 80 61). Media 100baseTx Full Duplex, block type 4, length 8. SYM transceiver for 100baseTx Full Duplex (media type 5). GP pin direction 08af GP pin data 00a5. No media detection indication (command 80 61). EEPROM contents: 1113 1207 0000 0000 0000 0000 0000 0000 0090 0104 8000 83ad e454 1e00 0000 0800 8604 0002 08af 00a5 0286 af04 a508 8800 0304 08af 00a5 8061 0488 af05 a508 6100 0080 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 54bf ID block CRC 0x90 (vs. 0x90). Full contents CRC 0x54bf (read as 0x54bf). Internal autonegotiation state is 'Autonegotiation disabled'. Bye, \|/ Tobias @ @ +----------------oOO-(_)-OOo-----------+ | Tobias Abt | | email: tabt@gmx.de | +--------------------------------------+ From tulip-admin@blueraja.scyld.com Mon May 29 12:43:32 2000 Received: from mout1.freenet.de (exim@[194.97.50.132]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA00637; Mon, 29 May 2000 12:42:31 -0400 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.14 #3) id 12wRvJ-00084T-00; Mon, 29 May 2000 17:57:49 +0200 Received: from [213.6.138.27] (helo=valkyrie.tabtnet.de) by mx0.freenet.de with esmtp (Exim 3.14 #3) id 12wRvH-0000hT-00; Mon, 29 May 2000 17:57:48 +0200 Received: from gmx.de (alpha.tabtnet.de [192.168.1.129]) by valkyrie.tabtnet.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id RAA02743; Mon, 29 May 2000 17:56:57 +0200 Message-ID: <39329346.C7C26C41@gmx.de> From: Tobias Abt X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en MIME-Version: 1.0 To: tulip@scyld.com, tulip-bug@scyld.com References: <391923B0.967EDB80@gmx.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Re: Allnet 8832 almost working with v0.92 tulip driver Date: Mon May 29 12:43:37 2000 I have some more information concerning my card: tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DS21143 Tulip adapter at 0xb800. Port selection is MII, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 128. The NWay status register is 000000c6. PCI Subsystem IDs, vendor 1109, device 2b00. CardBus Information Structure at offset 00000000. Ethernet MAC Station Address 00:E0:7D:70:05:1E. EEPROM transceiver/media description for the Digital DS21143 Tulip chip. Leaf node at offset 40, default media type 0800 (Autosense). 2 transceiver description blocks: MII interface PHY 0 (media type 11). 21143 MII initialization sequence is 2 words: 0821 0001. 21143 MII reset sequence is 3 words: 0821 0001 0001. Media capabilities are 7800, advertising 01e1. Full-duplex map 5000, Threshold map 1800. No MII interrupt. Serial transceiver for 10base2 (media type 65). mdio_read(0xb800, 0, 1).. mdio_read(0xb800, 1, 1).. MII PHY found \ at address 1, status 0x782d. mdio_read(0xb800, 2, 1).. mdio_read(0xb800, 3, 1).. mdio_read(0xb800, 4, 1).. mdio_read(0xb800, 5, 1).. mdio_read(0xb800, 6, 1).. mdio_read(0xb800, 7, 1).. mdio_read(0xb800, 8, 1).. mdio_read(0xb800, 9, 1).. mdio_read(0xb800, 10, 1).. mdio_read(0xb800, 11, 1).. mdio_read(0xb800, 12, 1).. mdio_read(0xb800, 13, 1).. mdio_read(0xb800, 14, 1).. mdio_read(0xb800, 15, 1).. mdio_read(0xb800, 16, 1).. mdio_read(0xb800, 17, 1).. mdio_read(0xb800, 18, 1).. mdio_read(0xb800, 19, 1).. mdio_read(0xb800, 20, 1).. mdio_read(0xb800, 21, 1).. mdio_read(0xb800, 22, 1).. mdio_read(0xb800, 23, 1).. mdio_read(0xb800, 24, 1).. mdio_read(0xb800, 25, 1).. mdio_read(0xb800, 26, 1).. mdio_read(0xb800, 27, 1).. mdio_read(0xb800, 28, 1).. mdio_read(0xb800, 29, 1).. mdio_read(0xb800, 30, 1).. mdio_read(0xb800, 31, 1).. Internal autonegotiation state is 'Autonegotiation disabled'. mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html MII PHY #32 transceiver registers: 0000 7848 0000 0000 0441 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000. Basic mode control register 0x0000: Auto-negotiation disabled, with Speed fixed at 10 mbps, half-duplex. Basic mode status register 0x7848 ... 7848. Link status: not established. This transceiver is capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation not complete. Link partner information information is not exchanged when in fixed speed mode. MII PHY #32 transceiver registers: 0000 7848 0000 0000 0441 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000. Basic mode control register 0x0000: Auto-negotiation disabled! Speed fixed at 10 mbps, half-duplex. Basic mode status register 0x7848 ... 7848. Link status: not established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation not complete. This transceiver has no vendor identification. I'm advertising 0441: Flow-control 10baseT-FD Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 0000:. Negotiation did not complete. Some ftp transfer (upload) results (100Mbit/FD autonegotiated): 4875493 bytes sent in 147.10 seconds, 32.37 kB/s. 3359137 bytes sent in 54.74 seconds, 59.93 kB/s. 3469061 bytes sent in 78.92 seconds, 42.92 kB/s. 3023516 bytes sent in 53.20 seconds, 55.50 kB/s. 4671111 bytes sent in 130.77 seconds, 34.88 kB/s. 3079523 bytes sent in 113.96 seconds, 26.39 kB/s. during this I got two "Tx hung" messages. Ftp downloads do not works at all, they simply time out or get stuck. -- Bye, \|/ Tobias @ @ +----------------oOO-(_)-OOo-----------+ | Tobias Abt | | email: tabt@gmx.de | +--------------------------------------+ From tulip-admin@blueraja.scyld.com Tue May 30 00:28:00 2000 Received: from web1206.mail.yahoo.com (web1206.mail.yahoo.com [128.11.23.142]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id AAA04789 for ; Tue, 30 May 2000 00:27:59 -0400 Received: (qmail 9425 invoked by uid 60001); 30 May 2000 04:26:54 -0000 Message-ID: <20000530042654.9424.qmail@web1206.mail.yahoo.com> Received: from [158.252.129.144] by web1206.mail.yahoo.com; Mon, 29 May 2000 21:26:54 PDT From: Parrish M Myers Reply-To: parrishmm@earthlink.net To: tulip@scyld.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [tulip] tulip.c and Debian Potato Date: Tue May 30 00:28:01 2000 Hi, I wanted to know if someone could tell me how to properly compile the tulip.c driver as a module for a debian potato distro. Currently I have searched the tulip and debian-user mailing list archives and followed all the suggestions. All help has seemed to fail. I have gotten to the point of compiling the driver as a module with only minor syntax warnings. The problem arrises when I try to load the module using the command insmod. The result allways seems to return this error message: /lib/modules/2.2.14/net/tulip.o: unresolved symbol netif_rx_Rsmp_4092cf24 /lib/modules/2.2.14/net/tulip.o: unresolved symbol alloc_skb_Rsmp_4e202d8c /lib/modules/2.2.14/net/tulip.o: unresolved symbol free_irq_Rsmp_f20dabd8 /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_write_config_word_Rsmp_4f1c2e33 /lib/modules/2.2.14/net/tulip.o: unresolved symbol securebits_Rsmp_abe77484 /lib/modules/2.2.14/net/tulip.o: unresolved symbol eth_copy_and_sum_Rsmp_6bcd57dd /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_write_config_dword_Rsmp_81b4f465 /lib/modules/2.2.14/net/tulip.o: unresolved symbol request_region_Rsmp_6d32b2d7 /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_read_config_byte_Rsmp_d80115e1 /lib/modules/2.2.14/net/tulip.o: unresolved symbol check_region_Rsmp_522f4d72 /lib/modules/2.2.14/net/tulip.o: unresolved symbol init_etherdev_Rsmp_b041fa5f /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_write_config_byte_Rsmp_719856ee /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_present_Rsmp_520a75b9 /lib/modules/2.2.14/net/tulip.o: unresolved symbol kfree_Rsmp_037a0cba /lib/modules/2.2.14/net/tulip.o: unresolved symbol printk_Rsmp_1b7d4074 /lib/modules/2.2.14/net/tulip.o: unresolved symbol unregister_netdev_Rsmp_b8709765 /lib/modules/2.2.14/net/tulip.o: unresolved symbol __kfree_skb_Rsmp_1b2e7891 /lib/modules/2.2.14/net/tulip.o: unresolved symbol pci_find_slot_Rsmp_454463b5 /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_find_class_Rsmp_ef333f7b /lib/modules/2.2.14/net/tulip.o: unresolved symbol kmalloc_Rsmp_93d4cfe6 /lib/modules/2.2.14/net/tulip.o: unresolved symbol eth_type_trans_Rsmp_cd896297 /lib/modules/2.2.14/net/tulip.o: unresolved symbol pcibios_read_config_word_Rsmp_aa9effd7 /lib/modules/2.2.14/net/tulip.o: unresolved symbol add_timer_Rsmp_bea990b2 /lib/modules/2.2.14/net/tulip.o: unresolved symbol release_region_Rsmp_43bde9b1 /lib/modules/2.2.14/net/tulip.o: unresolved symbol jiffies_Rsmp_0da02d67 /lib/modules/2.2.14/net/tulip.o: unresolved symbol request_irq_Rsmp_0c60f2e0 /lib/modules/2.2.14/net/tulip.o: unresolved symbol bh_active_Rsmp_fff9d0a3 /lib/modules/2.2.14/net/tulip.o: unresolved symbol skb_over_panic_Rsmp_2c5d3b6d /lib/modules/2.2.14/net/tulip.o: unresolved symbol del_timer_Rsmp_5811f067 /lib/modules/2.2.14/net/tulip.o: insmod /lib/modules/2.2.14/net/tulip.o failed /lib/modules/2.2.14/net/tulip.o: insmod tulip failed Does anyone have any other suggestions? I would appreciate it. The only reason I am tring to do this is because the Netgear FA-310TX card that I have comes up (during system boot) more or less broken and the only thing I can find to fix it is a ifdown -a followed by a ifup -a. Thanks Parrish M Myers ===== ----------------------------------------------------------- Academia is a little like child | Parrish M. Myers rearing, it provides a chance at | The Wacked Jester immortality without the stretch | parrishmm@earthlink.net marks -- (unknown source) | ----------------------------------------------------------- __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ From tulip-admin@blueraja.scyld.com Tue May 30 01:36:34 2000 Received: from iteso.mx (root@iteso.mx [148.201.1.4]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id BAA05024 for ; Tue, 30 May 2000 01:36:34 -0400 Received: from localhost (jose@localhost) by iteso.mx (8.9.3/8.9.3) with ESMTP id AAA78959 for ; Tue, 30 May 2000 00:35:24 -0500 (CDT) (envelope-from jose@iteso.mx) From: =?iso-8859-1?Q?Jos=E9_A=2E_Guzm=E1n?= To: tulip@scyld.com Subject: Re: [tulip] tulip.c and Debian Potato Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by blueraja.scyld.com id BAA05025 Date: Tue May 30 01:36:35 2000 Parrish, you need to download the Makefile as indicated on http://www.scyld.com/network/updates.html then edit the line which says DRV_OFILES, and let only tulip.o there. You also need the include files and .c files as the above URL says under 'Installing Individual Drivers', then just type make and it'll create two modules, insert first the pci-scan, then the tulip one and you should be happy. Of course this applies to all the drivers modified to work with the new pci-scan scheme created by Donald. Cheers. José. On Mon, 29 May 2000, Parrish M Myers wrote: > Hi, > > I wanted to know if someone could tell me how to properly compile the > tulip.c driver as a module for a debian potato distro. Currently I > have searched the tulip and debian-user mailing list archives and > followed all the suggestions. All help has seemed to fail. I have > gotten to the point of compiling the driver as a module with only minor > syntax warnings. The problem arrises when I try to load the module > using the command insmod. The result allways seems to return this > error message: > > /lib/modules/2.2.14/net/tulip.o: unresolved symbol > netif_rx_Rsmp_4092cf24 > /lib/modules/2.2.14/net/tulip.o: unresolved symbol > alloc_skb_Rsmp_4e202d8c . . . > failed > /lib/modules/2.2.14/net/tulip.o: insmod tulip failed > > > Does anyone have any other suggestions? I would appreciate it. The > only reason I am tring to do this is because the Netgear FA-310TX card > that I have comes up (during system boot) more or less broken and the > only thing I can find to fix it is a ifdown -a followed by a ifup -a. > > Thanks > Parrish M Myers > > ===== > ----------------------------------------------------------- > Academia is a little like child | Parrish M. Myers > rearing, it provides a chance at | The Wacked Jester > immortality without the stretch | parrishmm@earthlink.net > marks -- (unknown source) | > ----------------------------------------------------------- > > __________________________________________________ > Do You Yahoo!? > Kick off your party with Yahoo! Invites. > http://invites.yahoo.com/ > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip > ========================================================================= José A. Guzmán jose@iteso.mx Servicios de Información, ITESO ========================================================================= From tulip-admin@blueraja.scyld.com Tue May 30 09:37:45 2000 Received: from obelix.hrz.tu-chemnitz.de (obelix.hrz.tu-chemnitz.de [134.109.132.55]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id JAA06574 for ; Tue, 30 May 2000 09:37:44 -0400 Received: from sunnyboy.informatik.tu-chemnitz.de by obelix.hrz.tu-chemnitz.de with Local SMTP (PP); Tue, 30 May 2000 15:36:07 +0200 Received: from mykonos.informatik.tu-chemnitz.de.informatik.tu-chemnitz.de (mykonos.informatik.tu-chemnitz.de [134.109.184.25]) by sunnyboy.informatik.tu-chemnitz.de (8.8.8/8.8.8) with ESMTP id PAA07921 for ; Tue, 30 May 2000 15:36:03 +0200 (MET DST) Received: from localhost by mykonos.informatik.tu-chemnitz.de.informatik.tu-chemnitz.de (8.8.5/client-1.5) id PAA24369; Tue, 30 May 2000 15:36:04 +0200 (MET DST) From: Marco Flohrer To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Cogent EM400 interrupt problem Date: Tue May 30 09:37:47 2000 It seems that i actually can only use the first port of my multiport board. It is an Cogent EM400 (4 * 100MBit-only) on a ASUS P5A-B motherboard (Award BIOS). The BIOS gives every port another interrupt but tulip.c detects for all ports the same interrupt. The fitst port have in booth cases the same irq, so it runs. The following schows outputs from 'dmesg', 'cat /proc/pci', 'cat /proc/interrupts', 'cat /proc/ioports', tulipdiag an the result of a 'ping' to the other station connected via crossover cable on the second port. PS: i use kernel version 2.2.14 and it's included tulip.c eth2: Digital DS21140 Tulip rev 32 at 0xb800, 00:00:92:95:2A:C8, IRQ 11. eth2: EEPROM default media type Autosense. eth2: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block. eth2: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. eth3: Digital DS21140 Tulip rev 32 at 0xb400, EEPROM not present, 00:00:92:95:2A:C9, IRQ 11. eth3: Controller 1 of multiport board. eth3: EEPROM default media type Autosense. eth3: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block. eth3: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. eth4: Digital DS21140 Tulip rev 32 at 0xb000, EEPROM not present, 00:00:92:95:2A:CA, IRQ 11. eth4: Controller 2 of multiport board. eth4: EEPROM default media type Autosense. eth4: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block. eth4: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. eth5: Digital DS21140 Tulip rev 32 at 0xa800, EEPROM not present, 00:00:92:95:2A:CB, IRQ 11. eth5: Controller 3 of multiport board. eth5: EEPROM default media type Autosense. eth5: Index #0 - Media 100baseTx-FD (#5) described by a 21140 non-MII (0) block. eth5: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. PCI devices found: Bus 0, device 0, function 0: Host bridge: Acer Labs M1541 Aladdin V (rev 4). Slow devsel. Master Capable. Latency=64. Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000]. Bus 0, device 1, function 0: PCI bridge: Acer Labs M5243 AGP (rev 4). Slow devsel. Master Capable. Latency=64. Min Gnt=8. Bus 0, device 3, function 0: Bridge: Acer Labs M7101 PMU (rev 0). Medium devsel. Fast back-to-back capable. Bus 0, device 7, function 0: ISA bridge: Acer Labs M1533 Aladdin IV (rev 195). Medium devsel. Master Capable. No bursts. Bus 0, device 9, function 0: PCI bridge: DEC DC21050 (rev 2). Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. Min Gnt=4. Bus 0, device 10, function 0: Ethernet controller: DEC DC21041 (rev 33). Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=32. I/O at 0x9800 [0x9801]. Non-prefetchable 32 bit memory at 0xdc800000 [0xdc800000]. Bus 0, device 11, function 0: Ethernet controller: DEC DC21041 (rev 33). Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=32. I/O at 0x9400 [0x9401]. Non-prefetchable 32 bit memory at 0xdc000000 [0xdc000000]. Bus 0, device 15, function 0: IDE interface: Acer Labs M5229 TXpro (rev 193). Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. Min Gnt=2.Max Lat=4. I/O at 0x9000 [0x9001]. Bus 1, device 0, function 0: VGA compatible controller: Silicon Integrated Systems 3D-AGP 6326 VGA (rev 10). Medium devsel. Master Capable. Latency=64. Min Gnt=2. Prefetchable 32 bit memory at 0xe7800000 [0xe7800008]. Non-prefetchable 32 bit memory at 0xdf800000 [0xdf800000]. I/O at 0xd800 [0xd801]. Bus 2, device 4, function 0: Ethernet controller: DEC DC21140 (rev 32). Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=32. Min Gnt=20.Max Lat=40. I/O at 0xb800 [0xb801]. Non-prefetchable 32 bit memory at 0xde800000 [0xde800000]. Bus 2, device 5, function 0: Ethernet controller: DEC DC21140 (rev 32). Medium devsel. Fast back-to-back capable. IRQ 12. Master Capable. Latency=32. Min Gnt=20.Max Lat=40. I/O at 0xb400 [0xb401]. Non-prefetchable 32 bit memory at 0xde000000 [0xde000000]. Bus 2, device 6, function 0: Ethernet controller: DEC DC21140 (rev 32). Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=32. Min Gnt=20.Max Lat=40. I/O at 0xb000 [0xb001]. Non-prefetchable 32 bit memory at 0xdd800000 [0xdd800000]. Bus 2, device 7, function 0: Ethernet controller: DEC DC21140 (rev 32). Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=32. Min Gnt=20.Max Lat=40. I/O at 0xa800 [0xa801]. Non-prefetchable 32 bit memory at 0xdd000000 [0xdd000000]. CPU0 0: 342353 XT-PIC timer 1: 80 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 4 XT-PIC serial 5: 41 XT-PIC eth1 7: 0 XT-PIC parport0 10: 28800 XT-PIC eth0 11: 44567 XT-PIC eth2 13: 1 XT-PIC fpu 14: 17206 XT-PIC ide0 15: 0 XT-PIC ide1 NMI: 0 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0290-0297 : lm78 02f8-02ff : serial(auto) 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 9000-9007 : ide0 9008-900f : ide1 9400-947f : eth1 9800-987f : eth0 a800-a87f : eth5 b000-b07f : eth4 b400-b47f : eth3 b800-b87f : eth2 tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DC21041 Tulip adapter at 0x9800. Port selection is half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit unit is set to store-and-forward. The NWay status register is 000021c4. Internal autonegotiation state is 'Ability detect'. Index #2: Found a Digital DC21041 Tulip adapter at 0x9400. Port selection is half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit unit is set to store-and-forward. The NWay status register is 000050c8. Internal autonegotiation state is 'Negotiation complete'. Index #3: Found a Digital DS21140 Tulip adapter at 0xb800. Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 512. Index #4: Found a Digital DS21140 Tulip adapter at 0xb400. Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 128. WARNING: The EEPROM is missing or erased! Index #5: Found a Digital DS21140 Tulip adapter at 0xb000. Port selection is 10mpbs-serial, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 72. WARNING: The EEPROM is missing or erased! Index #6: Found a Digital DS21140 Tulip adapter at 0xa800. Port selection is 10mpbs-serial, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 72. WARNING: The EEPROM is missing or erased! PING 10.66.1.4 (10.66.1.4): 56 data bytes ping: sendto: Operation not permitted ping: wrote 10.66.1.4 64 chars, ret=-1 -- mailto: marco.flohrer@informatik.tu-chemnitz.de talk: mafl@diamond.csn.tu-chemnitz.de From tulip-admin@blueraja.scyld.com Tue May 30 10:42:51 2000 Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA07005 for ; Tue, 30 May 2000 10:42:51 -0400 Received: from alhaz.dsl.xmission.com ([166.70.14.226] helo=xmission.com ident=alhaz) by mail.xmission.com with esmtp (Exim 3.03 #3) id 12wnDC-0004PK-00 for tulip@scyld.com; Tue, 30 May 2000 08:41:43 -0600 Sender: alhaz@blueraja.scyld.com Message-ID: <3933D336.5378C0F2@xmission.com> From: Eric Jorgensen X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Subject: Re: [tulip] Cogent EM400 interrupt problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue May 30 10:42:52 2000 Marco Flohrer wrote: > > It seems that i actually can only use the first port of my multiport board. > It is an Cogent EM400 (4 * 100MBit-only) on a ASUS P5A-B motherboard > (Award BIOS). The BIOS gives every port another interrupt but tulip.c > detects for all ports the same interrupt. > The fitst port have in booth cases the same irq, so it runs. > The following schows outputs from 'dmesg', 'cat /proc/pci', > 'cat /proc/interrupts', 'cat /proc/ioports', tulipdiag an the result of a > 'ping' to the other station connected via crossover cable on the second > port. > > PS: i use kernel version 2.2.14 and it's included tulip.c (SNIP!) > PING 10.66.1.4 (10.66.1.4): 56 data bytes > ping: sendto: Operation not permitted > ping: wrote 10.66.1.4 64 chars, ret=-1 I have a Cogent 10mbps board that works in some systems and not in others - it's an issue of PCI bios. There's a page about it somewhere off the tulip page. With the 10mbps board, what I see in broken systems is that all link lights go on when the driver is loaded, and then go off when i plug in a cable, and the error is i believe "network unreachable". Doesn't work in a FIC PA-2006 but does work in an ABIT BP6, which i believe are both Award bios, the ABIT is just a lot newer and has an Intel BX chipset where the FIC has an older VIA chipset. *shrug*. FWIW, "operation not permitted" is the error I see when i try to do something that an ipchains rule DENY's. - Eric From tulip-admin@blueraja.scyld.com Tue May 30 21:10:17 2000 Received: from obelix.hrz.tu-chemnitz.de (obelix.hrz.tu-chemnitz.de [134.109.132.55]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA09910 for ; Tue, 30 May 2000 21:10:16 -0400 Received: from sunnyboy.informatik.tu-chemnitz.de by obelix.hrz.tu-chemnitz.de with Local SMTP (PP); Wed, 31 May 2000 03:08:33 +0200 Received: from mykonos.informatik.tu-chemnitz.de.informatik.tu-chemnitz.de (mykonos.informatik.tu-chemnitz.de [134.109.184.25]) by sunnyboy.informatik.tu-chemnitz.de (8.8.8/8.8.8) with ESMTP id DAA14580; Wed, 31 May 2000 03:08:32 +0200 (MET DST) Received: from localhost by mykonos.informatik.tu-chemnitz.de.informatik.tu-chemnitz.de (8.8.5/client-1.5) id DAA15433; Wed, 31 May 2000 03:08:32 +0200 (MET DST) From: Marco Flohrer To: tulip@scyld.com cc: Eric Jorgensen Subject: Re: [tulip] Cogent EM400 interrupt problem In-Reply-To: <3933D336.5378C0F2@xmission.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue May 30 21:10:18 2000 On Tue, 30 May 2000, Eric Jorgensen wrote: > Marco Flohrer wrote: > > It seems that i actually can only use the first port of my multiport board. > > It is an Cogent EM400 (4 * 100MBit-only) on a ASUS P5A-B motherboard > > (Award BIOS). The BIOS gives every port another interrupt but tulip.c > > detects for all ports the same interrupt. > > The fitst port have in booth cases the same irq, so it runs. > > The following schows outputs from 'dmesg', 'cat /proc/pci', > > 'cat /proc/interrupts', 'cat /proc/ioports', tulipdiag an the result of a > > 'ping' to the other station connected via crossover cable on the second > > port. > > > > PS: i use kernel version 2.2.14 and it's included tulip.c > (SNIP!) > > PING 10.66.1.4 (10.66.1.4): 56 data bytes > > ping: sendto: Operation not permitted > > ping: wrote 10.66.1.4 64 chars, ret=-1 > > FWIW, "operation not permitted" is the error I see when i try to do > something that an ipchains rule DENY's. Argh! I use this host also as a firewall. Default policy is DENY an i had no rule to allow anything for eth3, because i had only eth0-2 before. Thanks, that was ist! -- Now STRONGARMed and dangerous! No RISC, no fun!:) mailto: marco.flohrer@informatik.tu-chemnitz.de talk: mafl@diamond.csn.tu-chemnitz.de From tulip-admin@blueraja.scyld.com Thu Jun 1 08:40:13 2000 Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA17573 for ; Thu, 1 Jun 2000 08:40:13 -0400 Received: from ix.netcom.com (user-2injl8j.dialup.mindspring.com [165.121.213.19]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id IAA11950 for ; Thu, 1 Jun 2000 08:38:54 -0400 (EDT) Sender: tgagne@mindspring.com Message-ID: <39365943.CD029358@ix.netcom.com> From: Thomas Gagne Reply-To: tgagne@efinnet.com Organization: http://www.efinnet.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: "Tulip, list" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Getting two tulips to talk w/ x-over cable Date: Thu Jun 1 08:40:14 2000 I've a PC with an older 10mbs card in it, and a laptop with an SMC PC Card in it. The laptop works fine at the office, don't worry. When I try connecting them at home with a crossover cable (which also works at the office when I plug my laptop into the straight-through port on the hub normally reserved for chaining hubs) they seem unable to negotiate a link. tulip-diag -ee for the PC says: rocky:/home/tgagne cat outfile tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov) Index #1: Found a Digital DC21041 Tulip adapter at 0x6500. Port selection is full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit unit is set to store-and-forward. The NWay status register is 000020cc. EEPROM size is 6. PCI Subsystem IDs, vendor 10b8, device 2009. CardBus Information Structure at offset 00000000. Ethernet MAC Station Address 00:E0:29:49:8D:B8. EEPROM transceiver/media description for the Digital DC21041 Tulip chip. Leaf node at offset 30, default media type 0800 (Autosense). 2 transceiver description blocks: 21041 media index 00 (10baseT). 21041 media index 04 (10baseT-Full Duplex). EEPROM contents: 10b8 2009 0000 0000 0000 0000 0000 0000 006c 0103 e000 4929 b88d 1e00 0000 0800 0002 0004 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 588b ID block CRC 0x6c (vs. 0x6c). Full contents CRC 0x588b (read as 0x588b). Internal autonegotiation state is 'Ability detect'. The Laptop says (and I admit I've been playing with -A and -F tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov) Index #1: Found a Digital DS21143 Tulip adapter at 0x200. Port selection is 10mpbs-serial, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 72. The NWay status register is 000000c6. EEPROM size is 6. PCI Subsystem IDs, vendor 10b8, device 8034. CardBus Information Structure at offset 0000003f. Ethernet MAC Station Address 00:E0:29:5A:AE:AD. EEPROM transceiver/media description for the Digital DS21143 Tulip chip. Leaf node at offset 30, default media type 0800 (Autosense). 1 transceiver description blocks: Media MII, block type 3, length 21. MII interface PHY 0 (media type 11). 21143 MII initialization sequence is 2 words: 0886 0002. 21143 MII reset sequence is 2 words: 0886 0002. Media capabilities are 7800, advertising 01e1. Full-duplex map 5000, Threshold map 1800. No MII interrupt. EEPROM contents: 10b8 8034 003f 0000 0000 0000 0000 0200 985b 0104 e000 5a29 adae 1e00 0000 0800 9501 0003 8602 0208 0200 0886 0002 7800 01e0 5000 1800 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 8e6d 0000 0000 0000 e000 5a29 adae 0140 0000 0000 0000 0000 0000 0000 0000 0000 004e ID block CRC 0x5b (vs. 0x5b). Full contents CRC 0xeda5 (read as 0x004e). MII PHY found at address 1, status 0x7809. MII PHY #1 transceiver registers: 1000 7809 0040 6212 0001 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0001 0000 0000 0000 0000 0900 0000 0038 3012 0f00 ff00 0028 4000 0020 000b. Internal autonegotiation state is 'Autonegotiation disabled'. Anyway, I've tried everything to get them to talk. After boot both up from scratch, the PC says it doesn't get a link beat so it's switching back to 10Base2, though he starts out at 10BaseT. mii-diag --watch on the laptop doesn't seem to see anything from the other side. Another thing I've tried is playing with /etc/conf.modules on the laptop. In there right now I have: add options tulip debug=6 options=0 add options tulip_cb debu=6 options=0 But I'm not seeing anything appear in /var/log/messages that looks like increased wordiness from the tulip driver. A typical /var/log/messages resembles: Jun 1 00:50:43 rocky kernel: tulip_attach(bus 35, function 0) Jun 1 00:50:43 rocky kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) Jun 1 00:50:43 rocky kernel: eth0: Digital DS21143 Tulip rev 65 at 0x200, 00:E0:29:5A:AE:AD, IRQ 11. Jun 1 00:50:43 rocky kernel: eth0: EEPROM default media type Autosense. Jun 1 00:50:43 rocky kernel: eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. Jun 1 00:50:43 rocky kernel: eth0: MII transceiver #1 config 3000 status 7809 advertising 01e1. Jun 1 00:50:43 rocky cardmgr[435]: executing: './network start eth0' Suggestions anyone, short of recommending a hub? -- For Open Source Middleware Visit http://home.netcom.com/~tgagne From tulip-admin@blueraja.scyld.com Thu Jun 1 18:36:57 2000 Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id SAA19410 for ; Thu, 1 Jun 2000 18:36:57 -0400 Received: from ix.netcom.com (user-2injk7d.dialup.mindspring.com [165.121.208.237]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id SAA11080; Thu, 1 Jun 2000 18:35:33 -0400 (EDT) Sender: tgagne@mindspring.com Message-ID: <3936E51A.52D6A702@ix.netcom.com> From: Thomas Gagne Organization: http://www.efinnet.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: tgagne@efinnet.com CC: "Tulip, list" References: <39365943.CD029358@ix.netcom.com> Content-Type: multipart/mixed; boundary="------------7436F90BF613E174CEFEDF0B" Subject: [tulip] Confusing EtherPower behavior w/ two cards Date: Thu Jun 1 18:36:58 2000 This is a multi-part message in MIME format. --------------7436F90BF613E174CEFEDF0B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 1) if one card is in the machine, at base x6500, it doesn't work 2) if two cards are in the machine, one at x6500 and the other at x6600, the one at x6500 starts working (kinda) 3) the hub light is on for the card @ x6500, but the card's T/R light blinks tulip-diag for that machine (linux 2.2.14) is attached. Oh, and by the way, I caught my problem with debu= instead of debug=. -- For Open Source Middleware Visit http://home.netcom.com/~tgagne --------------7436F90BF613E174CEFEDF0B Content-Type: text/plain; charset=us-ascii; name="tulip-diag.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tulip-diag.out" tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov) Index #1: Found a Digital DC21041 Tulip adapter at 0x6500. Port selection is half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit unit is set to store-and-forward. The NWay status register is 000020c4. Internal autonegotiation state is 'Ability detect'. Index #2: Found a Digital DC21041 Tulip adapter at 0x6600. Port selection is full-duplex. Transmit stopped, Receive stopped, full-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit unit is set to store-and-forward. The NWay status register is 000001cc. Internal autonegotiation state is 'Autonegotiation disabled'. Use '-a' or '-aa' to show device registers, '-e' to show EEPROM contents, -ee for parsed contents, or '-m' or '-mm' to show MII management registers. --------------7436F90BF613E174CEFEDF0B-- From tulip-admin@blueraja.scyld.com Sat Jun 3 20:38:28 2000 Received: from raq.tabernae.com (raq.gashalot.com [208.197.146.18]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id UAA04473 for ; Sat, 3 Jun 2000 20:38:28 -0400 Received: from localhost (gashalot@localhost [127.0.0.1]) by raq.tabernae.com (8.9.3/8.8.8) with ESMTP id UAA12299 for ; Sat, 3 Jun 2000 20:36:46 -0400 From: Robert Gash X-Sender: gashalot@raq.tabernae.com To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] ERROR: Linksys Etherfast LNE100TX Fast Link Pulse Date: Sat Jun 3 20:38:29 2000 I recently replaced a nice D-Link DES-3205 switch with a new one from Linksys (EZXS88W, the new generation [no fan, blue case]). However, when I did this I noticed that my Linksys LNE100TX (using the original PNIC clone chipset, card rev 32) acted very funny when connected to the switch. The link+traffic light on the switch flickers very rapidly, even when no traffic is passing on the interface. I tested some transfers, and it DOES pass traffic, but it appears to max out at about 100kB/s, even though it's a switched network and the card is detecting 100bT FDX operation. The recieving station is a p2 400 with a 3c905b card inside, and there is also another Windows 98 machine with an identical LNE100TX (they came in a kit together) that has no problem talking to the switch. The only machine out of all of them that has an issue with the switch is the Linux machine with the LNE100TX. When I switch back to my 100bT hub (Linksys EZHUB04) the machine transmits at close to 1.0MB/s (CPU limitation there). I have forced the card to half-duplex and plugged it back into the switch and it still exhibits that problem with a fast link pulse, even before the OS loads up. Anyone know what is wrong here? Do I have a bad card? -R ------------------------------------------------------------------ root@home:~# tulip-diag -a tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov) Index #1: Found a Lite-On 82c168 PNIC adapter at 0xfc00. * A potential Tulip chip has been found, but it appears to be active. * Either shutdown the network, or use the '-f' flag to see all values. Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 72. ------------------------------------------------------------------ /proc/pci: Bus 0, device 9, function 0: Ethernet controller: LiteOn LNE100TX (rev 32). Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=16. I/O at 0xfc00 [0xfc01]. Non-prefetchable 32 bit memory at 0xff000400 [0xff000400]. ------------------------------------------------------------------ dmesg: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov eth1: Lite-On 82c168 PNIC rev 32 at 0xfc00, 00:A0:CC:28:9C:7A, IRQ 11. eth1: MII transceiver #1 config 3100 status 7829 advertising 01e1. eth1: Setting full-duplex based on MII#1 link partner capability of 01e1. ------------------------------------------------------------------ -R -- .----------------- PGP Key: `finger gashalot@gashalot.com` -----------------. | Robert Gash | Work - gashalot@fasturl.net | | Senior Systems Administrator | Personal - gashalot@gashalot.com | | VenerNet Inc -- www.fasturl.net | http://www.gashalot.com | `---- PGP Key Fprint: 78 5D 64 D2 99 F3 D8 A0 B2 56 DF EF F2 C6 D3 DF ----' From tulip-admin@blueraja.scyld.com Sun Jun 4 12:58:08 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA08266 for ; Sun, 4 Jun 2000 12:58:08 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id MAA23284; Sun, 4 Jun 2000 12:56:33 -0400 From: Homer Wilson Smith To: "David C. Davies" cc: linux-tulip@beowulf.org In-Reply-To: <393987A5.30A84F32@maniac.ultranet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Re: de4x5 and tulip Date: Sun Jun 4 12:58:14 2000 Hi, thanks for answering. I have completely given up on the 21143 chips and FD with the cisco 1900 10baseT ports. 100baseT works fine. I went and bought 60 21140's to keep me going until the world ends! Homer ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com On Sat, 3 Jun 2000, David C. Davies wrote: > Homer, > > I'll check into this. FDX seems to be a problem that's coming up more > often... As you found out, you will need the updated driver in 2.2.x to > recognise the 21143 chipset. > > Regards, > > Dave > ------------------------- > > Homer Wilson Smith wrote: > > Dear Sir, > > I have despaired of getting the Kingston KNE100TX 21143 > ethercard > to run in Full Duplex at 10baseT with a Cisco 1900. It just > won't > do it using the latest tulip drivers v92 from Donald Becker. > > Kingston suggested I use the de4x5.c driver, it wouldn't > find the card > at all in 2.0.36, but loads fine in 2.2.13. However it too > will not do > Full Duplex using insmod de4x5 args='eth0:fdx'. The Cisco1900 > switch is in > forced full dup mode, and it shows *TERRIBLE* packet > throughput and lots > of runt frames, classic signs that the card is still using > half while the > Cisco is in fact in full. > > Is there anything I can do to get the 21143 Kingston to > work > properly with the Cisco 1900 switch? > > Homer > > ------------------------------------------------------------------------ > Homer Wilson Smith Clear Air, Clear Water, Art Matrix - > Lightlink > (607) 277-0959 A Green Earth and Peace. Internet > Access, Ithaca NY > homer@lightlink.com Is that too much to ask? > http://www.lightlink.com > > -- > -------------------------------- > > The Rich Tapestry of Life is Fraying . . . > > From tulip-admin@blueraja.scyld.com Sun Jun 4 15:14:17 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA08655 for ; Sun, 4 Jun 2000 15:14:17 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id PAA27922; Sun, 4 Jun 2000 15:12:42 -0400 From: Homer Wilson Smith To: Albert Max Lai cc: linux-tulip@beowulf.org Subject: Re: [tulip] Re: de4x5 and tulip In-Reply-To: <14650.40092.565234.498593@sawasdee.cc.columbia.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sun Jun 4 15:14:18 2000 Kingston KNE100TX, you have to specify 21140 chips and make sure they do it right. First 60 came in wrong! Homer ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com On Sun, 4 Jun 2000, Albert Max Lai wrote: > On Sunday, 4 June 2000, Homer Wilson Smith wrote: > > > I went and bought 60 21140's to keep me going until the world > > ends! > > Who still makes cards that use the 21140 chipset still? I would pick > up a bundle myself if I could locate them. Thanks. > > -- > Albert Lai > http://www.columbia.edu/~aml61 > From tulip-admin@blueraja.scyld.com Sun Jun 4 21:39:56 2000 Received: from knine.sr.com.au ([203.23.32.57]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA11267 for ; Sun, 4 Jun 2000 21:39:45 -0400 Received: from localhost ([10.70.20.45]) by knine.sr.com.au (8.8.8+Sun/8.8.8) with ESMTP id LAA17183 for ; Mon, 5 Jun 2000 11:37:33 +1000 (EST) To: tulip@scyld.com X-Mailer: Mew version 1.94.1 on XEmacs 21.1 (20 Minutes to Nikko) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000605113732Q.brian.wallis@ot.com.au> From: Brian Wallis X-Dispatcher: imput version 990905(IM130) Lines: 44 Subject: [tulip] Thousands of "System Error occured" errors Date: Sun Jun 4 21:39:57 2000 I have a couple of 90MHz Pentium machines with Tulip based cards in them and when booted with readhat 6.2 installed I keep getting error messages of the form "System Error occured" whenever there is lan access. The lan access is working but very slow (due mainly I think to the logging of the thousands of error messages) There are no other error messages to be found so I have no idea what is actually going wrong. The PCs are Siemens PCD 5H with PCI ethernet cards that have a chip with a blue top and ZNYX printed on them. Output from tulip-diag is as follows. $ [root@cumberland wallis]# tulip-diag -aa -ee -mm -f tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DC21040 Tulip adapter at 0xf800. Digital DC21040 Tulip chip registers at 0xf800: fff88000 ffffffff ffffffff 00c3c010 00c3c210 fc660000 fffee002 ffffebef fffe0000 7fffff00 ffffffff ffffffff ffffffc8 ffffef03 ffffffff ffff0000 Port selection is half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit unit is set to store-and-forward. EEPROM contents: c000 ec95 f09c c9cb cbc9 9cf0 95ec 00c0 c000 ec95 f09c c9cb 00ff aa55 00ff aa55 ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ID block CRC 0xa5 (vs. 00). Full contents CRC 0x1353 (read as 0xffff). No MII transceivers found! brian wallis... Open Telecommunications, Melbourne Phone: +61 3 98434891 http://www.ot.com.au/ Fax: +61 3 98991890 Carpe Aptenodytes! From tulip-admin@blueraja.scyld.com Tue Jun 6 01:55:15 2000 Received: from mail.rdc1.sdca.home.com (imail@ha1.rdc1.sdca.home.com [24.0.3.66]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id BAA20864 for ; Tue, 6 Jun 2000 01:55:15 -0400 Received: from straylight.fahey.cc ([24.0.150.212]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000606055332.GVRA28251.mail.rdc1.sdca.home.com@straylight.fahey.cc> for ; Mon, 5 Jun 2000 22:53:32 -0700 From: loren X-Sender: shocking@straylight.fahey.cc To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Linksys NE 10/100 ver 4 ethernet card Date: Tue Jun 6 01:55:16 2000 I am having problems with the new linKsys 10/100 card version 4 #### /proc/pci #### Bus 0, device 19, function 0: Ethernet controller: Unknown vendor Unknown device (rev 17). Vendor id=1317. Device id=985. Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=32. Min Gnt=255.Max Lat=255. I/O at 0xec00 [0xec01]. Non-prefetchable 32 bit memory at 0xe2000000 [0xe2000000]. #### end /proc/pci #### I found Vendor ID of 1317 and Device ID of 981 in tulip.c:v091g however this card shows above in the piece of /proc/pci shows the Device ID of 985 (not 981). I added an entry in tulip.c with the new device ID and this allowed the driver to be loaded and ifup did assigne an IP to the device however it was definately NOT working. I am not sure what to add to this except my kernel version is 2.2.14 with the extended raid patch applied. After building the pci-scan and loading it, the tulip driver would not load (in original condition). What is the deal with this new product ID and when can I expect to upgrade to this new card. I already have several Version 2 cards but these Version 4 cards are all I can find localy now... I assume that there are going to be a lot of people looking for this fix. I hope it is something that can be done before I can learn how :) Thanks, Loren From tulip-admin@blueraja.scyld.com Tue Jun 6 07:19:30 2000 Received: from rhenium (rhenium.btinternet.com [194.73.73.93]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id HAA24143 for ; Tue, 6 Jun 2000 07:19:29 -0400 Received: from [213.1.86.166] (helo=epic.world) by rhenium with esmtp (Exim 3.03 #16) id 12zHMd-0005VV-00 for tulip@scyld.com; Tue, 06 Jun 2000 12:17:44 +0100 Received: from trj by epic.world with local (Exim 2.05 #1 (Debian)) id 12zFEn-0007kX-00; Tue, 6 Jun 2000 10:01:29 +0100 From: Toby Jaffey To: tulip@scyld.com Subject: Re: [tulip] Linksys NE 10/100 ver 4 ethernet card Message-ID: <20000606100129.A29776@epic.world> Reply-To: toby@earth.li References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from shocking@home.com on Mon, Jun 05, 2000 at 11:15:16PM -0700 Date: Tue Jun 6 07:19:30 2000 On Mon, Jun 05, 2000 at 11:15:16PM -0700, loren wrote: > I am having problems with the new linKsys 10/100 card version 4 Try tulip.c v0.92, works for me. -- (o_ | Toby Jaffey : www.nott.ac.uk/~psystrj/ //\ | "Time is an illusion. Lunchtime doubly so." -- Douglas Adams V_/_ | From tulip-admin@blueraja.scyld.com Tue Jun 6 11:58:51 2000 Received: from mail.rdc1.sdca.home.com (imail@ha1.rdc1.sdca.home.com [24.0.3.66]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA28519 for ; Tue, 6 Jun 2000 11:58:51 -0400 Received: from straylight.fahey.cc ([24.0.150.212]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000606155706.RQWK28251.mail.rdc1.sdca.home.com@straylight.fahey.cc> for ; Tue, 6 Jun 2000 08:57:06 -0700 From: loren X-Sender: shocking@straylight.fahey.cc To: tulip@scyld.com Subject: Re: [tulip] Linksys NE 10/100 ver 4 ethernet card In-Reply-To: <20000606100129.A29776@epic.world> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 6 11:58:52 2000 I finally got V0.92 working, but only as a module. when building the kernel with the tulip driver in the kernel it gives an un-resolved symbol error, and the symbol is defined in pci-scan module. How do you add the pci-scan module to the kernel also, if at all? I don't need to modify my kernel very often and I don't like using modules when I will never unload it... Thanks, Loren On Tue, 6 Jun 2000, Toby Jaffey wrote: > > On Mon, Jun 05, 2000 at 11:15:16PM -0700, loren wrote: > > I am having problems with the new linKsys 10/100 card version 4 > > Try tulip.c v0.92, works for me. > > -- > (o_ | Toby Jaffey : www.nott.ac.uk/~psystrj/ > //\ | "Time is an illusion. Lunchtime doubly so." -- Douglas Adams > V_/_ | > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip > From tulip-admin@blueraja.scyld.com Tue Jun 6 14:29:51 2000 Received: from tantalum (tantalum.btinternet.com [194.73.73.80]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id OAA30767 for ; Tue, 6 Jun 2000 14:29:50 -0400 Received: from [213.1.84.66] (helo=epic.world) by tantalum with esmtp (Exim 3.03 #16) id 12zO34-0007KC-00 for tulip@scyld.com; Tue, 06 Jun 2000 19:25:59 +0100 Received: from trj by epic.world with local (Exim 2.05 #1 (Debian)) id 12zNpn-0008AU-00; Tue, 6 Jun 2000 19:12:15 +0100 From: Toby Jaffey To: tulip@scyld.com Subject: Re: [tulip] Linksys NE 10/100 ver 4 ethernet card Message-ID: <20000606191215.A31383@epic.world> Reply-To: toby@earth.li Mail-Followup-To: tulip@scyld.com References: <20000606100129.A29776@epic.world> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from shocking@home.com on Tue, Jun 06, 2000 at 09:18:53AM -0700 Date: Tue Jun 6 14:29:52 2000 On Tue, Jun 06, 2000 at 09:18:53AM -0700, loren wrote: > I finally got V0.92 working, but only as a module. I think it is meant to be `kernel independent', so it's not going to fit snugly into a kernel... I know that 2.3.99-pre6 has Jeff Garzik's weirdly rearranged tulip driver in it. That worked for my LinkSys 10/100 version 4. -- (o_ | Toby Jaffey : www.nott.ac.uk/~psystrj/ //\ | "... it is important to realize that any lock can be picked with a V_/_ | big enough hammer." -- Sun System & Network Admin manual From tulip-admin@blueraja.scyld.com Wed Jun 7 13:16:49 2000 Received: from hoover.gilbarco.com (hoover.gilbarco.com [199.221.73.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA08457 for ; Wed, 7 Jun 2000 13:16:49 -0400 Received: by hoover.gilbarco.com id NAA01031 (InterLock SMTP Gateway 3.0 for tulip@scyld.com); Wed, 7 Jun 2000 13:14:55 -0400 (EDT) Message-ID: <200006071714.NAA01031@hoover.gilbarco.com> Received: by hoover.gilbarco.com (Internal Mail Agent-1); Wed, 7 Jun 2000 13:14:55 -0400 (EDT) From: "Scott W. Turner" X-Sender: swt@scopc12.soft.eng.gilbarco.com To: tulip@scyld.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] (no subject) Date: Wed Jun 7 13:16:50 2000 confirm 644635 From tulip-admin@blueraja.scyld.com Wed Jun 7 15:22:37 2000 Received: from hoover.gilbarco.com (hoover.gilbarco.com [199.221.73.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA11332 for ; Wed, 7 Jun 2000 15:22:37 -0400 Received: by hoover.gilbarco.com id PAA17154 (InterLock SMTP Gateway 3.0 for tulip@scyld.com); Wed, 7 Jun 2000 15:20:43 -0400 (EDT) Message-ID: <200006071920.PAA17154@hoover.gilbarco.com> Received: by hoover.gilbarco.com (Internal Mail Agent-1); Wed, 7 Jun 2000 15:20:43 -0400 (EDT) From: "Scott W. Turner" X-Sender: swt@scopc12.soft.eng.gilbarco.com To: tulip@scyld.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] SMC EZ Cardbus 10/100 Problem Date: Wed Jun 7 15:22:38 2000 First, Sorry for the confirm post to this board. Next, I have a smc ez cardbus 10/100 ethernet card and am having trouble getting it to work. My setup: 1) sony vaio 505fx notebook 2) linux mandrake kernel v2.2.9 3) built/installed netdriver 2.0 4) built/installed pcmcia 3.1.15 5) info from /etc/pcmcia/config: 1) device "tulip" class "network" module "cb_enabler", "pci-scan", "cb_shim", "tulip" 2) card "SMC EZ 10/100 Fast Ethernet" manfid 0x01bf, 0x2220 bind "tulip" 3) card "SMC EZ 10/100 Fast Ethernet" manfid 0x01bf, 0x2225 bind "tulip" 6) when i plug the card into the pc (dongle is plugged into a smc hub (port 1) with no other ports in use), two high beeps are heard and the utilization 40+ % and collision leds come on and stay on constant. the hub port 1 led starts flashing very fast and does not stop flashing. 7) lsmod shows: tulip, cb_shim, pci-scan, cb_enabler 8) the following is my dmesg output: cs: cb_alloc(bus 32): vendor 0x1011, device 0x0019 ROM image dump: image 0: 0x000000-0x0001ff, signature PCIR cb_shim.c:v1.00 4/15/2000 Donald Becker http://www.scyld.com/linux/drivers.html tulip.c:v0.92 4/17/2000 Written by Donald Becker http://www.scyld.com/network/tulip.html Failed to map PCI address 0x0 for device 'Digital DS21143 Tulip'. cs: cb_config(bus 32) fn 0 bar 1: io 0x400-0x47f fn 0 bar 2: mem 0x600c0000-0x600c03ff fn 0 rom: mem 0x60080000-0x600bffff cs: cb_enable(bus 32) bridge io map 0 (flags 0x21): 0x400-0x47f bridge mem map 0 (flags 0x1): 0x60080000-0x600c0fff Found a Digital DS21143 Tulip at 32/0 address 0x600c0000->0xc4068000 IRQ 9. Digital DS21143 Tulip at 32/0 command 0x7. eth0: Digital DS21143 Tulip rev 65 at 0xc4068000, 00:E0:29:5A:AC:7D, IRQ 9. eth0: EEPROM default media type Autosense. eth0: MII interface PHY 0, setup/reset sequences 2/2 long, capabilities 02 08. eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. eth0: Using media type MII, CSR12 is c6. eth0: MII transceiver #1 config 3000 status 7809 advertising 00a1. eth0: Advertising 01e1 on PHY 1, previously advertising 00a1. eth0: Handling power event 1. eth0: Handling power event 4. eth0: Unregistering device. alloc_skb called nonatomically from interrupt c0150c75 cs: cb_disable(bus 32) cs: cb_release(bus 32) cs: cb_free(bus 32) Can someone help me please. I bought the card last week and have just 1 more week before I can return it w/refund. Thanks. Scott Turner <>< Marconi Commerce Systems Inc. Software Engineer Retail Systems Development Phone: 336-547-5032 Fax: 336-547-5079 E-mail: scott.turner@marconi.com (as of 6/5/2000) E-mail: scott_turner@gilbarco.com (before 6/5/2000) This document contains confidential information of Marconi Commerce Systems,Inc. In consideration of the receipt of this document, the recipient agrees not to reproduce, copy, use or transmit this document and/or the information contained herein, in purpose except with written permission, first obtained, of Marconi Commerce Systems, Inc. and further agrees to surrender the same to Marconi Commerce Systems, Inc. upon demand. From tulip-admin@blueraja.scyld.com Thu Jun 8 02:56:17 2000 Received: from gwa2.fe.bosch.de (gwa2.fe.bosch.de [194.39.218.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id CAA15324 for ; Thu, 8 Jun 2000 02:56:12 -0400 Received: (from uucp@localhost) by gwa2.fe.bosch.de (8.9.1/8.9.1) id GAA12958 for ; Thu, 8 Jun 2000 06:54:10 GMT Received: from fez8019.fe.bosch.de(virus-out.fe.internet.bosch.de 10.4.4.19) by gwa2.fe.bosch.de via smap (V2.1) id xmaa11901; Thu, 8 Jun 00 06:53:36 GMT Received: from de.bosch.com (hi298100.hi.bosch.de [133.2.98.100]) by bkmail2.bk.bosch.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id MPH0Y66Y; Thu, 8 Jun 2000 08:53:28 +0200 Message-ID: <393F4305.DB598C76@de.bosch.com> From: Dirk Behme Organization: Robert Bosch GmbH X-Mailer: Mozilla 4.6 [en-gb] (WinNT; I) X-Accept-Language: en-GB,en,en-* MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Empty SROM Date: Thu Jun 8 02:56:18 2000 Hi, on a embedded system unter Linux I try to get the network run. The embedded system uses a MIPS RISC processor, the 21143 with PCI and a QS6611, all with Linux 2.3.47. To enable the network I am using tulip.c 0.9.2 (Feb 15, 2000). The SROM is EMPTY, except the MAC-Address! At boot time, I get: ... Linux Tulip driver version 0.9.2 (Feb 15, 2000) pcibios_enable_device for 1011:0019 PCI: Increasing latency timer of device 00:00.1 to 64 eth0: Digital DS21143 Tulip rev 65 at 0xaa000000, 00:00:4C:80:32:58, IRQ 43. ... After booting, I start the network and then get: # ifconfig eth0 133.2.11.201 up # eth0: 21143 link status interrupt 000050ca, CSR5 f0688010, fffbffff. eth0: Autonegotiation failed, using 10baseT, link beat status 50ca. eth0: 21143 negotiation status 000052ca, 10baseT. # Then I try a ping to another machine: # ping 133.2.3.68 PING 133.2.3.68 (133.2.3.68): 56 data bytes 64 bytes from 133.2.3.68: icmp_seq=6 ttl=255 time=1005.4 ms NETDEV WATCHDOG: eth0: transmit timed out eth0: 21140 transmit timed out, status f0680000, SIA 000052ca ffff0001 fffbffff 8ff5c008, resetting... eth0: The transmitter stopped. CSR5 is f0698006, CSR6 b2422002, new CSR6 82420000. --- 133.2.3.68 ping statistics --- 44 packets transmitted, 1 packets received, 97% packet loss round-trip min/avg/max = 1005.4/1005.4/1005.4 ms ifconfig -a answers the following: # ifconfig -a lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 Collisions:0 eth0 Link encap:Ethernet HWaddr 00:00:4C:80:32:58 inet addr:133.2.11.201 Bcast:133.2.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:267 errors:0 dropped:2474 overruns:0 frame:0 TX packets:38 errors:3 dropped:0 overruns:0 carrier:0 Collisions:0 Interrupt:43 Thus, it seems that something work, but **very** slow and not very stable. Any ideas, which bits or registers of the 21143 I can set perhaps manually to get the network working stable? Any suggestions? Thank you. Regards, Dirk Because I am not on the list, please CC a anwser to me. -- dirk.behme@de.bosch.com From tulip-admin@blueraja.scyld.com Thu Jun 8 12:08:48 2000 Received: from raq.tabernae.com (raq.gashalot.com [208.197.146.18]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA18131 for ; Thu, 8 Jun 2000 12:08:48 -0400 Received: from localhost (gashalot@localhost [127.0.0.1]) by raq.tabernae.com (8.9.3/8.8.8) with ESMTP id MAA16057 for ; Thu, 8 Jun 2000 12:06:52 -0400 From: Robert Gash X-Sender: gashalot@raq.tabernae.com To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Netgear FA311 Support Anyone? Date: Thu Jun 8 12:08:49 2000 I just drove over to the store and nabbed a Netgear FA311 card to replace my broken LNE100TX, however the card dosen't appear to be supported under the tulip driver. Does anyone know of the status of the support of this card? It comes with a fa311.c and fa311.h file that only compile for 2.0.36, and I'm *NOT* rolling back to that kernel to make this thing work. Anyone know if there are special flags or whatnot needed to get this working? -- .----------------- PGP Key: `finger gashalot@gashalot.com` -----------------. | Robert Gash | Work - gashalot@fasturl.net | | Senior Systems Administrator | Personal - gashalot@gashalot.com | | VenerNet Inc -- www.fasturl.net | http://www.gashalot.com | `---- PGP Key Fprint: 78 5D 64 D2 99 F3 D8 A0 B2 56 DF EF F2 C6 D3 DF ----' From tulip-admin@blueraja.scyld.com Thu Jun 8 12:11:15 2000 Received: from raq.tabernae.com (raq.gashalot.com [208.197.146.18]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA18171 for ; Thu, 8 Jun 2000 12:11:14 -0400 Received: from localhost (gashalot@localhost [127.0.0.1]) by raq.tabernae.com (8.9.3/8.8.8) with ESMTP id MAA16078 for ; Thu, 8 Jun 2000 12:09:19 -0400 From: Robert Gash X-Sender: gashalot@raq.tabernae.com To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Additional /proc/pci info on FA311 Date: Thu Jun 8 12:11:16 2000 Here's the /proc/pci readings for the FA311: ############### Bus 0, device 9, function 0: Ethernet controller: NS Unknown device (rev 0). Vendor id=100b. Device id=20. Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=16. Min Gnt=11.Max Lat=52. I/O at 0xfc00 [0xfc01]. Non-prefetchable 32 bit memory at 0xff000000 [0xff000000]. ############### -- .----------------- PGP Key: `finger gashalot@gashalot.com` -----------------. | Robert Gash | Work - gashalot@fasturl.net | | Senior Systems Administrator | Personal - gashalot@gashalot.com | | VenerNet Inc -- www.fasturl.net | http://www.gashalot.com | `---- PGP Key Fprint: 78 5D 64 D2 99 F3 D8 A0 B2 56 DF EF F2 C6 D3 DF ----' From tulip-admin@blueraja.scyld.com Thu Jun 8 13:07:08 2000 Received: from tuminfo2.informatik.tu-muenchen.de (root@tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA18502 for ; Thu, 8 Jun 2000 13:07:07 -0400 Received: from hpsystem14.informatik.tu-muenchen.de ([131.159.4.9] EHLO hpsystem14.informatik.tu-muenchen.de ident: root [port 2615]) by tuminfo2.informatik.tu-muenchen.de with ESMTP id <113267-230>; Thu, 8 Jun 2000 19:05:06 +0000 Received: from atterer@localhost (fake: atterer@sunhalle9) by hpsystem14.informatik.tu-muenchen.de id <12296-466>; Thu, 8 Jun 2000 19:05:14 +0200 Sender: atterer@informatik.tu-muenchen.de From: Richard Atterer To: tulip@scyld.com Subject: Re: [tulip] SMC EZ Cardbus 10/100 Problem Message-ID: <20000608190456.A10943@sunhalle9.informatik.tu-muenchen.de> Mail-Followup-To: tulip@scyld.com References: <200006071920.PAA17154@hoover.gilbarco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <200006071920.PAA17154@hoover.gilbarco.com>; from scott_turner@gilbarco.com on Wed, Jun 07, 2000 at 09:22:49PM +0000 Date: Thu Jun 8 13:07:08 2000 On Wed, Jun 07, 2000 at 09:22:49PM +0000, Scott W. Turner wrote: > I have a smc ez cardbus 10/100 ethernet card > and am having trouble getting it to work. [snip] > 3) card "SMC EZ 10/100 Fast Ethernet" > manfid 0x01bf, 0x2225 > bind "tulip" I've got one of these as well, but so far have been unable to get it to work with any of the available drivers. Since I got my card, one other person using it turned up on this list. He (but not I) was able to get things to work with tulip-0.91x-ppc, a hacked version of the tulip driver supplied with pcmcia-cs. To make pcmcia-cs recognize the card, you need to tell it about the changed ID: Copy the entry for the SMC from /etc/pcmcia/config to config.opts and change the 0x2220 to 0x2225. > This document contains confidential information of Marconi Commerce > Systems,Inc. In consideration of the receipt of this document, the > recipient agrees not to reproduce, copy, use or transmit this > document and/or the information contained herein, in purpose except > with written permission, first obtained, of Marconi Commerce > Systems, Inc. and further agrees to surrender the same to Marconi > Commerce Systems, Inc. upon demand. You will not make any new friends posting this kind of stuff to Linux-related lists/newsgroups. In fact, it very nearly caused me not to reply to your message. Cheers, Richard -- __ _ |_) /| Richard Atterer (currently at Queen's University, Belfast, NI) | \/¯| http://www.in.tum.de/~atterer/ ¯ ´` ¯ From tulip-admin@blueraja.scyld.com Thu Jun 8 13:54:31 2000 Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA18747 for ; Thu, 8 Jun 2000 13:54:30 -0400 Received: from ix.netcom.com (user-2injkim.dialup.mindspring.com [165.121.210.86]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id NAA03457; Thu, 8 Jun 2000 13:52:27 -0400 (EDT) Sender: tgagne@mindspring.com Message-ID: <393FDCED.DB5A7F8D@ix.netcom.com> From: Thomas Gagne Reply-To: tgagne@efinnet.com Organization: http://www.efinnet.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: Richard Atterer CC: tulip@scyld.com Subject: Re: [tulip] SMC EZ Cardbus 10/100 Problem References: <200006071920.PAA17154@hoover.gilbarco.com> <20000608190456.A10943@sunhalle9.informatik.tu-muenchen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu Jun 8 13:54:32 2000 Still no luck? I tried replying to this message earlier but somehow was unable to communicate to my SMTP server. I had three outgoing messages all hung with no hope to recover. Sigh. Anyway, you're right. Mine is working on a Dell Inspiron 5000 with RHat Linux 6.2 (2.2.14) pcmcia-cs-3.1.14.tar.gz My ifconfig eth0 Link encap:Ethernet HWaddr 00:E0:29:5A:AE:AD inet addr:192.168.1.42 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:114426 errors:0 dropped:0 overruns:0 frame:0 TX packets:106942 errors:1 dropped:0 overruns:0 carrier:1 collisions:53908 txqueuelen:100 Interrupt:11 Base address:0x200 /etc/pcmcia/config.opts card "SMC EZ CardBus 10/100 PC CARD" manfid 0x01bf, 0x2220 bind "tulip_cb" -- For Open Source Middleware Visit http://home.netcom.com/~tgagne From tulip-admin@blueraja.scyld.com Thu Jun 8 19:20:39 2000 Received: from hotmail.com (oe20.law9.hotmail.com [64.4.8.124]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id TAA20855 for ; Thu, 8 Jun 2000 19:20:38 -0400 Received: (qmail 19371 invoked by uid 65534); 8 Jun 2000 23:18:12 -0000 Message-ID: <20000608231812.19370.qmail@hotmail.com> X-Originating-IP: [209.186.12.34] From: "tempest_skye" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01BFD17E.4C7B59A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Subject: [tulip] Newbie Alert - Linksys/Network Everywhere NC100 - Help! Date: Thu Jun 8 19:20:40 2000 This is a multi-part message in MIME format. ------=_NextPart_000_000D_01BFD17E.4C7B59A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have Linux Mandrake 6.5 installed and it automatically detected the = driver as being tulip compatible. I'm connected to the Internet via a cablemodem. I'm using the KDE interface (which might be why I can't seem to solve = this problem). I'm growing more familiar with the command line = interface, so I have no problems compiling drivers if I get complete = instructions. In Linxconf | Network, my settings are as follows: Main tab: host: skye Adapter 1 tab: (manual configuration) primary + domain: skye.gw.total-web.net IP address: (the one the cable company assigned me) Subnet Mask: 255.255.255.0 port?: eth0 driver: tulip I've even put in the values for the DNS server and gateway. (Tried = setting the optional IRQ port too, to no avail.) When Linux first boots up, all the processes pop up as being OK (unlike = when I fiddle with what driver it uses, then eth0 comes up as failed). = But as soon as it passes the eth0 initialization, my cable modem LNK = light & activity lights die - basically leaving PWR and RF (cablemodem = to network connection) lights on. I can ping myself: localhost, loopback, and assigned IP address.=20 I've checked around and many things are saying I might need to compile a = new version of tulip - BUT this is a very recent version of Linux - even = before I got the network cards. (I know, that doesn't really count for = much....) Help! (Oh someone tell me I can use another driver on my list! *lazy = grin*) What can I do to determine exactly where the connection dies out between = Linux, the NIC, and the cablemodem? Any diagnostic programs out there? = Anyone else had this problem before? =20 Oh, and I'm on a COMPAQ Presario 450MHz PC - but the NIC wasn't with the = unit when I bought it. My Windows98 setup works fine. No problems with = the NIC there. Thanks! tempest_skye newbie-to-linux-geekette ;) ------=_NextPart_000_000D_01BFD17E.4C7B59A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have Linux Mandrake 6.5 installed and = it=20 automatically detected the driver as being tulip = compatible.
I'm connected to the Internet via a=20 cablemodem.
I'm using the KDE interface (which = might be why I=20 can't seem to solve this problem).  I'm growing more familiar with = the=20 command line interface, so I have no problems compiling drivers if I get = complete instructions.
 
In Linxconf | Network, my settings are = as=20 follows:
 
Main tab:
host: skye
 
Adapter 1 tab:
(manual configuration)
primary + domain: =20 skye.gw.total-web.net
IP address: (the one the cable company = assigned=20 me)
Subnet Mask: 255.255.255.0
port?:    = eth0
driver:    = tulip
 
I've even put in the values for the DNS = server and=20 gateway.  (Tried setting the optional IRQ port too, to no=20 avail.)
 
When Linux first boots up, all the = processes pop up=20 as being OK (unlike when I fiddle with what driver it uses, then eth0 = comes up=20 as failed).  But as soon as it passes the eth0 initialization, my = cable=20 modem LNK light & activity lights die - basically leaving PWR and RF = (cablemodem to network connection) lights on.
 
I can ping myself:  localhost, = loopback, and=20 assigned IP address.
 
I've checked around and many things are = saying I=20 might need to compile a new version of tulip - BUT this is a very recent = version=20 of Linux - even before I got the network cards.  (I know, that = doesn't=20 really count for much....)
 
Help!  (Oh someone tell me I can = use another=20 driver on my list!  *lazy grin*)
 
What can I do to determine exactly = where the=20 connection dies out between Linux, the NIC, and the cablemodem?  = Any=20 diagnostic programs out there?  Anyone else had this=20 problem before? 
 
Oh, and I'm on a COMPAQ Presario 450MHz = PC - but=20 the NIC wasn't with the unit when I bought it.  My Windows98 setup = works=20 fine.  No problems with the NIC there.
 
Thanks!
 
tempest_skye
newbie-to-linux-geekette = ;)
 
------=_NextPart_000_000D_01BFD17E.4C7B59A0-- From tulip-admin@blueraja.scyld.com Fri Jun 9 00:24:22 2000 Received: from mandrakesoft.mandrakesoft.com (mandrakesoft.mandrakesoft.com [216.71.84.35]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA22137 for ; Fri, 9 Jun 2000 00:24:22 -0400 Received: from localhost (jgarzik@localhost) by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) with SMTP id XAA30774; Thu, 8 Jun 2000 23:22:11 -0500 From: Jeff Garzik To: Brian cc: linux-tulip@scyld.com, linux-net@vger.rutgers.edu In-Reply-To: <00060900140202.00319@viper> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] tulip troubles (was Re: eepro100 troubles) Date: Fri Jun 9 00:24:23 2000 On Thu, 8 Jun 2000, Brian wrote: > 3Com 905B ("Cyclone") is stable with Andrew Morton's April 15 driver. > Probably the newer drivers, too (but defintely not the older ones). > > NE2000 is only 10BaseT, but we've had no trouble with them. > > If you find a tulip driver that's stable under heavy sustained load, let me > know. We have quite a few of them, but no driver has been stable. I'm interested in finding a solution. Can you test the Tulip driver in 2.4.0-test1-ac11 and provide oops output that I can chew on? What's your hardware (lspci -vvv perhaps), and what's your setup like? Anything special, like channel bonding or bridging? Or just basic ethernet setup running Web servers? Jeff From tulip-admin@blueraja.scyld.com Fri Jun 9 16:30:25 2000 Received: from web209.mail.yahoo.com (web209.mail.yahoo.com [128.11.68.109]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id QAA29285 for ; Fri, 9 Jun 2000 16:30:24 -0400 Received: (qmail 12589 invoked by uid 60001); 9 Jun 2000 20:28:23 -0000 Message-ID: <20000609202823.12588.qmail@web209.mail.yahoo.com> Received: from [24.48.31.155] by web209.mail.yahoo.com; Fri, 09 Jun 2000 13:28:23 PDT From: Michael Immonen To: tulip@scyld.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [tulip] tulip based cluster on Cisco switch Date: Fri Jun 9 16:30:25 2000 Hi all, We have been struggling with an issue that has taken many weeks to nearly solve. I am looking for a bit more advice to bring this to a close. Background: We have an 100 node cluster, all with Kingston KNE100TX NIC's. It is split it into two- 64 nodes and 36 nodes. Each set is attached to its own Cisco Catalyst 4000. These systems were seeing several symptoms that we eventually tied together: 1. Ridiculously slow data transfer speeds- with the nodes and switch configured for 100Mbps, data was transferring at well below 10Mbps- varied in actual value. 2. Discovered severe packet loss due to carrier errors as reported in /proc/net/dev Again highly variable- poorly performing nodes could be anywhere from 0.10% to 94.00% of transmitted packets had carrier errors. 3. All affected nodes were discovered to be operating in half duplex where the switch and good nodes were in full duplex. This was discovered using tulip-diag.c We thought we had a final solution when Kingston assisted us in tracking a known hardware issue related to some versions of the SEEQ MII transceiver. They informed us that, under Linux, and with some switches, there were several versions of the SEEQ chip that had intermittent "timing issues". The SEEQ (or LSI) 80223/C were known good chips, but the SEEQ 80220/G and 80223/B would sometimes display this behavior. The tricky part is that in some cases, they were perfectly fine. Kingston did an excellent job assisting us with the replacement of all 100 NIC's. After all cards were swapped and the cluster was again up and running, everything was beautiful- 100 FD all around. End of issue, or so we thought. Nearly a week later, on checking the systems, 16 nodes between the two sets were discovered to be again in half duplex. (But with MUCH lower carrier errors- 0.01% to 0.09%) And just a couple days more the whole cluster was reported to be HD. All systems had been running kernel 2.2.12 with tulip.c v0.91, one system was updated to 2.2.15 with v0.92, but this did not solve the issue. I have spent some time scanning the tulip lists and have gained some information there, but now also have some more questions... Now, for my questions: Why would a running system renegotiate its network setting without user intervention? I am assuming that the current problem has to do with the Cisco switch issue that Donald Becker mentioned on April 27, 2000 on this list. If this is the case would another type of ethernet chip still experience the same problems? Donald Becker has stated that forcing speed and duplex is not recommended. Could forcing these cards to 100 FD for this issue be a safe solution? I have read that using HD is better. Why? Should the nodes be forced to 100 HD? Does anyone have any other recommendations or advice? Maybe a recommended switch to replace the Cisco switches? Regards, Michael __________________________________________________ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com From tulip-admin@blueraja.scyld.com Fri Jun 9 16:56:20 2000 Received: from mrelay.inscc.utah.edu (mrelay.inscc.utah.edu [155.101.3.60]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id QAA29687 for ; Fri, 9 Jun 2000 16:56:20 -0400 Received: from mail.inscc.utah.edu (mail.inscc.utah.edu [155.101.3.59]) by mrelay.inscc.utah.edu (8.9.2/8.9.2) with ESMTP id OAA04326; Fri, 9 Jun 2000 14:54:18 -0600 (MDT) Received: from chpc.utah.edu (loki.chpc.utah.edu [155.101.16.46]) by mail.inscc.utah.edu with ESMTP id OAA17507; Fri, 9 Jun 2000 14:54:18 -0600 (MDT) Sender: brian@chpc.utah.edu Message-ID: <39415979.11D6FAEB@chpc.utah.edu> From: "Brian D. Haymore" Organization: Centerfor High Performance Computing, University of Utah X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Michael Immonen CC: tulip@scyld.com Subject: Re: [tulip] tulip based cluster on Cisco switch References: <20000609202823.12588.qmail@web209.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri Jun 9 16:56:21 2000 We have a 170 node beowulf cluster all using this same network card. We have found that many versions of the tulip driver produce the exact results you have seen. Currently we have found that version .91 to be the most reliable for us. Redhat 6.2 comes with a slightly newer version and we had issues with that. We also tried the .92 version in module form from Donald Becker's site and found that this driver somehow got a completly different mac address for the card (wierd huh!). We reported that bug and have not heard anything more beyond that. So at is is we are still using .91 without any issues we can find. We also are getting up to ~92 Mb/s. Hope this helps. Michael Immonen wrote: > > Hi all, > > We have been struggling with an issue that has taken > many weeks to nearly solve. I am looking for a bit > more advice to bring this to a close. > > Background: > We have an 100 node cluster, all with Kingston > KNE100TX NIC's. It is split it into two- 64 nodes and > 36 > nodes. Each set is attached to its own Cisco Catalyst > 4000. > These systems were seeing several symptoms that we > eventually tied together: > 1. Ridiculously slow data transfer speeds- with the > nodes and switch configured for 100Mbps, data was > transferring at well below 10Mbps- varied in actual > value. > 2. Discovered severe packet loss due to carrier errors > as reported in /proc/net/dev Again highly > variable- poorly performing nodes could be anywhere > from 0.10% to 94.00% of transmitted packets > had carrier errors. > 3. All affected nodes were discovered to be operating > in half duplex where the switch and good nodes > were in full duplex. This was discovered using > tulip-diag.c > > We thought we had a final solution when Kingston > assisted us in tracking a known hardware issue > related to some versions of the SEEQ MII transceiver. > They informed us that, under Linux, and with > some switches, there were several versions of the SEEQ > chip that had intermittent "timing issues". The > SEEQ (or LSI) 80223/C were known good chips, but the > SEEQ 80220/G and 80223/B would sometimes display this > behavior. The tricky part is that in some cases, they > were perfectly fine. Kingston did an excellent job > assisting us with the replacement of all 100 NIC's. > > After all cards were swapped and the cluster was again > up and running, everything was beautiful- 100 > FD all around. End of issue, or so we thought. > > Nearly a week later, on checking the systems, 16 nodes > between the two sets were discovered to be > again in half duplex. (But with MUCH lower carrier > errors- 0.01% to 0.09%) And just a couple days > more the whole cluster was reported to be HD. > > All systems had been running kernel 2.2.12 with > tulip.c v0.91, one system was updated to 2.2.15 with > v0.92, but this did not solve the issue. > > I have spent some time scanning the tulip lists and > have gained some information there, but now also > have some more questions... > > Now, for my questions: > Why would a running system renegotiate its network > setting without user intervention? > > I am assuming that the current problem has to do with > the Cisco switch issue that Donald Becker > mentioned on April 27, 2000 on this list. If this is > the case would another type of ethernet chip still > experience the same problems? > > Donald Becker has stated that forcing speed and duplex > is not recommended. Could forcing these cards > to 100 FD for this issue be a safe solution? > I have read that using HD is better. Why? > Should the nodes be forced to 100 HD? > > Does anyone have any other recommendations or advice? > Maybe a recommended switch to replace the Cisco > switches? > > Regards, > Michael > > __________________________________________________ > Do You Yahoo!? > Yahoo! Photos -- now, 100 FREE prints! > http://photos.yahoo.com > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Brian D. Haymore University of Utah Center for High Performance Computing 155 South 1452 East RM 405 Salt Lake City, Ut 84112-0190 Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 From tulip-admin@blueraja.scyld.com Sat Jun 10 10:32:29 2000 Received: from pongo.cs.wisc.edu (pongo.cs.wisc.edu [128.105.162.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA03626 for ; Sat, 10 Jun 2000 10:32:28 -0400 Received: from pongo.cs.wisc.edu (localhost [127.0.0.1]) by pongo.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id JAA28426; Sat, 10 Jun 2000 09:30:20 -0500 (CDT) Message-Id: <200006101430.JAA28426@pongo.cs.wisc.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: "Brian D. Haymore" cc: Michael Immonen , tulip@scyld.com Subject: Re: [tulip] tulip based cluster on Cisco switch In-Reply-To: Message from "Brian D. Haymore" of "Fri, 09 Jun 2000 14:54:17 MDT." <39415979.11D6FAEB@chpc.utah.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: David Thompson Date: Sat Jun 10 10:32:29 2000 I'll fess up here; we're Michael's customer in this case. We are also seeing the changed MAC address with the .92 driver (vendor code 00:40:f0 instead of 00:c0:f0). We put the new mac address in our dhcp server but still couldn't dhcp with the new driver. The server is sending out replies, but the client doesn't seem to be getting them. Caveat for anyone with dhcp and tulip 0.92... Our sole reason for trying the .92 driver was see if we could use the 'options=' goo to force the whole cluster to 100BaseTX/fdx. We have not been able to get these cards to auto-negotiaite properly and/or reliably with the Cisco switch with either the 'old' or 'new' transceivers, with either tulip 0.91 or 0.92. Our hope was to forgoe auto-negotiation (which we normally prefer) because it seems to be borked with the hardware we have. However, all attemps to force speed and duplex with either tulip driver version have failed. Brian, you may want to check your 'netstat -i' from time to time, and/or make a pass through your cluster with tulip-diag to see if all your NICs are truly auto-negotiating properly with the switch(es). We have seen situations with the where the auto-negotiation originally succeeds, but a couple days later we find the switch running 100/full and the card 100/half. This causes bad things to happen wrt network performance. -- Dave Thompson Associate Researcher Department of Computer Science University of Wisconsin-Madison http://www.cs.wisc.edu/~thomas 1210 West Dayton Street Phone: (608)-262-1017 Madison, WI 53706-1685 Fax: (608)-262-6626 -- "Brian D. Haymore" wrote: >We have a 170 node beowulf cluster all using this same network card. We >have found that many versions of the tulip driver produce the exact >results you have seen. Currently we have found that version .91 to be >the most reliable for us. Redhat 6.2 comes with a slightly newer >version and we had issues with that. We also tried the .92 version in >module form from Donald Becker's site and found that this driver somehow >got a completly different mac address for the card (wierd huh!). We >reported that bug and have not heard anything more beyond that. So at >is is we are still using .91 without any issues we can find. We also >are getting up to ~92 Mb/s. Hope this helps. > >Michael Immonen wrote: >> >> Hi all, >> >> We have been struggling with an issue that has taken >> many weeks to nearly solve. I am looking for a bit >> more advice to bring this to a close. >> >> Background: >> We have an 100 node cluster, all with Kingston >> KNE100TX NIC's. It is split it into two- 64 nodes and >> 36 >> nodes. Each set is attached to its own Cisco Catalyst >> 4000. >> These systems were seeing several symptoms that we >> eventually tied together: >> 1. Ridiculously slow data transfer speeds- with the >> nodes and switch configured for 100Mbps, data was >> transferring at well below 10Mbps- varied in actual >> value. >> 2. Discovered severe packet loss due to carrier errors >> as reported in /proc/net/dev Again highly >> variable- poorly performing nodes could be anywhere >> from 0.10% to 94.00% of transmitted packets >> had carrier errors. >> 3. All affected nodes were discovered to be operating >> in half duplex where the switch and good nodes >> were in full duplex. This was discovered using >> tulip-diag.c >> >> We thought we had a final solution when Kingston >> assisted us in tracking a known hardware issue >> related to some versions of the SEEQ MII transceiver. >> They informed us that, under Linux, and with >> some switches, there were several versions of the SEEQ >> chip that had intermittent "timing issues". The >> SEEQ (or LSI) 80223/C were known good chips, but the >> SEEQ 80220/G and 80223/B would sometimes display this >> behavior. The tricky part is that in some cases, they >> were perfectly fine. Kingston did an excellent job >> assisting us with the replacement of all 100 NIC's. >> >> After all cards were swapped and the cluster was again >> up and running, everything was beautiful- 100 >> FD all around. End of issue, or so we thought. >> >> Nearly a week later, on checking the systems, 16 nodes >> between the two sets were discovered to be >> again in half duplex. (But with MUCH lower carrier >> errors- 0.01% to 0.09%) And just a couple days >> more the whole cluster was reported to be HD. >> >> All systems had been running kernel 2.2.12 with >> tulip.c v0.91, one system was updated to 2.2.15 with >> v0.92, but this did not solve the issue. >> >> I have spent some time scanning the tulip lists and >> have gained some information there, but now also >> have some more questions... >> >> Now, for my questions: >> Why would a running system renegotiate its network >> setting without user intervention? >> >> I am assuming that the current problem has to do with >> the Cisco switch issue that Donald Becker >> mentioned on April 27, 2000 on this list. If this is >> the case would another type of ethernet chip still >> experience the same problems? >> >> Donald Becker has stated that forcing speed and duplex >> is not recommended. Could forcing these cards >> to 100 FD for this issue be a safe solution? >> I have read that using HD is better. Why? >> Should the nodes be forced to 100 HD? >> >> Does anyone have any other recommendations or advice? >> Maybe a recommended switch to replace the Cisco >> switches? >> >> Regards, >> Michael >> >> __________________________________________________ >> Do You Yahoo!? >> Yahoo! Photos -- now, 100 FREE prints! >> http://photos.yahoo.com >> >> _______________________________________________ >> tulip mailing list >> tulip@scyld.com >> http://www.scyld.com/mailman/listinfo/tulip > >-- >Brian D. Haymore >University of Utah >Center for High Performance Computing >155 South 1452 East RM 405 >Salt Lake City, Ut 84112-0190 > >Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > >_______________________________________________ >tulip mailing list >tulip@scyld.com >http://www.scyld.com/mailman/listinfo/tulip From tulip-admin@blueraja.scyld.com Sat Jun 10 11:17:29 2000 Received: from mrelay.inscc.utah.edu (mrelay.inscc.utah.edu [155.101.3.60]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA03757 for ; Sat, 10 Jun 2000 11:17:27 -0400 Received: from mail.inscc.utah.edu (mail.inscc.utah.edu [155.101.3.59]) by mrelay.inscc.utah.edu (8.9.2/8.9.2) with ESMTP id JAA06616; Sat, 10 Jun 2000 09:15:20 -0600 (MDT) Received: from loki.chpc.utah.edu (loki.chpc.utah.edu [155.101.16.46]) by mail.inscc.utah.edu with ESMTP id JAA21525; Sat, 10 Jun 2000 09:15:20 -0600 (MDT) From: "Brian D. Haymore" To: David Thompson cc: Michael Immonen , tulip@scyld.com Subject: Re: [tulip] tulip based cluster on Cisco switch In-Reply-To: <200006101430.JAA28426@pongo.cs.wisc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat Jun 10 11:17:29 2000 Thanks for the tip. We have been quite attentive to our nics and their link state. But with two years of life into this cluster we have yet to see very many really show stopping problems. You might want to verify that you have the latest cisco software in your switch. -- Brian D. Haymore University of Utah Center for High Performance Computing 155 South 1452 East RM 405 Salt Lake City, Ut 84112-0190 Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 On Sat, 10 Jun 2000, David Thompson wrote: > > I'll fess up here; we're Michael's customer in this case. We are also seeing > the changed MAC address with the .92 driver (vendor code 00:40:f0 instead of > 00:c0:f0). We put the new mac address in our dhcp server but still couldn't > dhcp with the new driver. The server is sending out replies, but the client > doesn't seem to be getting them. Caveat for anyone with dhcp and tulip 0.92... > > Our sole reason for trying the .92 driver was see if we could use the > 'options=' goo to force the whole cluster to 100BaseTX/fdx. We have not been > able to get these cards to auto-negotiaite properly and/or reliably with the > Cisco switch with either the 'old' or 'new' transceivers, with either tulip > 0.91 or 0.92. Our hope was to forgoe auto-negotiation (which we normally > prefer) because it seems to be borked with the hardware we have. However, all > attemps to force speed and duplex with either tulip driver version have failed. > > Brian, you may want to check your 'netstat -i' from time to time, and/or make > a pass through your cluster with tulip-diag to see if all your NICs are truly > auto-negotiating properly with the switch(es). We have seen situations with > the where the auto-negotiation originally succeeds, but a couple days later we > find the switch running 100/full and the card 100/half. This causes bad > things to happen wrt network performance. > > -- > Dave Thompson > > Associate Researcher Department of Computer Science > University of Wisconsin-Madison http://www.cs.wisc.edu/~thomas > 1210 West Dayton Street Phone: (608)-262-1017 > Madison, WI 53706-1685 Fax: (608)-262-6626 > -- > > > > > "Brian D. Haymore" wrote: > >We have a 170 node beowulf cluster all using this same network card. We > >have found that many versions of the tulip driver produce the exact > >results you have seen. Currently we have found that version .91 to be > >the most reliable for us. Redhat 6.2 comes with a slightly newer > >version and we had issues with that. We also tried the .92 version in > >module form from Donald Becker's site and found that this driver somehow > >got a completly different mac address for the card (wierd huh!). We > >reported that bug and have not heard anything more beyond that. So at > >is is we are still using .91 without any issues we can find. We also > >are getting up to ~92 Mb/s. Hope this helps. > > > >Michael Immonen wrote: > >> > >> Hi all, > >> > >> We have been struggling with an issue that has taken > >> many weeks to nearly solve. I am looking for a bit > >> more advice to bring this to a close. > >> > >> Background: > >> We have an 100 node cluster, all with Kingston > >> KNE100TX NIC's. It is split it into two- 64 nodes and > >> 36 > >> nodes. Each set is attached to its own Cisco Catalyst > >> 4000. > >> These systems were seeing several symptoms that we > >> eventually tied together: > >> 1. Ridiculously slow data transfer speeds- with the > >> nodes and switch configured for 100Mbps, data was > >> transferring at well below 10Mbps- varied in actual > >> value. > >> 2. Discovered severe packet loss due to carrier errors > >> as reported in /proc/net/dev Again highly > >> variable- poorly performing nodes could be anywhere > >> from 0.10% to 94.00% of transmitted packets > >> had carrier errors. > >> 3. All affected nodes were discovered to be operating > >> in half duplex where the switch and good nodes > >> were in full duplex. This was discovered using > >> tulip-diag.c > >> > >> We thought we had a final solution when Kingston > >> assisted us in tracking a known hardware issue > >> related to some versions of the SEEQ MII transceiver. > >> They informed us that, under Linux, and with > >> some switches, there were several versions of the SEEQ > >> chip that had intermittent "timing issues". The > >> SEEQ (or LSI) 80223/C were known good chips, but the > >> SEEQ 80220/G and 80223/B would sometimes display this > >> behavior. The tricky part is that in some cases, they > >> were perfectly fine. Kingston did an excellent job > >> assisting us with the replacement of all 100 NIC's. > >> > >> After all cards were swapped and the cluster was again > >> up and running, everything was beautiful- 100 > >> FD all around. End of issue, or so we thought. > >> > >> Nearly a week later, on checking the systems, 16 nodes > >> between the two sets were discovered to be > >> again in half duplex. (But with MUCH lower carrier > >> errors- 0.01% to 0.09%) And just a couple days > >> more the whole cluster was reported to be HD. > >> > >> All systems had been running kernel 2.2.12 with > >> tulip.c v0.91, one system was updated to 2.2.15 with > >> v0.92, but this did not solve the issue. > >> > >> I have spent some time scanning the tulip lists and > >> have gained some information there, but now also > >> have some more questions... > >> > >> Now, for my questions: > >> Why would a running system renegotiate its network > >> setting without user intervention? > >> > >> I am assuming that the current problem has to do with > >> the Cisco switch issue that Donald Becker > >> mentioned on April 27, 2000 on this list. If this is > >> the case would another type of ethernet chip still > >> experience the same problems? > >> > >> Donald Becker has stated that forcing speed and duplex > >> is not recommended. Could forcing these cards > >> to 100 FD for this issue be a safe solution? > >> I have read that using HD is better. Why? > >> Should the nodes be forced to 100 HD? > >> > >> Does anyone have any other recommendations or advice? > >> Maybe a recommended switch to replace the Cisco > >> switches? > >> > >> Regards, > >> Michael > >> > >> __________________________________________________ > >> Do You Yahoo!? > >> Yahoo! Photos -- now, 100 FREE prints! > >> http://photos.yahoo.com > >> > >> _______________________________________________ > >> tulip mailing list > >> tulip@scyld.com > >> http://www.scyld.com/mailman/listinfo/tulip > > > >-- > >Brian D. Haymore > >University of Utah > >Center for High Performance Computing > >155 South 1452 East RM 405 > >Salt Lake City, Ut 84112-0190 > > > >Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > > >_______________________________________________ > >tulip mailing list > >tulip@scyld.com > >http://www.scyld.com/mailman/listinfo/tulip > > From tulip-admin@blueraja.scyld.com Sat Jun 10 11:44:56 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA03852 for ; Sat, 10 Jun 2000 11:44:56 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id LAA01374; Sat, 10 Jun 2000 11:42:46 -0400 From: Homer Wilson Smith To: "Brian D. Haymore" cc: David Thompson , Michael Immonen , tulip@scyld.com Subject: Re: [tulip] tulip based cluster on Cisco switch In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat Jun 10 11:44:57 2000 Also verify whether you are using 21143 or 21140 chips. The 21140 are well behaved as far as I can tell, the 21143 are hopeless. Homer ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com On Sat, 10 Jun 2000, Brian D. Haymore wrote: > Thanks for the tip. We have been quite attentive to our nics and their > link state. But with two years of life into this cluster we have yet to > see very many really show stopping problems. You might want to verify > that you have the latest cisco software in your switch. > > -- > Brian D. Haymore > University of Utah > Center for High Performance Computing > 155 South 1452 East RM 405 > Salt Lake City, Ut 84112-0190 > > Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > On Sat, 10 Jun 2000, David Thompson wrote: > > > > > I'll fess up here; we're Michael's customer in this case. We are also seeing > > the changed MAC address with the .92 driver (vendor code 00:40:f0 instead of > > 00:c0:f0). We put the new mac address in our dhcp server but still couldn't > > dhcp with the new driver. The server is sending out replies, but the client > > doesn't seem to be getting them. Caveat for anyone with dhcp and tulip 0.92... > > > > Our sole reason for trying the .92 driver was see if we could use the > > 'options=' goo to force the whole cluster to 100BaseTX/fdx. We have not been > > able to get these cards to auto-negotiaite properly and/or reliably with the > > Cisco switch with either the 'old' or 'new' transceivers, with either tulip > > 0.91 or 0.92. Our hope was to forgoe auto-negotiation (which we normally > > prefer) because it seems to be borked with the hardware we have. However, all > > attemps to force speed and duplex with either tulip driver version have failed. > > > > Brian, you may want to check your 'netstat -i' from time to time, and/or make > > a pass through your cluster with tulip-diag to see if all your NICs are truly > > auto-negotiating properly with the switch(es). We have seen situations with > > the where the auto-negotiation originally succeeds, but a couple days later we > > find the switch running 100/full and the card 100/half. This causes bad > > things to happen wrt network performance. > > > > -- > > Dave Thompson > > > > Associate Researcher Department of Computer Science > > University of Wisconsin-Madison http://www.cs.wisc.edu/~thomas > > 1210 West Dayton Street Phone: (608)-262-1017 > > Madison, WI 53706-1685 Fax: (608)-262-6626 > > -- > > > > > > > > > > "Brian D. Haymore" wrote: > > >We have a 170 node beowulf cluster all using this same network card. We > > >have found that many versions of the tulip driver produce the exact > > >results you have seen. Currently we have found that version .91 to be > > >the most reliable for us. Redhat 6.2 comes with a slightly newer > > >version and we had issues with that. We also tried the .92 version in > > >module form from Donald Becker's site and found that this driver somehow > > >got a completly different mac address for the card (wierd huh!). We > > >reported that bug and have not heard anything more beyond that. So at > > >is is we are still using .91 without any issues we can find. We also > > >are getting up to ~92 Mb/s. Hope this helps. > > > > > >Michael Immonen wrote: > > >> > > >> Hi all, > > >> > > >> We have been struggling with an issue that has taken > > >> many weeks to nearly solve. I am looking for a bit > > >> more advice to bring this to a close. > > >> > > >> Background: > > >> We have an 100 node cluster, all with Kingston > > >> KNE100TX NIC's. It is split it into two- 64 nodes and > > >> 36 > > >> nodes. Each set is attached to its own Cisco Catalyst > > >> 4000. > > >> These systems were seeing several symptoms that we > > >> eventually tied together: > > >> 1. Ridiculously slow data transfer speeds- with the > > >> nodes and switch configured for 100Mbps, data was > > >> transferring at well below 10Mbps- varied in actual > > >> value. > > >> 2. Discovered severe packet loss due to carrier errors > > >> as reported in /proc/net/dev Again highly > > >> variable- poorly performing nodes could be anywhere > > >> from 0.10% to 94.00% of transmitted packets > > >> had carrier errors. > > >> 3. All affected nodes were discovered to be operating > > >> in half duplex where the switch and good nodes > > >> were in full duplex. This was discovered using > > >> tulip-diag.c > > >> > > >> We thought we had a final solution when Kingston > > >> assisted us in tracking a known hardware issue > > >> related to some versions of the SEEQ MII transceiver. > > >> They informed us that, under Linux, and with > > >> some switches, there were several versions of the SEEQ > > >> chip that had intermittent "timing issues". The > > >> SEEQ (or LSI) 80223/C were known good chips, but the > > >> SEEQ 80220/G and 80223/B would sometimes display this > > >> behavior. The tricky part is that in some cases, they > > >> were perfectly fine. Kingston did an excellent job > > >> assisting us with the replacement of all 100 NIC's. > > >> > > >> After all cards were swapped and the cluster was again > > >> up and running, everything was beautiful- 100 > > >> FD all around. End of issue, or so we thought. > > >> > > >> Nearly a week later, on checking the systems, 16 nodes > > >> between the two sets were discovered to be > > >> again in half duplex. (But with MUCH lower carrier > > >> errors- 0.01% to 0.09%) And just a couple days > > >> more the whole cluster was reported to be HD. > > >> > > >> All systems had been running kernel 2.2.12 with > > >> tulip.c v0.91, one system was updated to 2.2.15 with > > >> v0.92, but this did not solve the issue. > > >> > > >> I have spent some time scanning the tulip lists and > > >> have gained some information there, but now also > > >> have some more questions... > > >> > > >> Now, for my questions: > > >> Why would a running system renegotiate its network > > >> setting without user intervention? > > >> > > >> I am assuming that the current problem has to do with > > >> the Cisco switch issue that Donald Becker > > >> mentioned on April 27, 2000 on this list. If this is > > >> the case would another type of ethernet chip still > > >> experience the same problems? > > >> > > >> Donald Becker has stated that forcing speed and duplex > > >> is not recommended. Could forcing these cards > > >> to 100 FD for this issue be a safe solution? > > >> I have read that using HD is better. Why? > > >> Should the nodes be forced to 100 HD? > > >> > > >> Does anyone have any other recommendations or advice? > > >> Maybe a recommended switch to replace the Cisco > > >> switches? > > >> > > >> Regards, > > >> Michael > > >> > > >> __________________________________________________ > > >> Do You Yahoo!? > > >> Yahoo! Photos -- now, 100 FREE prints! > > >> http://photos.yahoo.com > > >> > > >> _______________________________________________ > > >> tulip mailing list > > >> tulip@scyld.com > > >> http://www.scyld.com/mailman/listinfo/tulip > > > > > >-- > > >Brian D. Haymore > > >University of Utah > > >Center for High Performance Computing > > >155 South 1452 East RM 405 > > >Salt Lake City, Ut 84112-0190 > > > > > >Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > > > > >_______________________________________________ > > >tulip mailing list > > >tulip@scyld.com > > >http://www.scyld.com/mailman/listinfo/tulip > > > > > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip > From tulip-admin@blueraja.scyld.com Sun Jun 11 01:40:36 2000 Received: from mrelay.inscc.utah.edu (mrelay.inscc.utah.edu [155.101.3.60]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id BAA07826 for ; Sun, 11 Jun 2000 01:40:36 -0400 Received: from mail.inscc.utah.edu (mail.inscc.utah.edu [155.101.3.59]) by mrelay.inscc.utah.edu (8.9.2/8.9.2) with ESMTP id XAA07798; Sat, 10 Jun 2000 23:38:28 -0600 (MDT) Received: from loki.chpc.utah.edu (loki.chpc.utah.edu [155.101.16.46]) by mail.inscc.utah.edu with ESMTP id XAA24068; Sat, 10 Jun 2000 23:38:27 -0600 (MDT) From: "Brian D. Haymore" To: Homer Wilson Smith cc: David Thompson , Michael Immonen , tulip@scyld.com Subject: Re: [tulip] tulip based cluster on Cisco switch In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sun Jun 11 01:40:37 2000 Most of our nics are 21143-pd nics and we see near no issues with the .91 drivers. So I dont' think they are hopeless at all, just stuborn. -- Brian D. Haymore University of Utah Center for High Performance Computing 155 South 1452 East RM 405 Salt Lake City, Ut 84112-0190 Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 On Sat, 10 Jun 2000, Homer Wilson Smith wrote: > > Also verify whether you are using 21143 or 21140 chips. > > The 21140 are well behaved as far as I can tell, the 21143 > are hopeless. > > Homer > > ------------------------------------------------------------------------ > Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink > (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY > homer@lightlink.com Is that too much to ask? http://www.lightlink.com > > On Sat, 10 Jun 2000, Brian D. Haymore wrote: > > > Thanks for the tip. We have been quite attentive to our nics and their > > link state. But with two years of life into this cluster we have yet to > > see very many really show stopping problems. You might want to verify > > that you have the latest cisco software in your switch. > > > > -- > > Brian D. Haymore > > University of Utah > > Center for High Performance Computing > > 155 South 1452 East RM 405 > > Salt Lake City, Ut 84112-0190 > > > > Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > > > On Sat, 10 Jun 2000, David Thompson wrote: > > > > > > > > I'll fess up here; we're Michael's customer in this case. We are also seeing > > > the changed MAC address with the .92 driver (vendor code 00:40:f0 instead of > > > 00:c0:f0). We put the new mac address in our dhcp server but still couldn't > > > dhcp with the new driver. The server is sending out replies, but the client > > > doesn't seem to be getting them. Caveat for anyone with dhcp and tulip 0.92... > > > > > > Our sole reason for trying the .92 driver was see if we could use the > > > 'options=' goo to force the whole cluster to 100BaseTX/fdx. We have not been > > > able to get these cards to auto-negotiaite properly and/or reliably with the > > > Cisco switch with either the 'old' or 'new' transceivers, with either tulip > > > 0.91 or 0.92. Our hope was to forgoe auto-negotiation (which we normally > > > prefer) because it seems to be borked with the hardware we have. However, all > > > attemps to force speed and duplex with either tulip driver version have failed. > > > > > > Brian, you may want to check your 'netstat -i' from time to time, and/or make > > > a pass through your cluster with tulip-diag to see if all your NICs are truly > > > auto-negotiating properly with the switch(es). We have seen situations with > > > the where the auto-negotiation originally succeeds, but a couple days later we > > > find the switch running 100/full and the card 100/half. This causes bad > > > things to happen wrt network performance. > > > > > > -- > > > Dave Thompson > > > > > > Associate Researcher Department of Computer Science > > > University of Wisconsin-Madison http://www.cs.wisc.edu/~thomas > > > 1210 West Dayton Street Phone: (608)-262-1017 > > > Madison, WI 53706-1685 Fax: (608)-262-6626 > > > -- > > > > > > > > > > > > > > > "Brian D. Haymore" wrote: > > > >We have a 170 node beowulf cluster all using this same network card. We > > > >have found that many versions of the tulip driver produce the exact > > > >results you have seen. Currently we have found that version .91 to be > > > >the most reliable for us. Redhat 6.2 comes with a slightly newer > > > >version and we had issues with that. We also tried the .92 version in > > > >module form from Donald Becker's site and found that this driver somehow > > > >got a completly different mac address for the card (wierd huh!). We > > > >reported that bug and have not heard anything more beyond that. So at > > > >is is we are still using .91 without any issues we can find. We also > > > >are getting up to ~92 Mb/s. Hope this helps. > > > > > > > >Michael Immonen wrote: > > > >> > > > >> Hi all, > > > >> > > > >> We have been struggling with an issue that has taken > > > >> many weeks to nearly solve. I am looking for a bit > > > >> more advice to bring this to a close. > > > >> > > > >> Background: > > > >> We have an 100 node cluster, all with Kingston > > > >> KNE100TX NIC's. It is split it into two- 64 nodes and > > > >> 36 > > > >> nodes. Each set is attached to its own Cisco Catalyst > > > >> 4000. > > > >> These systems were seeing several symptoms that we > > > >> eventually tied together: > > > >> 1. Ridiculously slow data transfer speeds- with the > > > >> nodes and switch configured for 100Mbps, data was > > > >> transferring at well below 10Mbps- varied in actual > > > >> value. > > > >> 2. Discovered severe packet loss due to carrier errors > > > >> as reported in /proc/net/dev Again highly > > > >> variable- poorly performing nodes could be anywhere > > > >> from 0.10% to 94.00% of transmitted packets > > > >> had carrier errors. > > > >> 3. All affected nodes were discovered to be operating > > > >> in half duplex where the switch and good nodes > > > >> were in full duplex. This was discovered using > > > >> tulip-diag.c > > > >> > > > >> We thought we had a final solution when Kingston > > > >> assisted us in tracking a known hardware issue > > > >> related to some versions of the SEEQ MII transceiver. > > > >> They informed us that, under Linux, and with > > > >> some switches, there were several versions of the SEEQ > > > >> chip that had intermittent "timing issues". The > > > >> SEEQ (or LSI) 80223/C were known good chips, but the > > > >> SEEQ 80220/G and 80223/B would sometimes display this > > > >> behavior. The tricky part is that in some cases, they > > > >> were perfectly fine. Kingston did an excellent job > > > >> assisting us with the replacement of all 100 NIC's. > > > >> > > > >> After all cards were swapped and the cluster was again > > > >> up and running, everything was beautiful- 100 > > > >> FD all around. End of issue, or so we thought. > > > >> > > > >> Nearly a week later, on checking the systems, 16 nodes > > > >> between the two sets were discovered to be > > > >> again in half duplex. (But with MUCH lower carrier > > > >> errors- 0.01% to 0.09%) And just a couple days > > > >> more the whole cluster was reported to be HD. > > > >> > > > >> All systems had been running kernel 2.2.12 with > > > >> tulip.c v0.91, one system was updated to 2.2.15 with > > > >> v0.92, but this did not solve the issue. > > > >> > > > >> I have spent some time scanning the tulip lists and > > > >> have gained some information there, but now also > > > >> have some more questions... > > > >> > > > >> Now, for my questions: > > > >> Why would a running system renegotiate its network > > > >> setting without user intervention? > > > >> > > > >> I am assuming that the current problem has to do with > > > >> the Cisco switch issue that Donald Becker > > > >> mentioned on April 27, 2000 on this list. If this is > > > >> the case would another type of ethernet chip still > > > >> experience the same problems? > > > >> > > > >> Donald Becker has stated that forcing speed and duplex > > > >> is not recommended. Could forcing these cards > > > >> to 100 FD for this issue be a safe solution? > > > >> I have read that using HD is better. Why? > > > >> Should the nodes be forced to 100 HD? > > > >> > > > >> Does anyone have any other recommendations or advice? > > > >> Maybe a recommended switch to replace the Cisco > > > >> switches? > > > >> > > > >> Regards, > > > >> Michael > > > >> > > > >> __________________________________________________ > > > >> Do You Yahoo!? > > > >> Yahoo! Photos -- now, 100 FREE prints! > > > >> http://photos.yahoo.com > > > >> > > > >> _______________________________________________ > > > >> tulip mailing list > > > >> tulip@scyld.com > > > >> http://www.scyld.com/mailman/listinfo/tulip > > > > > > > >-- > > > >Brian D. Haymore > > > >University of Utah > > > >Center for High Performance Computing > > > >155 South 1452 East RM 405 > > > >Salt Lake City, Ut 84112-0190 > > > > > > > >Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > > > > > > >_______________________________________________ > > > >tulip mailing list > > > >tulip@scyld.com > > > >http://www.scyld.com/mailman/listinfo/tulip > > > > > > > > > > > > _______________________________________________ > > tulip mailing list > > tulip@scyld.com > > http://www.scyld.com/mailman/listinfo/tulip > > > From tulip-admin@blueraja.scyld.com Sun Jun 11 03:05:21 2000 Received: from iteso.mx (root@iteso.mx [148.201.1.4]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id DAA08010 for ; Sun, 11 Jun 2000 03:05:20 -0400 Received: from localhost (jose@localhost) by iteso.mx (8.9.3/8.9.3) with ESMTP id CAA91399 for ; Sun, 11 Jun 2000 02:03:13 -0500 (CDT) (envelope-from jose@iteso.mx) From: =?iso-8859-1?Q?Jos=E9_A=2E_Guzm=E1n?= To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by blueraja.scyld.com id DAA08011 Subject: [tulip] pci-scan no go on Alpha Date: Sun Jun 11 03:05:22 2000 Hi. Im using the latest Makefile, tulip.c/pci-scan.c and include files from the scyld ftp site to build the driver on a Digital PC164LX Alpha and Debian 2.2 and make outputs the following error: gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -c -o pci-scan.o pci-scan.c In file included from /usr/src/linux/include/asm/semaphore.h:11, from /usr/src/linux/include/linux/sched.h:17, from /usr/src/linux/include/linux/mm.h:4, from pci-scan.c:55: /usr/src/linux/include/asm/current.h:4: global register variable follows a function definition /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable make: *** [pci-scan.o] Error 1 This happens with 2.2.14 sources as well as 2.2.16, is there some fix or work- around to this? I'd be glad to test. José ========================================================================= José A. Guzmán jose@iteso.mx Servicios de Información, ITESO ========================================================================= From tulip-admin@blueraja.scyld.com Sun Jun 11 12:49:04 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA09300 for ; Sun, 11 Jun 2000 12:49:03 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id MAA24173; Sun, 11 Jun 2000 12:46:50 -0400 From: Homer Wilson Smith To: "Brian D. Haymore" cc: David Thompson , Michael Immonen , tulip@scyld.com Subject: Re: [tulip] tulip based cluster on Cisco switch In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sun Jun 11 12:49:05 2000 Ok, good to know. We are unable to get Linux 2.0.36 to run .v91 or .v92 with the Kingston 21143 chips on a Cisco 1900 10baseT port in Full Duplex. Homer ------------------------------------------------------------------------ Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY homer@lightlink.com Is that too much to ask? http://www.lightlink.com On Sat, 10 Jun 2000, Brian D. Haymore wrote: > Most of our nics are 21143-pd nics and we see near no issues with the .91 > drivers. So I dont' think they are hopeless at all, just stuborn. > > -- > Brian D. Haymore > University of Utah > Center for High Performance Computing > 155 South 1452 East RM 405 > Salt Lake City, Ut 84112-0190 > > Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > On Sat, 10 Jun 2000, Homer Wilson Smith wrote: > > > > > Also verify whether you are using 21143 or 21140 chips. > > > > The 21140 are well behaved as far as I can tell, the 21143 > > are hopeless. > > > > Homer > > > > ------------------------------------------------------------------------ > > Homer Wilson Smith Clear Air, Clear Water, Art Matrix - Lightlink > > (607) 277-0959 A Green Earth and Peace. Internet Access, Ithaca NY > > homer@lightlink.com Is that too much to ask? http://www.lightlink.com > > > > On Sat, 10 Jun 2000, Brian D. Haymore wrote: > > > > > Thanks for the tip. We have been quite attentive to our nics and their > > > link state. But with two years of life into this cluster we have yet to > > > see very many really show stopping problems. You might want to verify > > > that you have the latest cisco software in your switch. > > > > > > -- > > > Brian D. Haymore > > > University of Utah > > > Center for High Performance Computing > > > 155 South 1452 East RM 405 > > > Salt Lake City, Ut 84112-0190 > > > > > > Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > > > > > On Sat, 10 Jun 2000, David Thompson wrote: > > > > > > > > > > > I'll fess up here; we're Michael's customer in this case. We are also seeing > > > > the changed MAC address with the .92 driver (vendor code 00:40:f0 instead of > > > > 00:c0:f0). We put the new mac address in our dhcp server but still couldn't > > > > dhcp with the new driver. The server is sending out replies, but the client > > > > doesn't seem to be getting them. Caveat for anyone with dhcp and tulip 0.92... > > > > > > > > Our sole reason for trying the .92 driver was see if we could use the > > > > 'options=' goo to force the whole cluster to 100BaseTX/fdx. We have not been > > > > able to get these cards to auto-negotiaite properly and/or reliably with the > > > > Cisco switch with either the 'old' or 'new' transceivers, with either tulip > > > > 0.91 or 0.92. Our hope was to forgoe auto-negotiation (which we normally > > > > prefer) because it seems to be borked with the hardware we have. However, all > > > > attemps to force speed and duplex with either tulip driver version have failed. > > > > > > > > Brian, you may want to check your 'netstat -i' from time to time, and/or make > > > > a pass through your cluster with tulip-diag to see if all your NICs are truly > > > > auto-negotiating properly with the switch(es). We have seen situations with > > > > the where the auto-negotiation originally succeeds, but a couple days later we > > > > find the switch running 100/full and the card 100/half. This causes bad > > > > things to happen wrt network performance. > > > > > > > > -- > > > > Dave Thompson > > > > > > > > Associate Researcher Department of Computer Science > > > > University of Wisconsin-Madison http://www.cs.wisc.edu/~thomas > > > > 1210 West Dayton Street Phone: (608)-262-1017 > > > > Madison, WI 53706-1685 Fax: (608)-262-6626 > > > > -- > > > > > > > > > > > > > > > > > > > > "Brian D. Haymore" wrote: > > > > >We have a 170 node beowulf cluster all using this same network card. We > > > > >have found that many versions of the tulip driver produce the exact > > > > >results you have seen. Currently we have found that version .91 to be > > > > >the most reliable for us. Redhat 6.2 comes with a slightly newer > > > > >version and we had issues with that. We also tried the .92 version in > > > > >module form from Donald Becker's site and found that this driver somehow > > > > >got a completly different mac address for the card (wierd huh!). We > > > > >reported that bug and have not heard anything more beyond that. So at > > > > >is is we are still using .91 without any issues we can find. We also > > > > >are getting up to ~92 Mb/s. Hope this helps. > > > > > > > > > >Michael Immonen wrote: > > > > >> > > > > >> Hi all, > > > > >> > > > > >> We have been struggling with an issue that has taken > > > > >> many weeks to nearly solve. I am looking for a bit > > > > >> more advice to bring this to a close. > > > > >> > > > > >> Background: > > > > >> We have an 100 node cluster, all with Kingston > > > > >> KNE100TX NIC's. It is split it into two- 64 nodes and > > > > >> 36 > > > > >> nodes. Each set is attached to its own Cisco Catalyst > > > > >> 4000. > > > > >> These systems were seeing several symptoms that we > > > > >> eventually tied together: > > > > >> 1. Ridiculously slow data transfer speeds- with the > > > > >> nodes and switch configured for 100Mbps, data was > > > > >> transferring at well below 10Mbps- varied in actual > > > > >> value. > > > > >> 2. Discovered severe packet loss due to carrier errors > > > > >> as reported in /proc/net/dev Again highly > > > > >> variable- poorly performing nodes could be anywhere > > > > >> from 0.10% to 94.00% of transmitted packets > > > > >> had carrier errors. > > > > >> 3. All affected nodes were discovered to be operating > > > > >> in half duplex where the switch and good nodes > > > > >> were in full duplex. This was discovered using > > > > >> tulip-diag.c > > > > >> > > > > >> We thought we had a final solution when Kingston > > > > >> assisted us in tracking a known hardware issue > > > > >> related to some versions of the SEEQ MII transceiver. > > > > >> They informed us that, under Linux, and with > > > > >> some switches, there were several versions of the SEEQ > > > > >> chip that had intermittent "timing issues". The > > > > >> SEEQ (or LSI) 80223/C were known good chips, but the > > > > >> SEEQ 80220/G and 80223/B would sometimes display this > > > > >> behavior. The tricky part is that in some cases, they > > > > >> were perfectly fine. Kingston did an excellent job > > > > >> assisting us with the replacement of all 100 NIC's. > > > > >> > > > > >> After all cards were swapped and the cluster was again > > > > >> up and running, everything was beautiful- 100 > > > > >> FD all around. End of issue, or so we thought. > > > > >> > > > > >> Nearly a week later, on checking the systems, 16 nodes > > > > >> between the two sets were discovered to be > > > > >> again in half duplex. (But with MUCH lower carrier > > > > >> errors- 0.01% to 0.09%) And just a couple days > > > > >> more the whole cluster was reported to be HD. > > > > >> > > > > >> All systems had been running kernel 2.2.12 with > > > > >> tulip.c v0.91, one system was updated to 2.2.15 with > > > > >> v0.92, but this did not solve the issue. > > > > >> > > > > >> I have spent some time scanning the tulip lists and > > > > >> have gained some information there, but now also > > > > >> have some more questions... > > > > >> > > > > >> Now, for my questions: > > > > >> Why would a running system renegotiate its network > > > > >> setting without user intervention? > > > > >> > > > > >> I am assuming that the current problem has to do with > > > > >> the Cisco switch issue that Donald Becker > > > > >> mentioned on April 27, 2000 on this list. If this is > > > > >> the case would another type of ethernet chip still > > > > >> experience the same problems? > > > > >> > > > > >> Donald Becker has stated that forcing speed and duplex > > > > >> is not recommended. Could forcing these cards > > > > >> to 100 FD for this issue be a safe solution? > > > > >> I have read that using HD is better. Why? > > > > >> Should the nodes be forced to 100 HD? > > > > >> > > > > >> Does anyone have any other recommendations or advice? > > > > >> Maybe a recommended switch to replace the Cisco > > > > >> switches? > > > > >> > > > > >> Regards, > > > > >> Michael > > > > >> > > > > >> __________________________________________________ > > > > >> Do You Yahoo!? > > > > >> Yahoo! Photos -- now, 100 FREE prints! > > > > >> http://photos.yahoo.com > > > > >> > > > > >> _______________________________________________ > > > > >> tulip mailing list > > > > >> tulip@scyld.com > > > > >> http://www.scyld.com/mailman/listinfo/tulip > > > > > > > > > >-- > > > > >Brian D. Haymore > > > > >University of Utah > > > > >Center for High Performance Computing > > > > >155 South 1452 East RM 405 > > > > >Salt Lake City, Ut 84112-0190 > > > > > > > > > >Email: brian@chpc.utah.edu - Phone: (801) 585-1755 - Fax: (801) 585-5366 > > > > > > > > > >_______________________________________________ > > > > >tulip mailing list > > > > >tulip@scyld.com > > > > >http://www.scyld.com/mailman/listinfo/tulip > > > > > > > > > > > > > > > > > _______________________________________________ > > > tulip mailing list > > > tulip@scyld.com > > > http://www.scyld.com/mailman/listinfo/tulip > > > > > > From tulip-admin@blueraja.scyld.com Sun Jun 11 13:41:47 2000 Received: from mail.rdc1.il.home.com (imail@ha1.rdc1.il.home.com [24.2.1.66]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA09463 for ; Sun, 11 Jun 2000 13:41:47 -0400 Received: from c819957a ([24.17.38.164]) by mail.rdc1.il.home.com (InterMail vM.4.01.02.00 201-229-116) with SMTP id <20000611173937.TRUB17840.mail.rdc1.il.home.com@c819957a> for ; Sun, 11 Jun 2000 10:39:37 -0700 Message-ID: <000701bfd3cb$ed636840$a4261118@mntp1.il.home.com> From: "Joshua Horvath" To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Subject: [tulip] Tulip driver "no link test" mode? Date: Sun Jun 11 13:41:48 2000 I'm trying to get my cable modem working under Linux but I need to disable link beat checking to get it working. The NIC I was provided with is the SMC 8432T with the 21041 chip. When I try to bring the interface up, I get a message saying no link beat, switching media to 10Base2... Under windows, the driver has to be set to something like "10BaseT-no_link_test" to work correctly. Is it possible to do this with the tulip driver? I tried mucking around with the code (v0.92) without much success. I have a feeling the changes I made broke other functions in the driver. On a side note, my cable modem (Motorola CyberSURFR Wave) has a PC light which I assume lights when the NIC is initialized and starts talking to the cable modem (link beats?). With the tulip driver included in RH6.2, once I insmod the driver the light comes on. With v0.92, I insmod the driver and the light stays off... even though it looks like the driver loads ok (there are lines in /var/log/messages that seem to indicate everything is ok). Any clue why this would occur? Thanks, -Josh From tulip-admin@blueraja.scyld.com Sun Jun 11 16:00:16 2000 Received: from ms.cc.sunysb.edu (ms.cc.sunysb.edu [129.49.2.175]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id QAA10660 for ; Sun, 11 Jun 2000 16:00:16 -0400 Received: from localhost (cswann@localhost) by ms.cc.sunysb.edu (8.9.3/8.9.3) with ESMTP id PAA23096 for ; Sun, 11 Jun 2000 15:58:03 -0400 (EDT) From: Chris Swann To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] tulip & the 2.2.16 kernel Date: Sun Jun 11 16:00:17 2000 Hi. I've got a SMC EtherPower (SMC9332BDT) card that I've been using on a RedHat 6.2 based system running 2.2.14. Because of the security problems with that kernel I upgraded to 2.2.16, and my card is no longer working (I've tried both the 'tulip' and 'old_tulip' modules with no luck). I'm not sure what info will be most helpful, but I have run tulip-diag under both 2.2.14 and 2.2.16 and have attached the results below. Please let me know if there is anything else that would be helpful. Here are the results of tulip-diag -f -a -e -m under 2.2.14 (for which everything works): tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DS21140 Tulip adapter at 0xfc80. Digital DS21140 Tulip chip registers at 0xfc80: ffa08000 ffffffff ffffffff 00259810 00259a10 fc660000 320e2002 ffffebef e0000000 fffd83ff ffffffff fffe0000 ffffff60 ffffffff 1c09fdc0 fffffec8 Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 128. EEPROM size is 6. PCI Subsystem IDs, vendor 10b8, device 2001. CardBus Information Structure at offset 00000000. Ethernet MAC Station Address 00:E0:29:00:C5:DC. EEPROM transceiver/media description for the Digital DS21140 Tulip chip. Leaf node at offset 30, default media type 0800 (Autosense). CSR12 direction setting bits 0x1f. 1 transceiver description blocks: Media MII, block type 1, length 15. MII interface PHY 0 (media type 11). 21140 MII Reset sequence is 2 words: 01 00. 21140 MII initialization sequence is 1 words: 00. Media capabilities are 7800, advertising 01e1. Full-duplex map 5000, Threshold map 1800. MII PHY found at address 3, status 0x786d. MII PHY #3 transceiver registers: 3100 786d 2000 5c01 01e1 0021 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 8060 8020 0c63 0000 3000 a3b9 0080 8005 001d. Now here are the results under the stock 2.2.16 kernel: tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DS21140 Tulip adapter at 0xfc80. Digital DS21140 Tulip chip registers at 0xfc80: ffffffff 00000000 00000000 00245810 00245a10 0001ebef ffffffff 00000000 002598c0 00050000 166f1810 002598e0 7fffffff 00000000 7fffccff fcc00600 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. PCI bus error!: Parity Error. The transmit unit is set to store-and-forward. Interrupt sources are pending! CSR5 is 0001ebef. Tx done indication. Tx complete indication. Tx out of buffers indication. Transmit Jabber indication. Tx FIFO Underflow indication. Rx Done indication. Receiver out of buffers indication. Receiver stopped indication. Receiver jabber indication. Timer expired indication. PCI bus error indication. Early Rx indication. EEPROM size is 6. * An old-style EEPROM layout was found. * The old-style layout does not contain transceiver control information. * This board may not work, or may work only with a subset of transceiver * options or data rates. No MII transceivers found! Can anyone shed light on the errors and what I can do to get the card working again? I'm not subscribed to the list so I'd appreciate a cc. Thanks! -chris From tulip-admin@blueraja.scyld.com Tue Jun 13 06:19:54 2000 Received: from xavier.uol.es ([193.127.101.203]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id GAA22552; Tue, 13 Jun 2000 06:19:52 -0400 Received: from twister (193.145.44.55) by xavier.uol.es (NPlex 4.5.047) id 3937D39B00008203; Tue, 13 Jun 2000 12:17:34 +0200 Message-ID: <008601bfd520$969db190$372c91c1@twister> From: "Daniel Soto Alvarez" To: , , MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [tulip] True on TRANSMIT ERROR TIMEOUT Date: Tue Jun 13 06:20:03 2000 Hi for all! I have a little network with one Linux server (Pentium II 350MHz 256MB RAM 2x8GB IDE) and four Windows98 workstations (different CPU / RAM / HD / NIC / VGA). From last 2 years I have upgrade the Linux box with different distributions & kernels (RH 5.x/6.x, Mandrake 5.x/6.x, kernels 2.0.x/2.2.x). I use Samba (from 2.0.0 to 2.0.7) on Linux for emulate a NT server (very good). The problem are the continuos TRANSMIT ERROR (timeouts) in the network. To test the network I make 'ping -t server' in any Windows client, and when 'transmit timeout' occurs I need to manually restart the HUB. With this the network restart, and we can continue out job. This problem occurs randomly: days no, days little, days heavy... I have tested with TWO different HUBS (one 100MB x 8 ports / actually 10/100 x 8 ports); and TWO different NICs on Linux box: 3Com 905B PCI and Intel EEPRO 100+ PCI. I installed more than 20 drivers for two NICs (originals from kernel source, modified from official "Linux Network Drivers' at SCYLD (old on NASA server), modified from different people at mailing list on TUX, betas, and official drivers from 3Com and Intel), with different options (Multicast limit, max_interrupt, debug), and different compile variations (gcc/pgcc, -O/O2/O6). WITH ALL I have problems, but... I have read most messages from last 8 moth on mailing list on TUX, for 3Com 59x/90x NIC, EEPRO100 NIC and Digital 21*4* NIC. On ALL lists there are people with TIMEOUTS PROBLEMS. You think that the problem is on hardware? I think NO !!!!! (Please test I said, the are messages for all different hardware: http://www.tux.org/hypermail/linux-vortex/ ; http://www.tux.org/hypermail/linux-tulip/ ; http://www.tux.org/hypermail/linux-eepro100/ ) If I restart eth0 with ifconfig, the network restart; if I power off-on the Hub, the network restart; if I unplug-plug any network wire of the network, the network... obviously... restart. FROM ALL THIS... PLEASE!, make a modified driver, that when RESTART de NIC, restart ALL components (chip, transceiver, queues) and, THIS IS THE MOST IMPORTANT, "RESTART THE ETHERNET INTERFACE WITH THE KERNEL". I think the problem is on the queues with Ethernet interface (at O.S. level): at moment you don't flush queues after a network error, or no restart send-receive status after restart NIC. Is this possible? What you think? Please, send any comment, or Transmit-Timeout problem continues... 'at eternum'! Thanks for all! D.S. From tulip-admin@blueraja.scyld.com Tue Jun 13 07:33:26 2000 Received: from ertpg14e1.nortelnetworks.com (ertpg14e1.nortelnetworks.com [47.234.0.35]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id HAA23165; Tue, 13 Jun 2000 07:33:26 -0400 Received: from zsngd101.asiapac.nortel.com (actually znsgd101) by ertpg14e1.nortelnetworks.com; Tue, 13 Jun 2000 07:28:35 -0400 Received: from zctwb003.asiapac.nortel.com ([47.152.32.111]) by zsngd101.asiapac.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MS0LAWRA; Tue, 13 Jun 2000 19:28:31 +0800 Received: from pwold011.asiapac.nortel.com ([47.181.193.45]) by zctwb003.asiapac.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MNGMW6F3; Tue, 13 Jun 2000 21:28:33 +1000 Received: from uow.edu.au (IDENT:akpm@[47.181.194.48]) by pwold011.asiapac.nortel.com (8.9.3/8.9.3) with ESMTP id VAA30599; Tue, 13 Jun 2000 21:28:12 +1000 Sender: akpm@nortel.com Message-ID: <39461BB3.299DD807@uow.edu.au> X-Sybari-Space: 00000000 00000000 00000000 From: Andrew Morton X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i586) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Soto Alvarez CC: eepro100 , vortex , tulip References: <008601bfd520$969db190$372c91c1@twister> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Re: [eepro100] True on TRANSMIT ERROR TIMEOUT Date: Tue Jun 13 07:33:27 2000 Daniel Soto Alvarez wrote: > > PLEASE!, make a modified driver, that when RESTART de NIC, restart ALL > components (chip, transceiver, queues) and, THIS IS THE MOST IMPORTANT, > "RESTART THE ETHERNET INTERFACE WITH THE KERNEL". This is sensible advice. Sure, it shouldn't be necessary. The drivers/NICs shouldn't be doing this in the first place. But shit happens. And there are many, many times when a wedged driver can be resurrected by a down/up or a rmmod/insmod. This means that the driver _could_ have automtically recovered in tx_timeout, but it simply did not do so. Can anyone suggest a reason why we _shouldn't_ simply reset the NIC to the utmost possible extent in tx_timeout? Restart media selection, reinitialise ring buffers, etc, etc? From tulip-admin@blueraja.scyld.com Tue Jun 13 08:20:16 2000 Received: from lincoln.midcoast.com (IDENT:root@lincoln.midcoast.com [206.26.227.194]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA23493; Tue, 13 Jun 2000 08:20:16 -0400 Received: from merritt_me.lincoln.midcoast.com (dm.midcoast.com [206.26.227.205]) by lincoln.midcoast.com (8.9.3/8.9.3) with ESMTP id IAA05386; Tue, 13 Jun 2000 08:17:42 -0400 Message-Id: <4.3.1.2.20000613080418.04699330@lincoln.midcoast.com> X-Sender: del@lincoln.midcoast.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 To: Andrew Morton , Daniel Soto Alvarez From: "G. Del Merritt" Cc: eepro100 , vortex , tulip In-Reply-To: <39461BB3.299DD807@uow.edu.au> References: <008601bfd520$969db190$372c91c1@twister> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [tulip] Re: [vortex] Re: [eepro100] True on TRANSMIT ERROR TIMEOUT Date: Tue Jun 13 08:20:17 2000 At 09:32 PM 6/13/00 +1000, Andrew Morton wrote: >Can anyone suggest a reason why we _shouldn't_ simply reset the NIC to >the utmost possible extent in tx_timeout? Restart media selection, >reinitialise ring buffers, etc, etc? I am lame and have a 10/100baseT dumb hub at home. Some of my systems have 100baseT-capable NICs, some old NE2000's that just do 10baseT. After a (re)boot, I (currently) manually set my vortex: # mii-diag -A 10baseT -F 10baseT If the driver automatically re-thought media selection it would be "broken" for me if it found my hub and said, "ah, you can do 100baseT"; while the hub is willing, several of the hosts also on the hub can only do 10baseT. When the hosts on this hub are at different speeds they cannot see each other. The above can also be construed either as a request for the proper way to load/configure the driver so that it will "stick" at 10baseT, or as a solicitation for someone to send me their "spare" 10/100 _bridge_. :-) -- -Del <*> PGP key: http://lincoln.midcoast.com/~del/pgp.html Yesterday it worked / Today it is not working / Windows is like that From tulip-admin@blueraja.scyld.com Tue Jun 13 11:20:09 2000 Received: from quark.nca.asu.edu (qmailr@quark.nca.asu.edu [129.219.88.130]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id LAA25002 for ; Tue, 13 Jun 2000 11:20:08 -0400 Received: (qmail 1743 invoked by uid 0); 13 Jun 2000 15:17:49 -0000 Received: from kirk.nca.asu.edu (HELO nca.asu.edu) (129.219.88.141) by quark.nca.asu.edu with SMTP; 13 Jun 2000 15:17:49 -0000 Message-ID: <394651A8.8FA8EE3@nca.asu.edu> From: "C. R. Oldham" Organization: NCA Commission on Schools X-Mailer: Mozilla 4.72 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Transmit Timeout Date: Tue Jun 13 11:20:09 2000 Greetings, Two issues below: 1) I have a NetGear ethernet adapter that the Tulip driver reports as Digital DS21140 Tulip rev 34 at 0xd400, 00:40:05:A2:C4:32, IRQ 9. Jun 12 10:52:03 rack kernel: eth1: EEPROM default media type Autosense. Jun 12 10:52:03 rack kernel: eth1: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block. Jun 12 10:52:03 rack kernel: eth1: MII transceiver #0 config 1000 status 782d advertising 01e1. A few days ago I noticed that sometimes the link light for this adapter on my LinkSys 100 Mb/s (only--it's not a 10/100) hub would go out. ifconfig down/up would not fix the problem, neither would power cycling the hub. At the time I did not have the driver compiled as a module, so I had to reboot the machine to get it back up. Right now I can't try the rmmod/insmod thing because I'm remote, and I'll lose connectivity to the machine if I do that. Unless someone can tell me how to remove the module for just one adapter. Now that I have the driver as a module, I upped the debug level and I'm getting lots of Jun 13 08:07:52 rack kernel: eth1: Transmit error, Tx status 7fffbc00. Jun 13 08:07:52 rack kernel: eth1: Transmit error, Tx status 7fffbc00. Is the is a problem with the card, or the hub? What exactly does that mean above? 2) I have a cablemodem connected to another adapter (A Kingston) that the Tulip driver reports as Jun 12 10:52:03 rack kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov Jun 12 10:52:03 rack kernel: eth0: Digital DC21041 Tulip rev 33 at 0xd800, 00:C0:F0:23:80:1D, IRQ 10. Jun 12 10:52:03 rack kernel: eth0: 21041 Media table, default media 0800 (Autosense). Jun 12 10:52:03 rack kernel: eth0: 21041 media #0, 10baseT. Jun 12 10:52:03 rack kernel: eth0: 21041 media #4, 10baseT-FD. When I upgraded to 2.2.15 I noticed that if my cablemodem is power-cycled or loses blocksync long enough to initiate a self-test, the adapter drops offline. ifconfig down/up doesn't fix it. Again, I haven't tried the insmod/rmmod thing but the earlier drivers didn't behave like this. Is there a switch to the driver I could use to prevent this behavior? Are these really the same problem? -- | Charles R. (C. R.) Oldham | NCA Commission on Schools | | cro@nca.asu.edu | Arizona St. Univ., PO Box 873011,| | V:480/965-8700 F:480/965-9423 | Tempe, AZ 85287-3011 _ | | "I like it!"--Citizen G'Kar | #include X_>| From tulip-admin@blueraja.scyld.com Tue Jun 13 11:49:54 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA25208; Tue, 13 Jun 2000 11:49:53 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id LAA32182; Tue, 13 Jun 2000 11:47:25 -0400 From: Homer Wilson Smith To: Andrew Morton cc: Daniel Soto Alvarez , eepro100 , vortex , tulip Subject: Re: [tulip] Re: [eepro100] True on TRANSMIT ERROR TIMEOUT In-Reply-To: <39461BB3.299DD807@uow.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 13 11:49:55 2000 > And there are many, many times when a wedged driver can be resurrected > by a down/up or a rmmod/insmod. This means that the driver _could_ have > automtically recovered in tx_timeout, but it simply did not do so. What is a wedged driver? I have 4 linux boxes running 2.0.36 and 21140 Kingstons running tulip.c v91g. Running fine for *YEARS*. *ONE* of these boxes has taken to locking up the etherport every night during a mirror copy of /dev/hda1 to /dev/hdb1, nothing to do with network traffic. ifconfig down and upping the eth0 clears it out. While locked, the eth0 responds to pings but won't talk. Is there some diagnostic I can run to find out what it is complainging about? It used to happen rarely, then once a week, and now once a night during the same mirror run. I replaced the card, but its still doing it. Is this a hardware motherboard problem? Driver? Stupid user, me? Haven't swapped the motherboard yet, but going to next. Homer From tulip-admin@blueraja.scyld.com Tue Jun 13 15:54:34 2000 Received: from mail2.idrive.com (IDENT:root@mail.idrive.com [216.32.226.83]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA27181; Tue, 13 Jun 2000 15:54:33 -0400 Received: from mark (w092.z216112072.sjc-ca.dsl.cnc.net [216.112.72.92]) by mail2.idrive.com (8.9.3/8.9.3) with SMTP id MAA12680; Tue, 13 Jun 2000 12:49:58 -0700 (envelope-from mark@idrive.com) From: "Mark Cox" To: "Andrew Morton" , "Daniel Soto Alvarez" Cc: "eepro100" , "vortex" , "tulip" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <39461BB3.299DD807@uow.edu.au> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [tulip] RE: [eepro100] True on TRANSMIT ERROR TIMEOUT Date: Tue Jun 13 15:54:34 2000 >And there are many, many times when a wedged driver can be resurrected >by a down/up or a rmmod/insmod. This means that the driver _could_ have >automtically recovered in tx_timeout, but it simply did not do so. >Can anyone suggest a reason why we _shouldn't_ simply reset the NIC to >the utmost possible extent in tx_timeout? Restart media selection, >reinitialise ring buffers, etc, etc? I currently shell script hang-checks across all of my webservers in the eventuality that their eepro100 drivers enter an unrecoverable transmit timeout. It must completely reload the module when a card hangs. The script catches almost half of the webservers each day --when the machines are never doing more than 15 megabit each. I have tried tulip drivers on Netgear adapters with an even less desireable result. I have tried the newest drivers. I have disabled SMP where applicable. I even tried VALinux machines hoping that we could get a tried and true combination of drivers and hardware. It turns out VALinux is aware that they have been shipping machines with these SAME DAMN PROBLEMS all along. This is infuriating. Is it Intel's fault? Is it Becker's fault? I really do not care. I just want the drivers to recover from whatever PCI bus or other issue they have. Is there not a (beta or otherwise) successfully recovering driver out there? Has anyone found a better fix than a 'duct tape' hang check that reloads the module? From tulip-admin@blueraja.scyld.com Tue Jun 13 16:35:18 2000 Received: from questra.com (hank.questra.com [208.28.12.22]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id QAA27504 for ; Tue, 13 Jun 2000 16:35:18 -0400 Received: (qmail 17106 invoked from network); 13 Jun 2000 20:30:33 -0000 Received: from hades.roc.questra.com (HELO questra.com) (208.28.12.95) by hank.questra.com with SMTP; 13 Jun 2000 20:30:33 -0000 Received: (qmail 26886 invoked from network); 13 Jun 2000 20:32:57 -0000 Received: from diethylamide.roc.questra.com (10.20.8.80) by hades.roc.questra.com with SMTP; 13 Jun 2000 20:32:57 -0000 Received: (from mcdermot@localhost) by diethylamide.roc.questra.com (8.9.3/8.9.3) id QAA10668; Tue, 13 Jun 2000 16:32:57 -0400 From: Scott McDermott To: Mark Cox Cc: Andrew Morton , Daniel Soto Alvarez , eepro100 , vortex , tulip Message-ID: <20000613163256.Y15823@diethylamide.roc.questra.com> References: <39461BB3.299DD807@uow.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from mark@idrive.com on Tue, Jun 13, 2000 at 12:52:38PM -0700 Subject: [tulip] Re: [vortex] RE: [eepro100] True on TRANSMIT ERROR TIMEOUT Date: Tue Jun 13 16:35:20 2000 Mark Cox on Tue 13/06 12:52 -0700: > machines with these SAME DAMN PROBLEMS all along. This is infuriating. > Is it Intel's fault? Is it Becker's fault? I really do not care. It is nobody's `fault.' You are lucky someone writes a driver for you. Why don't you try to write one yourself and then people can tell you it's your fault their servers aren't working. How much money did you pay for your driver, BTW? Maybe you should use Windows, I hear their eepro drivers work fine. > I just want the drivers to recover from whatever PCI bus or other > issue they have. Is there not a (beta or otherwise) successfully > recovering driver out there? Has anyone found a better fix than a > 'duct tape' hang check that reloads the module? We use 3C905Bs under heavy load without any problems whatever, and near-infinite uptimes. Not once have I had to re-insert a NIC driver module. From tulip-admin@blueraja.scyld.com Tue Jun 13 19:57:17 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA28413; Tue, 13 Jun 2000 19:57:03 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 558E186A2; Wed, 14 Jun 2000 09:54:12 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Wed, 14 Jun 2000 09:54:21 +1000 From: Jason Thomas To: Scott McDermott Cc: Mark Cox , Andrew Morton , Daniel Soto Alvarez , eepro100 , vortex , tulip Subject: Re: [tulip] Re: [vortex] RE: [eepro100] True on TRANSMIT ERROR TIMEOUT Message-ID: <20000614095421.C14732@topic.com.au> Reply-To: jason@topic.com.au References: <39461BB3.299DD807@uow.edu.au> <20000613163256.Y15823@diethylamide.roc.questra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ALfTUftag+2gvp1h" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000613163256.Y15823@diethylamide.roc.questra.com>; from mcdermot@questra.com on Tue, Jun 13, 2000 at 04:32:56PM -0400 Date: Tue Jun 13 19:57:22 2000 --ALfTUftag+2gvp1h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline There are plenty of people on this list that use 1000's of tulip base cards with no problems. I myself have aleast 50 here all working great. And again for something that cost us nothing but a little hard work we are really greatfull, Thanks Donald and Jeff and all who helped to do this. "Nut behind the wheel syndrome" Scott McDermott [mcdermot@questra.com] wrote: > Mark Cox on Tue 13/06 12:52 -0700: > > machines with these SAME DAMN PROBLEMS all along. This is infuriating. > > Is it Intel's fault? Is it Becker's fault? I really do not care. > > It is nobody's `fault.' You are lucky someone writes a driver for you. > Why don't you try to write one yourself and then people can tell you > it's your fault their servers aren't working. How much money did you > pay for your driver, BTW? Maybe you should use Windows, I hear their > eepro drivers work fine. > > > I just want the drivers to recover from whatever PCI bus or other > > issue they have. Is there not a (beta or otherwise) successfully > > recovering driver out there? Has anyone found a better fix than a > > 'duct tape' hang check that reloads the module? > > We use 3C905Bs under heavy load without any problems whatever, and > near-infinite uptimes. Not once have I had to re-insert a NIC driver > module. > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas Phone: +61 2 6257 7111 System Administrator - UID 0 Fax: +61 2 6257 7311 tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --ALfTUftag+2gvp1h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: QqoBr8hp30+XjUY0NbmRwGjOPxj90daJ Comment: Ha Ha iQA+AwUBOUbJre3GMESSUoi+EQLi6QCYkWkFHRjysNitM/5cPqJteDUO7gCg0yab 4TtLx78QneLjxLxC2buKBTE= =Laak -----END PGP SIGNATURE----- --ALfTUftag+2gvp1h-- From tulip-admin@blueraja.scyld.com Tue Jun 13 21:37:44 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA28834; Tue, 13 Jun 2000 21:37:44 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id VAA04606; Tue, 13 Jun 2000 21:35:05 -0400 From: Homer Wilson Smith To: Jason Thomas cc: Scott McDermott , Mark Cox , Andrew Morton , Daniel Soto Alvarez , eepro100 , vortex , tulip Subject: Re: [tulip] Re: [vortex] RE: [eepro100] True on TRANSMIT ERROR TIMEOUT In-Reply-To: <20000614095421.C14732@topic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 13 21:37:45 2000 > There are plenty of people on this list that use 1000's of tulip base cards > with no problems. May I ask explicitly what tulip based card you are using, and are you using 10baseT FD to Cisco 1900's? I am willing to try any tulip based card, its the Kingston 21143's that are causing trouble for us. Homer From tulip-admin@blueraja.scyld.com Tue Jun 13 21:48:06 2000 Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA29047 for ; Tue, 13 Jun 2000 21:48:06 -0400 Received: from earthlink.net (sdn-ar-004florlaP323.dialsprint.net [168.191.91.229]) by snipe.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id SAA01624 for ; Tue, 13 Jun 2000 18:45:36 -0700 (PDT) Sender: root@snipe.prod.itd.earthlink.net Message-ID: <3949873E.57B452D@earthlink.net> From: phoneranger X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13-13abitbd i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] LinkSys LNE100TX (again) Date: Tue Jun 13 21:48:07 2000 I have my Linux box ( I compiled both tulip and pci-scan for SMP since I'm running SMP) and a Win95 box running with the LinkSys cards on a LinkSys 10/100 hub. Both appear to be sending packets, but neither machine can communicate with the other. When I ping from Linux box to the Win95 box, I see the indicators for both ports on the hub flashing, so I know something is going out. Same result if I ping from the Win95 box to the Linux box. From visual activity on the hub, they appear to be trying to communicate. So far I have installed PCI-SCAN and the latest TULIP driver, which is what's enabled me to get this far. Could this be an issue that they are not auto-negotiating in a compatible manner, and if so, how would I fix it? Here's output of tulip-diag: tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Lite-On PNIC-II adapter at 0xd400. Port selection is 10mpbs-serial, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 72. The NWay status register is 40a1d0cc. The current PNIC-II MAC address is 00:a0:cc:e1:8b:c6 (a000a000 e1ccc68b). The current PNIC-II WOL address is 00:a0:cc:e1:8b:c6. Internal autonegotiation state is 'Negotiation complete'. Use '-a' or '-aa' to show device registers, '-e' to show EEPROM contents, -ee for parsed contents, or '-m' or '-mm' to show MII management registers. From tulip-admin@blueraja.scyld.com Tue Jun 13 22:09:26 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id WAA29220; Tue, 13 Jun 2000 22:09:22 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id C2EC38699; Wed, 14 Jun 2000 12:06:57 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Wed, 14 Jun 2000 12:07:07 +1000 From: Jason Thomas To: Homer Wilson Smith Cc: Scott McDermott , Mark Cox , Andrew Morton , Daniel Soto Alvarez , eepro100 , vortex , tulip Subject: Re: [tulip] Re: [vortex] RE: [eepro100] True on TRANSMIT ERROR TIMEOUT Message-ID: <20000614120706.E14732@topic.com.au> Reply-To: jason@topic.com.au References: <20000614095421.C14732@topic.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OZkY3AIuv2LYvjdk" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from homer@lightlink.com on Tue, Jun 13, 2000 at 09:35:04PM -0400 Date: Tue Jun 13 22:09:31 2000 --OZkY3AIuv2LYvjdk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Our cards are D-link DFE500TX, our switches are all d-link as well. the only cisco gear we have is the router which as far as I am aware only does half duplex, and autonegotiates this fine. everything else is 100baseT FD. Homer Wilson Smith [homer@lightlink.com] wrote: > > There are plenty of people on this list that use 1000's of tulip base cards > > with no problems. > > May I ask explicitly what tulip based card you are using, > and are you using 10baseT FD to Cisco 1900's? > > I am willing to try any tulip based card, its the > Kingston 21143's that are causing trouble for us. > > Homer > -- Jason Thomas Phone: +61 2 6257 7111 System Administrator - UID 0 Fax: +61 2 6257 7311 tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --OZkY3AIuv2LYvjdk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: IIXHQOLJqi9qFymFA8dN8hF6qb2dYBW5 Comment: Ha Ha iQA+AwUBOUboyu3GMESSUoi+EQLoNACYwI9ojy4kF7qNCsU2HGZov7ZIzwCeIXY1 y4XrWv9pwLKAWtgmpLY31X0= =Xb5N -----END PGP SIGNATURE----- --OZkY3AIuv2LYvjdk-- From tulip-admin@blueraja.scyld.com Wed Jun 14 00:10:26 2000 Received: from golem.hcit (p52-max64.syd.ihug.com.au [203.109.165.116]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA30230 for ; Wed, 14 Jun 2000 00:10:21 -0400 Received: from hinterlands.com.au (griffon.hcit [192.168.1.35]) by golem.hcit (8.9.3/8.8.7) with ESMTP id NAA01353; Wed, 14 Jun 2000 13:09:12 +1000 Sender: root@golem.hcit Message-ID: <394705D4.661CA359@hinterlands.com.au> From: Chris Blown Organization: Hinterlands IT X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-7mdk i586) X-Accept-Language: en MIME-Version: 1.0 To: phoneranger CC: "tulip@scyld.com" Subject: Re: [tulip] LinkSys LNE100TX (again) References: <3949873E.57B452D@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 14 00:10:27 2000 phoneranger wrote: > I have my Linux box ( I compiled both tulip and pci-scan for SMP since > I'm running SMP) and a Win95 box running with the LinkSys cards on a > LinkSys 10/100 hub. Both appear to be sending packets, but neither > machine can communicate with the other. When I ping from Linux box to > the Win95 box, I see the indicators for both ports on the hub flashing, > so I know something is going out. Same result if I ping from the Win95 > box to the Linux box. From visual activity on the hub, they appear to > be trying to communicate. So far I have installed PCI-SCAN and the > latest TULIP driver, which is what's enabled me to get this far. Could > this be an issue that they are not auto-negotiating in a compatible > manner, and if so, how would I fix it? > This doesn't sound like a tulip problem. What are the IP's and subnet masks you are using for these machines ? From tulip-admin@blueraja.scyld.com Wed Jun 14 08:28:45 2000 Received: from pegasus.cc.ucf.edu (postfix@Pegasus.cc.ucf.edu [132.170.240.30]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA32242 for ; Wed, 14 Jun 2000 08:28:44 -0400 Received: from pegasus.cc.ucf.edu (shaolin.telecom.ucf.edu [132.170.53.107]) Ident [No Ident Service] by pegasus.cc.ucf.edu (Postfix) with ESMTP id D65F73481 for ; Wed, 14 Jun 2000 08:26:09 -0400 (EDT) Message-ID: <394789D1.29E609EF@pegasus.cc.ucf.edu> From: brian dunn Reply-To: phoneranger3@earthlink.net X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Subject: Re: [tulip] LinkSys LNE100TX (again) References: <3949873E.57B452D@earthlink.net> <394705D4.661CA359@hinterlands.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 14 08:28:45 2000 Chris Blown wrote: > phoneranger wrote: > > > I have my Linux box ( I compiled both tulip and pci-scan for SMP since > > I'm running SMP) and a Win95 box running with the LinkSys cards on a > > LinkSys 10/100 hub. Both appear to be sending packets, but neither > > machine can communicate with the other. When I ping from Linux box to > > the Win95 box, I see the indicators for both ports on the hub flashing, > > so I know something is going out. Same result if I ping from the Win95 > > box to the Linux box. From visual activity on the hub, they appear to > > be trying to communicate. So far I have installed PCI-SCAN and the > > latest TULIP driver, which is what's enabled me to get this far. Could > > this be an issue that they are not auto-negotiating in a compatible > > manner, and if so, how would I fix it? > > > > This doesn't sound like a tulip problem. > What are the IP's and subnet masks you are using for these machines ? Linux box: 192.168.1.1 subnet 255.255.255.0 Win95: 192.168.1.11 subnet 255.255.255.0 It hit me when I read that; I need to change the subnet to 255.0.0.0 Think that will fix it? From tulip-admin@blueraja.scyld.com Wed Jun 14 10:35:22 2000 Received: from iwr1.iwr.uni-heidelberg.de (iwr1.iwr.uni-heidelberg.de [129.206.104.40]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA00359; Wed, 14 Jun 2000 10:35:21 -0400 Received: from kenzo.iwr.uni-heidelberg.de (IDENT:bogdan@kenzo.iwr.uni-heidelberg.de [129.206.120.29]) by iwr1.iwr.uni-heidelberg.de (8.9.3/8.9.3) with ESMTP id QAA04490; Wed, 14 Jun 2000 16:32:56 +0200 (MET DST) Received: from localhost (bogdan@localhost) by kenzo.iwr.uni-heidelberg.de (8.8.7/8.8.7) with ESMTP id QAA02450; Wed, 14 Jun 2000 16:32:56 +0200 From: Bogdan Costescu To: vortex cc: eepro100 , tulip In-Reply-To: <39461BB3.299DD807@uow.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Re: True on TRANSMIT ERROR TIMEOUT Date: Wed Jun 14 10:35:31 2000 On Tue, 13 Jun 2000, Andrew Morton wrote: > And there are many, many times when a wedged driver can be resurrected > by a down/up or a rmmod/insmod. This means that the driver _could_ have > automtically recovered in tx_timeout, but it simply did not do so. I beg to disagree. The above mentioned operations are doing much more than handling TX timeouts: register/unregister IRQ, get/release memory, set up (from scratch) the Tx and Rx buffers, media selection... The tx_timeout routine should only recover from a Tx timeout! What you propose is something like calling xxx_open() from tx_timeout... if I understand it right. > Can anyone suggest a reason why we _shouldn't_ simply reset the NIC to > the utmost possible extent in tx_timeout? Restart media selection, > reinitialise ring buffers, etc, etc? Simply because you need to know the exact state of the card in order to save the relevant parts of it, reset and then load the card with the previous values (of course, you don't need to re-load the parts which created the problem). Think of the 3c59x driver: you might want to save the Tx/Rx threshold related values, poll interval values and so on. This is only efficient if you keep most of them to the default (as power-on) values. For media selection, xxx_timer should take care of this, there should be no need for tx_timeout to handle media changes. When the transmission is stopped because of a media change, the xxx_timer routine should take care of the media state, then tx_timeout routine should reset the transmitter and everything should be working again. Also adding media related logic to tx_timeout raises the problem of protecting the access to the media related registers WRT xxx_timer... I don't think that flushing the queue (as somebody else from this thread suggested) is a good ideea as you loose a lot of packets (usually 16). And usually the buffers themselves have no relation with the transmission/reception logic - you might need to restart the transmitter and/or the DMA engine and maybe write again the head buffer to it - that's all. Now, coming back to the initial message about "correlated" reports of Tx timeouts using some boards/drivers, I don't think this is true. Most of the problems are in fact related to media selection (when autonegotiation fails and the boards cannot transmit properly) and real timeouts (e.g. caused by collisions) that are board specific. In this case, there is no general rule that has to be applied - the hardware has to be driven "The Right Way" (which might not be even documented). Sincerely, Bogdan Costescu IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868 E-mail: Bogdan.Costescu@IWR.Uni-Heidelberg.De From tulip-admin@blueraja.scyld.com Wed Jun 14 13:20:19 2000 Received: from mail.gs.bergen.hl.no (IDENT:qmailr@vev1.gs.bergen.hl.no [193.214.40.10]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id NAA01691 for ; Wed, 14 Jun 2000 13:20:18 -0400 Received: (qmail 20278 invoked from network); 14 Jun 2000 17:17:52 -0000 Received: from ulrikken.gs.bergen.hl.no (HELO gs.bergen.hl.no) (@193.214.40.2) by vev1.gs.bergen.hl.no with SMTP; 14 Jun 2000 17:17:52 -0000 Sender: vidar@blueraja.scyld.com Message-ID: <3947BE40.373D28E4@gs.bergen.hl.no> From: Vidar =?iso-8859-1?Q?Haugsv=E6r?= X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Soto Alvarez CC: eepro100@scyld.com, vortex@scyld.com, tulip@scyld.com References: <008601bfd520$969db190$372c91c1@twister> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [tulip] Re: [vortex] True on TRANSMIT ERROR TIMEOUT Date: Wed Jun 14 13:20:21 2000 Daniel Soto Alvarez wrote: > > The problem are the continuos TRANSMIT ERROR (timeouts) in the network. To > test the network I make 'ping -t server' in any Windows client, and when > 'transmit timeout' occurs I need to manually restart the HUB. With this the > network restart, and we can continue out job. This problem occurs randomly: > days no, days little, days heavy... > > I have tested with TWO different HUBS (one 100MB x 8 ports / actually 10/100 > x 8 ports); What kind of HUB are you using? Using a combined 10/100 HUB is like begging for trouble. You should really be using a switch instead. There are many reasons for using a switch instead of a plain old HUB nowadays. Remember to get a switch with a management module, so you manually kan check status and set port parameters (forcing full-duplex). You could also try manually setting _all_ your network devices connected to the hub to 10baseT half-duplex to see if that changes the situation. If it does, your problems most surely is related to the hub, which they must surely are anyway. Oh...BTW: did i remember to advise you to use a switch instead of a combined 10/100 hub (?) :-) Regards Vidar -- Vidar Haugsvær Bergen Kommune, ITseksjonen Epost: vidar@gs.bergen.hl.no Tlf: 5556 9971 Mob: 977 40 525 From tulip-admin@blueraja.scyld.com Wed Jun 14 16:47:15 2000 Received: from ex-pub-corp.efi.com (efi.com [192.68.228.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id QAA04513; Wed, 14 Jun 2000 16:47:14 -0400 Received: by ex-pub-corp.efi.com with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Jun 2000 13:44:10 -0700 Message-ID: From: Philip Ronzone To: eepro100@scyld.com Cc: tulip@scyld.com MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFD641.4A87E402" Subject: [tulip] RE: [eepro100] Re: [vortex] True on TRANSMIT ERROR TIMEOUT Date: Wed Jun 14 16:47:19 2000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BFD641.4A87E402 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'd recommend AGAINST using switches. The unfortunate, and frustrating reality is the many Ethernet NICS do NOT work well with switches when = the NIC is set to something OTHER than autonegotiation (like, set to 100BASE/half-duplex). Intel has acknowledged that they can replicate = this problem and so far, have some rational hypothesis for why it happens. These problems do NOT occur with hubs. -----Original Message----- From: Vidar Haugsv=E6r [mailto:vidar@gs.bergen.hl.no] Sent: Wednesday, June 14, 2000 10:18 AM To: Daniel Soto Alvarez Cc: eepro100@scyld.com; vortex@scyld.com; tulip@scyld.com Subject: [eepro100] Re: [vortex] True on TRANSMIT ERROR TIMEOUT Daniel Soto Alvarez wrote: >=20 > The problem are the continuos TRANSMIT ERROR (timeouts) in the = network. To > test the network I make 'ping -t server' in any Windows client, and = when > 'transmit timeout' occurs I need to manually restart the HUB. With = this the > network restart, and we can continue out job. This problem occurs randomly: > days no, days little, days heavy... >=20 > I have tested with TWO different HUBS (one 100MB x 8 ports / actually 10/100 > x 8 ports);=20 What kind of HUB are you using? Using a combined 10/100 HUB is like begging for trouble. You should really be using a switch instead. There are many reasons for using a switch instead of a plain old HUB = nowadays. Remember to get a switch with a management module, so you manually kan check status and set port parameters (forcing full-duplex). You could also try manually setting _all_ your network devices = connected to the hub to 10baseT half-duplex to see if that changes the situation. If it does, your problems most surely is related to the hub, which they must surely are anyway. Oh...BTW: did i remember to advise you to use a switch instead of a combined 10/100 hub (?) :-) Regards Vidar --=20 Vidar Haugsv=E6r Bergen Kommune, ITseksjonen =20 Epost: vidar@gs.bergen.hl.no Tlf: 5556 9971 Mob: 977 40 525 _______________________________________________ eepro100 mailing list eepro100@scyld.com http://www.scyld.com/mailman/listinfo/eepro100 ------_=_NextPart_001_01BFD641.4A87E402 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [eepro100] Re: [vortex] True on TRANSMIT ERROR = TIMEOUT

I'd recommend AGAINST using switches. The = unfortunate, and frustrating reality is the many Ethernet NICS do NOT = work well with switches when the NIC is set to something OTHER than = autonegotiation (like, set to 100BASE/half-duplex). Intel has = acknowledged that they can replicate this problem and so far, have some = rational hypothesis for why it happens.

These problems do NOT occur with hubs.




-----Original Message-----
From: Vidar Haugsv=E6r [mailto:vidar@gs.bergen.hl.no]<= /FONT>
Sent: Wednesday, June 14, 2000 10:18 AM
To: Daniel Soto Alvarez
Cc: eepro100@scyld.com; vortex@scyld.com; = tulip@scyld.com
Subject: [eepro100] Re: [vortex] True on TRANSMIT = ERROR TIMEOUT


Daniel Soto Alvarez wrote:
>
> The problem are the continuos TRANSMIT ERROR = (timeouts) in the network. To
> test the network I make 'ping -t server' in any = Windows client, and when
> 'transmit timeout' occurs I need to manually = restart the HUB. With this the
> network restart, and we can continue out job. = This problem occurs randomly:
> days no, days little, days heavy...
>
> I have tested with TWO different HUBS (one = 100MB x 8 ports / actually 10/100
> x 8 ports);

What kind of HUB are you using? Using a combined = 10/100 HUB is like
begging for trouble. You should really be using a = switch instead. There
are many reasons for using a switch instead of a = plain old HUB nowadays.
Remember to get a switch with a management module, = so you manually kan
check status and set port parameters (forcing = full-duplex).

You could also try manually setting _all_ your = network devices connected
to the hub to 10baseT half-duplex to see if that = changes the situation.
If it does, your problems most surely is related to = the hub, which they
must surely are anyway.

Oh...BTW: did i remember to advise you to use a = switch instead of a
combined 10/100 hub (?) :-)

Regards

Vidar
--
Vidar Haugsv=E6r
Bergen Kommune, ITseksjonen 
Epost:  vidar@gs.bergen.hl.no
Tlf: 5556 9971  =         Mob: 977 40 525

_______________________________________________
eepro100 mailing list
eepro100@scyld.com
http://www.scyld.com/mailman/listinfo/eepro100

------_=_NextPart_001_01BFD641.4A87E402-- From tulip-admin@blueraja.scyld.com Wed Jun 14 16:56:55 2000 Received: from cheetah.psv.nu (IDENT:root@h55t105.delphi.afb.lu.se [130.235.188.122]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id QAA04955; Wed, 14 Jun 2000 16:56:53 -0400 Received: from localhost (petersv@localhost) by cheetah.psv.nu (8.9.3/8.9.3) with ESMTP id WAA28762; Wed, 14 Jun 2000 22:48:15 +0200 From: Peter Svensson To: Homer Wilson Smith cc: Jason Thomas , Scott McDermott , Mark Cox , Andrew Morton , Daniel Soto Alvarez , eepro100 , vortex , tulip Subject: Re: [tulip] Re: [vortex] RE: [eepro100] True on TRANSMIT ERROR TIMEOUT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed Jun 14 16:56:56 2000 On Tue, 13 Jun 2000, Homer Wilson Smith wrote: > I am willing to try any tulip based card, its the > Kingston 21143's that are causing trouble for us. We have had lots of trouble with 21143-based cards. The older 2114[0-2] based ones usually cause no problems. Peter -- Peter Svensson ! Pgp key available by finger, fingerprint: ! 8A E9 20 98 C1 FF 43 E3 07 FD B9 0A 80 72 70 AF ! ------------------------------------------------------------------------ Remember, Luke, your source will be with you... always... From tulip-admin@blueraja.scyld.com Wed Jun 14 17:20:47 2000 Received: from nifty.Blue-Labs.org (mail@nifty.blue-labs.org [208.179.0.193]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id RAA05968; Wed, 14 Jun 2000 17:20:46 -0400 Received: from kalifornia.com (david@localhost [127.0.0.1]) by nifty.Blue-Labs.org (8.9.3/8.9.0) with ESMTP id OAA26573; Wed, 14 Jun 2000 14:16:59 -0700 Sender: david@nifty.Blue-Labs.org Message-ID: <3947F64B.54602940@kalifornia.com> From: David Ford Reply-To: david+validemail@kalifornia.com Organization: Talon Technology, Intl. X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.4.0-test1-ac12 i686) X-Accept-Language: en MIME-Version: 1.0 To: Philip Ronzone CC: eepro100@scyld.com, tulip@scyld.com Subject: Re: [tulip] RE: [eepro100] Re: [vortex] True on TRANSMIT ERROR TIMEOUT References: Content-Type: multipart/mixed; boundary="------------5E658A96AE31CA4ECAAA5079" Date: Wed Jun 14 17:20:48 2000 This is a multi-part message in MIME format. --------------5E658A96AE31CA4ECAAA5079 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Yes, iirc, it is improperly implemented NWAY negotiation. I use and have used numerous switches. Working with NSP/ISP groups that traffic terabytes a day, hubs are paperweights to hold the trash in the trash can. Switching is overwhelmingly more advantageous than doing hubs. -d Philip Ronzone wrote: > > > I'd recommend AGAINST using switches. The unfortunate, and frustrating > reality is the many Ethernet NICS do NOT work well with switches when > the NIC is set to something OTHER than autonegotiation (like, set to > 100BASE/half-duplex). Intel has acknowledged that they can replicate > this problem and so far, have some rational hypothesis for why it > happens. > > These problems do NOT occur with hubs. > > > > -----Original Message----- > From: Vidar Haugsvær [mailto:vidar@gs.bergen.hl.no] > Sent: Wednesday, June 14, 2000 10:18 AM > To: Daniel Soto Alvarez > Cc: eepro100@scyld.com; vortex@scyld.com; tulip@scyld.com > Subject: [eepro100] Re: [vortex] True on TRANSMIT ERROR TIMEOUT > > Daniel Soto Alvarez wrote: > > > > The problem are the continuos TRANSMIT ERROR (timeouts) in the > network. To > > test the network I make 'ping -t server' in any Windows client, and > when > > 'transmit timeout' occurs I need to manually restart the HUB. With > this the > > network restart, and we can continue out job. This problem occurs > randomly: > > days no, days little, days heavy... > > > > I have tested with TWO different HUBS (one 100MB x 8 ports / > actually 10/100 > > x 8 ports); > > What kind of HUB are you using? Using a combined 10/100 HUB is like > begging for trouble. You should really be using a switch instead. > There > are many reasons for using a switch instead of a plain old HUB > nowadays. > Remember to get a switch with a management module, so you manually kan > > check status and set port parameters (forcing full-duplex). > > You could also try manually setting _all_ your network devices > connected > to the hub to 10baseT half-duplex to see if that changes the > situation. > If it does, your problems most surely is related to the hub, which > they > must surely are anyway. > > Oh...BTW: did i remember to advise you to use a switch instead of a > combined 10/100 hub (?) :-) > > Regards > > Vidar > -- > Vidar Haugsvær > Bergen Kommune, ITseksjonen > Epost: vidar@gs.bergen.hl.no > Tlf: 5556 9971 Mob: 977 40 525 > > _______________________________________________ > eepro100 mailing list > eepro100@scyld.com > http://www.scyld.com/mailman/listinfo/eepro100 -- "The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'." --------------5E658A96AE31CA4ECAAA5079 Content-Type: text/x-vcard; charset=us-ascii; name="david.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for David Ford Content-Disposition: attachment; filename="david.vcf" begin:vcard n:Ford;David x-mozilla-html:TRUE org: adr:;;;;;; version:2.1 email;internet:david@kalifornia.com title:Blue Labs Developer x-mozilla-cpt:;-12480 fn:David Ford end:vcard --------------5E658A96AE31CA4ECAAA5079-- From tulip-admin@blueraja.scyld.com Wed Jun 14 19:29:19 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA06770 for ; Wed, 14 Jun 2000 19:29:16 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id B743A8699; Thu, 15 Jun 2000 09:26:45 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Thu, 15 Jun 2000 09:27:03 +1000 From: Jason Thomas To: phoneranger3@earthlink.net Cc: tulip@scyld.com Subject: Re: [tulip] LinkSys LNE100TX (again) Message-ID: <20000615092703.A32721@topic.com.au> Reply-To: jason@topic.com.au References: <3949873E.57B452D@earthlink.net> <394705D4.661CA359@hinterlands.com.au> <394789D1.29E609EF@pegasus.cc.ucf.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <394789D1.29E609EF@pegasus.cc.ucf.edu>; from bdunn@pegasus.cc.ucf.edu on Wed, Jun 14, 2000 at 08:34:10AM -0500 Date: Wed Jun 14 19:29:20 2000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline brian dunn [bdunn@pegasus.cc.ucf.edu] wrote: > > > Chris Blown wrote: > > > phoneranger wrote: > > > > > I have my Linux box ( I compiled both tulip and pci-scan for SMP since > > > I'm running SMP) and a Win95 box running with the LinkSys cards on a > > > LinkSys 10/100 hub. Both appear to be sending packets, but neither > > > machine can communicate with the other. When I ping from Linux box to > > > the Win95 box, I see the indicators for both ports on the hub flashing, > > > so I know something is going out. Same result if I ping from the Win95 > > > box to the Linux box. From visual activity on the hub, they appear to > > > be trying to communicate. So far I have installed PCI-SCAN and the > > > latest TULIP driver, which is what's enabled me to get this far. Could > > > this be an issue that they are not auto-negotiating in a compatible > > > manner, and if so, how would I fix it? > > > > > > > This doesn't sound like a tulip problem. > > What are the IP's and subnet masks you are using for these machines ? > > Linux box: 192.168.1.1 subnet 255.255.255.0 > Win95: 192.168.1.11 subnet 255.255.255.0 no, that is the correct subnet mask. what about route. just paste the output from the "route" command and "route -n". and paste the info from "ifconfig" as well, this is all done on the linux box. then on the windows box run from the start_menu->run "winipcfg" and that will popup a box on the screen, you may have to change the device to the network card and the do show details. And send that info aswell, the other could be faulty cables have you tried other cables. > > It hit me when I read that; I need to change the subnet to 255.0.0.0 > Think that will fix it? > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas System Administrator - UID 0 Phone: +61 2 6257 7111 tSA Consulting Group Pty. Ltd. Fax: +61 2 6257 7311 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 29UGL/yl/oW6h9DWfpuv2akHgkEreIIX Comment: Ha Ha iQA/AwUBOUgUx+3GMESSUoi+EQICBgCgmQeqrsqzfS+YTNL0DFUZz89J75IAn3FU jYO3cXFLSzQo/WmL5jGtsk/e =gYqt -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From tulip-admin@blueraja.scyld.com Wed Jun 14 19:43:46 2000 Received: from mail.arcor-ip.de (mail-ffm-p.arcor-ip.de [145.253.2.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA06869 for ; Wed, 14 Jun 2000 19:43:45 -0400 Received: from nepomuk.asu.com (212.144.204.4) by mail.arcor-ip.de; 15 Jun 2000 01:41:11 +0200 Received: by nepomuk.asu.com (Postfix, from userid 500) id 002A97830; Thu, 15 Jun 2000 01:41:17 +0200 (CEST) From: Philipp Schulte To: tulip@scyld.com Message-ID: <20000615014117.A4000@nepomuk.asu.com> Mail-Followup-To: tulip@scyld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Subject: [tulip] Failed to map PCI address 0x0 Date: Wed Jun 14 19:43:47 2000 Hello, I posted this a few weeks ago but unfortunaly did not get any respond. I am trying to make an "ASIX AX88141" run with Linux (2.2.16). I downloaded the newest tulip-driver and loaded pci-scan. When I try to load the tulip-module, it fails and /var/log/messages says: Failed to map PCI address 0x0 for device 'ASIX AX88141' Does anybody know, how to avoid this problem? Regards, Phil From tulip-admin@blueraja.scyld.com Wed Jun 14 21:20:06 2000 Received: from swan.prod.itd.earthlink.net (swan.prod.itd.earthlink.net [207.217.120.123]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA07140 for ; Wed, 14 Jun 2000 21:20:05 -0400 Received: from earthlink.net (sdn-ar-001florlaP292.dialsprint.net [168.191.91.30]) by swan.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id SAA01387 for ; Wed, 14 Jun 2000 18:17:28 -0700 (PDT) Sender: root@swan.prod.itd.earthlink.net Message-ID: <394AD227.DEE1F3F3@earthlink.net> From: phoneranger X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13-13abitbd i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Subject: Re: [tulip] LinkSys LNE100TX (again) References: <3949873E.57B452D@earthlink.net> <394705D4.661CA359@hinterlands.com.au> <394789D1.29E609EF@pegasus.cc.ucf.edu> <20000615092703.A32721@topic.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 14 21:20:07 2000 Jason Thomas wrote: > brian dunn [bdunn@pegasus.cc.ucf.edu] wrote: > > > > > > Chris Blown wrote: > > > > > phoneranger wrote: > > > > > > > I have my Linux box ( I compiled both tulip and pci-scan for SMP since > > > > I'm running SMP) and a Win95 box running with the LinkSys cards on a > > > > LinkSys 10/100 hub. Both appear to be sending packets, but neither > > > > machine can communicate with the other. When I ping from Linux box to > > > > the Win95 box, I see the indicators for both ports on the hub flashing, > > > > so I know something is going out. Same result if I ping from the Win95 > > > > box to the Linux box. From visual activity on the hub, they appear to > > > > be trying to communicate. So far I have installed PCI-SCAN and the > > > > latest TULIP driver, which is what's enabled me to get this far. Could > > > > this be an issue that they are not auto-negotiating in a compatible > > > > manner, and if so, how would I fix it? > > > > > > > > > > This doesn't sound like a tulip problem. > > > What are the IP's and subnet masks you are using for these machines ? > > > > Linux box: 192.168.1.1 subnet 255.255.255.0 > > Win95: 192.168.1.11 subnet 255.255.255.0 > > no, that is the correct subnet mask. what about route. just paste the output > from the "route" command and "route -n". and paste the info from "ifconfig" > as well, this is all done on the linux box. then on the windows box run from > the start_menu->run "winipcfg" and that will popup a box on the screen, you > may have to change the device to the network card and the do show details. > And send that info aswell, the other could be faulty cables have you tried > other cables. > For the Linux box, obviously :) ---------------------- Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0 168.191.82.2 * 255.255.255.255 UH 0 0 0 ppp0 192.0.0.0 * 255.0.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 168.191.82.2 0.0.0.0 UG 0 0 0 ppp0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 168.191.82.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 168.191.82.2 0.0.0.0 UG 0 0 0 ppp0 eth0 Link encap:Ethernet HWaddr 00:A0:CC:E1:8B:C6 inet addr:192.168.1.1 Bcast:192.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:75 errors:0 dropped:0 overruns:0 carrier:0 collisions:1 txqueuelen:100 Interrupt:19 Base address:0xf000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 ppp0 Link encap:Point-to-Point Protocol inet addr:168.191.91.30 P-t-P:168.191.82.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:73 errors:0 dropped:0 overruns:0 frame:0 TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 On the Win95 box: -------------- LinkSys LNE100TX mac address: 00-A0-CC-E2-A8-7B ip address: 192.168.1.11 subnet: 255.255.255.0 default gateway: 162.168.1.1 (the linux box) From tulip-admin@blueraja.scyld.com Wed Jun 14 21:44:14 2000 Received: from smtprch2.nortel.com (smtprch2.nortelnetworks.com [192.135.215.15]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA07243; Wed, 14 Jun 2000 21:44:14 -0400 Received: from zrchb213.us.nortel.com (actually zrchb213) by smtprch2.nortel.com; Wed, 14 Jun 2000 20:38:16 -0500 Received: from zctwb003.asiapac.nortel.com ([47.152.32.111]) by zrchb213.us.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MPD1W92W; Wed, 14 Jun 2000 20:41:18 -0500 Received: from pwold011.asiapac.nortel.com ([47.181.193.45]) by zctwb003.asiapac.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MNGMW827; Thu, 15 Jun 2000 11:41:16 +1000 Received: from uow.edu.au (IDENT:akpm@localhost [127.0.0.1]) by pwold011.asiapac.nortel.com (8.9.3/8.9.3) with ESMTP id LAA18819; Thu, 15 Jun 2000 11:40:54 +1000 Sender: akpm@nortel.com Message-ID: <39483426.B07E4BA@uow.edu.au> X-Sybari-Space: 00000000 00000000 00000000 From: Andrew Morton Reply-To: netdev X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.4.0-test1-ac10 i686) X-Accept-Language: en MIME-Version: 1.0 To: Bogdan Costescu CC: vortex , eepro100 , tulip , netdev References: <39461BB3.299DD807@uow.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Orig: Subject: [tulip] Re: [eepro100] Re: True on TRANSMIT ERROR TIMEOUT Date: Wed Jun 14 21:44:15 2000 [ I really wish I hadn't done that reply-to-all on Tuesday. Can we please henceforth keep this on netdev? ] Bogdan Costescu wrote: > > On Tue, 13 Jun 2000, Andrew Morton wrote: > > > And there are many, many times when a wedged driver can be resurrected > > by a down/up or a rmmod/insmod. This means that the driver _could_ have > > automtically recovered in tx_timeout, but it simply did not do so. > > I beg to disagree. The above mentioned operations are doing much more than > handling TX timeouts: register/unregister IRQ, get/release memory, set up > (from scratch) the Tx and Rx buffers, media selection... The tx_timeout > routine should only recover from a Tx timeout! What you propose is > something like calling xxx_open() from tx_timeout... if I understand it > right. Well, I didn't say "let's put in lots of bugs" :) My point is very simple: - Drivers and/or NICs are hanging - The hangs are fixed by down+up or rmmod+insmod Hence, the hangs _could_ be unhung by appropriate action in the tx timeout! This would be a great step forward. A sub-second hiccup and a few dropped packets versus a complete system outage. It's not pretty, it shouldn't be necessary, but geeze, it's better than what we have now. Without access to the ASIC designers and everything else, we may never resolve these problems. And can we be sure that the closed-source vendor-developed drivers don't _currently_ reset the crap out of the NIC when it goes unresponsive? > > Can anyone suggest a reason why we _shouldn't_ simply reset the NIC to > > the utmost possible extent in tx_timeout? Restart media selection, > > reinitialise ring buffers, etc, etc? > > Simply because you need to know the exact state of the card in order to > save the relevant parts of it, reset and then load the card with > the previous values (of course, you don't need to re-load the parts > which created the problem). mm. This is a matter of keeping appropriate state in the dev private space. True, the effects of 'mii-diag -F -A' will be lost, but they'll also be lost across an up+down or a reboot, no? > Think of the 3c59x driver: you might want to > save the Tx/Rx threshold related values, poll interval values and so on. > This is only efficient if you keep most of them to the default (as > power-on) values. > For media selection, xxx_timer should take care of this, there should be > no need for tx_timeout to handle media changes. When the transmission is > stopped because of a media change, the xxx_timer routine should take care > of the media state, then tx_timeout routine should reset the transmitter > and everything should be working again. Also adding media related logic to > tx_timeout raises the problem of protecting the access to the media > related registers WRT xxx_timer... These failures appear to correlate with high traffic which, I suggest, points the finger at driver/hardware bugs rather than media selection probs. > I don't think that flushing the queue (as somebody else from this thread > suggested) is a good ideea as you loose a lot of packets (usually 16). A typical tx_timeout routine will at present cause up to 16 packets to be retransmitted (duplicated). Packet loss is not a problem (particularly when compared with loss of an interface). > And > usually the buffers themselves have no relation with the > transmission/reception logic - you might need to restart the transmitter > and/or the DMA engine and maybe write again the head buffer to it - > that's all. > > Now, coming back to the initial message about "correlated" reports of Tx > timeouts using some boards/drivers, I don't think this is true. Most of > the problems are in fact related to media selection (when autonegotiation > fails and the boards cannot transmit properly) and real timeouts (e.g. > caused by collisions) that are board specific. In this case, there is no > general rule that has to be applied - the hardware has to be driven "The > Right Way" (which might not be even documented). Perhaps an appropriate detection algorithm is to do a radical reset & reinitialisation if two tx timeout occur with no intervening tx interrupts. Have you played with the tx timeout interval? Even with 14 packet tx interrupt mitigation, it's very, very hard to force a tx timeout on a 10baseT LAN with the timeout set to just 20 milliseconds. We're using 400! I dunno. I just get the impression from the mailing lists that the network drivers are a weak spot for Linux, and we're letting the whole game down. Help me out here... Let me quote "Brian" from last week: ``The web servers (~10Mb/s) last about 3 days on . With all the Linux zealots talking about taking on Sun and the "enterprise," I'd drop dead laughing if they weren't my servers.'' Ouch. From tulip-admin@blueraja.scyld.com Wed Jun 14 21:53:19 2000 Received: from golem.hcit (p60-max64.syd.ihug.com.au [203.109.165.124]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA07494 for ; Wed, 14 Jun 2000 21:53:11 -0400 Received: from hinterlands.com.au (griffon.hcit [192.168.1.35]) by golem.hcit (8.9.3/8.8.7) with ESMTP id KAA01189; Thu, 15 Jun 2000 10:51:18 +1000 Sender: root@golem.hcit Message-ID: <39483730.81920F2B@hinterlands.com.au> From: Chris Blown Organization: Hinterlands IT X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-7mdk i586) X-Accept-Language: en MIME-Version: 1.0 To: phoneranger CC: "tulip@scyld.com" Subject: Re: [tulip] LinkSys LNE100TX (again) References: <3949873E.57B452D@earthlink.net> <394705D4.661CA359@hinterlands.com.au> <394789D1.29E609EF@pegasus.cc.ucf.edu> <20000615092703.A32721@topic.com.au> <394AD227.DEE1F3F3@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 14 21:53:24 2000 phoneranger wrote: > > > > no, that is the correct subnet mask. what about route. just paste the output > > from the "route" command and "route -n". and paste the info from "ifconfig" > > as well, this is all done on the linux box. then on the windows box run from > > the start_menu->run "winipcfg" and that will popup a box on the screen, you > > may have to change the device to the network card and the do show details. > > And send that info aswell, the other could be faulty cables have you tried > > other cables. > > > > For the Linux box, obviously :) > ---------------------- > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0 > 168.191.82.2 * 255.255.255.255 UH 0 0 0 ppp0 > 192.0.0.0 * 255.0.0.0 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 168.191.82.2 0.0.0.0 UG 0 0 0 ppp0 > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 > 168.191.82.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 192.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 0.0.0.0 168.191.82.2 0.0.0.0 UG 0 0 0 ppp0 > > eth0 Link encap:Ethernet HWaddr 00:A0:CC:E1:8B:C6 > inet addr:192.168.1.1 Bcast:192.255.255.255 Mask:255.0.0.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:4 errors:0 dropped:0 overruns:0 frame:0 > TX packets:75 errors:0 dropped:0 overruns:0 carrier:0 > collisions:1 txqueuelen:100 > Interrupt:19 Base address:0xf000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:3924 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > > ppp0 Link encap:Point-to-Point Protocol > inet addr:168.191.91.30 P-t-P:168.191.82.2 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:73 errors:0 dropped:0 overruns:0 frame:0 > TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:10 > > On the Win95 box: > -------------- > LinkSys LNE100TX > mac address: 00-A0-CC-E2-A8-7B > ip address: 192.168.1.11 > subnet: 255.255.255.0 > default gateway: 162.168.1.1 (the linux box) > > As Jason suggested, I would check your cable. As far as I can tell the above looks ok, though your subnet mask could be changed back to 255.255.255.0 . From tulip-admin@blueraja.scyld.com Wed Jun 14 21:55:55 2000 Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id VAA07555 for ; Wed, 14 Jun 2000 21:55:55 -0400 Received: from zsngd101.asiapac.nortel.com (actually znsgd101) by smtprch1.nortel.com; Wed, 14 Jun 2000 20:48:59 -0500 Received: from zctwb003.asiapac.nortel.com ([47.152.32.111]) by zsngd101.asiapac.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MS0LA7ZR; Thu, 15 Jun 2000 09:49:32 +0800 Received: from pwold011.asiapac.nortel.com ([47.181.193.45]) by zctwb003.asiapac.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MNGMW8JV; Thu, 15 Jun 2000 11:49:29 +1000 Received: from uow.edu.au (IDENT:akpm@localhost [127.0.0.1]) by pwold011.asiapac.nortel.com (8.9.3/8.9.3) with ESMTP id LAA18916; Thu, 15 Jun 2000 11:49:20 +1000 Sender: akpm@nortel.com Message-ID: <39483620.B0DF6DD2@uow.edu.au> X-Sybari-Space: 00000000 00000000 00000000 From: Andrew Morton X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.4.0-test1-ac10 i686) X-Accept-Language: en MIME-Version: 1.0 To: phoneranger CC: tulip@scyld.com Subject: Re: [tulip] LinkSys LNE100TX (again) References: <3949873E.57B452D@earthlink.net> <394705D4.661CA359@hinterlands.com.au> <394789D1.29E609EF@pegasus.cc.ucf.edu> <20000615092703.A32721@topic.com.au> <394AD227.DEE1F3F3@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 14 21:55:56 2000 phoneranger wrote: > > .. > 192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0 > ... > On the Win95 box: > -------------- > LinkSys LNE100TX > mac address: 00-A0-CC-E2-A8-7B > ip address: 192.168.1.11 > subnet: 255.255.255.0 > default gateway: 162.168.1.1 (the linux box) ^ ^^^ oops. From tulip-admin@blueraja.scyld.com Wed Jun 14 22:15:31 2000 Received: from mailhost.topic.com.au (somebody@topic-gw2.topic.com.au [203.37.31.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id WAA07687 for ; Wed, 14 Jun 2000 22:15:09 -0400 Received: from fred.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id BCDB1871E; Thu, 15 Jun 2000 12:12:19 +1000 (EST) Received: by fred.tsa (sSMTP sendmail emulation); Thu, 15 Jun 2000 12:12:38 +1000 From: Jason Thomas To: phoneranger Cc: tulip@scyld.com Subject: Re: [tulip] LinkSys LNE100TX (again) Message-ID: <20000615121238.J32721@topic.com.au> Reply-To: jason@topic.com.au References: <3949873E.57B452D@earthlink.net> <394705D4.661CA359@hinterlands.com.au> <394789D1.29E609EF@pegasus.cc.ucf.edu> <20000615092703.A32721@topic.com.au> <394AD227.DEE1F3F3@earthlink.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CxDuMX1Cv2n9FQfo" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <394AD227.DEE1F3F3@earthlink.net>; from phoneranger3@earthlink.net on Fri, Jun 16, 2000 at 09:19:35PM -0400 Date: Wed Jun 14 22:15:32 2000 --CxDuMX1Cv2n9FQfo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline shouldn't there be a route for the local network. e.g Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 from our system: chaucer:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.200.2 * 255.255.255.255 UH 0 0 0 ppp0 192.168.200.0 192.168.200.2 255.255.255.0 UG 0 0 0 ppp0 192.168.11.0 * 255.255.255.0 U 0 0 0 eth0 localnet * 255.255.255.0 U 0 0 0 eth1 192.168.75.0 * 255.255.255.0 U 0 0 0 eth1 default ext-gw1.ext.tsa 0.0.0.0 UG 0 0 0 eth0 chaucer:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.200.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.200.0 192.168.200.2 255.255.255.0 UG 0 0 0 ppp0 192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.75.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 192.168.11.1 0.0.0.0 UG 0 0 0 eth0 chaucer:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:80:C8:48:85:52 inet addr:192.168.11.2 Bcast:192.168.11.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:136227077 errors:0 dropped:0 overruns:0 frame:0 TX packets:85970885 errors:23 dropped:0 overruns:1 carrier:22 collisions:0 txqueuelen:100 Interrupt:10 Base address:0x6100 eth1 Link encap:Ethernet HWaddr 00:80:C8:48:85:78 inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:88271244 errors:0 dropped:155 overruns:0 frame:0 TX packets:135789975 errors:4 dropped:0 overruns:2 carrier:2 collisions:0 txqueuelen:100 Interrupt:9 Base address:0x6200 eth1:1 Link encap:Ethernet HWaddr 00:80:C8:48:85:78 inet addr:192.168.75.1 Bcast:192.168.75.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:9 Base address:0x6200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:186126 errors:0 dropped:0 overruns:0 frame:0 TX packets:186126 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 ppp0 Link encap:Point-to-Point Protocol inet addr:192.168.10.1 P-t-P:192.168.200.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:248 Metric:1 RX packets:10984 errors:0 dropped:0 overruns:0 frame:0 TX packets:7055 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 chaucer:~# phoneranger [phoneranger3@earthlink.net] wrote: > > For the Linux box, obviously :) > ---------------------- > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0 > 168.191.82.2 * 255.255.255.255 UH 0 0 0 ppp0 > 192.0.0.0 * 255.0.0.0 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 168.191.82.2 0.0.0.0 UG 0 0 0 ppp0 > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 > 168.191.82.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 192.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 0.0.0.0 168.191.82.2 0.0.0.0 UG 0 0 0 ppp0 > > eth0 Link encap:Ethernet HWaddr 00:A0:CC:E1:8B:C6 > inet addr:192.168.1.1 Bcast:192.255.255.255 Mask:255.0.0.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:4 errors:0 dropped:0 overruns:0 frame:0 > TX packets:75 errors:0 dropped:0 overruns:0 carrier:0 > collisions:1 txqueuelen:100 > Interrupt:19 Base address:0xf000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:3924 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > > ppp0 Link encap:Point-to-Point Protocol > inet addr:168.191.91.30 P-t-P:168.191.82.2 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:73 errors:0 dropped:0 overruns:0 frame:0 > TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:10 > > > On the Win95 box: > -------------- > LinkSys LNE100TX > mac address: 00-A0-CC-E2-A8-7B > ip address: 192.168.1.11 > subnet: 255.255.255.0 > default gateway: 162.168.1.1 (the linux box) > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip -- Jason Thomas Phone: +61 2 6257 7111 System Administrator - UID 0 Fax: +61 2 6257 7311 tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ --CxDuMX1Cv2n9FQfo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: JtYGl5wyyN74/X2Q+7rQum0tSJ4yhhLD Comment: Ha Ha iQA/AwUBOUg7lu3GMESSUoi+EQLolQCgj8pFqbzN1xIpqXTkOqJ+/oLDi8oAn1+L kM6yPFy97C5X5Q2ZpmzCjKa7 =Qd7h -----END PGP SIGNATURE----- --CxDuMX1Cv2n9FQfo-- From tulip-admin@blueraja.scyld.com Thu Jun 15 00:26:42 2000 Received: from saw.sw.com.sg (saw.sw.com.sg [203.120.9.98]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id AAA08178 for ; Thu, 15 Jun 2000 00:26:40 -0400 Received: (qmail 3880 invoked by uid 577); 15 Jun 2000 04:24:01 -0000 Message-ID: <20000615122401.B3638@saw.sw.com.sg> From: Andrey Savochkin To: Andrew Morton Cc: vortex , eepro100 , tulip , netdev , Bogdan Costescu References: <39461BB3.299DD807@uow.edu.au> <39483426.B07E4BA@uow.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <39483426.B07E4BA@uow.edu.au>; from "Andrew Morton" on Thu, Jun 15, 2000 at 01:40:54AM Subject: [tulip] Re: True on TRANSMIT ERROR TIMEOUT Date: Thu Jun 15 00:26:42 2000 Hello, On Thu, Jun 15, 2000 at 01:40:54AM +0000, Andrew Morton wrote: > Well, I didn't say "let's put in lots of bugs" :) > > My point is very simple: > > - Drivers and/or NICs are hanging > - The hangs are fixed by down+up or rmmod+insmod > > Hence, the hangs _could_ be unhung by appropriate action > in the tx timeout! > > This would be a great step forward. A sub-second hiccup and > a few dropped packets versus a complete system outage. The main problem is not the action in timeout routine. The problem is that these routines should be extensively debugged by the authors/maintainers of all drivers. TX timeout routine catches cases that shouldn't happen in real life. It's a redundant code, and it's pity that it's called so often. It depends on the hardware what actions should be taken in these "impossible" cases. Speaking about eepro100, I initially thought that the restart of the transmitter unit is meaningful and sufficient. When I started to debug the code, artificially trying to cause TX timeouts, I found that it's not true. The hardware works in a way that receiver problems leads to TX unit stall after a short time. I personally consider it as a hardware bug, but I should cope with it. Currently, TX timeout routine does full reset, just like for interface down and up. If the current timeout handler fails in its mission, I'm fixing it. I just need user's patience and help. I have only one head and two hands to clatter on keyboard, and I can't fix in a flash. Andrew, you should consider what is appropriate for your driver, basing on user's reports. Other drivers are only hints on what may be done. Best regards Andrey From tulip-admin@blueraja.scyld.com Thu Jun 15 00:46:38 2000 Received: from gonzo.speakeasy.org (gonzo.speakeasy.net [216.254.0.5]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id AAA08377 for ; Thu, 15 Jun 2000 00:46:37 -0400 Received: (qmail 18626 invoked from network); 15 Jun 2000 04:44:07 -0000 Received: from unknown (HELO grace.speakeasy.org) (216.254.0.2) by gonzo.speakeasy.net with SMTP; 15 Jun 2000 04:44:07 -0000 Received: (qmail 31627 invoked from network); 15 Jun 2000 04:44:06 -0000 Received: from unknown (HELO TENDRIL) (216.254.8.8) by grace.speakeasy.org with SMTP; 15 Jun 2000 04:44:06 -0000 Message-ID: <000f01bfd685$b8b901b0$4000a8c0@TENDRIL> From: "Brent Scriver" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [tulip] Getting a sequence of errors building the tulip.c file Date: Thu Jun 15 00:46:39 2000 Unfortunately, I am building with kernel version 2.3.99-pre8, however, I am getting the following errors, if anyone has suggestions on how to get this to work, it would be greatly appreciated. The whole point of this is to be able to set one of the two netgear FA310TXs I have to 10Mbps. What comes with 2.3.99-pre8 doesn't seem capable of it (running ifconfig and specifying a media type fails). Thanks! Brent The reference to NET_BH is from netif_wake_queue, defined in kern_compat.h. tulip.c: In function `tulip_open': tulip.c:1437: structure has no member named `tbusy' tulip.c:1438: structure has no member named `start' tulip.c: In function `tulip_start_xmit': tulip.c:2530: structure has no member named `tbusy' tulip.c:2563: structure has no member named `tbusy' tulip.c: In function `tulip_interrupt': tulip.c:2582: structure has no member named `interrupt' tulip.c:2586: structure has no member named `interrupt' tulip.c:2667: structure has no member named `tbusy' tulip.c:2671: structure has no member named `tbusy' tulip.c:2672: `NET_BH' undeclared (first use in this function) tulip.c:2672: (Each undeclared identifier is reported only once tulip.c:2672: for each function it appears in.) tulip.c:2757: structure has no member named `interrupt' tulip.c: In function `tulip_close': tulip.c:2903: structure has no member named `start' tulip.c:2904: structure has no member named `tbusy' tulip.c: In function `tulip_get_stats': tulip.c:2943: structure has no member named `start' tulip.c: In function `set_rx_mode': tulip.c:3182: structure has no member named `tbusy' From tulip-admin@blueraja.scyld.com Thu Jun 15 04:53:48 2000 Received: from xavier.uol.es (mail.uol.es [193.127.101.203]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id EAA11491; Thu, 15 Jun 2000 04:53:47 -0400 Received: from twister (193.145.44.55) by xavier.uol.es (NPlex 4.5.047) id 3937D39B0000AC5B; Thu, 15 Jun 2000 10:51:17 +0200 Message-ID: <001401bfd6a6$dda6baf0$372c91c1@twister> Reply-To: "Daniel Soto Alvarez" From: "Daniel Soto Alvarez" To: =?iso-8859-1?Q?Vidar_Haugsv=E6r?= Cc: , , References: <008601bfd520$969db190$372c91c1@twister> <3947BE40.373D28E4@gs.bergen.hl.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [tulip] Re: [vortex] True on TRANSMIT ERROR TIMEOUT Date: Thu Jun 15 04:53:56 2000 Hi Vidar! > Daniel Soto Alvarez wrote: > > > > The problem are the continuos TRANSMIT ERROR (timeouts) in the network. To > > test the network I make 'ping -t server' in any Windows client, and when > > 'transmit timeout' occurs I need to manually restart the HUB. With this the > > network restart, and we can continue out job. This problem occurs randomly: > > days no, days little, days heavy... > > > > I have tested with TWO different HUBS (one 100MB x 8 ports / actually 10/100 > > x 8 ports); > > What kind of HUB are you using? Using a combined 10/100 HUB is like > begging for trouble. You should really be using a switch instead. There > are many reasons for using a switch instead of a plain old HUB nowadays. > Remember to get a switch with a management module, so you manually kan > check status and set port parameters (forcing full-duplex). Yes. My TWO Hubs are soho line, but the new 10/100 are used only for 100MB NICs at half-duplex. > You could also try manually setting _all_ your network devices connected > to the hub to 10baseT half-duplex to see if that changes the situation. > If it does, your problems most surely is related to the hub, which they > must surely are anyway. Obvious I have get this for a time. Actually ALL network cards in Windows environment are forced to 100/Half. One printer-server (not a computer, are hardware dedicated) don't have option for force NIC adapter, and automatically work at 100/Half. But the problem are much old than this component. > Oh...BTW: did i remember to advise you to use a switch instead of a > combined 10/100 hub (?) :-) With ONLY Windows drivers (I don't have tested with other O.S.'s... sorry!) We don't have problems. I REPEAT FOR ALL: Linux driver for EEPRO & 3COM (and I think for DEC too) are bogus! The problem (I think) are RESTART Linux Network queues after restart NIC from a timeout error. Obviously this problem don't are apreciated for all: if all of yours NICs & Hubs are likely then standard functions work well, but in other case... I don't make a modification in source driver because I can't understen all functionality of the driver. Only I make this suggestion. > Regards For you too. D.S. From tulip-admin@blueraja.scyld.com Thu Jun 15 06:43:18 2000 Received: from havoc.gtf.org (IDENT:root@panic.ohr.gatech.edu [130.207.47.194]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id GAA12090 for ; Thu, 15 Jun 2000 06:43:18 -0400 Received: from mandrakesoft.com (adsl-77-228-135.atl.bellsouth.net [216.77.228.135]) by havoc.gtf.org (8.9.3/8.9.3) with ESMTP id GAA29426; Thu, 15 Jun 2000 06:40:48 -0400 Sender: jgarzik@havoc.gtf.org Message-ID: <3948B2B0.337A0237@mandrakesoft.com> From: Jeff Garzik Organization: MandrakeSoft X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.0-test1-ac18 i686) X-Accept-Language: en MIME-Version: 1.0 To: Brent Scriver CC: tulip@scyld.com Subject: Re: [tulip] Getting a sequence of errors building the tulip.c file References: <000f01bfd685$b8b901b0$4000a8c0@TENDRIL> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu Jun 15 06:43:24 2000 Brent Scriver wrote: > > Unfortunately, I am building with kernel version 2.3.99-pre8, however, I am > getting the following errors, if anyone has suggestions on how to get this > to work, it would be greatly appreciated. The whole point of this is to be > able to set one of the two netgear FA310TXs I have to 10Mbps. What comes > with 2.3.99-pre8 doesn't seem capable of it (running ifconfig and specifying > a media type fails). There is only one driver that works with the latest development kernel, and that is the one included in that kernel, or a later kernel version such as 2.4.0-test1-ac19. Jeff -- Jeff Garzik | Liberty is always dangerous, but Building 1024 | it is the safest thing we have. MandrakeSoft, Inc. | -- Harry Emerson Fosdick From tulip-admin@blueraja.scyld.com Thu Jun 15 08:10:16 2000 Received: from saw.sw.com.sg (saw.sw.com.sg [203.120.9.98]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id IAA12353 for ; Thu, 15 Jun 2000 08:10:14 -0400 Received: (qmail 1164 invoked by uid 577); 15 Jun 2000 12:07:35 -0000 Message-ID: <20000615200735.A1124@saw.sw.com.sg> From: Andrey Savochkin To: Daniel Soto Alvarez Cc: eepro100@scyld.com, vortex@scyld.com, tulip@scyld.com, =?koi8-r?Q?Vidar_Haugsv=E6r?= References: <008601bfd520$969db190$372c91c1@twister> <3947BE40.373D28E4@gs.bergen.hl.no> <001401bfd6a6$dda6baf0$372c91c1@twister> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <001401bfd6a6$dda6baf0$372c91c1@twister>; from "Daniel Soto Alvarez" on Thu, Jun 15, 2000 at 10:51:14AM Subject: [tulip] Re: True on TRANSMIT ERROR TIMEOUT Date: Thu Jun 15 08:10:16 2000 On Thu, Jun 15, 2000 at 10:51:14AM +0200, Daniel Soto Alvarez wrote: > With ONLY Windows drivers (I don't have tested with other O.S.'s... > sorry!) We don't have problems. I REPEAT FOR ALL: Linux driver > for EEPRO & 3COM (and I think for DEC too) are bogus! The problem A serious and well-founded statement... :-) > (I think) are RESTART Linux Network queues after restart NIC from > a timeout error. Obviously this problem don't are apreciated for all: Could you explain what Linux Network queue is? > if all of yours NICs & Hubs are likely then standard functions work well, > but in other case... > > I don't make a modification in source driver because I can't understen > all functionality of the driver. Only I make this suggestion. Best regards Andrey V. Savochkin From tulip-admin@blueraja.scyld.com Thu Jun 15 11:05:10 2000 Received: from erouter0.it-datacntr.louisville.edu (erouter0.it-datacntr.louisville.edu [136.165.1.36]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA13738 for ; Thu, 15 Jun 2000 11:05:10 -0400 Received: from gwise.louisville.edu (gwise.louisville.edu [136.165.253.148]) by erouter0.it-datacntr.louisville.edu (Postfix) with SMTP id C489124E9B for ; Thu, 15 Jun 2000 11:02:41 -0400 (EDT) Received: from gwgate-Message_Server by gwise.louisville.edu with Novell_GroupWise; Thu, 15 Jun 2000 11:02:41 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.3.1 From: "Mark E. Crane" To: Subject: [tulip] (no subject) Date: Thu Jun 15 11:05:11 2000 From tulip-admin@blueraja.scyld.com Thu Jun 15 20:44:24 2000 Received: from eros.lib.csusb.edu (eros.lib.csusb.edu [139.182.195.200]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id UAA19703 for ; Thu, 15 Jun 2000 20:44:23 -0400 Received: (from alopez@localhost) by eros.lib.csusb.edu (8.9.3/8.6.12) id QAA10179; Thu, 15 Jun 2000 16:38:51 GMT From: "Aaron P. Lopez" To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] problem with new Linksys NC100 card Date: Thu Jun 15 20:44:24 2000 I was wondering if anyone knew of the compatibility with the tulip.c driver and the new Linksys NC100 Fast Ethernet 10/100 card? I had no problems compiling the tulip drivers with the Linksys LNE100TX EtherFast 10/100 card. But now it reports that "...the device is busy". I am running RedHat 6.1. Aaron From tulip-admin@blueraja.scyld.com Fri Jun 16 00:09:10 2000 Received: from gonzo.speakeasy.org (gonzo.speakeasy.net [216.254.0.5]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id AAA20477 for ; Fri, 16 Jun 2000 00:09:09 -0400 Received: (qmail 3524 invoked from network); 16 Jun 2000 04:06:37 -0000 Received: from unknown (HELO grace.speakeasy.org) (216.254.0.2) by gonzo.speakeasy.net with SMTP; 16 Jun 2000 04:06:37 -0000 Received: (qmail 30097 invoked from network); 16 Jun 2000 04:06:37 -0000 Received: from unknown (HELO TENDRIL) (216.254.8.8) by grace.speakeasy.org with SMTP; 16 Jun 2000 04:06:37 -0000 Message-ID: <004d01bfd749$acc3f0d0$4000a8c0@TENDRIL> From: "Brent Scriver" To: "tulip mailing list" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [tulip] Trying to set a NetGear FA310TX to 10Mbps--has anyone done this? Date: Fri Jun 16 00:09:11 2000 Configuration: redhat 6.2 dist kernel version 2.3.99-pre8 I've tried a couple of variations of the following line in conf.modules: options tulip options=2,5 I tried adding debug=6, however, it complained it didn't like the debug command, so some inferences from the source suggested tulip_debug, which at least allowed the device to be configured and started, however, I don't see any messages regarding its configuration. Perhaps this doesn't go into /var/log/messages? If not, where should I be looking for this information? Now that I've got everything working except this, I'm not in a big hurry to upgrade the kernel, if there is a release though that fixes an issue with this, I'll certainly go to the pains. Any information is greatly appreciated! Thanks! Brent From tulip-admin@blueraja.scyld.com Fri Jun 16 02:05:44 2000 Received: from havoc.gtf.org (IDENT:root@panic.ohr.gatech.edu [130.207.47.194]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id CAA20919 for ; Fri, 16 Jun 2000 02:05:44 -0400 Received: from mandrakesoft.com (adsl-77-228-135.atl.bellsouth.net [216.77.228.135]) by havoc.gtf.org (8.9.3/8.9.3) with ESMTP id CAA27959; Fri, 16 Jun 2000 02:03:10 -0400 Sender: jgarzik@havoc.gtf.org Message-ID: <3949C31E.A38EC5B8@mandrakesoft.com> From: Jeff Garzik Organization: MandrakeSoft X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.0-test1-ac18 i686) X-Accept-Language: en MIME-Version: 1.0 To: Brent Scriver CC: tulip mailing list Subject: Re: [tulip] Trying to set a NetGear FA310TX to 10Mbps--has anyone done this? References: <004d01bfd749$acc3f0d0$4000a8c0@TENDRIL> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri Jun 16 02:05:45 2000 Brent Scriver wrote: > > Configuration: > redhat 6.2 dist > kernel version 2.3.99-pre8 > > I've tried a couple of variations of the following line in conf.modules: > options tulip options=2,5 I've got a NetGear, I'll try to force it to 10 Mbps and see what happens. You should also try running Donald's "mii-diag" program, which allows you to set the media settings after the driver is loaded. I'm concerned why autonegotiation failed though. > I tried adding debug=6, however, it complained it didn't like the debug > command, so some inferences from the source suggested tulip_debug, which at > least allowed the device to be configured and started, however, I don't see > any messages regarding its configuration. Perhaps this doesn't go into > /var/log/messages? If not, where should I be looking for this information? You need to make sure of a few things: 1) set TULIP_DEBUG in drivers/net/tulip/tulip.h to a minimum debugging level. I should probably do this anyway. As it stands now, since we are ramping up to 2.4.0, I disabled all debugging messages. You need to compile them back in again. 2) boot with 'debug' on the kernel command line. ('append="debug"' in lilo.conf, if you use LILO) 3) Make sure /etc/syslog.conf will log debug messages from the kernel You can find Donald's mii-diag utility and also the helpful tulip-diag utility at http://www.scyld.com/diag/ This is compatible with the driver currently in the 2.3.x / 2.4.x kernel. If you could send a debugging dump from tulip-diag to me personally (no need to clutter the list), that would be great. Something like the following tulip-diag -mmmaaavvveef > tulip-diag.txt Regards, Jeff -- Jeff Garzik | Building 1024 | Free beer tomorrow. MandrakeSoft, Inc. | From tulip-admin@blueraja.scyld.com Sat Jun 17 00:37:51 2000 Received: from falcon.prod.itd.earthlink.net (falcon.prod.itd.earthlink.net [207.217.120.74]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id AAA26734 for ; Sat, 17 Jun 2000 00:37:51 -0400 Received: from earthlink.net (sdn-ar-001florlaP295.dialsprint.net [168.191.91.33]) by falcon.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id VAA06828; Fri, 16 Jun 2000 21:35:12 -0700 (PDT) Sender: root@falcon.prod.itd.earthlink.net Message-ID: <394DA37D.61ECBC64@earthlink.net> From: phoneranger X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13-13abitbd i686) X-Accept-Language: en MIME-Version: 1.0 To: "Aaron P. Lopez" CC: tulip@scyld.com Subject: Re: [tulip] problem with new Linksys NC100 card References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat Jun 17 00:37:52 2000 Aaron, I had the same problem until I also installed the pci-scan utility as a module to be loaded along with tulip. I have an LNE100TX but I am guessing your problem is the same one I had at first. There are instructions for it on the tulip homepage. I have another problem I'm still working on, but pci-scan at least enabled me to talk to the card. I'd try that first. "Aaron P. Lopez" wrote: > I was wondering if anyone knew of the compatibility with the tulip.c > driver and the new Linksys NC100 Fast Ethernet 10/100 card? I had no > problems compiling the tulip drivers with the Linksys LNE100TX EtherFast > 10/100 card. But now it reports that "...the device is busy". I am > running RedHat 6.1. > > Aaron > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip From tulip-admin@blueraja.scyld.com Sat Jun 17 11:12:52 2000 Received: from vaio.greennet (adsl-151-196-242-2.bellatlantic.net [151.196.242.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA28233 for ; Sat, 17 Jun 2000 11:12:52 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id LAA14539; Sat, 17 Jun 2000 11:11:03 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: "Aaron P. Lopez" cc: tulip@scyld.com Subject: Re: [tulip] problem with new Linksys NC100 card In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat Jun 17 11:12:53 2000 On Thu, 15 Jun 2000, Aaron P. Lopez wrote: > I was wondering if anyone knew of the compatibility with the tulip.c > driver and the new Linksys NC100 Fast Ethernet 10/100 card? I had no > problems compiling the tulip drivers with the Linksys LNE100TX EtherFast > 10/100 card. But now it reports that "...the device is busy". I am > running RedHat 6.1. You need an updated tulip driver to work with the new chip. http://www.scyld.com/network/tulip.html Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Sat Jun 17 22:33:19 2000 Received: from gonzo.speakeasy.net (gonzo.speakeasy.net [216.254.0.5]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id WAA30999 for ; Sat, 17 Jun 2000 22:33:18 -0400 Received: (qmail 5267 invoked from network); 18 Jun 2000 02:30:36 -0000 Received: from unknown (HELO grace.speakeasy.org) (216.254.0.2) by gonzo.speakeasy.net with SMTP; 18 Jun 2000 02:30:36 -0000 Received: (qmail 2410 invoked from network); 18 Jun 2000 02:30:35 -0000 Received: from unknown (HELO TENDRIL) (216.254.8.8) by grace.speakeasy.org with SMTP; 18 Jun 2000 02:30:35 -0000 Message-ID: <003701bfd8ce$c58fa010$4000a8c0@TENDRIL> From: "Brent Scriver" To: "Jeff Garzik" Cc: "tulip mailing list" References: <004d01bfd749$acc3f0d0$4000a8c0@TENDRIL> <3949C31E.A38EC5B8@mandrakesoft.com> Subject: Re: [tulip] Trying to set a NetGear FA310TX to 10Mbps--has anyone done this? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0026_01BFD892.5FF85BC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Date: Sat Jun 17 22:33:20 2000 This is a multi-part message in MIME format. ------=_NextPart_000_0026_01BFD892.5FF85BC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I appreciate the help, hopefully the debug information below will help. Thanks! I've also included all of the results as text files. > I'm concerned why autonegotiation failed though. When I try to just plug it in direct with autonegotiation (with an x-over cable, depending on the net card/driver to do it all by itself), I get an error, about every second on the console saying: eth0: Transmit timed out, status 02261000, CSR12 0000003c, resetting... If I do ifconfig eth0 down ; ifconfig eth0 up, the message goes away, but the connection still isn't happening. If I set it to 10baseT from mii-diag going to the hub that is currently doing this for me (normally defaults to 100baseTx), it indicates "link status: not established", however, I can ping out and do other network things. Pinging, etc does not work when the hub is not there. The tulip-diag program gives the following analysis of the card (just tulip-diag -#1): tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Lite-On 82c168 PNIC adapter at 0xdc00. Port selection is 10mpbs-serial, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Waiting for Tx to finish'. The transmit threshold is 96. Use '-a' or '-aa' to show device registers, '-e' to show EEPROM contents, -ee for parsed contents, or '-m' or '-mm' to show MII management registers. So it seems that it autonegotiated correctly, however, from mii-diag... (mii-diag -v eth0) mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html MII PHY #1 transceiver registers: 3000 7809 0040 6212 01e1 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0500 0000 003c 1002 0f00 ff00 002c 4000 0010 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x7809 ... 7809. Link status: not established. This transceiver is capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation not complete. MII PHY #1 transceiver registers: 3000 7809 0040 6212 01e1 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0600 0000 003c 1002 0f00 ff00 002c 4000 0010 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x7809 ... 7809. Link status: not established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation not complete. Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. No specific information is known about this transceiver type. I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 0000:. Negotiation did not complete. Both mii-diag and the dsl modem it is connect to believe the connection isn't happening. > > 1) set TULIP_DEBUG in drivers/net/tulip/tulip.h to a minimum debugging > level. I should probably do this anyway. As it stands now, since we > are ramping up to 2.4.0, I disabled all debugging messages. You need to > compile them back in again. > Okay, did this and recompiled, since I'm using modules, I shouldn't have to recompile the kernel, correct? Just a make modules ; make modules_install? I'm still getting the message when modifying the /etc/conf.modules adding the debug=1, that parm_debug is an invalid parameter. Even if I do an insmod direct instead of having it boot up with it in there. > 2) boot with 'debug' on the kernel command line. ('append="debug"' in > lilo.conf, if you use LILO) > okay, did this > 3) Make sure /etc/syslog.conf will log debug messages from the kernel > set this to /var/log/kernel > If you could send a debugging dump from tulip-diag to me personally (no > need to clutter the list), that would be great. Something like the > following > > tulip-diag -mmmaaavvveef > tulip-diag.txt > these result are (no other notes from me after these results)... tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Lite-On 82c168 PNIC adapter at 0xdc00. Lite-On 82c168 PNIC chip registers at 0xdc00: 00008000 01ff0000 00000000 01b30000 01b30200 02261000 01026002 0001ebff 00000000 00000000 01b30230 01b30230 0000003c 00000000 00000000 10000001 00000000 00000000 f0041385 000000bf 60fe000b 01b30010 01e66810 0201e878 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Port selection is 10mpbs-serial, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Waiting for Tx to finish'. The transmit threshold is 96. A simplifed EEPROM data table was found. The EEPROM does not contain transceiver control information. EEPROM contents: 00a0 cc57 e729 f004 1385 00f1 0000 8a0e 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ID block CRC 0x35 (vs. 00). Full contents CRC 0x29a0 (read as 0x0000). mdio_read(0xdc00, 0, 1).. mdio_read(0xdc00, 1, 1).. MII PHY found at address 1, status 0x7809. mdio_read(0xdc00, 2, 1).. mdio_read(0xdc00, 3, 1).. mdio_read(0xdc00, 4, 1).. mdio_read(0xdc00, 5, 1).. mdio_read(0xdc00, 6, 1).. mdio_read(0xdc00, 7, 1).. mdio_read(0xdc00, 8, 1).. mdio_read(0xdc00, 9, 1).. mdio_read(0xdc00, 10, 1).. mdio_read(0xdc00, 11, 1).. mdio_read(0xdc00, 12, 1).. mdio_read(0xdc00, 13, 1).. mdio_read(0xdc00, 14, 1).. mdio_read(0xdc00, 15, 1).. mdio_read(0xdc00, 16, 1).. mdio_read(0xdc00, 17, 1).. mdio_read(0xdc00, 18, 1).. mdio_read(0xdc00, 19, 1).. mdio_read(0xdc00, 20, 1).. mdio_read(0xdc00, 21, 1).. mdio_read(0xdc00, 22, 1).. mdio_read(0xdc00, 23, 1).. mdio_read(0xdc00, 24, 1).. mdio_read(0xdc00, 25, 1).. mdio_read(0xdc00, 26, 1).. mdio_read(0xdc00, 27, 1).. mdio_read(0xdc00, 28, 1).. mdio_read(0xdc00, 29, 1).. mdio_read(0xdc00, 30, 1).. mdio_read(0xdc00, 31, 1).. MII PHY #1 transceiver registers: mdio_read(0xdc00, 1, 0).. 3000 mdio_read(0xdc00, 1, 1).. 7809 mdio_read(0xdc00, 1, 2).. 0040 mdio_read(0xdc00, 1, 3).. 6212 mdio_read(0xdc00, 1, 4).. 01e1 mdio_read(0xdc00, 1, 5).. 0000 mdio_read(0xdc00, 1, 6).. 0000 mdio_read(0xdc00, 1, 7).. 0000 mdio_read(0xdc00, 1, 8).. 0000 mdio_read(0xdc00, 1, 9).. 0000 mdio_read(0xdc00, 1, 10).. 0000 mdio_read(0xdc00, 1, 11).. 0000 mdio_read(0xdc00, 1, 12).. 0000 mdio_read(0xdc00, 1, 13).. 0000 mdio_read(0xdc00, 1, 14).. 0000 mdio_read(0xdc00, 1, 15).. 0000 mdio_read(0xdc00, 1, 16).. 5000 mdio_read(0xdc00, 1, 17).. 0000 mdio_read(0xdc00, 1, 18).. 0000 mdio_read(0xdc00, 1, 19).. 0000 mdio_read(0xdc00, 1, 20).. 0000 mdio_read(0xdc00, 1, 21).. 0000 mdio_read(0xdc00, 1, 22).. 0200 mdio_read(0xdc00, 1, 23).. 0000 mdio_read(0xdc00, 1, 24).. 003c mdio_read(0xdc00, 1, 25).. 1002 mdio_read(0xdc00, 1, 26).. 0f00 mdio_read(0xdc00, 1, 27).. ff00 mdio_read(0xdc00, 1, 28).. 002c mdio_read(0xdc00, 1, 29).. 4000 mdio_read(0xdc00, 1, 30).. 0010 mdio_read(0xdc00, 1, 31).. 000b. ------=_NextPart_000_0026_01BFD892.5FF85BC0 Content-Type: text/plain; name="m2-res1.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="m2-res1.txt" mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html MII PHY #1 transceiver registers: 3000 7809 0040 6212 01e1 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0500 0000 003c 1002 0f00 ff00 002c 4000 0010 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x7809 ... 7809. Link status: not established. This transceiver is capable of 100baseTx-FD 100baseTx 10baseT-FD = 10baseT. Able to perform Auto-negotiation, negotiation not complete. MII PHY #1 transceiver registers: 3000 7809 0040 6212 01e1 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0600 0000 003c 1002 0f00 ff00 002c 4000 0010 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x7809 ... 7809. Link status: not established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation not complete. Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. No specific information is known about this transceiver type. I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 0000:. Negotiation did not complete. ------=_NextPart_000_0026_01BFD892.5FF85BC0 Content-Type: application/msword; name="rd-res1.doc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="rd-res1.doc" tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)=0A= http://www.scyld.com/diag/index.html=0A= Index #1: Found a Lite-On 82c168 PNIC adapter at 0xdc00.=0A= Port selection is 10mpbs-serial, half-duplex.=0A= Transmit started, Receive started, half-duplex.=0A= The Rx process state is 'Waiting for packets'.=0A= The Tx process state is 'Waiting for Tx to finish'.=0A= The transmit threshold is 96.=0A= Use '-a' or '-aa' to show device registers,=0A= '-e' to show EEPROM contents, -ee for parsed contents,=0A= or '-m' or '-mm' to show MII management registers.=0A= ------=_NextPart_000_0026_01BFD892.5FF85BC0 Content-Type: application/msword; name="rd-res2.doc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="rd-res2.doc" tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)=0A= http://www.scyld.com/diag/index.html=0A= Index #1: Found a Lite-On 82c168 PNIC adapter at 0xdc00.=0A= Lite-On 82c168 PNIC chip registers at 0xdc00:=0A= 00008000 01ff0000 00000000 01b30000 01b30200 02261000 01026002 0001ebff=0A= 00000000 00000000 01b30230 01b30230 0000003c 00000000 00000000 10000001=0A= 00000000 00000000 f0041385 000000bf 60fe000b 01b30010 01e66810 0201e878=0A= 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000=0A= Port selection is 10mpbs-serial, half-duplex.=0A= Transmit started, Receive started, half-duplex.=0A= The Rx process state is 'Waiting for packets'.=0A= The Tx process state is 'Waiting for Tx to finish'.=0A= The transmit threshold is 96.=0A= A simplifed EEPROM data table was found.=0A= The EEPROM does not contain transceiver control information.=0A= EEPROM contents:=0A= 00a0 cc57 e729 f004 1385 00f1 0000 8a0e=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= 0000 0000 0000 0000 0000 0000 0000 0000=0A= ID block CRC 0x35 (vs. 00).=0A= Full contents CRC 0x29a0 (read as 0x0000).=0A= mdio_read(0xdc00, 0, 1).. mdio_read(0xdc00, 1, 1).. MII PHY found at = address 1, status 0x7809.=0A= mdio_read(0xdc00, 2, 1).. mdio_read(0xdc00, 3, 1).. mdio_read(0xdc00, = 4, 1).. mdio_read(0xdc00, 5, 1).. mdio_read(0xdc00, 6, 1).. = mdio_read(0xdc00, 7, 1).. mdio_read(0xdc00, 8, 1).. mdio_read(0xdc00, 9, = 1).. mdio_read(0xdc00, 10, 1).. mdio_read(0xdc00, 11, 1).. = mdio_read(0xdc00, 12, 1).. mdio_read(0xdc00, 13, 1).. mdio_read(0xdc00, = 14, 1).. mdio_read(0xdc00, 15, 1).. mdio_read(0xdc00, 16, 1).. = mdio_read(0xdc00, 17, 1).. mdio_read(0xdc00, 18, 1).. mdio_read(0xdc00, = 19, 1).. mdio_read(0xdc00, 20, 1).. mdio_read(0xdc00, 21, 1).. = mdio_read(0xdc00, 22, 1).. mdio_read(0xdc00, 23, 1).. mdio_read(0xdc00, = 24, 1).. mdio_read(0xdc00, 25, 1).. mdio_read(0xdc00, 26, 1).. = mdio_read(0xdc00, 27, 1).. mdio_read(0xdc00, 28, 1).. mdio_read(0xdc00, = 29, 1).. mdio_read(0xdc00, 30, 1).. mdio_read(0xdc00, 31, 1).. MII PHY = #1 transceiver registers: mdio_read(0xdc00, 1, 0)..=0A= 3000 mdio_read(0xdc00, 1, 1).. 7809 mdio_read(0xdc00, 1, 2).. 0040 = mdio_read(0xdc00, 1, 3).. 6212 mdio_read(0xdc00, 1, 4).. 01e1 = mdio_read(0xdc00, 1, 5).. 0000 mdio_read(0xdc00, 1, 6).. 0000 = mdio_read(0xdc00, 1, 7).. 0000 mdio_read(0xdc00, 1, 8)..=0A= 0000 mdio_read(0xdc00, 1, 9).. 0000 mdio_read(0xdc00, 1, 10).. 0000 = mdio_read(0xdc00, 1, 11).. 0000 mdio_read(0xdc00, 1, 12).. 0000 = mdio_read(0xdc00, 1, 13).. 0000 mdio_read(0xdc00, 1, 14).. 0000 = mdio_read(0xdc00, 1, 15).. 0000 mdio_read(0xdc00, 1, 16)..=0A= 5000 mdio_read(0xdc00, 1, 17).. 0000 mdio_read(0xdc00, 1, 18).. 0000 = mdio_read(0xdc00, 1, 19).. 0000 mdio_read(0xdc00, 1, 20).. 0000 = mdio_read(0xdc00, 1, 21).. 0000 mdio_read(0xdc00, 1, 22).. 0200 = mdio_read(0xdc00, 1, 23).. 0000 mdio_read(0xdc00, 1, 24)..=0A= 003c mdio_read(0xdc00, 1, 25).. 1002 mdio_read(0xdc00, 1, 26).. 0f00 = mdio_read(0xdc00, 1, 27).. ff00 mdio_read(0xdc00, 1, 28).. 002c = mdio_read(0xdc00, 1, 29).. 4000 mdio_read(0xdc00, 1, 30).. 0010 = mdio_read(0xdc00, 1, 31).. 000b.=0A= ------=_NextPart_000_0026_01BFD892.5FF85BC0-- From tulip-admin@blueraja.scyld.com Sat Jun 17 23:12:17 2000 Received: from user.xtdl.com (user.xtdl.com [206.25.228.20]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id XAA31191 for ; Sat, 17 Jun 2000 23:12:17 -0400 Received: from wavewizard.com ([208.146.158.4]) by user.xtdl.com (8.8.8/8.6.9) with ESMTP id XAA14031 for ; Sat, 17 Jun 2000 23:11:27 -0400 (EDT) Message-ID: <394C3D2D.514EBF06@wavewizard.com> From: Sean Glazier X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Tulip HELP Date: Sat Jun 17 23:12:18 2000 Hi, I am running Linux 6.2 on and amd 650 with a LNE100TX ethernet device. the tulip.o on the 6.2 disk fails to initialize. I downloaded and complied the .92 version of the device driver. However when I try insmod tulip.o I get the followtin errors Unresolved symbol pci_drv_unregister and Unresolved symbol pci_drv_register I complied both the tulip.c and the pci-scan.c with the compile commands at the end of the file. am I not putting some .o in the right place??? I need to get this working. Thanks Sean From tulip-admin@blueraja.scyld.com Sun Jun 18 06:21:11 2000 Received: from mail.arcor-ip.de (mail-ffm-p.arcor-ip.de [145.253.2.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id GAA32538 for ; Sun, 18 Jun 2000 06:21:09 -0400 Received: from nepomuk.asu.com (145.253.188.5) by mail.arcor-ip.de; 18 Jun 2000 12:18:21 +0200 Received: by nepomuk.asu.com (Postfix, from userid 500) id 830A67EC3; Sun, 18 Jun 2000 12:09:33 +0200 (CEST) From: Philipp Schulte To: tulip@scyld.com Subject: Re: [tulip] Tulip HELP Message-ID: <20000618120933.A423@nepomuk.asu.com> Mail-Followup-To: tulip@scyld.com References: <394C3D2D.514EBF06@wavewizard.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <394C3D2D.514EBF06@wavewizard.com>; from seanw@wavewizard.com on Sat, Jun 17, 2000 at 11:08:29PM -0400 Date: Sun Jun 18 06:21:12 2000 On Sat, Jun 17, 2000 Sean Glazier wrote: > I am running Linux 6.2 on and amd 650 with a LNE100TX ethernet device. 6.2 seems to be the Version of your Distribution (RedHat?). The kernel probably has the version 2.2.15. "uname -r" gives you the current version of the kernel. > Unresolved symbol pci_drv_unregister and > Unresolved symbol pci_drv_register Did you load the pci-scan module first? Phil From tulip-admin@blueraja.scyld.com Mon Jun 19 02:24:34 2000 Received: from emess.mscd.edu (emess.mscd.edu [147.153.170.17]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id CAA02976; Mon, 19 Jun 2000 02:24:34 -0400 Received: from oemcomputer.mscd.edu (localhost.localdomain [147.153.170.17]) by emess.mscd.edu (8.9.3/8.9.3) with ESMTP id AAA14867; Mon, 19 Jun 2000 00:21:39 -0600 Message-Id: <4.3.2.7.2.20000619001748.028fbd10@localhost> X-Sender: beaty@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 To: Donald Becker , "Aaron P. Lopez" From: Steve Beaty Subject: Re: [tulip] problem with new Linksys NC100 card Cc: tulip@scyld.com In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Date: Mon Jun 19 02:24:35 2000 At 11:11 AM 6/17/00 -0400, Donald Becker wrote: >On Thu, 15 Jun 2000, Aaron P. Lopez wrote: > > > I was wondering if anyone knew of the compatibility with the tulip.c > > driver and the new Linksys NC100 Fast Ethernet 10/100 card? I had no > > problems compiling the tulip drivers with the Linksys LNE100TX EtherFast > > 10/100 card. But now it reports that "...the device is busy". I am > > running RedHat 6.1. > >You need an updated tulip driver to work with the new chip. > http://www.scyld.com/network/tulip.html i think there may be more to this beast than this. i have one of these too. it's unlike the others on LinkSys' site. here's a little more info that i've dug up on mine. ----- # lspci -v [...] 00:12.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11) Subsystem: Bridgecom, Inc: Unknown device 0570 Flags: bus master, medium devsel, latency 64, IRQ 9 I/O ports at e800 Memory at e9000000 (32-bit, non-prefetchable) Expansion ROM at e8000000 [disabled] Capabilities: [c0] Power Management version 1 # ./tulip-diag tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Unable to find a recognized card in /proc/pci. If there is a card in the machine, explicitly set the I/O port address using '-p -t ' Use '-t -1' to see the valid chip types. # ./tulip-diag -p e800 -ee tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Assuming a Digital Tulip, unknown type adapter at 0xe800. Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. EEPROM size is 8. A simplifed EEPROM data table was found. The EEPROM does not contain transceiver control information. EEPROM contents: 0985 0002 0000 0000 2000 0278 e52d 0000 0000 0400 0000 0000 0000 0000 0000 0100 0985 1317 0570 1317 ffff 0202 0000 804c 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0040 0040 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0ecb ID block CRC 0x92 (vs. 00). Full contents CRC 0x0ecb (read as 0x0ecb). # uname -a Linux b.engr.colostate.edu 2.2.14-12 #1 Tue Apr 25 13:04:07 EDT 2000 i686 unknown ----- hope this helps, Dr. Steve Beaty Assistant Professor Metro State College of Denver beaty@emess.mscd.edu VOX: (303) 556-5321 Science Building 225A FAX: (303) 556-5381 http://clem.mscd.edu/~beatys/ From tulip-admin@blueraja.scyld.com Mon Jun 19 08:01:54 2000 Received: from pegasus.cc.ucf.edu (postfix@Pegasus.cc.ucf.edu [132.170.240.30]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA04967 for ; Mon, 19 Jun 2000 08:01:54 -0400 Received: from pegasus.cc.ucf.edu (shaolin.telecom.ucf.edu [132.170.53.107]) Ident [No Ident Service] by pegasus.cc.ucf.edu (Postfix) with ESMTP id B8BBF34AD; Mon, 19 Jun 2000 07:59:00 -0400 (EDT) Message-ID: <394E1AF7.A3869D62@pegasus.cc.ucf.edu> From: brian dunn Reply-To: phoneranger3@earthlink.net X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Sean Glazier Cc: tulip@scyld.com Subject: Re: [tulip] Tulip HELP References: <394C3D2D.514EBF06@wavewizard.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon Jun 19 08:01:55 2000 you have to treat pci-scan.o as a module same as the tulip.o do the insmod on pci-scan first, and stick it in your modules directory too Sean Glazier wrote: > Hi, > > I am running Linux 6.2 on and amd 650 with a LNE100TX ethernet device. > > the tulip.o on the 6.2 disk fails to initialize. I downloaded and > complied the .92 version of the device driver. However when I try insmod > > tulip.o I get the followtin errors > > Unresolved symbol pci_drv_unregister and > Unresolved symbol pci_drv_register > > I complied both the tulip.c and the pci-scan.c with the compile commands > > at the end of the file. am I not putting some .o in the right place??? > > I need to get this working. > > Thanks > > Sean > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip From tulip-admin@blueraja.scyld.com Mon Jun 19 13:13:46 2000 Received: from vaio.greennet (host.dsl.speakeasy.net [216.254.93.178] (may be forged)) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA06828 for ; Mon, 19 Jun 2000 13:13:46 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id NAA24898; Mon, 19 Jun 2000 13:12:11 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Steve Beaty cc: tulip@scyld.com Subject: Re: [tulip] problem with new Linksys NC100 card In-Reply-To: <4.3.2.7.2.20000619001748.028fbd10@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jun 19 13:13:47 2000 On Mon, 19 Jun 2000, Steve Beaty wrote: > At 11:11 AM 6/17/00 -0400, Donald Becker wrote: > >On Thu, 15 Jun 2000, Aaron P. Lopez wrote: > > > > > I was wondering if anyone knew of the compatibility with the tulip.c > > > driver and the new Linksys NC100 Fast Ethernet 10/100 card? I had no > > > problems compiling the tulip drivers with the Linksys LNE100TX EtherFast > > > 10/100 card. But now it reports that "...the device is busy". I am > > > running RedHat 6.1. > > > >You need an updated tulip driver to work with the new chip. > > http://www.scyld.com/network/tulip.html > > i think there may be more to this beast than this. i have one of > these too. it's unlike the others on LinkSys' site. here's a little more > info that i've dug up on mine. It's an ADMtek "Centaur" chip in PCI mode, similar to the (also new) ADMtek Comet. > ----- > # lspci -v > [...] > 00:12.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11) > Subsystem: Bridgecom, Inc: Unknown device 0570 What are the PCI IDs? They should be 0x1317 0x0985. The "Bridgecom" name is a bug in the 'lspci' database. Some person must have mistakenly assumed that "Bridgecom" actually makes hardware rather than being a brand name on an OEM board. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Mon Jun 19 15:07:40 2000 Received: from vaio.greennet (host.dsl.speakeasy.net [216.254.93.178] (may be forged)) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA07671 for ; Mon, 19 Jun 2000 15:07:39 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id PAA25800; Mon, 19 Jun 2000 15:05:58 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Steve Beaty cc: tulip@scyld.com Subject: Re: [tulip] problem with new Linksys NC100 card In-Reply-To: <200006191835.MAA17309@emess.mscd.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jun 19 15:07:41 2000 On Mon, 19 Jun 2000, Steve Beaty wrote: > > It's an ADMtek "Centaur" chip in PCI mode, similar to the (also new) ADMtek > > Comet. > > cool, thanks... sorry for all my ignorance on this. when i insmod > the tulip modules, i get no complaints. weird thing: when i do 'ifconfig > -a' i get: > > ----- > eth1 Link encap:Ethernet HWaddr 00:20:78:02:2D:E5 > BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:9 Base address:0xd000 > however, i was expecting a base address of 0xe800: The 'ifconfig' program is reporting the dev->base_addr value, a number that was not intended to have public meaning. What you are seeing is the CPU's idea of how to access the PCI address. This is usually a 1-to-1 mapping on the x86. > 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev > 02) (prog-if 00 [Normal decode]) > Flags: bus master, 66Mhz, medium devsel, latency 64 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 > I/O behind bridge: 0000d000-0000dfff Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Wed Jun 21 10:38:10 2000 Received: from hotmail.com (f254.law8.hotmail.com [216.33.240.129]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id KAA24106 for ; Wed, 21 Jun 2000 10:38:10 -0400 Received: (qmail 13596 invoked by uid 0); 21 Jun 2000 14:34:41 -0000 Message-ID: <20000621143441.13595.qmail@hotmail.com> Received: from 198.143.209.2 by www.hotmail.com with HTTP; Wed, 21 Jun 2000 07:34:41 PDT X-Originating-IP: [198.143.209.2] From: "Paul Zelano" To: tulip@scyld.com Mime-Version: 1.0 Content-Type: text/plain; format=flowed Subject: [tulip] tulip - pci-scan.c help Date: Wed Jun 21 10:38:11 2000 I'm a newbie...suprise. I'm trying to get my new linksys cards to work in my linux box. I've compiled the tulip.c and got tulip.o. I've compiled the pci-scan.c and got pci-scan.o. I know where the tulip.o goes (/lib/modules/kernel verions/net), but where does the pci-scan.o go? Everytime I depmod -a, I get an error saying unresolved characters in the tulip.o file. This must be cause I don't have the pci-scan.o in the right place. Any help would be appreciated. Please help. Paul Zelano pzelano@triad.rr.com ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com From tulip-admin@blueraja.scyld.com Wed Jun 21 11:47:44 2000 Received: from mail.yourfit.com (root@28.wxfr1.xdsl.nauticom.net [209.195.150.61]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA24400 for ; Wed, 21 Jun 2000 11:47:43 -0400 Received: from polo (pitt-219.dhcp.yourfit.com [192.168.1.219]) by mail.yourfit.com (8.9.3/8.9.3) with SMTP id LAA23206 for ; Wed, 21 Jun 2000 11:44:44 -0400 From: "John Strange" To: Message-ID: <001701bfdb97$4e3f9e40$db01a8c0@polo> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20000621143441.13595.qmail@hotmail.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [tulip] Netgear FA310TX/ Intel 510T Switch problems Date: Wed Jun 21 11:47:45 2000 Hey Everyone, I seem to be having a slight problem with this setup: Intel 510T Switch, rev 2.63 Netgear FA310TX, rev D2 3com 3c900B Abit BF-6, latest BIOS PIII 650 Coppermine Linux 2.2.x 2.3.x There seems to be different problems depending on the card, if I use the Netgear throughput is great but it just seems to lose it's connection and you can't connect to it for several minutes then a few minutes later it'll be back online. Nothing in /var/log/messages either, this is using both the standard tulip.c driver and the one from Netgear, also 2.3.x performs the same problem. Now when I use the 3c900B card the machine will stay online for 3 days so far, but I can't get less than 150ms response from the machine with 64k packets. I've switched cables, switches, and now have tested both the 3c905C and Intel EtherExpress Pro and both of those cards work fine. I'm assuming now that it's either a driver problem or something is really hosed with the 510T switch. Has anyone had similar problems with the switch or cards? Thanks, John Strange Systems Administrator johns@yourfit.com From tulip-admin@blueraja.scyld.com Wed Jun 21 13:13:04 2000 Received: from pegasus.cc.ucf.edu (postfix@Pegasus.cc.ucf.edu [132.170.240.30]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA24947 for ; Wed, 21 Jun 2000 13:13:04 -0400 Received: from pegasus.cc.ucf.edu (shaolin.telecom.ucf.edu [132.170.53.107]) Ident [No Ident Service] by pegasus.cc.ucf.edu (Postfix) with ESMTP id 05BFD34A3; Wed, 21 Jun 2000 13:10:03 -0400 (EDT) Message-ID: <395106EE.2DF69912@pegasus.cc.ucf.edu> From: brian dunn Reply-To: phoneranger3@earthlink.net X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Paul Zelano Cc: tulip@scyld.com Subject: Re: [tulip] tulip - pci-scan.c help References: <20000621143441.13595.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 21 13:13:05 2000 I don't think those two things are related. Does your tulip.c compile without errors? When do you get that error message? I'm not at my machine, but I think I put pci-scan.o in the same place as tulip.o Paul Zelano wrote: > I'm a newbie...suprise. I'm trying to get my new linksys cards to work in my > linux box. I've compiled the tulip.c and got tulip.o. I've compiled the > pci-scan.c and got pci-scan.o. I know where the tulip.o goes > (/lib/modules/kernel verions/net), but where does the pci-scan.o go? > Everytime I depmod -a, I get an error saying unresolved characters in the > tulip.o file. This must be cause I don't have the pci-scan.o in the right > place. Any help would be appreciated. > From tulip-admin@blueraja.scyld.com Wed Jun 21 13:29:57 2000 Received: from mail1.csx.com (mail.csx.com [206.142.44.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id NAA25036 for ; Wed, 21 Jun 2000 13:29:57 -0400 Received: from tbone.csxt.csx.com ([143.42.215.45]) by mail1.csx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id M0V59DY8; Wed, 21 Jun 2000 13:26:57 -0400 Received: from tbone (tbone.csxt.csx.com [143.42.215.45]) by tbone.csxt.csx.com (8.9.3/8.9.3) with SMTP id NAA08668 for ; Wed, 21 Jun 2000 13:26:56 -0400 Message-Id: <200006211726.NAA08668@tbone.csxt.csx.com> Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 From: "Mark_Neill@csx.com" To: tulip@scyld.com Reply-To: "Mark_Neill@csx.com" Subject: Re: [tulip] tulip - pci-scan.c help X-Mailer: CSCMail v1.7.5CVS In-Reply-To: <395106EE.2DF69912@pegasus.cc.ucf.edu> Date: Wed Jun 21 13:29:58 2000 When you rebuilt your kernel, did you run.... make (lilo, bzlilo, zlilo, whatever) make modules make modules_install The last one of the above 3 will put all .o files built as and needed for modules in the right place under /lib/modules On Wed, 21 Jun 2000 13:18:22 -0500, brian dunn said: > I don't think those two things are related. Does your tulip.c compile > without > errors? When do you get that error message? > > I'm not at my machine, but I think I put pci-scan.o in the same place as > tulip.o > > > > Paul Zelano wrote: > > > I'm a newbie...suprise. I'm trying to get my new linksys cards to work in > my > > linux box. I've compiled the tulip.c and got tulip.o. I've compiled the > > pci-scan.c and got pci-scan.o. I know where the tulip.o goes > > (/lib/modules/kernel verions/net), but where does the pci-scan.o go? > > Everytime I depmod -a, I get an error saying unresolved characters in the > > tulip.o file. This must be cause I don't have the pci-scan.o in the right > > place. Any help would be appreciated. > > > > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip > > -- --Mark ----------------------------- Mark Neill UNIX System Admin Enterprise Backup Administrator Mark_Neill@csx.com From tulip-admin@blueraja.scyld.com Sat Jun 24 08:30:54 2000 Received: from smtp2.nikoma.de (smtp2.nikoma.de [212.122.128.25]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id IAA02425 for ; Sat, 24 Jun 2000 08:30:53 -0400 Received: from 192.168.99.10 (dialin38-nt.pg2.frankfurt.nikoma.de [213.54.33.38]) by smtp2.nikoma.de (8.9.3/8.9.3) with ESMTP id OAA07665 for ; Sat, 24 Jun 2000 14:27:31 +0200 (CEST) (envelope-from axel.mueller@i2c-systems.com) From: =?ISO-8859-1?Q?Axel_M=FCller?= To: tulip@scyld.com Message-ID: <4079137972.961856844@localhost> X-Mailer: Mulberry/2.0.1 (Win32 Demo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [tulip] Multiport adapter (D-Link DFE-570TX): Ports 2-4 Stopped ??? Date: Sat Jun 24 08:30:55 2000 Hi, Recently we upgraded one gateway machine with 2 D-Link DFE-570TX quad-port adapters. Both of them are connected to Baystack 450 switches capable of Multi-link truncing. We downloaded the most recent version of the tuliop drivers along with diagnostic tools. So far we got the 2 quad-port adapters running but obviously only one port out of four on each card: lemon:/usr/local/bin # ./tulip-diag tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DS21143 Tulip adapter at 0xb000. Port selection is MII, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 1024. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #2: Found a Digital DS21143 Tulip adapter at 0xb400. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #3: Found a Digital DS21143 Tulip adapter at 0xb800. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #4: Found a Digital DS21143 Tulip adapter at 0xbc00. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #5: Found a Digital DS21143 Tulip adapter at 0xc000. Port selection is MII, full-duplex. Transmit started, Receive started, full-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 1024. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #6: Found a Digital DS21143 Tulip adapter at 0xc400. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #7: Found a Digital DS21143 Tulip adapter at 0xc800. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Index #8: Found a Digital DS21143 Tulip adapter at 0xcc00. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 128. The NWay status register is 000000c6. Internal autonegotiation state is 'Autonegotiation disabled'. Use '-a' or '-aa' to show device registers, '-e' to show EEPROM contents, -ee for parsed contents, or '-m' or '-mm' to show MII management registers. The tulip driver is loaded as module as follows: lemon:~ # cat /etc/conf.modules|grep tulip alias eth3 tulip alias eth4 tulip alias eth5 tulip alias eth6 tulip alias eth7 tulip alias eth8 tulip alias eth9 tulip alias eth10 tulip options tulip debug=2 options=11,11 Any idea how we can port 2-4 on both cards running as well? From tulip-admin@blueraja.scyld.com Sat Jun 24 08:57:34 2000 Received: from imap.dbd.com (imap.dbd.com [208.241.63.107]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id IAA02707 for ; Sat, 24 Jun 2000 08:57:33 -0400 Received: (qmail 14798 invoked from network); 24 Jun 2000 12:56:00 -0000 Received: from down.dbd.com (208.241.63.6) by imap.dbd.com with SMTP; 24 Jun 2000 12:56:00 -0000 From: Mark Whitis Sender: whitis@down.dbd.com Reply-To: Mark Whitis To: =?ISO-8859-1?Q?Axel_M=FCller?= cc: tulip@scyld.com Subject: Re: [tulip] Multiport adapter (D-Link DFE-570TX): Ports 2-4 Stopped ??? In-Reply-To: <4079137972.961856844@localhost> Message-ID: Foo: bar MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat Jun 24 08:57:37 2000 Just guessing I think options is per port, not per card. options=11,11,11,11,11,11,11,11 If the last port, rather than the first, is the one working your problem might be related to the AMIBIOS reverse probe order bug. http://www.freelabs.com/~whitis/hardware/quartet.html --------------------------------------------------------------------------- --- Mark Whitis http://www.freelabs.com/~whitis/ --- --- Coauthor, Linux Programming Unleashed, ISBN: 0-672-31607-2 --- --------------------------------------------------------------------------- From tulip-admin@blueraja.scyld.com Sun Jun 25 21:36:23 2000 Received: from relay1.pair.com (relay1.pair.com [209.68.1.20]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id VAA18098 for ; Sun, 25 Jun 2000 21:36:23 -0400 Received: (qmail 20141 invoked from network); 26 Jun 2000 01:28:37 -0000 Received: from co3001551-a.eburwd1.vic.optushome.com.au (HELO megahard.xix.net) (203.164.4.223) by relay1.pair.com with SMTP; 26 Jun 2000 01:28:37 -0000 X-pair-Authenticated: 203.164.4.223 From: "Manfred Bartz" Message-ID: <20000626013201.7031.qmail@optushome.com.au> Lines: 33 To: Cc: Joshua Horvath Organization: absolutely none X-Subversion: anarchy bomb crypto drug explosive fission gun nuclear sex terror X-PGP-KeyID: 0xF172019B User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [tulip] Tulip driver "no link test" mode? Date: Sun Jun 25 21:36:24 2000 Joshua Horvath wrote: > > I'm trying to get my cable modem working under Linux but I need to > disable link beat checking to get it working. The NIC I was > provided with is the SMC 8432T with the 21041 chip. When I try to > bring the interface up, I get a message saying no link beat, > switching media to 10Base2... Under windows, the driver has to be > set to something like "10BaseT-no_link_test" to work correctly. Is > it possible to do this with the tulip driver? I tried mucking > around with the code (v0.92) without much success. I have a feeling > the changes I made broke other functions in the driver. > > On a side note, my cable modem (Motorola CyberSURFR Wave) has a PC > light which I assume lights when the NIC is initialized and starts > talking to the cable modem (link beats?). With the tulip driver > included in RH6.2, once I insmod the driver the light comes on. > With v0.92, I insmod the driver and the light stays off... even > though it looks like the driver loads ok (there are lines in > /var/log/messages that seem to indicate everything is ok). Any clue > why this would occur? Joshua, I have the same problems with that NIC. I assume your NIC has the 21041-TP chip? An older SMC card with a 21041-AA works fine for me. Also, the 21041-TP based NIC works fine on my LAN, just not on the cable modem. Maybe this has more to do with the cable modem? Cheers -- Manfred From tulip-admin@blueraja.scyld.com Mon Jun 26 11:19:57 2000 Received: from mout0.freenet.de (exim@mout0.freenet.de [194.97.50.131]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA22077; Mon, 26 Jun 2000 11:19:55 -0400 Received: from [62.104.201.2] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.14 #3) id 136acX-0001Qm-00; Mon, 26 Jun 2000 17:16:21 +0200 Received: from [213.6.136.89] (helo=valkyrie.tabtnet.de) by mx1.freenet.de with esmtp (Exim 3.14 #3) id 136acW-0003WX-00; Mon, 26 Jun 2000 17:16:20 +0200 Received: from gmx.de (alpha.tabtnet.de [192.168.1.129]) by valkyrie.tabtnet.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id RAA03865; Mon, 26 Jun 2000 17:03:18 +0200 Message-ID: <3955EC4B.F8182002@gmx.de> From: Tobias Abt X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: linux-tulip , linux-tulip-bug Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] tulip medium selection oddity Date: Mon Jun 26 11:20:01 2000 When I force a CNet 100TX(E) (21143 without MII, just SYM) to use 10baseT by # insmod tulip options=12 debug=3 ; ifconfig eth1 192.168.2.4 it is autonegotiating to 100baseTx-FDX anyway when attached to a switch. Did I miss something here? (Happens with 0.91 and 0.92) Excerpt from /var/log/messages: Found Digital DS21143 Tulip at PCI I/O address 0xe000. tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov eth1: Digital DS21143 Tulip rev 48 at 0xe000, 00:80:AD:83:54:E4, IRQ 12. eth1: EEPROM default media type Autosense. eth1: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block. eth1: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block. eth1: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block. eth1: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) block. eth1: Restarting 21143 autonegotiation, 0003ffff. eth1: tulip_open() irq 12. eth1: Using user-specified media 10baseT(forced). eth1: 21143 non-MII 10baseT transceiver control 08af/00a5. eth1: Setting CSR15 to 08af0008/00a50008. eth1: Using media type 10baseT, CSR12 is c6. eth1: Done tulip_open(), CSR0 ffa08000, CSR5 f0660000 CSR6 b2422002. eth1: 21143 link status interrupt 45e1d0ce, CSR5 f0668010, fff8ffff. eth1: Switching to 100baseTx-FD based on link negotiation 01e0 & 45e1 = 01e0. eth1: 21143 non-MII 100baseTx-FD transceiver control 08af/00a5. eth1: Setting CSR15 to 08af0008/00a50008. eth1: Using media type 100baseTx-FD, CSR12 is ce. eth1: Setting CSR6 83860200/b3862202 CSR12 45e1d0ce. eth1: 21143 negotiation status 000020ce, 100baseTx-FD. eth1: Using NWay-set 100baseTx-FD media, csr12 000020ce. eth1: 21143 link status interrupt 000060cc, CSR5 f8668000, fff8ffff. eth1: 21143 100baseTx-FD link beat good. eth1: 21143 link status interrupt 000050ce, CSR5 f8668010, fff8ffff. eth1: Restarting 21143 autonegotiation, 0003ffff. eth1: 21143 link status interrupt 45e1d2ce, CSR5 f0008010, fffbffff. eth1: Switching to 100baseTx-FD based on link negotiation 01e0 & 45e1 = 01e0. eth1: 21143 non-MII 100baseTx-FD transceiver control 08af/00a5. eth1: Setting CSR15 to 08af0008/00a50008. eth1: Using media type 100baseTx-FD, CSR12 is ce. eth1: Setting CSR6 83860200/b3862202 CSR12 45e1d2ce. eth1: 21143 link status interrupt 45e1d2cc, CSR5 f8668000, fffbffff. eth1: 21143 100baseTx-FD link beat good. eth1: 21143 negotiation status 45e1d2cc, 100baseTx-FD. eth1: Using NWay-set 100baseTx-FD media, csr12 45e1d2cc. -- Bye, \|/ Tobias @ @ +----------------oOO-(_)-OOo-----------+ | Tobias Abt | | email: tabt@gmx.de | +--------------------------------------+ From tulip-admin@blueraja.scyld.com Tue Jun 27 03:17:39 2000 Received: from grad-ea-4.oac.uci.edu (grad-ea-4.oac.uci.edu [128.200.84.84]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id DAA29597 for ; Tue, 27 Jun 2000 03:17:39 -0400 Received: from localhost (gzhao@localhost) by grad-ea-4.oac.uci.edu (8.9.1/8.9.1) with ESMTP id AAA11953 for ; Tue, 27 Jun 2000 00:14:04 -0700 (PDT) From: Gang Zhao To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] help from a really beginner [Debian, Linksys 10/100 Fast, tulip] Date: Tue Jun 27 03:17:40 2000 Hi, I'm really new....not only to tulip, but also to linux....But I did do my homework before asking.....so please help. I download debian stable from its official site, which turns out to be kernel 2.0.38. I got an Linksys 10/100 Fast Ethernet card, so I followed all the lessons downloaded tulip.c, pci-scan.c, etc., and compiled them. At first I almost cannot success in compiling since gcc complains not being able to find some .ver files. Then I searched and corrected the path name. But when I try 'insmod' before installing the .o files into their directory, I got a 'kernel version mismatch error', which says the .o files are compiled in kernel 2.0.36, albet my version is 2.0.38. -- This I'm really confused, since, how can I compile on kernel version 2.0.38 and the result is a 2.0.36 binary? If I forcefully put the .o files into the directories like /lib/modules/2.0.38/pcmcia and/or /lib/modules/2.0.38/net, then when starting up the PCMCIA system complains kernel error/mismatch (roughly the same complain as insmod). Anybody know what's going on? I don't even know if this is a tulip problem or a Linux/Debian compiler problem. Forgive me if I post it in wrong place, but please help me. -- ///, //// \ /, / >. \ /, _/ /. \_ /_/ /. _____ ___ ____ \__/_ < / _ | / /_ ___ _ _____ / _ \___ _ __ _ ___ _ /<<< \_\_ /_/, / / ' \/ _` \/ _ \ / /_`/ _` \/ `' \/ _` \ /,)^>>_._ \ / /\/ /> / > / From: bernd@kemi.dtu.dk (Bernd Dammann) Reply-to: bernd@fki.dtu.dk (Bernd Dammann) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: tulip@scyld.com, realtek@scyld.com Subject: [tulip] Flash EEPROM problems Date: Tue Jun 27 08:53:22 2000 Hi everybody, I am experimenting at the moment with some diskless machines, and I ran into problems with Flash EEPROMS. By looking at the code in libflash.c I found a list of supported Flash EEPROMS, and I got hold of an Atmel AT29C256 (12PC). If I put it in a D-Link DFE-538TX network card (Realtek 8139 chip), libflash reports a vendor and device ID of 0 0, the same EEPROM in a D-Link DFE-500TX network card (Tulip chip) reports FF FF as vendor and device ID. What am I doing wrong here? Funny enough, the flash utility (running under DOS) provided by Realtek also reports FF FF as vendor and device ID, but for the Realtek card. Are there other ways to write the boot ROM image into this Flash EEPROMS? Regards, Bernd -- # Bernd Dammann | "Why stop now, # Department of Chemistry | just when I am hating it?" # Technical University of Denmark |----------------------------------- # Building 207 | phone: (+45) 45 25 24 81 # DK-2800 Lyngby, Denmark | http://memphys.kemi.dtu.dk/~bernd/ print unpack("u", "<22!K;F5W('1H870@>6]U)VQL(&1O('1H870A\"@``" ); From tulip-admin@blueraja.scyld.com Tue Jun 27 09:15:17 2000 Received: from mail2.lig.bellsouth.net (mail2.lig.bellsouth.net [205.152.0.56]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id JAA32228 for ; Tue, 27 Jun 2000 09:15:16 -0400 Received: from vortex.morris.net (adsl-78-168-161.hsv.bellsouth.net [216.78.168.161]) by mail2.lig.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id JAA14855; Tue, 27 Jun 2000 09:11:41 -0400 (EDT) Received: from Morris.net (speedy.morris.net [192.168.10.101]) by vortex.morris.net (8.9.3/8.8.7) with ESMTP id IAA10373; Tue, 27 Jun 2000 08:11:38 -0500 Message-ID: <3958A885.3CC6F01@Morris.net> From: Jim Morris X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Gang Zhao CC: tulip@scyld.com Subject: Re: [tulip] help from a really beginner [Debian, Linksys 10/100 Fast, tulip] References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue Jun 27 09:15:17 2000 Gang Zhao wrote: > I download debian stable from its official site, which turns out to be > kernel 2.0.38. Wow... that's a really really old kernel. I think you will find that the Debian "stable" release is over 2 years old. You probably wanted the Debian "potatoe", or some other Linux distribution entirely (Mandrake, Corel, Caldera, Redhat). You can get what you have to work - but you are running off of pretty old versions of everything, rather than a nice new system. > I got an Linksys 10/100 Fast Ethernet card, so I followed > all the lessons downloaded tulip.c, pci-scan.c, etc., and compiled them. > At first I almost cannot success in compiling since gcc complains not > being able to find some .ver files. Then I searched and corrected the path > name. But when I try 'insmod' before installing the .o files into their > directory, I got a 'kernel version mismatch error', which says the .o > files are compiled in kernel 2.0.36, albet my version is 2.0.38. -- This > I'm really confused, since, how can I compile on kernel version 2.0.38 and > the result is a 2.0.36 binary? This sounds like you have not actually compiled the Linux kernel yourself, and I suspect that the Debian release has been updated to have a 2.0.38 kernel for booting, but that it may have some evidence of 2.0.36 in other places in the system. Like I said, setting up a new Linux system using a 2.0.xx kernel is sorta asking for trouble. The release kernel version has been at 2.2.xx for 18 months. The 2.4.0 kernel will be out "soon" (or so we think). Anyway, I think that in order to get everything to match up on your Debian distribution, you may need to actually recompile the Linux kernel. You shouldn't have to do that... but it sounds like it might fix the version mismatch. Another suggestion I have for you: try using the tulip.c that is on the 2nd driver disk that came with your Linksys Etherfast 10/100 card. I have bought a number of these cards, and have found that they currently work best with the driver supplied by Linksys. Maybe it will compile on your system. Good luck! -- /------------------------------------------------\ | Jim Morris | Business: jmorris@rtc-group.com | | | Personal: Jim@Morris.net | |------------------------------------------------| | AOL Instant Messenger: JFM2001 | \------------------------------------------------/ From tulip-admin@blueraja.scyld.com Tue Jun 27 09:45:57 2000 Received: from vaio.greennet (adsl-151-196-242-20.bellatlantic.net [151.196.242.20]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id JAA32401 for ; Tue, 27 Jun 2000 09:45:56 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id JAA06270; Tue, 27 Jun 2000 09:45:19 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Gang Zhao cc: tulip@scyld.com Subject: Re: [tulip] help from a really beginner [Debian, Linksys 10/100 Fast, tulip] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 27 09:45:57 2000 On Tue, 27 Jun 2000, Gang Zhao wrote: > I'm really new....not only to tulip, but also to linux....But I did do my > homework before asking.....so please help. > > I download debian stable from its official site, which turns out to be > kernel 2.0.38. I got an Linksys 10/100 Fast Ethernet card, so I followed Running 2.0.38 is fine. It's a stable, reliable kernel with all of the functionality needed by most non-SMP, non-laptop systems. But most current distribution have switched to the (also stable and reliable) 2.2.12 kernel. As a new user you should consider looking at an updated distribution. While little is new in the kernel, most of the GUI system administration tools have improved dramatically over the past year. > all the lessons downloaded tulip.c, pci-scan.c, etc., and compiled them. > At first I almost cannot success in compiling since gcc complains not > being able to find some .ver files. Then I searched and corrected the path First clue.. > name. But when I try 'insmod' before installing the .o files into their > directory, I got a 'kernel version mismatch error', which says the .o > files are compiled in kernel 2.0.36, albet my version is 2.0.38. -- This > I'm really confused, since, how can I compile on kernel version 2.0.38 and > the result is a 2.0.36 binary? You can always force them to be loaded with 'insmod -f ..', but this message is pointing out that your header files in /usr/include/linux are for the 2.0.36 kernel, not the 2.0.38 you are currently running. > Anybody know what's going on? I don't even know if this is a tulip problem > or a Linux/Debian compiler problem. Forgive me if I post it in wrong > place, but please help me. It's not a compiler problem. It's a problem with header files from the Debian kernel package you have installed. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Tue Jun 27 09:51:34 2000 Received: from vaio.greennet (adsl-151-196-242-20.bellatlantic.net [151.196.242.20]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id JAA32472; Tue, 27 Jun 2000 09:51:33 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id JAA06285; Tue, 27 Jun 2000 09:50:57 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Bernd Dammann cc: tulip@scyld.com, realtek@scyld.com Subject: Re: [tulip] Flash EEPROM problems In-Reply-To: <200006271249.OAA17622@membrane.fki.dtu.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 27 09:51:38 2000 On Tue, 27 Jun 2000, Bernd Dammann wrote: > I am experimenting at the moment with some diskless machines, and I > ran into problems with Flash EEPROMS. By looking at the code in > libflash.c I found a list of supported Flash EEPROMS, and I got hold > of an Atmel AT29C256 (12PC). Hmmm, a "-12" part? That's 120ns access time, a little slow. The required specs depend on the exact chip you use it with. > If I put it in a D-Link DFE-538TX network card (Realtek 8139 chip), A plain RTL8139, or a rtl8139-A, -B, or -C? I don't recall offhand which chip can write the Flash parts, but earlier chips often cannot write Flash. > libflash reports a vendor and device ID of 0 0, the same EEPROM in a > D-Link DFE-500TX network card (Tulip chip) reports FF FF as vendor and > device ID. Same issue -- which Tulip chip? > What am I doing wrong here? Funny enough, the flash utility (running > under DOS) provided by Realtek also reports FF FF as vendor and device > ID, but for the Realtek card. > > Are there other ways to write the boot ROM image into this Flash > EEPROMS? It's easiest and cheapest to use an Ethernet card. How else can you get a programmer for $10-$20? You can even recover motherboard Flash from a corrupted upgrade. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Tue Jun 27 10:27:43 2000 Received: from membrane.fki.dtu.dk (membrane.fki.dtu.dk [130.225.67.131]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA32756; Tue, 27 Jun 2000 10:27:42 -0400 Received: (from bernd@localhost) by membrane.fki.dtu.dk (AIX4.2/UCB 8.7/8.7) id QAA22358; Tue, 27 Jun 2000 16:24:07 +0200 (MEST) Message-Id: <200006271424.QAA22358@membrane.fki.dtu.dk> From: bernd@kemi.dtu.dk (Bernd Dammann) In-Reply-To: Donald Becker "Re: [tulip] Flash EEPROM problems" (Jun 27, 9:50am) Reply-to: bernd@fki.dtu.dk (Bernd Dammann) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Donald Becker Subject: Re: [tulip] Flash EEPROM problems Cc: tulip@scyld.com, realtek@scyld.com Date: Tue Jun 27 10:27:49 2000 On Jun 27, 9:50am, Donald Becker wrote: > Subject: Re: [tulip] Flash EEPROM problems > On Tue, 27 Jun 2000, Bernd Dammann wrote: > > > libflash.c I found a list of supported Flash EEPROMS, and I got hold > > of an Atmel AT29C256 (12PC). > > Hmmm, a "-12" part? That's 120ns access time, a little slow. The required > specs depend on the exact chip you use it with. > I was afraid of that, but that was the only AT29C256 available at the shop where I ordered it. Or better put it that way: I ordered an AT29C256, not really knowing that there are 90ns and 120ns versions, and they didn't tell me, of course. > A plain RTL8139, or a rtl8139-A, -B, or -C? > I don't recall offhand which chip can write the Flash parts, but earlier > chips often cannot write Flash. > D-Link has relabeled the chip, and on the adapter it says DL10038. >From /proc/pci: Bus 0, device 9, function 0: Ethernet controller: Realtek 8139 (rev 16). Medium devsel. Fast back-to-back capable. IRQ 14. Master Capable. Latency=32. Min Gnt=32.Max Lat=64. I/O at 0xa800 [0xa801]. Non-prefetchable 32 bit memory at 0xdd000000 [0xdd000000]. > Same issue -- which Tulip chip? > DEC 21140-AF (it says on the chip), /proc/pci says Bus 0, device 11, function 0: Ethernet controller: DEC DC21140 (rev 34). Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=32. Min Gnt=20.Max Lat=40. I/O at 0xb800 [0xb801]. Non-prefetchable 32 bit memory at 0xe2800000 [0xe2800000]. > It's easiest and cheapest to use an Ethernet card. How else can you get a > programmer for $10-$20? You can even recover motherboard Flash from a > corrupted upgrade. > I thought so, too, especially after I heard the price for an EPROM writer... If I succeed in finding an Ethernet card that can do the job, do you think it will be possible to move the Flash ROMs to the Ethernet cards I have and use them as BootROM? Regards, Bernd -- # Bernd Dammann | "Why stop now, # Department of Chemistry | just when I am hating it?" # Technical University of Denmark |----------------------------------- # Building 207 | phone: (+45) 45 25 24 81 # DK-2800 Lyngby, Denmark | http://memphys.kemi.dtu.dk/~bernd/ print unpack("u", "<22!K;F5W('1H870@>6]U)VQL(&1O('1H870A\"@``" ); From tulip-admin@blueraja.scyld.com Tue Jun 27 12:36:00 2000 Received: from dolphinsearch.com ([63.200.6.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA01052 for ; Tue, 27 Jun 2000 12:36:00 -0400 From: kmail@dolphinsearch.com Received: from crawler.dolphinsearch.com ([63.200.6.50] verified) by dolphinsearch.com (CommuniGate Pro SMTP 3.1) with SMTP id 412498 for tulip@scyld.com; Tue, 27 Jun 2000 09:31:53 -0700 Message-ID: <20000627.17315300@crawler.dolphinsearch.com> To: tulip@scyld.com X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.1; Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by blueraja.scyld.com id MAA01053 Subject: [tulip] Compaq DS10 Tulip force Date: Tue Jun 27 12:36:01 2000 How do I force a tulip on a compaq ds10 alphaserver, to 100mbits? I have seen some thing that says that I change set a option with version .91g-ppc with redhat 6.2? very thing about the network software is standard, redhat 6.2 tulip driver standard from redhat kmail@dolphinsearch.com From tulip-admin@blueraja.scyld.com Tue Jun 27 14:31:28 2000 Received: from vaio.greennet (georgia-2.dsl.speakeasy.net [216.254.93.178]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id OAA02488; Tue, 27 Jun 2000 14:31:28 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id OAA07516; Tue, 27 Jun 2000 14:30:53 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Bernd Dammann cc: tulip@scyld.com, realtek@scyld.com Subject: Re: [realtek] Re: [tulip] Flash EEPROM problems In-Reply-To: <200006271424.QAA22358@membrane.fki.dtu.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 27 14:31:32 2000 On Tue, 27 Jun 2000, Bernd Dammann wrote: > On Jun 27, 9:50am, Donald Becker wrote: > > On Tue, 27 Jun 2000, Bernd Dammann wrote: > > > > > libflash.c I found a list of supported Flash EEPROMS, and I got hold > > > of an Atmel AT29C256 (12PC). Note that you'll probably need 5V programming Flash, since you most boards don't have 12V available. > > A plain RTL8139, or a rtl8139-A, -B, or -C? > > I don't recall offhand which chip can write the Flash parts, but earlier > > chips often cannot write Flash. > > > D-Link has relabeled the chip, and on the adapter it says DL10038. > Ethernet controller: Realtek 8139 (rev 16). Neither the RTL8129 nor original RTL8139 supports flash write. Hopefully this is one of the later chips RTL8139A/B/C, which does support writes. > > Same issue -- which Tulip chip? > > > DEC 21140-AF (it says on the chip), /proc/pci says The 21140 doesn't support Flash writes. The 21140A supports Flash up to 256KB using 120ns or faster parts. The 21143 supports Flash up to 256KB using 240ns or faster parts. Both the 21140A and 21143 chips require two additional 8 bit latches (two small 20 pin parts near the boot ROM socket). > Bus 0, device 11, function 0: > Ethernet controller: DEC DC21140 (rev 34). 21140A, step 2. > If I succeed in finding an Ethernet card that can do the job, do you > think it will be possible to move the Flash ROMs to the Ethernet cards > I have and use them as BootROM? Yes. Look up 'etherboot'. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Tue Jun 27 14:38:47 2000 Received: from vaio.greennet (georgia-2.dsl.speakeasy.net [216.254.93.178]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id OAA02592 for ; Tue, 27 Jun 2000 14:38:47 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id OAA07689; Tue, 27 Jun 2000 14:38:11 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: kmail@dolphinsearch.com cc: tulip@scyld.com Subject: Re: [tulip] Compaq DS10 Tulip force In-Reply-To: <20000627.17315300@crawler.dolphinsearch.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 27 14:38:48 2000 On Tue, 27 Jun 2000 kmail@dolphinsearch.com wrote: > How do I force a tulip on a compaq ds10 alphaserver, to 100mbits? Read http://www.scyld.com/network/tulip.html ftp://www.scyld.com/pub/network/tulip.c The correct setting depends on the transceiver types your board has, which is reported in the detection message. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Tue Jun 27 17:56:26 2000 Received: from utelscin.el.utwente.nl (qmailr@utelscin.el.utwente.nl [130.89.30.50]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id RAA04422 for ; Tue, 27 Jun 2000 17:56:25 -0400 Received: (qmail 30095 invoked by uid 0); 27 Jun 2000 21:52:46 -0000 Received: from localhost (HELO adriaan.korenvliet) (nobody@127.0.0.1) by localhost with SMTP; 27 Jun 2000 21:52:46 -0000 Received: (qmail 15482 invoked from network); 27 Jun 2000 21:52:44 -0000 Received: from adriaan.korenvliet (10.0.0.1) by adriaan.korenvliet with SMTP; 27 Jun 2000 21:52:44 -0000 From: Eric Lammerts X-Sender: eric@adriaan.korenvliet To: Gang Zhao cc: tulip@scyld.com Subject: Re: [tulip] help from a really beginner [Debian, Linksys 10/100 Fast, tulip] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 27 17:56:27 2000 On Tue, 27 Jun 2000, Gang Zhao wrote: > I download debian stable from its official site, which turns out to be > kernel 2.0.38. I got an Linksys 10/100 Fast Ethernet card, so I followed Upgrade to potato. It works very well. Slink is just too old. > directory, I got a 'kernel version mismatch error', which says the .o > files are compiled in kernel 2.0.36, albet my version is 2.0.38. -- This > I'm really confused, since, how can I compile on kernel version 2.0.38 and > the result is a 2.0.36 binary? This is because with Debian, the header files in /usr/include/{linux,asm} are the header files glibc was compiled with. You need to add -I/usr/src/linux/include to the gcc commandline so it will use the right header files. Make sure the kernel-headers-2.0.38 package is installed. Eric From tulip-admin@blueraja.scyld.com Tue Jun 27 19:53:55 2000 Received: from grad-ea-7.oac.uci.edu (grad-ea-7.oac.uci.edu [128.200.84.87]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id TAA05633 for ; Tue, 27 Jun 2000 19:53:55 -0400 Received: from localhost (gzhao@localhost) by grad-ea-7.oac.uci.edu (8.9.3/8.9.1) with ESMTP id QAA28364 for ; Tue, 27 Jun 2000 16:50:17 -0700 (PDT) From: Gang Zhao cc: tulip@scyld.com Subject: Re: [tulip] help from a really beginner [Debian, Linksys 10/100 Fast, tulip] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue Jun 27 19:53:56 2000 Thank you all for your kindly help. I got it. -- ///, //// \ /, / >. \ /, _/ /. \_ /_/ /. _____ ___ ____ \__/_ < / _ | / /_ ___ _ _____ / _ \___ _ __ _ ___ _ /<<< \_\_ /_/, / / ' \/ _` \/ _ \ / /_`/ _` \/ `' \/ _` \ /,)^>>_._ \ / /\/ /> / > / ; Tue, 27 Jun 2000 20:04:06 -0400 Received: from k7b6i3 (user-1054hlb.biz.mindspring.com [64.82.70.171]) by maynard.mail.mindspring.net (8.9.3/8.8.5) with SMTP id UAA19728 for ; Tue, 27 Jun 2000 20:00:28 -0400 (EDT) Message-ID: <001001bfe093$e4297600$1224fea9@k7b6i3> From: "Russell Leake" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01BFE072.5CCD1160" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Subject: [tulip] Linksys NE 10/100 ver 4 ethernet card Date: Tue Jun 27 20:04:07 2000 This is a multi-part message in MIME format. ------=_NextPart_000_000D_01BFE072.5CCD1160 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have Mandrake 7.0.2 (Kernel 2.2.14mdksecure) running on my machine. I = am having trouble compiling the tulip and pci drivers. The compiler = throws out all of these errors that seem to be coming from header files. = I was wondering if anyone else has had these troubles or knows of any = possible solutions. Thanks in advance! Russell Leake gt3389b@mindspring.com ------=_NextPart_000_000D_01BFE072.5CCD1160 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have Mandrake 7.0.2 (Kernel 2.2.14mdksecure) = running on my=20 machine.  I am having trouble compiling the tulip and pci = drivers. =20 The compiler throws out all of these errors that seem to be coming from = header=20 files.  I was wondering if anyone else has had these troubles or = knows of=20 any possible solutions.  Thanks in advance!
 
Russell Leake
gt3389b@mindspring.com<= /DIV> ------=_NextPart_000_000D_01BFE072.5CCD1160-- From tulip-admin@blueraja.scyld.com Wed Jun 28 01:58:22 2000 Received: from www.nameplanet.com (mail@www.nameplanet.com [212.125.173.44]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id BAA07497 for ; Wed, 28 Jun 2000 01:58:18 -0400 From: thomas@wong.as Received: 28 Jun 2000 05:54:33 -0000 Message-ID: <20000628055433.11578.qmail@www.nameplanet.com> To: tulip@scyld.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Subject: [tulip] RE: Problem with LNE100TX (ver4.1) Date: Wed Jun 28 01:58:23 2000 Hi, I recently bought more than 10 pcs of LNE100TX (ver 4.1 this is printed on the card itself) and found that my RH6.2 doesn't recognize it. I try to compile the tulip.c (v0.92) and found that it return me this error after I do the "insmod tulip.o" >> unresolved symbol pci_drv_unregister >> unresolved symbol pci_drv_register I saw one posting and found that I need to compile pci-netif.c (gcc -DMODULE - D__KERNEL__ -O6 -c pci-netif.c). I compile it but now I received another error message from after doing the "insmod pci-netif.o" The error message is >> couldn't find the kernel version the module was compiled for What have I miss during the compilation ?? Secondly, when my system boot up the it show the below message for the PCI Device Listing: Bus No Device No ... Vendor ID Device ID ... IRQ 0 19 ... 1317 0985 ... 5 I did the source code for tulip.c and found that this vendor id and device id are referring to ADMtek Centaur-P. Anyone who has any idea how to solve this problem , please please please reply. I need help urgently. I bought this NIC card being fooled by the logo Tested with Linux on the box cover thinking that support and driver is given. What a mistake ? Regards, Thomas Wong -- Get your firstname@lastname email for FREE at http://NamePlanet.com From tulip-admin@blueraja.scyld.com Wed Jun 28 03:09:52 2000 Received: from mail5.lig.bellsouth.net (mail5.lig.bellsouth.net [205.152.0.12]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id DAA07843 for ; Wed, 28 Jun 2000 03:09:52 -0400 Received: from vortex.morris.net (adsl-78-168-161.hsv.bellsouth.net [216.78.168.161]) by mail5.lig.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id DAA24496; Wed, 28 Jun 2000 03:06:13 -0400 (EDT) Received: from Morris.net (speedy.morris.net [192.168.10.101]) by vortex.morris.net (8.9.3/8.8.7) with ESMTP id CAA16090; Wed, 28 Jun 2000 02:06:12 -0500 Message-ID: <3959A461.25E16B0D@Morris.net> From: Jim Morris X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: thomas@wong.as CC: tulip@scyld.com Subject: Re: [tulip] RE: Problem with LNE100TX (ver4.1) References: <20000628055433.11578.qmail@www.nameplanet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed Jun 28 03:09:53 2000 thomas@wong.as wrote: > Anyone who has any idea how to solve this problem , please please please reply. > I need help urgently. I bought this NIC card being fooled by the logo Tested > with Linux on the box cover thinking that support and driver is given. What a > mistake ? Unfortunately, Linksys seems to keep changing their card design, causing problems working with the standard Tulip driver. That said, the last few Linksys cards I bought (LNE100TX) included a tulip.c driver on the 2nd driver floppy that came with the card. That should work with Linux 2.0.x and 2.2.x kernels. I used to buy and recommend a lot of Linksys cards. I've stopped doing that, after running into so many problems with using the stock tulip driver. Most of the problems I've seen with the current card are related to media detection and negotiation. I.e. a Linksys card will work fine on a 10BaseT or 100BaseTX hub, but not connected to a 10/100 autoswitching hub or switch. Good luck... wish I could help more. -- /------------------------------------------------\ | Jim Morris | Business: jmorris@rtc-group.com | | | Personal: Jim@Morris.net | |------------------------------------------------| | AOL Instant Messenger: JFM2001 | \------------------------------------------------/ From tulip-admin@blueraja.scyld.com Wed Jun 28 10:07:53 2000 Received: from gem.lightlink.com (root@gem.lightlink.com [205.232.34.13]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA09703 for ; Wed, 28 Jun 2000 10:07:53 -0400 Received: from adore.lightlink.com (homer@adore.lightlink.com [205.232.34.20]) by gem.lightlink.com (8.8.8/8.8.8) with ESMTP id KAA30745; Wed, 28 Jun 2000 10:04:09 -0400 From: Homer Wilson Smith To: thomas@wong.as cc: tulip@scyld.com Subject: Re: [tulip] RE: Problem with LNE100TX (ver4.1) In-Reply-To: <20000628055433.11578.qmail@www.nameplanet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed Jun 28 10:07:54 2000 > card itself) and found that my RH6.2 doesn't recognize it. I try to compile the > tulip.c (v0.92) and found that it return me this error after I do the "insmod > tulip.o" > >> unresolved symbol pci_drv_unregister > >> unresolved symbol pci_drv_register I think you are missing the pci-scan module. REad about it on the tulip home page. Homer > > I saw one posting and found that I need to compile pci-netif.c (gcc -DMODULE - > D__KERNEL__ -O6 -c pci-netif.c). I compile it but now I received another error > message from after doing the "insmod pci-netif.o" The error message is > >> couldn't find the kernel version the module was compiled for > > What have I miss during the compilation ?? > > Secondly, when my system boot up the it show the below message for the PCI > Device Listing: > > Bus No Device No ... Vendor ID Device ID ... IRQ > 0 19 ... 1317 0985 ... 5 > > I did the source code for tulip.c and found that this vendor id and device id > are referring to ADMtek Centaur-P. > > Anyone who has any idea how to solve this problem , please please please reply. > I need help urgently. I bought this NIC card being fooled by the logo Tested > with Linux on the box cover thinking that support and driver is given. What a > mistake ? > > Regards, > Thomas Wong > > > > -- > Get your firstname@lastname email for FREE at http://NamePlanet.com > > _______________________________________________ > tulip mailing list > tulip@scyld.com > http://www.scyld.com/mailman/listinfo/tulip > From tulip-admin@blueraja.scyld.com Wed Jun 28 12:03:37 2000 Received: from vaio.greennet (adsl-151-196-242-17.bellatlantic.net [151.196.242.17]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id MAA10797 for ; Wed, 28 Jun 2000 12:03:36 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id MAA01915; Wed, 28 Jun 2000 12:03:13 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: thomas@wong.as cc: tulip@scyld.com Subject: Re: [tulip] RE: Problem with LNE100TX (ver4.1) In-Reply-To: <20000628055433.11578.qmail@www.nameplanet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed Jun 28 12:03:37 2000 On 28 Jun 2000 thomas@wong.as wrote: > I recently bought more than 10 pcs of LNE100TX (ver 4.1 this is printed on the > card itself) and found that my RH6.2 doesn't recognize it. I try to compile the The v4.* boards use the ADMtek Comet/Centaur chip. The Tulip driver has supported this since August '99. The version in the kernel has diverged and not incorported the new support. > tulip.c (v0.92) and found that it return me this error after I do the "insmod > tulip.o" > >> unresolved symbol pci_drv_unregister > >> unresolved symbol pci_drv_register Read http://www.scyld.com/network/updates.html There is a Makefile, a .tgz file, and a SRPM to try to make this easier. > Bus No Device No ... Vendor ID Device ID ... IRQ > 0 19 ... 1317 0985 ... 5 Yup, an AN983 Centaur-C (nee AN985). Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Thu Jun 29 00:10:12 2000 Received: from www.nameplanet.com (mail@www.nameplanet.com [212.125.173.44]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id AAA17982 for ; Thu, 29 Jun 2000 00:10:11 -0400 From: thomas@wong.as Received: 29 Jun 2000 04:06:27 -0000 Message-ID: <20000629040627.20703.qmail@www.nameplanet.com> To: becker@scyld.com Cc: tulip@scyld.com MIME-Version: 1.0 Subject: Re: [tulip] RE: Problem with LNE100TX (ver4.1) Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu Jun 29 00:10:12 2000 Hi, I tried using the SRPM but it still can't recognize/detect my network card. When I do insmod tulip.o, I still received the below message : >> unresolved symbol pci_drv_unregister >> unresolved symbol pci_drv_register I read through some mailing list that indicate that I need to compile pci- netif.c . Is this necessary ? If yes, what switch / option I need to set during the compilation using gcc ? By the way, do I need change any conf files ? Thanks very much for your help and your beowulf cluster is superb !!! Regards, Thomas On Wed, 28 Jun 2000 12:03:13 -0400 (EDT) Donald Becker wrote: >On 28 Jun 2000 thomas@wong.as wrote: > >> I recently bought more than 10 pcs of LNE100TX (ver 4.1 this is printed on the >> card itself) and found that my RH6.2 doesn't recognize it. I try to compile the > >The v4.* boards use the ADMtek Comet/Centaur chip. > >The Tulip driver has supported this since August '99. The version in >the kernel has diverged and not incorported the new support. > >> tulip.c (v0.92) and found that it return me this error after I do the "insmod >> tulip.o" >> >> unresolved symbol pci_drv_unregister >> >> unresolved symbol pci_drv_register > >Read > http://www.scyld.com/network/updates.html > >There is a Makefile, a .tgz file, and a SRPM to try to make this easier. > >> Bus No Device No ... Vendor ID Device ID ... IRQ >> 0 19 ... 1317 0985 ... 5 > >Yup, an AN983 Centaur-C (nee AN985). > >Donald Becker becker@scyld.com >Scyld Computing Corporation http://www.scyld.com >410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations >Annapolis MD 21403 > > > -- Get your firstname@lastname email for FREE at http://NamePlanet.com From tulip-admin@blueraja.scyld.com Fri Jun 30 17:45:13 2000 Received: from hotmail.com (f102.law3.hotmail.com [209.185.241.102]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id RAA12080 for ; Fri, 30 Jun 2000 17:45:10 -0400 Received: (qmail 90805 invoked by uid 0); 30 Jun 2000 21:40:43 -0000 Message-ID: <20000630214043.90804.qmail@hotmail.com> Received: from 209.179.252.226 by www.hotmail.com with HTTP; Fri, 30 Jun 2000 14:40:43 PDT X-Originating-IP: [209.179.252.226] From: "Ute Jensen" To: tulip@scyld.com Mime-Version: 1.0 Content-Type: text/plain; format=flowed Subject: [tulip] unresolved symbols in Tulip build on SuSe (2.2.5 kernel) Date: Fri Jun 30 17:45:14 2000 Hola! I have a LinkSys Etherfast 10/100 (LNE100TX) Version 2 connected to a Netgear EN104TP Hub.. lights are green, all okay. I have SuSe Linux (6.1) with the 2.2.5 kernel. It came with a tulip module, but it didn't work (I forget what the errors were). So I came to scyld for the latest. I was unable to compile tulip.o by itself (again, I forget the errors, sorry), so I went for the netdrivers source RPM. After finding that SuSe keeps the packages in /usr/src/packages (rather than /usr/src/linux/packages) I was able to build and install just fine-- no errors at all in the log, except for this, which I think is irrelevant to me: install: cb_shim.o: No such file or directory make: [install] Error 1 (ignored) But just in case, I tried to build it by itself, but apparently there is a header file missing, which might be why it didn't build in the package? So anyway I proceeded to.. *** Run '/sbin/depmod -a' to update the module database. and this is what I get.. pan:/ # depmod -a depmod: *** Unresolved symbols in /lib/modules/2.2.5/net/tulip.o depmod: *** Unresolved symbols in /lib/modules/2.2.5/scsi/scsi_debug.o depmod: *** Unresolved symbols in /lib/modules/2.2.5/scsi/sd_mod.o depmod: *** Unresolved symbols in /lib/modules/2.2.5/video/vfb.o depmod: *** Unresolved symbols in /lib/modules/2.2.5/misc/maui.o depmod: *** Unresolved symbols in /lib/modules/2.2.5/pcmcia/iscc_cs.o depmod: *** Unresolved symbols in /lib/modules/2.2.5/pcmcia/mpsuni_cs.o Since tulip is all I care about right now.. pan:/ # insmod tulip Using /lib/modules/2.2.5/net/tulip.o /lib/modules/2.2.5/net/tulip.o: unresolved symbol __global_cli /lib/modules/2.2.5/net/tulip.o: unresolved symbol pci_drv_unregister /lib/modules/2.2.5/net/tulip.o: unresolved symbol __global_save_flags /lib/modules/2.2.5/net/tulip.o: unresolved symbol __global_restore_flags /lib/modules/2.2.5/net/tulip.o: unresolved symbol pci_drv_register Is the package not designed to build on SuSe or am I doing something wrong? In the code, I found that cli and save_flags are called in tulip.c, but in kern_compat.h where they are defined, they are commented out (and then only used with versions below Ox20123 (does 2.2.5 fall in that range?)). I didn't study tulip.c in detail (I'm not a programmer), but are these functions actually used? Just in case, since this used to be a problem, I checked if pci-scan was there. pan:/ # insmod pci-scan Using /lib/modules/2.2.5/net/pci-scan.o insmod: a module named pci-scan already exists It is. Well, I guess the modules won't load with unresolved symbols. But here are the results of everything else I tried just in case they would... So start the net.. pan:/ # /etc/rc.d/init.d/network start Setting up network device eth0 SIOCSIFADDR: Operation not supported by device eth0: unknown interface: Operation not supported by device SIOCSIFBRDADDR: Operation not supported by device eth0: unknown interface: Operation not supported by device SIOCSIFNETMASK: Operation not supported by device eth0: unknown interface: Operation not supported by device failed Try to configure the interface ? pan:/ # ifconfig eth0 192.168.1.2 SIOCSIFADDR: Operation not supported by device eth0: unknown interface: Operation not supported by device Can't do that; check module config. Looks ok. pan:/ # grep tulip /etc/conf.modules alias eth0 tulip # options tulip options=0 Make sure the hardware is okay at least pan:/ # lspci -vv ... 00:0e.0 Ethernet controller: Lite-On Communications Inc: Unknown device c115 (rev 25) Subsystem: Unknown device 11ad:c001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- ; Thu, 6 Jul 2000 14:55:07 -0400 Received: (qmail 8954 invoked from network); 6 Jul 2000 18:50:42 -0000 Received: from unknown (HELO secureworks.net) (63.239.86.253) by secureworks.net with SMTP; 6 Jul 2000 18:50:42 -0000 Sender: root@blueraja.scyld.com Message-ID: <3964D562.652DF0EC@secureworks.net> From: "John D. Scott" Organization: SecureWorks X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] changing ethernet interface names Date: Thu Jul 6 14:55:08 2000 I work with a company called SecureWorks in Atlanta, GA. We are currently using phobos 4 port ethernet cards in our products. This card is based on the tulip 21142 chipset, and the latest version of the tulip driver works like a charm with the phobos cards (picking up all 4 interfaces); however, I have one question, and I hope it is not a stupid one. The proprietary drivers provided by phobos insisted upon the naming of the ethernet devices as pqfe0, pqfe1, pqfe2, and pqfe3. Of course, the tulip drivers name the interfaces as eth0, eth1, eth2, and eth3. The only problem is that we have written software that specifically uses the pqfe* device names. Is there an easy way to alter the tulip driver, allowing for a different interface naming scheme? I have been fooling around with the drivers, and having very little experience doing so, I am having trouble accomplishing the task of renaming the interfaces. Please let me know if there is a simple way to do this. I have to be missing something simple. Thanks very much in advance for any assistance you can offer. -John Scott From tulip-admin@blueraja.scyld.com Thu Jul 6 17:54:16 2000 Received: from vaio.greennet (georgia-2.dsl.speakeasy.net [216.254.93.178]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id RAA24112 for ; Thu, 6 Jul 2000 17:54:16 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id RAA15577; Thu, 6 Jul 2000 17:54:54 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: "John D. Scott" cc: tulip@scyld.com Subject: Re: [tulip] changing ethernet interface names In-Reply-To: <3964D562.652DF0EC@secureworks.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Thu Jul 6 17:54:17 2000 On Thu, 6 Jul 2000, John D. Scott wrote: > I work with a company called SecureWorks in Atlanta, GA. We are > currently using phobos 4 port ethernet cards in our products. This card > is based on the tulip 21142 chipset, and the latest version of the tulip > driver works like a charm with the phobos cards (picking up all 4 > interfaces); however, I have one question, and I hope it is not a stupid > one. > > The proprietary drivers provided by phobos insisted upon the naming of ??? I've not heard of this driver. Is it written from scratch, or based on the Tulip driver? > the ethernet devices as pqfe0, pqfe1, pqfe2, and pqfe3. Of course, the > tulip drivers name the interfaces as eth0, eth1, eth2, and eth3. The > only problem is that we have written software that specifically uses the > pqfe* device names. Is there an easy way to alter the tulip driver, > allowing for a different interface naming scheme? I have been fooling > around with the drivers, and having very little experience doing so, I > am having trouble accomplishing the task of renaming the interfaces. It's sleazy, but just hack the driver to put its own string in place of dev->name. You can add a new array in tulip_private char pqfe[16]; and then in tulip_probe1() do tp->next_module = root_tulip_dev; root_tulip_dev = dev; + sprintf(tp->pqfe, "pqfe%s", dev->name + 3); + dev->name = tp->pqfe; This is untested. We do driver validation if you wanted a tested version. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Fri Jul 7 04:21:40 2000 Received: from mail.wildbearnet.net (IDENT:root@[63.161.137.253]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id EAA28373 for ; Fri, 7 Jul 2000 04:19:09 -0400 Received: from panda (ip36.wildbearnet.net [63.161.137.36]) by mail.wildbearnet.net (8.9.3/8.9.3) with SMTP id BAA12885 for ; Fri, 7 Jul 2000 01:23:59 -0700 From: Joseph Parmelee X-Sender: jparmele@panda To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Transmit timeout - perhaps a clue Date: Fri Jul 7 04:21:42 2000 We are using a Linksys LNE100TX which has been working well in a Pentium II/440BX production system since February. We discovered that we could induce almost immediately the ethernet transmit timeout error that has been widely reported when running either a 2.2.12 or 2.2.16 kernel by connecting /dev/ttyS0 to the RS232C back-port of our terminal server. The timeout errors appeared before any application using /dev/ttyS0 was even started. The terminal server sends data continuously, so I presume the RS232C receive interrupts (IRQ 4) are somehow inducing this. The NIC is on IRQ 10. Perhaps the fact that IRQ 4 is handled on the first level interrupt controller is important, but so are system clock (IRQ 0) and keyboard (IRQ 1), which don't cause the problem. Neither do any of the other interrupts on the cascaded interrupt controller; Cyclades T1 serial interace on IRQ 11, IDE controllers on IRQ 14 and IRQ 15. We did not try to induce the errors with the floppy disk controller (IRQ 6). No other IRQ on the first level controller above 2 is in use. Is there a silly interrupt handling bug involving the interrupt cascading lurking in the tulip driver? Sorry we don't have time to chase this right now, but will be happy to provide additional info. Our 2.2.12 kernel was built with tulip.c:v0.91g 7/16/99 downloaded from the Linksys website; our 2.2.16 kernel uses the stock tulip.c. Regards, Joe Parmelee Wild Bear Systems jparmele@wildbear.com From tulip-admin@blueraja.scyld.com Fri Jul 7 10:57:12 2000 Received: from praim.com (mail.praim.com [194.185.227.2]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA31427 for ; Fri, 7 Jul 2000 10:57:10 -0400 Received: from [195.120.60.89] (rub089.tn00.ne.interbusiness.it) by praim.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 167-44480U100L100S0) with SMTP id AAA252 for ; Fri, 7 Jul 2000 16:49:23 +0200 From: andreae@praim.com (Andrea Endrizzi) X-Mailer: The Bat! (v1.44) UNREG / CD5BF9353B3B7091 Reply-To: "Andrea E." X-Priority: 3 (Normal) Message-ID: <163606070.20000707164948@praim.com> To: tulip@scyld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] unknows problem on mips Date: Fri Jul 7 10:57:13 2000 Hello Tulip-MailingList, I working on mips processor and i must use ST10/100 Chip Driver ( ADMTec ). On my i386 work pretty fine, but when i try to load the some driver on mips platform i receive the follow message when i try to ping another host. I have see that the packet dropped , when ping from i386 platform , incremet very fast. neighbour table overflow eth0: Transmit timed out, status fc685410, CSR12 00000000, resetting... NET: 2 messages suppressed. neighbour table overflow NET: 5 messages suppressed. neighbour table overflow NET: 2 messages suppressed. neighbour table overflow eth0: Transmit timed out, status fc685410, CSR12 00000000, resetting... NET: 5 messages suppressed. neighbour table overflow I think that the driver not have any bug , but i have wrong to programmer the PCI Controller. I hope that anyone help to understund the problem with the follow message. -- Best regards, Andrea mailto:andreae@praim.com From tulip-admin@blueraja.scyld.com Fri Jul 7 15:02:31 2000 Received: from vaio.greennet (georgia-2.dsl.speakeasy.net [216.254.93.178]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id PAA32519 for ; Fri, 7 Jul 2000 15:02:31 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id PAA20994; Fri, 7 Jul 2000 15:03:06 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Andrea Endrizzi cc: tulip@scyld.com Subject: Re: [tulip] unknows problem on mips In-Reply-To: <163606070.20000707164948@praim.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Fri Jul 7 15:02:32 2000 On Fri, 7 Jul 2000, Andrea Endrizzi wrote: > I working on mips processor and i must use ST10/100 Chip Driver ( ADMTec ). On > my i386 work pretty fine, but when i try to load the some driver on mips > platform i receive the follow message when i try to ping another host. I have > see that the packet dropped , when ping from i386 platform , incremet very > fast. What driver are you using? What kernel version? > neighbour table overflow > eth0: Transmit timed out, status fc685410, CSR12 00000000, resetting... Try running 'tulip-diag' from http://www.scyld.com/diag/index.html Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Sat Jul 8 17:01:37 2000 Received: from devel.ecoaccess.org (user-152-16-66-119.adsl.duke.edu [152.16.66.119]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id RAA05309 for ; Sat, 8 Jul 2000 17:01:36 -0400 Received: (qmail 6778 invoked from network); 8 Jul 2000 21:01:14 -0000 Received: from localhost (HELO ecoaccess.org) (127.0.0.1) by localhost with SMTP; 8 Jul 2000 21:01:14 -0000 Sender: fhorch@blueraja.scyld.com Message-ID: <3967969A.86D1AE97@ecoaccess.org> From: Fred Wilson Horch Organization: EcoAccess X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12-20 i586) X-Accept-Language: en-US,en-GB MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Failed to map PCI address ? Date: Sat Jul 8 17:01:37 2000 Does anyone know what 'Failed to map PCI address' means? We have a cluster of Linux 2.0.36 machines using (or rather, previously using) a 100 Mbps hub and four Kingston 100/10 Mbps NICs. Every three months or so the network would fail & we'd have to reboot to regain connectivity. By fail, what would happen is that most packets between nodes would be lost and packets that did get through would take five minutes or longer, essentially shutting down the entire cluster. We could never figure out what triggered this. The situation has gone from bad to worse in trying to fix it. One of the nodes has two NICs: an Intel EtherExpress Pro 10/100 that worked and still works fine (at 10 Mbps), and the Kingston NIC that was flaky. After updating to tulip.c:v0.92 4/17/2000, that machine has completely lost touch with the Kingston NIC. Here is the boot message: tulip.c:v0.92 4/17/2000 Written by Donald Becker http://www.scyld.com/network/tulip.html Failed to map PCI address 0xebfeef80. I tried swapping another Kingston NIC (same model) from another node in the cluster -- same message no matter which NIC is in the machine. Can anyone tell me what triggers this message ('Failed to map PCI address')? As far as I can tell, the hardware is okay. All the lights come on (on the card and on the hub). Linux sees the card. Here's the contents of /proc/ PCI devices found: [snip] Bus 0, device 6, function 0: Ethernet controller: Intel 82557 (rev 4). Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=6 4. Min Gnt=8.Max Lat=56. Prefetchable 32 bit memory at 0xffaff000. I/O at 0xef40. Non-prefetchable 32 bit memory at 0xebe00000. Bus 0, device 4, function 0: VGA compatible controller: S3 Inc. Trio64V2/DX or /GX (rev 22). Medium devsel. Non-prefetchable 32 bit memory at 0xec000000. Bus 0, device 3, function 0: Ethernet controller: DEC DC21140 (rev 34). Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=64 . Min Gnt=20.Max Lat=40. I/O at 0xec80. Non-prefetchable 32 bit memory at 0xebfeef80. [snip] Here's what tulip-diag says: tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Digital DS21140 Tulip adapter at 0xec80. Port selection is 10mpbs-serial, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. The transmit threshold is 72. Use '-a' or '-aa' to show device registers, '-e' to show EEPROM contents, -ee for parsed contents, or '-m' or '-mm' to show MII management registers. modprobe by hand complains with /lib/modules/preferred/net/tulip.o: init_module: Device or resource busy I have another machine running Linux 2.2.12 with the same model Kingston NIC and tulip v0.92 that works fine. Before I try to upgrade the kernel on all our nodes (in sort of a Microsoft-esque attempt to solve a problem by loading on more software that we don't really need) or replace the NICs (in an Intel-esque attempt to solve a problem by buying new hardware), I'd like to make sure I understand what the 'Failed to map PCI address' message means. Any help would be appreciated. Thanks in advance, Fred -- Fred Wilson Horch mailto:fhorch@ecoaccess.org Executive Director, EcoAccess http://ecoaccess.org/ 2408 Prince St, Durham, NC 27707 phone: 919.419-8354 From tulip-admin@blueraja.scyld.com Sat Jul 8 18:34:33 2000 Received: from mail.arcor-ip.de (mail-ffm-p.arcor-ip.de [145.253.2.10]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id SAA05663 for ; Sat, 8 Jul 2000 18:34:33 -0400 Received: from nepomuk (212.144.204.1) by mail.arcor-ip.de; 9 Jul 2000 00:29:52 +0200 Received: by nepomuk (Postfix, from userid 1000) id 05D3AAE4C; Sun, 9 Jul 2000 00:20:48 +0200 (CEST) From: Philipp Schulte To: tulip@scyld.com Subject: Re: [tulip] Failed to map PCI address ? Message-ID: <20000709002048.A12221@nepomuk> Mail-Followup-To: tulip@scyld.com References: <3967969A.86D1AE97@ecoaccess.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3967969A.86D1AE97@ecoaccess.org>; from fhorch@ecoaccess.org on Sat, Jul 08, 2000 at 05:01:14PM -0400 X-Mailer: Mutt 1.2 Sender: phil@nepomuk.nepomuk Date: Sat Jul 8 18:34:34 2000 On Sat, Jul 08, 2000 at 05:01:14PM -0400, Fred Wilson Horch wrote: > Does anyone know what 'Failed to map PCI address' means? I don't know what it means but I know how to avoid it :) I had this problemsome time ago and Mr. Becker told me to do this: Compile tulip.c v92 with the *additional* flag '-DUSE_IO_OPS' I could compile the module with this option and never saw this message again. Phil From tulip-admin@blueraja.scyld.com Sat Jul 8 21:01:36 2000 Received: from devel.ecoaccess.org (user-152-16-66-119.adsl.duke.edu [152.16.66.119]) by blueraja.scyld.com (8.9.3/8.9.3) with SMTP id VAA06181 for ; Sat, 8 Jul 2000 21:01:36 -0400 Received: (qmail 6846 invoked from network); 9 Jul 2000 01:01:13 -0000 Received: from localhost (HELO ecoaccess.org) (127.0.0.1) by localhost with SMTP; 9 Jul 2000 01:01:13 -0000 Sender: fhorch@blueraja.scyld.com Message-ID: <3967CED9.779F58BB@ecoaccess.org> From: Fred Wilson Horch Organization: EcoAccess X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12-20 i586) X-Accept-Language: en-US,en-GB MIME-Version: 1.0 To: tulip@scyld.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [tulip] Re: Failed to map PCI address ? (Problem solved!) Date: Sat Jul 8 21:01:37 2000 On Sat, Jul 08, 2000, Philipp Schulte wrote: >> Does anyone know what 'Failed to map PCI address' means? > >I don't know what it means but I know how to avoid it :) >I had this problemsome time ago and Mr. Becker told me to do this: >Compile tulip.c v92 with the *additional* flag '-DUSE_IO_OPS' Wow, that's impressive -- worked like a charm! I recompiled tulip.c with this command: gcc -DMODULE -DUSE_IO_OPS -Wall -Wstrict-prototypes -O6 -c tulip.c Then I was able to modprobe tulip, and bring up the interface. We are in business! Thanks! Now, what did I just do? ;-) /proc/ioports shows [snip] ec80-ecff : eth1 ef40-ef5f : Intel Speedo3 Ethernet /proc/interrupts shows [snip] 9: 25 eth1 10: 223900 Intel EtherExpress Pro 10/100 Ethernet [snip] I see the comment in the source of tulip.c: /* This driver was originally written to use I/O space access, but now uses memory space by default. Override this this with -DUSE_IO_OPS. */ Is there any practical difference between the two (I/O space access vs. memory space access), aside from the obvious (i.e., that memory space doesn't work for me)? Why was the driver rewritten to use memory space by default? -- Fred Wilson Horch mailto:fhorch@ecoaccess.org Executive Director, EcoAccess http://ecoaccess.org/ 2408 Prince St, Durham, NC 27707 phone: 919.419-8354 From tulip-admin@blueraja.scyld.com Sat Jul 8 23:26:00 2000 Received: from vaio.greennet (adsl-151-196-242-87.bellatlantic.net [151.196.242.87]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id XAA06683 for ; Sat, 8 Jul 2000 23:25:59 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id XAA26934; Sat, 8 Jul 2000 23:26:59 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: Fred Wilson Horch cc: tulip@scyld.com Subject: Re: [tulip] Re: Failed to map PCI address ? (Problem solved!) In-Reply-To: <3967CED9.779F58BB@ecoaccess.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat Jul 8 23:26:00 2000 On Sat, 8 Jul 2000, Fred Wilson Horch wrote: > On Sat, Jul 08, 2000, Philipp Schulte wrote: > >> Does anyone know what 'Failed to map PCI address' means? > > > >I don't know what it means but I know how to avoid it :) > >I had this problemsome time ago and Mr. Becker told me to do this: > >Compile tulip.c v92 with the *additional* flag '-DUSE_IO_OPS' > > Wow, that's impressive -- worked like a charm! > > I recompiled tulip.c with this command: > > gcc -DMODULE -DUSE_IO_OPS -Wall -Wstrict-prototypes -O6 -c tulip.c ... > Now, what did I just do? ;-) The Tulip registers may be accessed using either I/O space operations, or using memory space operations. This compile option switches to using I/O space operations, which was the original mode the driver used. The BIOS sets both the I/O base address and the memory base address. On the PC architecture I/O space access is traditionally used for peripherals, and is sometime the only method tested. The problem you are experiencing is that the Tulip's memory space is set to a high address, and the 2.0.* kernel is apparently unable to map that address. Thus the driver+kernel works with most BIOSes, but fails with yours. The 2.2.* kernel uses a different kernel memory mapping, and thus works with all BIOSes. I'll change the Tulip driver (and others) to alway use the I/O space mapping with the pre-2.2 kernels. > I see the comment in the source of tulip.c: > > /* This driver was originally written to use I/O space access, but now > uses memory space by default. Override this this with -DUSE_IO_OPS. > */ > > Is there any practical difference between the two (I/O space access vs. > memory space access), aside from the obvious (i.e., that memory space > doesn't work for me)? Why was the driver rewritten to use memory space > by default? Memory space write operations can be more efficient on most recent systems. If you do a single memory write operation it's put into the cache-coherent write buffer, and the CPU continues operation without delay. The similar I/O 'outl' operation will cause the CPU to wait until the PCI bus transaction completes. This efficiency is most obvious when transmitting a packet. The only PCI transaction necessary is a writel or outl that triggers the chip to check the Tx queue. (The chip can poll on Tx descriptors, but that adds latency.) Don't get the mis-impression that waiting one additional PCI transaction per Tx and packet and interrupt cycle is significant. It isn't going to be measurable, let alone noticeable. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Mon Jul 10 03:58:35 2000 Received: from jeeves.blindglobe.net (sense-sea-MegaSub-1-346.oz.net [216.39.145.92]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id DAA11037 for ; Mon, 10 Jul 2000 03:58:34 -0400 Received: from rossini (helo=localhost) by jeeves.blindglobe.net with local-esmtp (Exim 3.12 #1 (Debian)) id 13BYO1-0006Vx-00 for ; Mon, 10 Jul 2000 00:53:53 -0700 From: "A.J. Rossini" To: tulip@scyld.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [tulip] Netgear FA310-TX NIC problems Date: Mon Jul 10 03:58:36 2000 I'm seeing similar problems as previously reported, with the FA310TX locking up after heavy traffic (say, strobe, portscan, solid X, NFS), not during "normal user" use (telnet, scp, ftp for remote (non-LAN) sites. Has anyone found a solution? I'm about to go back to 3Com/Intel NICs, since this is the first time in years (with Linux, can you say, 7!) that I've actually had a serious network problem that I couldn't solve (networking locks up cold -- ifconfig reports existence, but I can't ping/telnet/whatever out, I can't look in, and tulip-diag reports similar to previous reports (can't see now, I'm connected :-), but basically Tx no Rx (or vice-versa)). From a major perusal of the archives from this list, from the Debian lists, and from Google/Altavista, it looks like lots of people have success with this NIC, provided that they are running it at 100Base-T or from switched ether (i.e. full-duplex). A simple metaanalysis seems to suggest that the lockups occur at autodection, running 10BaseT through a hub, or half-duplex, and that resetting the network cures it (I have found this to be true, but it's silly to run an every 2-minute cron job to ensure access). Thoughts? I've been running the drivers from the 2.2.17pre kernel (Debian potato/woody), which is the 0.91g-ppc version. I've just upped the debug level, and will take it through it's paces a few more times. Also, someone has suggested upping a collision parameter before for the options, or setting the interface explicitly to 10BaseT. Can anyone report this being useful? best, -tony --- A.J. Rossini rossini@blindglobe.net BlindGlobe Networks (personal use) rossini@biostat.washington.edu UW Biostat/Center for AIDS Research From tulip-admin@blueraja.scyld.com Mon Jul 10 04:19:11 2000 Received: from vaio.greennet (adsl-151-196-242-26.bellatlantic.net [151.196.242.26]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id EAA11166 for ; Mon, 10 Jul 2000 04:19:10 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id EAA01730; Mon, 10 Jul 2000 04:20:21 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: "A.J. Rossini" cc: tulip@scyld.com Subject: Re: [tulip] Netgear FA310-TX NIC problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jul 10 04:19:13 2000 On Mon, 10 Jul 2000, A.J. Rossini wrote: > I'm seeing similar problems as previously reported, with the FA310TX Which version of the FA310TX? What is the detection message? > Thoughts? I've been running the drivers from the 2.2.17pre kernel > (Debian potato/woody), which is the 0.91g-ppc version. You should try v92. http://www.scyld.com/network/tulip.html ftp://www.scyld.com/pub/network/tulip.c Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Mon Jul 10 10:12:00 2000 Received: from jeeves.blindglobe.net (sense-sea-MegaSub-1-346.oz.net [216.39.145.92]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA12671; Mon, 10 Jul 2000 10:11:59 -0400 Received: from rossini (helo=localhost) by jeeves.blindglobe.net with local-esmtp (Exim 3.12 #1 (Debian)) id 13BeDL-0000Dz-00; Mon, 10 Jul 2000 07:07:15 -0700 From: "A.J. Rossini" To: Donald Becker cc: tulip@scyld.com Subject: Re: [tulip] Netgear FA310-TX NIC problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jul 10 10:12:01 2000 On Mon, 10 Jul 2000, Donald Becker wrote: > On Mon, 10 Jul 2000, A.J. Rossini wrote: > > > I'm seeing similar problems as previously reported, with the FA310TX > > Which version of the FA310TX? Here's what I can tell: # ./tulip-diag -m -m tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Lite-On 82c168 PNIC adapter at 0xde00. Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Idle'. The transmit threshold is 72. MII PHY found at address 1, status 0x782d. MII PHY #1 transceiver registers: 3000 782d 0040 6212 01e1 0021 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0300 0000 003c 8006 0f00 ff00 002c 4000 0080 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x782d ... 782d. Link status: established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation complete. Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. No specific information is known about this transceiver type. I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 0021: 10baseT. Negotiation did not complete. > What is the detection message? From dmesg/kernel boot: tulip.c:v0.92 4/17/2000 Written by Donald Becker http://www.scyld.com/network/tulip.html eth0: Lite-On 82c168 PNIC rev 32 at 0xcc843f00, 00:A0:CC:65:E6:AE, IRQ 10. eth0: MII transceiver #1 config 3000 status 7829 advertising 01e1. > > Thoughts? I've been running the drivers from the 2.2.17pre kernel > > (Debian potato/woody), which is the 0.91g-ppc version. > > You should try v92. > http://www.scyld.com/network/tulip.html > ftp://www.scyld.com/pub/network/tulip.c > Tried and failed with the same problem. Using tulip debug=1, I've been getting the lock-up regularly using "strobe" against a local machine. This knocks out networking to all machines, and I start getting the following error: eth0: Transmit timeout using MII device. At this point, the above diagnostics look like: http://www.scyld.com/diag/index.html Index #1: Found a Lite-On 82c168 PNIC adapter at 0xde00. Port selection is MII, half-duplex. Transmit started, Receive started, half-duplex. The Rx process state is 'Waiting for packets'. The Tx process state is 'Waiting for Tx to finish'. The transmit threshold is 72. MII PHY found at address 1, status 0x782d. MII PHY #1 transceiver registers: 3000 782d 0040 6212 01e1 0021 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5000 0000 0000 0000 0000 0000 0400 0000 003c 8006 0f00 ff00 002c 4000 0080 000b. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x782d ... 782d. Link status: established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation complete. Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. No specific information is known about this transceiver type. I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 0021: 10baseT. Negotiation did not complete. (note that the top portion of tulip-diag scrolled off my screen too fast, but it basically said the same thing as before, wrt tulip diag.) Any more thoughts/approaches to try? best, -tony ---- A.J. Rossini rossini@blindglobe.net BlindGlobe Networks rossini@biostat.washington.edu UW Biostat/Center for AIDS Research From tulip-admin@blueraja.scyld.com Mon Jul 10 10:36:58 2000 Received: from jeeves.blindglobe.net (sense-sea-MegaSub-1-346.oz.net [216.39.145.92]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA12829 for ; Mon, 10 Jul 2000 10:36:58 -0400 Received: from rossini (helo=localhost) by jeeves.blindglobe.net with local-esmtp (Exim 3.12 #1 (Debian)) id 13BebW-0000Gc-00 for ; Mon, 10 Jul 2000 07:32:14 -0700 From: "A.J. Rossini" To: tulip@scyld.com Subject: Re: [tulip] Netgear FA310-TX NIC problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jul 10 10:36:59 2000 I should mention that a kind soul provided a temporary solution, in terms of scripts that babysit the NIC and reset it when lockup occurs. But this is a truly ugly (hopefully temporary) hack. best, -tony --- A.J. Rossini rossini@blindglobe.net BlindGlobe Networks rossini@biostat.washington.edu UW Biostat/CFAR From tulip-admin@blueraja.scyld.com Mon Jul 10 10:57:48 2000 Received: from vaio.greennet (adsl-151-196-244-106.bellatlantic.net [151.196.244.106]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id KAA13016 for ; Mon, 10 Jul 2000 10:57:47 -0400 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id KAA02391; Mon, 10 Jul 2000 10:59:00 -0400 From: Donald Becker X-Sender: becker@vaio.greennet To: "A.J. Rossini" cc: tulip@scyld.com Subject: Re: [tulip] Netgear FA310-TX NIC problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jul 10 10:57:49 2000 On Mon, 10 Jul 2000, A.J. Rossini wrote: > On Mon, 10 Jul 2000, Donald Becker wrote: > > On Mon, 10 Jul 2000, A.J. Rossini wrote: > > > > > I'm seeing similar problems as previously reported, with the FA310TX > > Which version of the FA310TX? I'm asking because the "FA310TX" name refers to three or four different chips and transceiver configurations. > Here's what I can tell: > # ./tulip-diag -m -m > Index #1: Found a Lite-On 82c168 PNIC adapter at 0xde00. > Port selection is MII, half-duplex. This is either the second or third generation PNIC-I design. It's probably the third generation, a '169 with an external MII transceiver. > Transmit started, Receive started, half-duplex. > The Rx process state is 'Waiting for packets'. > The Tx process state is 'Idle'. > The transmit threshold is 72. This is normal. > MII PHY found at address 1, status 0x782d. > MII PHY #1 transceiver registers: > 3000 782d 0040 6212 01e1 0021 0000 0000 > Vendor ID is 00:10:18:--:--:--, model 33 rev. 2. > No specific information is known about this transceiver type. If it's easy to look at the board itself, what is the brand and part number of the transceiver? (Probably unimportant, but I'll see if I can add it to libmii.c). > > What is the detection message? > tulip.c:v0.92 4/17/2000 Written by Donald Becker > http://www.scyld.com/network/tulip.html > eth0: Lite-On 82c168 PNIC rev 32 at 0xcc843f00, 00:A0:CC:65:E6:AE, IRQ 10. > eth0: MII transceiver #1 config 3000 status 7829 advertising 01e1. Ahhh, rev. 32, definitely a '169 with the fixed MII register hardware. > > You should try v92. > Tried and failed with the same problem. > eth0: Transmit timeout using MII device. > Index #1: Found a Lite-On 82c168 PNIC adapter at 0xde00. > Port selection is MII, half-duplex. > Transmit started, Receive started, half-duplex. > The Rx process state is 'Waiting for packets'. > The Tx process state is 'Waiting for Tx to finish'. > The transmit threshold is 72. OK, the transmitter is waiting to be able to transmit. Either the chip thinks the media is busy, or something has gone wrong. The PCI transfer unit is likely OK, and interrupts are getting through. (The latter is an important point -- our BP6 cluster nodes pretty consistently forget how to handle interrupts after a few days unless we turn off the flaky APIC code with "noapic".) > MII PHY #1 transceiver registers: > 3000 782d 0040 6212 01e1 0021 0000 0000 Hmmm, looks normal. > (note that the top portion of tulip-diag scrolled off my screen too fast, > but it basically said the same thing as before, wrt tulip diag.) I'll need the output from 'tulip-diag -af'. It's easiest to do tulip-diag -af > /tmp/t-d-working then tulip-diag -af > /tmp/t-d-broken Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf Clusters / Linux Installations Annapolis MD 21403 From tulip-admin@blueraja.scyld.com Mon Jul 10 11:05:40 2000 Received: from jeeves.blindglobe.net (sense-sea-MegaSub-1-346.oz.net [216.39.145.92]) by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id LAA13195; Mon, 10 Jul 2000 11:05:38 -0400 Received: from rossini (helo=localhost) by jeeves.blindglobe.net with local-esmtp (Exim 3.12 #1 (Debian)) id 13Bf3F-0000K9-00; Mon, 10 Jul 2000 08:00:53 -0700 From: "A.J. Rossini" To: Donald Becker cc: tulip@scyld.com Subject: Re: [tulip] Netgear FA310-TX NIC problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon Jul 10 11:05:40 2000 On Mon, 10 Jul 2000, Donald Becker wrote: > I'm asking because the "FA310TX" name refers to three or four different > chips and transceiver configurations. I'll open it up tonight when I get back from work. > If it's easy to look at the board itself, what is the brand and part number > of the transceiver? (Probably unimportant, but I'll see if I can add it to > libmii.c). Again, will do tonight. Does this mean you don't need it, or still do? > Ahhh, rev. 32, definitely a '169 with the fixed MII register hardware. > I'll need the output from 'tulip-diag -af'. It's easiest to do > tulip-diag -af > /tmp/t-d-working Here it is: tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a Lite-On 82c168 PNIC adapt