Sun ERI Ether hangs when using DHCP

Matias Moreno Meringer <[email protected]>
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
Hello there!

I found a strange behaviour with my recently purchased SUN Netra T1 AC
200.

When using DHCP to configure gem0, sometimes the kernel crashes after
a while of using the interface; this doesn't happen if configured the NIC
to use a static address (AFAIK after two days of uptime).

The situation is hard to reproduce, because sometimes DHCP works
flawlessly and sometimes doesn't.

I was able to get a trace/ps from /var/log/messages (check below).

Any ideas?

Thanks in advance,
Matias.-

*This is a strange message in logs before the crash*
Dec 17 22:20:21 bsd /bsd: arpresolve: 192.168.0.1: route without link local address

*When doing dhclient gem0, got the following*
panic: trap type 0x34 (mem address not aligned): pc=12259b0 npc=12259b4 pstate=820006<PRIV,IE>
kdb breakpoint at 147d5e0
Stopped at	Debugger+0x4:	nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trap(4000f8c1480, 34, 12259b0, 820006, 0, 40000db8838) at trap+0x2f0
slowtrap(2, 40000db8800, 4000f8c1768, 40008fdf860, 0, 40000e4b798) at slowtrap+0x1d8
rtrequest1(3, 4000f8c1768, 8, 4000f8c1808, 0, 37) at rtrequest1+0x300
Dec 31 21:20:39 bsd /bsd: route_output(400090bf900, 0, 40000e4b700, 1887d50, 0, b0) at route_output+0x614
raw_usrreq(16, 9, 0, 0, 1, 40008d54030) at raw_usrreq+0x1f0
route_usrreq(40008dbc200, 9, 400090bf900, 0, 0, 40008d54030) at route_usrreq+0x48
sosend(0, 0, 4000f8c1bf0, 0, 0, 0) at sosend+0x528
dofilewritev(40008d54030, 4, 40008dc2c10, 4000f8c1cf0, 1, 0) at dofilewritev+0x12c
sys_write(40008d54030, 4000f8c1dc0, 4000f8c1e00, 4000f8c1d38, 40008d5b090, 14b) at sys_write+0x7c
syscall(4000f8c1ed0, 404, 10f988, 10f98c, 0, 800801) at syscall+0x254
softtrap(4, 2102b3a00, b0, 204eba82f, 2, 204eba000) at softtrap+0x19c
ddb>    PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND         
6859      1   6859      0  7           0                dhclient        
25919  28036  25919     77  2           0                dhclient        
22368   6935   3805   1000  3        0x80  ttyin         less            
6935   3805   3805   1000  3        0x88  pause         sh              
3805  32069   3805   1000  3        0x80  wait          man             
32069  30505  32069   1000  3        0x88  pause         ksh             
30505  22164  22164   1000  3        0x80  select        sshd            
22164  31368  22164      0  3        0x80  poll          sshd            
15007      1  15007      0  3        0x80  select        sendmail        
28036      1  28036   1000  3        0x88  pause         ksh             
23929      1  23929      0  3        0x80  select        cron            
17845      1  28476      0  3        0x80  nanosleep     perl            
22178      1  22178      0  3        0x80  select        inetd           
31368      1  31368      0  3        0x80  select        sshd            
6426   1092   1092      0  3        0x80  nfsd          nfsd            
16247   1092   1092      0  3        0x80  nfsd          nfsd            
11715   1092   1092      0  3        0x80  nfsd          nfsd            
30738   1092   1092      0  3        0x80  nfsd          nfsd            
1092      1   1092      0  3        0x80  netcon        nfsd            
11745      1  11745      0  3        0x80  select        mountd          
2022      1   2022     28  3        0x80  poll          portmap         
22774      1  22774      0  3        0x80  poll          ntpd            
6145   8632   6145     83  3        0x80  poll          ntpd            
8632      1   8632     83  3        0x80  poll          ntpd            
5646  23825  23825     73  3        0x80  poll          syslogd         
23825      1  23825      0  3        0x80  netio         syslogd         
13      0      0      0  3    0x100200  aiodoned      aiodoned        
12      0      0      0  3    0x100200  syncer        update          
11      0      0      0  3    0x100200  cleaner       cleaner         
10      0      0      0  3    0x100200  reaper        reaper          
9      0      0      0  3    0x100200  pgdaemon      pagedaemon      
8      0      0      0  3    0x100200  bored         crypto          
7      0      0      0  3    0x100200  pftm          pfpurge         
6      0      0      0  3    0x100200  usbtsk        usbtask         
5      0      0      0  3    0x100200  usbatsk       usbatsk         
4      0      0      0  3    0x100200  bored         syswq           
3      0      0      0  3  0x40100200                idle0           
2      0      0      0  3    0x100200  kmalloc       kmthread        
1      0      1      0  3        0x80  wait          init            
0     -1      0      0  3       0x200  scheduler     swapper         
15796  25919  25919      0  5      0x2000                dhclient        

