Subject: Re: Anyone using a "NIC" from thinknic.com?
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Andrew Gillham <gillham@vaultron.com>
List: port-i386
Date: 08/12/2000 01:58:51
Izumi Tsutsui writes:
> 
> Would you please try the attached patch?
> 
> My macppc requires more extra delay()s in sip_set_filter()
> to make Rx filter work correctly, but I think it is a different
> problem from yours.
> ---
> Izumi Tsutsui
> tsutsui@ceres.dti.ne.jp

You appear to be correct, the patch doesn't seem to help my machine.
The 'sip0' is probe ok, but when I specify it as the root device (or boot
sysinst and use ifconfig) it reports the following:
sip0: master abort 
... (repeatedly)
sip0: transmit FIFO underrun; increasing Tx .... (flashes by too fast)

Apparently something is working though, as 'netstat -in' reports input
and output packets.  Also, tcpdump -i sip0 (when booted via NFS on aue0)
sees some broadcasts on the network.  I was able to use dhclient to get
a lease after several timeouts, etc.  Unfortunately sip0 doesn't appear
to be receiving very many packets, and perhaps not transmitting them as
arp requests don't complete on the NIC or on the server.

So at this point I am at a loss.

Thanks for your help.

-Andrew

 
PS:
Here is the output of 'dmesg' captured via USB ethernet.

NetBSD 1.5_ALPHA (GENERIC) #0: Sat Aug 12 01:15:33 EDT 2000
    root@flash.vaultron.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Cyrix 6x86 (486-class)
total memory = 63104 KB
avail memory = 40372 KB
using 3925 buffers containing 15700 KB of memory
BIOS32 rev. 0 found at 0xfb640
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System 5597/5598 host bridge (rev. 0x10)
pcib0 at pci0 dev 1 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x01)
pciide0 at pci0 dev 1 function 1: Silicon Integrated System 5597/5598 IDE controller (rev. 0xd0)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <ATAPI 24X CDROM, , VER-3.8> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0 at pciide0 channel 0 drive 1: <Feiya Micro Disk>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 3968 KB, 124 cyl, 2 head, 32 sec, 512 bytes/sect x 7936 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4
pciide0: primary channel interrupting at irq 14
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd0(pciide0:0:1): using PIO mode 4
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (disabled)
ohci0 at pci0 dev 1 function 2: Silicon Integrated System 5597/5598 USB host controller (rev. 0x10)
ohci0: interrupting at irq 3
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
sip0 at pci0 dev 11 function 0: SiS 900 10/100 Ethernet
sip0: interrupting at irq 7
sip0: Ethernet address 00:e0:06:e7:f7:25
ukphy0 at sip0 phy 0: Generic IEEE 802.3u media interface
ukphy0: SiS 900 10/100 media interface (OUI 0x000760, model 0x0000), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cmpci0 at pci0 dev 15 function 0: CMI8738 PCI Audio Device
cmpci0: interrupting at irq 11
audio0 at cmpci0: full duplex, mmap, independent
C-Media Electronics Inc HSP56 Audiomodem Riser (miscellaneous communications, revision 0x10) at pci0 dev 15 function 1 not configured
vga1 at pci0 dev 20 function 0: Silicon Integrated System 5597/5598 integrated VGA (rev. 0x68)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2 (slowidle)
biomask e77d netmask e7fd ttymask f7ff
aue0 at uhub0 port 2
aue0: SMC, Inc EZ USB/Ethernet Converter, rev 1.10/1.01, addr 2
aue0: Ethernet address 00:e0:29:59:e8:c2
ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000895, model 0x0021, rev. 11
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
boot device: wd0
root device (default wd0a): aue0
dump device: 
file system (default generic): 
root on aue0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server: 192.168.44.1
nfs_boot: my_domain=vaultron.com
nfs_boot: my_addr=192.168.44.17
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.44.1
root on 192.168.44.1:/u1/iopener
root file system type: nfs
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR
aue0: 0 usb errors on intr: IOERROR