Re: quad de, flakiness with 3.9

2006-05-01 Thread Chris Cappuccio
David Terrell [EMAIL PROTECTED] wrote:
> On Sat, Apr 29, 2006 at 02:54:06PM +0200, Martin Reindl wrote:
> > > Any ideas?  Simply bad hardware?  This was working fine with 3.8 and
> > > even a 3.9 snapshot from two months ago before the CDs arrived monday
> > > and I did the upgrade.
> > 
> > Give the dc(4) driver a shot instead.
> 
> The dc driver didn't work at all unless I put the device in promiscuous
> mode.
> 

I've got some old Znyx ZX346 (quad 21140) cards that used to work great with
dc and somewhat with de.  Now they don't work with either driver.  With de
there is no media support, and with dc there is some kind of problem that
causes random packet loss and corruption.  I haven't had time to troubleshoot
what is going on, I just swapped them out for some dual fxp cards.  

The basic issue here is that de and dc both support a huge number of different
chips.  dc supports many completely different chips from different companies
that all support a similar register set and similar modes of operation

Unfortunately, one person makes a change to dc that "fixes" their chip, and
breaks two others without knowing it.  



Re: quad de, flakiness with 3.9

2006-04-30 Thread David Terrell
On Sat, Apr 29, 2006 at 02:54:06PM +0200, Martin Reindl wrote:
> > Any ideas?  Simply bad hardware?  This was working fine with 3.8 and
> > even a 3.9 snapshot from two months ago before the CDs arrived monday
> > and I did the upgrade.
> 
> Give the dc(4) driver a shot instead.

The dc driver didn't work at all unless I put the device in promiscuous
mode.

-- 
David Terrell
[EMAIL PROTECTED]
((meatspace)) http://meat.net/



Re: quad de, flakiness with 3.9

2006-04-29 Thread Martin Reindl
David Terrell <[EMAIL PROTECTED]> wrote:

> Since upgrading to 3.9 I've been having a problem with flakiness from
> my older PCI quad ethernet card.  de3 here is a dhcp interface (crappy
> SBC DSL), de2 and de1 are internal (wired and wireless).
> 
> the symptoms of failure are that de3 will stop sending packets.
> tcpdump doesn't show outgoing transmissions, dhclient complains
> "out of buffer space", and even without any active transmissions
> ifconfig shows OACTIVE in the interface flags.
> 
> (the machine is up at the moment so I don't have that ifconfig handy, 
> sorry).
> 
> One other thing I notice is that when I do ask it to do autonegotiate
> it floods the network with requests, but a hardcode to 100baseTX doesn't
> work (I don't exactly have a managed switch on the other end) and 
> 10baseT complains that there is no carrier in ifconfig status and 
> dhclient won't run.
> 
> Any ideas?  Simply bad hardware?  This was working fine with 3.8 and
> even a 3.9 snapshot from two months ago before the CDs arrived monday
> and I did the upgrade.

Give the dc(4) driver a shot instead.



quad de, flakiness with 3.9

2006-04-28 Thread David Terrell
Since upgrading to 3.9 I've been having a problem with flakiness from
my older PCI quad ethernet card.  de3 here is a dhcp interface (crappy
SBC DSL), de2 and de1 are internal (wired and wireless).

the symptoms of failure are that de3 will stop sending packets.
tcpdump doesn't show outgoing transmissions, dhclient complains
"out of buffer space", and even without any active transmissions
ifconfig shows OACTIVE in the interface flags.

(the machine is up at the moment so I don't have that ifconfig handy, 
sorry).

One other thing I notice is that when I do ask it to do autonegotiate
it floods the network with requests, but a hardcode to 100baseTX doesn't
work (I don't exactly have a managed switch on the other end) and 
10baseT complains that there is no carrier in ifconfig status and 
dhclient won't run.

Any ideas?  Simply bad hardware?  This was working fine with 3.8 and
even a 3.9 snapshot from two months ago before the CDs arrived monday
and I did the upgrade.

de3: flags=8863 mtu 1500
lladdr xx:xx:xx:xx:xx:xx
groups: egress
media: Ethernet autoselect (100baseTX)
status: active
inet6 fe80::...%de3 prefixlen 64 scopeid 0x4
inet nn.nn.nn.nn netmask 0xff00 broadcast nn.nn.nn.255

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 501 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 804823040 (785960K)
avail mem = 726990848 (709952K)
using 4278 buffers containing 40345600 bytes (39400K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(1a) BIOS, date 04/12/00, BIOS32 rev. 0 @ 0xfb380
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb808
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdde0/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 3 7 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C598 PCI" rev 0x04
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "VIA VT82C596A ISA" rev 0x23
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 57241MB, 117231408 sectors
wd1 at pciide0 channel 0 drive 1: 
wd1: 16-sector PIO, LBA, 8063MB, 16514064 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd2 at pciide0 channel 1 drive 0: 
wd2: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom 
removable
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x11: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"VIA VT82C596 Power" rev 0x30 at pci0 dev 7 function 3 not configured
ppb1 at pci0 dev 17 function 0 "DEC 21052 PCI-PCI" rev 0x02
pci2 at ppb1 bus 2
de0 at pci2 dev 4 function 0 "DEC 21140" rev 0x12: irq 10
de0: ZNYX ZX34X  pass 1.2 address xx:xx:xx:xx:xx:xx
de1 at pci2 dev 5 function 0 "DEC 21140" rev 0x12: irq 12
de1: ZNYX ZX34X  pass 1.2 address xx:xx:xx:xx:xx:xx
de2 at pci2 dev 6 function 0 "DEC 21140" rev 0x12: irq 7
de2: ZNYX ZX34X  pass 1.2 address xx:xx:xx:xx:xx:xx
de3 at pci2 dev 7 function 0 "DEC 21140" rev 0x12: irq 3
de3: ZNYX ZX34X  pass 1.2 address xx:xx:xx:xx:xx:xx
vga1 at pci0 dev 18 function 0 "NVIDIA Riva TNT" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ahc0 at pci0 dev 19 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 7
scsibus1 at ahc0: 16 targets
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
isapnp0 at isa0 port 0x279: read port 0x203
isapnp0: No current device for tag, card 1
sb1 at isapnp0 "Creative SB AWE64  PnP, CTL0045, , Audio" port 
0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16
midi1 at sb1: 
audio0 at sb1
opl0 at sb1: model OPL3
midi2 at opl0: 
joy0 at isapnp0 "Creative SB AWE64  PnP, CTL7002, PNPB02F, Game" port 0x200/8
"Creative SB AWE64  PnP, CTL0022, , WaveTable" at isapnp0 port 0x620/4 not 
configured
biomask ebd5 netmask ffdd ttymask ffdf
pctr: user-level cycl