*DMESG*
console is /pci@1f,0/pci@1,1/isa@7/serial@0,3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.4 (GENERIC) #0: Sat Dec 14 10:10:44 ART 2013
    [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 514220032 (490MB)
mainbus0 at root: Netra T1 200 (UltraSPARC-IIe 500MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 500 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
psycho0 at mainbus0: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-2, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba" rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
lom0 at ebus0 addr 200000-200003 ivec 0x2a: LOMlite2 rev 3.7
alipm0 at pci1 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 0x54: 256MB SDRAM registered ECC PC133CL3
spdmem1 at iic0 addr 0x55: 256MB SDRAM registered ECC PC133CL3
ebus1 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
power0 at ebus1 addr 2000-2007 ivec 0x25
com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com0: console
com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
gem0 at pci1 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6, address 08:00:20:fe:98:76
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0010dd, model 0x0002
ohci0 at pci1 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version 1.0, legacy support
pciide0 at pci1 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)
pciide0: channel 1 disabled (no drives)
gem1 at pci1 dev 5 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7dc, address 08:00:20:fe:98:77
ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0010dd, model 0x0002
ohci1 at pci1 dev 5 function 3 "Sun USB" rev 0x01: ivec 0x7e6, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 "Sun OHCI root hub" rev 1.00/1.00 addr 1
ppb1 at pci0 dev 1 function 0 "Sun Simba" rev 0x13
pci2 at ppb1 bus 2
siop0 at pci2 dev 8 function 0 "Symbios Logic 53c896" rev 0x07: ivec 0x7e0, using 8K of on-board RAM
scsibus0 at siop0: 16 targets, initiator 7
siop0: target 0 now using 8 bit async xfers
siop0: target 0 now using 8 bit 40.0 MHz 31 REQ/ACK offset xfers
sd0 at scsibus0 targ 0 lun 0: <IBM-ESXS, PYH073C3-ETS10FN, RXQL> SCSI2 0/direct fixed t10.HITACHI_HUS103073FL3800_V3VZMJ2A
sd0: 70006MB, 512 bytes/sector, 143374000 sectors
sd1 at scsibus0 targ 1 lun 0: <IBM, IC35L073UCDY10-0, S27N> SCSI3 0/direct fixed naa.5005076718d6538d
sd1: 70007MB, 512 bytes/sector, 143374805 sectors
siop1 at pci2 dev 8 function 1 "Symbios Logic 53c896" rev 0x07: ivec 0x7e0, using 8K of on-board RAM
scsibus1 at siop1: 16 targets, initiator 7
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
siop0: target 1 now using tagged 16 bit 20.0 MHz 8 REQ/ACK offset xfers
bootpath: /pci@1f,0/pci@1,0/scsi@8,0/disk@0,0
root on sd0a (ecc9f3b4415af5bf.a) swap on sd0b dump on sd0b
WARNING: preposterous time in file system
WARNING: clock lost 7851 days -- CHECK AND RESET THE DATE!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.