>Synopsis: panic on 5.3-current sparc64 during ata_access
>Category: kernel
>Environment:
System : OpenBSD 5.3
Details : OpenBSD 5.3-current (GENERIC.MP) #102: Fri May 10
19:53:45 MDT 2013
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
Architecture: OpenBSD.sparc64
Machine : sparc64
>Description:
Just paniced and dropped into ddb.
Not sure if this means my disk is about to die or if it's a bug?
Please let me know if you need more information!
OpenBSD/sparc64 (foo.bar.com) (console)
login:data error type 32 sfsr=0 sfva=11cf23cfc8 afsr=80200000 afva=2054e810
tf=0x400183d97b0
panic: data fault: pc=1013220 addr=11cf23cfc8 sfsr=0
kdb breakpoint at 146f460
Stopped at Debugger+0x4: nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
data_access_error(400183d97b0, 1013220, 2054e810, 80200000, 11cf23cfc8, 0) at d
ata_access_error+0x238
trapbase_sun4v(2054e810, 1010, 17f0, 1000000, 0, 15e23) at trapbase_sun4v+0x87e
c
uvm_pmr_getpages(2, 0, 0, 1, 0, 2) at uvm_pmr_getpages+0x624
uvm_km_kmemalloc_pla(40018702000, 1852418, 4000, 40017702000, 8, 0) at uvm_km_k
memalloc_pla+0x134
fork1(40009da7d60, 14, a, 0, 0, 0) at fork1+0x1c4
sys_vfork(40009da7d60, 400183d9dc0, 400183d9e00, 11c170378c, 0, 180c1c8) at sys
_vfork+0x24
syscall(400183d9ed0, 42, 11ceeac944, 11ceeac948, 0, fffffffffffd10e0) at syscal
l+0x114
softtrap(11c2558060, 11c295c5f0, 26e, 11ceea338c, 0, fffffffffffd11b0) at softt
rap+0x19c
ddb{0}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
*13818 15107 13818 550 7 0 nagios
5723 17734 5723 1000 3 0x80 ttyin ksh
17734 10604 10604 1000 3 0x80 select sshd
10604 25422 10604 0 3 0x80 poll sshd
24667 13505 13505 1000 3 0x4100080 poll irssi
32446 19242 19242 1000 3 0x4100080 poll irssi
32553 13505 13505 1000 3 0x80 poll irssi
31023 19242 19242 1000 3 0x80 poll irssi
13505 24574 13505 1000 3 0x88 pause ksh
19242 24574 19242 1000 3 0x88 pause ksh
29094 24574 29094 1000 3 0x80 ttyin ksh
24574 1 24574 1000 3 0x80 kqread tmux
26122 1 26122 0 3 0x80 ttyin getty
28183 1 28183 0 3 0x80 select cron
12233 1 343 0 3 0x4100080 thrsleep collectd
4556 1 343 0 3 0x4100080 thrsleep collectd
21815 1 343 0 3 0x4100080 thrsleep collectd
32160 1 343 0 3 0x4100080 thrsleep collectd
8753 1 343 0 3 0x4100080 thrsleep collectd
5522 1 343 0 3 0x4100080 thrsleep collectd
343 1 343 0 3 0x80 nanosleep collectd
19673 1 19673 32767 3 0x80 select dns2tcpd
26008 1 26008 601 3 0x80 kqread unbound
15293 1 15107 550 3 0x4100080 poll nagios
15107 1 15107 550 3 0x80 nanosleep nagios
16304 1 16304 99 3 0x80 poll sndiod
2171 1 2171 0 3 0x80 select inetd
2405 28623 28623 67 3 0x80 kqread nginx
28623 1 28623 0 3 0x88 pause nginx
27937 3622 3622 95 3 0x80 kqread smtpd
3483 3622 3622 95 3 0x80 kqread smtpd
10524 3622 3622 95 2 0x480 smtpd
25954 3622 3622 95 3 0x80 kqread smtpd
27598 3622 3622 95 3 0x80 kqread smtpd
22044 3622 3622 95 2 0x480 smtpd
5459 3622 3622 95 3 0x80 kqread smtpd
19976 3622 3622 95 3 0x80 kqread smtpd
3622 1 3622 0 3 0x80 kqread smtpd
25422 1 25422 0 3 0x80 select sshd
14805 1 14805 0 3 0x80 poll ntpd
27295 13218 27295 83 3 0x80 poll ntpd
13218 1 13218 83 3 0x80 poll ntpd
6300 32296 32296 74 3 0x80 bpf pflogd
32296 1 32296 0 3 0x80 netio pflogd
14215 774 774 73 7 0x80 syslogd
774 1 774 0 3 0x80 netio syslogd
12 0 0 0 3 0x100200 aiodoned aiodoned
11 0 0 0 3 0x100200 syncer update
10 0 0 0 3 0x100200 cleaner cleaner
9 0 0 0 3 0x100200 reaper reaper
8 0 0 0 3 0x100200 pgdaemon pagedaemon
7 0 0 0 3 0x100200 bored crypto
6 0 0 0 3 0x100200 pftm pfpurge
5 0 0 0 3 0x40100200 idle1
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
>How-To-Repeat:
>Fix:
dmesg:
OpenBSD 5.3-current (GENERIC.MP) #102: Fri May 10 19:53:45 MDT 2013
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 1073741824 (1024MB)
avail mem = 1043963904 (995MB)
mainbus0 at root: Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 360MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-II (rev 10.0) @ 360.004 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64
b/l)
cpu1 at mainbus0: SUNW,UltraSPARC-II (rev 10.0) @ 360.004 MHz
cpu1: physical 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64
b/l)
psycho0 at mainbus0 addr 0xfffb4000: SUNW,psycho, impl 0, version 4, ign 7c0
psycho0: bus range 0-0, PCI bus 0
psycho0: dvma map fe000000-ffffffff, STC0 enabled
pci0 at psycho0
ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003
"SUNW,pll" at ebus0 addr 504000-504002 not configured
uperf0 at ebus0 addr 500000-500007: model SUNW,sc-qp (0/1) ports 9
sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2
sabtty0 at sab0 port 0: console
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: no keyboard
comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a
wsmouse0 at comms0 mux 0
lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ivec 0x22: polled
"fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x27
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff not configured
audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
audio0 at audioce0
hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address
08:00:20:b8:e0:11
qsphy0 at hme0 phy 1: QS6612 10/100 PHY, rev. 1
siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x14: ivec 0x7e0,
using 4K of on-board RAM
scsibus0 at siop0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, SX173404LC, BD13> SCSI3 0/direct fixed
serial.SEAGATE_SX173404LC_3CE06PDG_7109X3UP
sd0: 70007MB, 512 bytes/sector, 143374738 sectors
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, SX173404LC, BD13> SCSI3 0/direct fixed
serial.SEAGATE_SX173404LC_3CE0BHT9_71503GBY
sd1: 70007MB, 512 bytes/sector, 143374738 sectors
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM6201TASUN32XCD, 1103> SCSI2 5/cdrom
removable
siop1 at pci0 dev 3 function 1 "Symbios Logic 53c875" rev 0x14: ivec 0x7e6,
using 4K of on-board RAM
scsibus1 at siop1: 16 targets, initiator 7
psycho1 at mainbus0 addr 0xfffc6000: SUNW,psycho, impl 0, version 4, ign 7c0
psycho1: bus range 128-128, PCI bus 128
psycho1: dvma map fe000000-ffffffff, STC0 enabled, STC1 enabled
pci1 at psycho1
"counter-timer" at mainbus0 addr 0xfff9fc00 not configured
creator0 at mainbus0: Creator3D, model SUNW,501-4788, dac 10
wsdisplay0 at creator0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
siop0: target 1 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
bootpath: /pci@1f,4000/scsi@3,0/disk@0,0
root on sd0a (9d94abe270711abd.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: clock gained 2 days -- CHECK AND RESET THE DATE!
usbdevs:
usbdevs: no USB controllers found