Hi,
I always gets error on the network card dc0 on the Sun V100 server where
it doesn't want to use auto negotiation properly and where if I try to
force a duplex mode, it doesn't come up, but the link changed between
up/down all the time.
I get:
dc0: failed to force tx and rx to idle state
If I force it half-duplex, then I get a link.
One output of the crash I was able to grab is below. This is on current
(11/28/07) as well as I try various kernel with the same results.
I have this bug on two boxes so far.
Best,
Daniel
dc0: flags=8843<data error type 32 sfsr=0 sfva=239d08 afsr=84000000
afva=1fe02010048 tf=0x4000d877250
panic: data fault: pc=105e510 addr=239d08 sfsr=0
Starting stack trace...
data_access_error(4000d877250, 400, 1fe02010048, 84000000, 239d08, 0) at
data_access_error+0x6c
trapbase(4c3f0, 6, 0, c0306936, 0, 81) at trapbase+0x87c4
dc_mii_readreg(40000754000, 4000d8774f0, 4000d877c70, 4000d877c70, 0, 0)
at dc_mii_readreg+0xb4
dc_miibus_readreg(40000754000, 1, 6, 4000a014fd0, 100a114, 0) at
dc_miibus_readreg+0xe8
amphy_status(4000073e600, 4000d877dd0, 4000d877dc0, 0, 0, 180b200) at
amphy_status+0xf8
mii_phy_status(4000073e600, 36, 10ba68, 10ba6c, 0, 0) at mii_phy_status+0xc
amphy_service(4000073e600, 40000754388, 3, fffffffffffd17b8, 0,
47100578) at amphy_service+0x28
mii_pollstat(40000754388, 0, 0, 0, 0, 0) at mii_pollstat+0x28
dc_ifmedia_sts(40000754388, 4000d877c70, 0, 0, 0, 0) at dc_ifmedia_sts+0xc
ifmedia_ioctl(16, 4000d877c70, 40000754388, c0306936, 0, 81) at
ifmedia_ioctl+0x8c
dc_ioctl(0, c0306936, 4000d877c70, 4000d877c70, 0, 0) at dc_ioctl+0x258
ifioctl(40009ec9090, c0306936, 4000d877c70, 4000a014fd0, 100a114, 0) at
ifioctl+0x430
sys_ioctl(0, 4000d877dd0, 4000d877dc0, 0, 0, 180b200) at sys_ioctl+0x10c
syscall(4000d877ed0, 36, 10ba68, 10ba6c, 0, 0) at syscall+0x2bc
softtrap(3, c0306936, fffffffffffd17a0, fffffffffffd17b8, 0, 47100578)
at softtrap+0x184
End of stack trace.
UP,BROADCAST,RUNsyncing disks... NING,SIMPLEX,MUL5 TICAST> mtu 15004
lladdr 00:03:ba:96:5a:08
groudone
ps: egress
rebooting
dmesg
=====================
console is /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED],3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.
http://www.OpenBSD.org
OpenBSD 4.2-current (GENERIC) #1488: Wed Nov 28 22:52:03 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 507527168 (484MB)
mainbus0 at root: Sun Fire V100 (UltraSPARC-IIe 548MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 3.3) @ 548 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 512K
external (64 b/l)
psycho0 at mainbus0: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-0, PCI bus 0
psycho0: dvma map 60000000-7fffffff, iotdb c0c14000-c0c94000
pci0 at psycho0
ebus0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus0 addr 0-ffff ipl 42 not configured
rtc0 at ebus0 addr 70-71: m5819
power0 at ebus0 addr 2000-2007 ipl 35
"SUNW,lomh" at ebus0 addr 8010-8011 ipl 42 not configured
com0 at ebus0 addr 3f8-3ff ipl 43: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ipl 43: ns16550a, 16 byte fifo
"flashprom" at ebus0 addr 0-7ffff not configured
alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz
clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x57: 512MB SDRAM registered ECC PC133CL2
dc0 at pci0 dev 12 function 0 "Davicom DM9102" rev 0x31: ivec 0x7c6,
address 00:03:ba:96:5a:08
amphy0 at dc0 phy 1: DM9102 10/100 PHY, rev. 0
dc1 at pci0 dev 5 function 0 "Davicom DM9102" rev 0x31: ivec 0x7dc,
address 00:03:ba:96:5a:09
amphy1 at dc1 phy 1: DM9102 10/100 PHY, rev. 0
ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
0x7e4, version 1.0, legacy support
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3:
DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
pciide0: channel 0 disabled (no drives)
wd0 at pciide0 channel 1 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, P.9A> SCSI0 5/cdrom removable
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
"pcons" at mainbus0 not configured
softraid0 at root
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted