From owner-freebsd-alpha Sat May 20 14:48:10 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.thebiz.net (mx1.thebiz.net [216.238.0.20]) by hub.freebsd.org (Postfix) with SMTP id 973FD37B78B for ; Sat, 20 May 2000 14:48:06 -0700 (PDT) (envelope-from maz@albany.net) Received: (qmail 21949 invoked from network); 20 May 2000 17:48:04 -0400 Received: from mail2.thebiz.net (172.16.0.129) by mx1.thebiz.net with SMTP; 20 May 2000 17:48:04 -0400 Received: (qmail 30760 invoked by uid 0); 20 May 2000 17:48:03 -0400 Received: from unknown (HELO matthome) (24.29.40.124) by mail.albany.net with SMTP; 20 May 2000 17:48:03 -0400 Message-ID: <040301bfc2a5$1395f3d0$7c281d18@matthome> From: "Matthew Zahorik" To: "John Polstra" , References: Subject: Re: Trouble with dc driver and DE500-BA card Date: Sat, 20 May 2000 17:48:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org dc is broken. I removed it from the kernel config and used de instead. de can't do full duplex, but works fine at 100Mb/half. dc autonegotiates 10Mb/half no matter the connection. - Matt -- Matthew Zahorik Director of Systems and Networking - BiznessOnline.com matt@thebiz.net President of AlbanyNet Inc. - a BiznessOnline subsidiary maz@albany.net Voice: (518) 292-1001 Fax: (518) 626-0793 ----- Original Message ----- From: "John Polstra" To: Sent: Saturday, May 20, 2000 4:57 PM Subject: Trouble with dc driver and DE500-BA card : Have any of you successfully used the "dc" driver with a Digital : DE500-BA card on an Alpha? I am running -current from April 9 : (revision 1.9 of if_dc.c). Here are the symptoms: : : With ifconfig media set to autoselect: : : - boot system: lights on the switch say it's 100 Mbit half-duplex. : (The switch is an Allied Telesyn (CentreCom) FS716.) : : - ifconfig says it's full-duplex : : - unplug cable from switch and replug it: switch lights now say : full-duplex : : - send a big file via ftp: system prints TX underrun warning, : switch lights go off and come back up half-duplex. : : - unplug cable from switch and replug it: switch lights now say : full-duplex : : - send a big file again: everything is OK now : : With ifconfig media set to 100baseTX full-duplex: : : - boot system: lights on the switch say it's 100 Mbit half-duplex : : - ifconfig says it's full-duplex : : - replugging cable doesn't change anything : : With ifconfig media set to 10baseTX/UTP: : : - works fine, but hey, it's only 10 Mbit : : This same card with the same cable and switch works fine when I boot : Tru64 Unix (aka Digital Unix 5.0). : : I tried backing up to revision 1.8 of if_dc.c to remove this commit: : : msmith 2000/03/10 21:20:58 PST : : Modified files: : sys/pci if_dc.c if_dcreg.h : Log: : Teach the 'dc' driver how to pick up settings left over by the : SRM on alpha systems. This is an expedient if not entirely : elegant solution to the problem. : : It didn't help. (BTW, what is "the problem" referred to in that log : message?) : : Dmesg output is below. (The kernel was built May 20, but the : sources are actually from April 9.) : : John : -- : John Polstra jdp@polstra.com : John D. Polstra & Co., Inc. Seattle, Washington USA : "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa : : : Copyright (c) 1992-2000 The FreeBSD Project. : Copyright (c) 1982, 1986, 1989, 1991, 1993 : The Regents of the University of California. All rights reserved. : FreeBSD 5.0-CURRENT #3: Sat May 20 12:22:22 PDT 2000 : jdp@alpha.polstra.com:/c/src/sys/compile/ALPHA : EB164 : Digital AlphaPC 164LX 533 MHz, 531MHz : 8192 byte page size, 1 processor. : CPU: EV56 (21164A) major=7 minor=2 extensions=0x1 : OSF PAL rev: 0x1000200020117 : real memory = 132046848 (128952K bytes) : avail memory = 124321792 (121408K bytes) : Preloaded elf kernel "kernel" at 0xfffffc0000602000. : cia0: Pyxis, pass 1 : cia0: extended capabilities: 1 : pcib0: <2117x PCI host bus adapter> on cia0 : pci0: on pcib0 : dc0: port 0x1100-0x117f mem 0x82271100-0x8227117f irq 0 at device 6.0 on pci0 : dc0: interrupting at CIA irq 0 : dc0: Ethernet address: 08:00:2b:c5:3b:2d : miibus0: on dc0 : dcphy0: on miibus0 : dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto : sym0: <875> port 0x1000-0x10ff mem 0x82270000-0x82270fff,0x82271000-0x822710ff irq 1 at device 7.0 on pci0 : sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking : sym0: open drain IRQ line driver, using on-chip SRAM : sym0: interrupting at CIA irq 1 : isab0: at device 8.0 on pci0 : isa0: on isab0 : pci0: at 9.0 irq 3 : pci0: at 11.0 irq 5 : mcclock0: at port 0x70-0x71 on isa0 : atkbdc0: at port 0x60,0x64 on isa0 : atkbd0: irq 1 on atkbdc0 : atkbd0: interrupting at ISA irq 1 : psm0: irq 12 on atkbdc0 : psm0: interrupting at ISA irq 12 : psm0: model Generic PS/2 mouse, device ID 0 : vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 : sc0: on isa0 : sc0: VGA <16 virtual consoles, flags=0x200> : fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 : fdc0: interrupting at ISA irq 6 : fdc0: FIFO enabled, 8 bytes threshold : fd0: <1440-KB 3.5" drive> on fdc0 drive 0 : sio0 at port 0x3f8-0x3ff irq 4 on isa0 : sio0: type 16550A : sio0: interrupting at ISA irq 4 : sio1: reserved for low-level i/o : Timecounter "alpha" frequency 533180608 Hz : IPsec: Initialized Security Association Processing. : Waiting 2 seconds for SCSI devices to settle : (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. : Mounting root from ufs:/dev/da0f : cd0 at sym0 bus 0 target 5 lun 0 : cd0: Removable CD-ROM SCSI-2 device : cd0: 20.000MB/s transfers (20.000MHz, offset 16) : cd0: Attempt to query device size failed: NOT READY, Medium not present : da1 at sym0 bus 0 target 1 lun 0 : da1: Fixed Direct Access SCSI-3 device : da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled : da1: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) : da0 at sym0 bus 0 target 0 lun 0 : da0: Fixed Direct Access SCSI-2 device : da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled : da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) : : : To Unsubscribe: send mail to majordomo@FreeBSD.org : with "unsubscribe freebsd-alpha" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message