From owner-freebsd-current Thu Feb 27 15:02:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA23091 for current-outgoing; Thu, 27 Feb 1997 15:02:39 -0800 (PST) Received: from plunger.gdeb.com (plunger.gdeb.com [153.11.11.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA23083 for ; Thu, 27 Feb 1997 15:02:34 -0800 (PST) Received: from clcrtr.clc.gdeb.com ([153.11.109.11]) by plunger.gdeb.com with SMTP (1.37.109.16/CSC-E_1.5) id AA117694241; Thu, 27 Feb 1997 17:57:21 -0500 Message-Id: <3315CC6F.167EB0E7@iworks.InterWorks.org> Date: Thu, 27 Feb 1997 18:03:27 +0000 From: "Daniel M. Eischen" X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.1.5-RELEASE i386) Mime-Version: 1.0 To: current@FreeBSD.org Subject: de0 timeout Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I don't know if this is better suited to -hackers or not... I'm having problems getting the de0 interface to work correctly. The chip is an on-board 21140A and I keep getting transmission timeouts. I don't think anything is making it out onto the network. I've got a TP cable which goes to a 10baseT to Thin net media converter out onto a Thin-net. This controller is on a Single Board Computer with on-board aic7880 and PCI<->VME bridge chip. The SBC has LEDs for 10BaseT and 100BaseT which are silent under FreeBSD. NT3.51, which works fine with this setup, illuminates the LEDs (100BaseT lit solid, 10BaseT blinks). The de0 interface is probed properly, but the 100BaseT port is enabled. After adding the -link2 option to the interface_de0 line in sysconfig, the 10baseT port is properly enabled. This doesn't help at all with the timeouts, though. Here's an abbreviated dmesg with a kernel built just before the Lite2 merges began: pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x8000005c pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -- nothing found pcibus_setup(1b): mode1res=0x80000000 (0xff000001) pcibus_check: device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -- nothing found pcibus_setup(2): mode 2 enable port (0x0cf8) is 0x00 pcibus_setup(2a): mode2res=0x0e (0x0e) pcibus_setup(2a): now trying mechanism 2 pcibus_check: device 0 is there (id=04a38086) Probing for devices on PCI bus 0: configuration mode 2 allows 16 devices. chip0 rev 17 on pci0:0:0 CPU: (unknown), CPU->Memory posting OFF, read around write Warning: Cache parity disabled! Warning: DRAM parity mask! Cache: 512KB writeback, cache clocks=3-1-1-1 Cache flags: byte-control DRAM: page mode memory clocks=X-4-4-4 (70ns) CPU->PCI: posting ON, burst mode ON, PCI clocks=2-1-1-1 PCI->Memory: posting ON Refresh: RAS#Only chip1 rev 136 on pci0:2:0 Bus Modes: Bus Park, Resource Lock, Coprocessor errors enabled Mouse function enabled Keyboard controller: 60h,62h,64h,66h RTC: 70h-77h Configuration RAM: 0C00h,0800h-08FFh Port 92: enabled chip2 rev 1 on pci0:15:0 bridge from pci0 to pci1 through 1. mapping regs: io:2280e0e0 mem:fea0fca0 pmem:ff90ff90 pci0: subordinate busses from 1 upto 1. Probing for devices on PCI bus 1: chip3 rev 0 int a irq 15 on pci1:4:0 [pci1 uses memory from fca00000 to feafffff] mapreg[10] type=0 addr=fead0000 size=10000. de0 rev 32 int a irq 9 on pci1:5:0 mapreg[10] type=1 addr=0000e880 size=0080. [pci1 uses memory from fca00000 to feafffff] mapreg[14] type=0 addr=feaf6f80 size=0080. reg16: ioaddr=0xe880 size=0x80 de0: 21140A [10-100Mb/s] pass 2.0 de0: address 00:00:0c:00:27:b4 de0: enabling 100baseTX port ahc0 rev 0 int a irq 10 on pci1:6:0 mapreg[10] type=1 addr=0000ec00 size=0100. [pci1 uses memory from fca00000 to feafffff] mapreg[14] type=0 addr=feaf7000 size=1000. reg20: virtual=0xf67ef000 physical=0xfeaf7000 size=0x1000 ahc0: Reading SEEPROM...done. internal50 cable not present internal68 cable not present brdctl == 0xec external cable not present eprom is present brdctl == 0xec low byte termination enabled, high byte termination enabled ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs ahc0: Reseting Channel A ahc0: Downloading Sequencer Program...Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 0 using 16Bit transfers ahc0: target 0 synchronous at 10.0MHz, offset = 0x8 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2151MB (4406960 512 byte sectors)sd0 at scbus0 target 0 lun 0: with 3907 cyls, 10 heads, and an average 112 sectors/track ahc0: target 4 synchronous at 10.0MHz, offset = 0xf cd0 at scbus0 target 4 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM can't get the size vga0 rev 0 int a irq 11 on pci1:7:0 [pci1 uses memory from fca00000 to feafffff] mapreg[10] type=0 a ddr=fd000000 size=1000000. pci1: uses 16846976 bytes of memory from fd000000 upto feaf7fff. pci1: uses 384 bytes of I/O space from e880 upto ecff. Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0065 sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 not found at 0x3e8 sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface imasks: bio c0000440, tty c003029a, net c003029a BIOS Geometries: 0:0111fe3f 0..273=274 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. configure() finished. new masks: bio c0000440, tty c003029a, net c003029a sd0s1: type 0x7, start 63, end = 3068414, size 3068352 : OK sd0s2: type 0xa5, start 3068415, end = 4401809, size 1333395 : OK de0: enabling 10baseT port de0: transmission timeout de0: transmission timeout Dan Eischen deischen@iworks.InterWorks.org