>Number: 6463
>Category: sparc64
>Synopsis: starting xdm crashes on sparc64
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Sep 10 17:40:01 GMT 2010
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
System : OpenBSD 4.8 snapshot
Details : OpenBSD 4.8-current (GENERIC.MP) #107: Wed Sep 8
20:52:43 MDT 2010
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
Architecture: OpenBSD.sparc64
Machine : sparc64
>Description:
Enabled to start xdm on boot while installing, and after reboot, it
tries to start xdm.
When it starts xdm, Xorg crashes, and the system drops into ddb. The
server is a
Sun Enterprise E450, without graphics card.
>How-To-Repeat:
This happens all the time.
>Fix:
Don't know, without starting xdm everything is fine.
Initializing 1 megs of memory at addr 7feb6000
Initializing 1 megs of memory at addr 7fe00000
Initializing 2046 megs of memory at addr 0
Rebooting with command: boot
Boot device: disk File and args:
OpenBSD IEEE 1275 Bootblock 1.3
..>> OpenBSD BOOT 1.4
Trying bsd...
Booting /p...@1f,4000/s...@3/d...@0,0:a/bsd
6432...@0x1000000+6176@0x16227e0+177...@0x1800000+4016872@0x182b518
symbols @ 0xfef54300 90+394296+247861 start=0x1000000
[ using 643024 bytes of bsd ELF symbol table ]
prom_get_msgbuf: Cannot recover msgbuf on E250/450
prom_get_msgbuf: allocated new buf at 00000000
prom_get_msgbuf: claiming new buf at 00000000
console is /p...@1f,4000/e...@1/s...@14,400000:a
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.8-current (GENERIC.MP) #107: Wed Sep 8 20:52:43 MDT 2010
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 2147483648 (2048MB)
avail mem = 2101067776 (2003MB)
mainbus0 at root: Sun Enterprise 450 (4 X UltraSPARC-II 432MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-II (rev 10.0) @ 432 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) @ 432 MHz
cpu1: physical 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64
b/l)
cpu2 at mainbus0: SUNW,UltraSPARC-II (rev 10.0) @ 432 MHz
cpu2: physical 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64
b/l)
cpu3 at mainbus0: SUNW,UltraSPARC-II (rev 10.0) @ 432 MHz
cpu3: 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 ivec 0x7e5 ivec 0x7f2
"SUNW,pll" at ebus0 addr 504000-504002 not configured
uperf0 at ebus0 addr 500000-500007: model SUNW,sc-marvin (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 0x7e2:
polled
"fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x7e7
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff, 0-fffff not configured
pcfiic0 at ebus0 addr 600000-600003 ivec 0x7e8 ivec 0x7e5
iic0 at pcfiic0
ecadc0 at iic0 addr 0x48
ecadc1 at iic0 addr 0x49
ecadc2 at iic0 addr 0x4a: read failed
lmtemp0 at iic0 addr 0x4d: lm75
ecadc3 at iic0 addr 0x4f
hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address
08:00:20:b1:60:0e
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x03: ivec 0x7e0,
using 4K of on-board RAM
scsibus0 at siop0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <IBM, DDYST1835SUN18G, S96H> SCSI3 0/direct fixed
sd0: 17274MB, 512 bytes/sec, 35378533 sec total
siop1 at pci0 dev 2 function 0 "Symbios Logic 53c875" rev 0x03: 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
"mc" at mainbus0 not configured
psycho2 at mainbus0 addr 0xfff5e000: SUNW,psycho, impl 0, version 4, ign 100
psycho2: bus range 0-0, PCI bus 0
psycho2: dvma map fe000000-ffffffff, STC0 enabled
pci2 at psycho2
psycho3 at mainbus0 addr 0xfff70000: SUNW,psycho, impl 0, version 4, ign 100
psycho3: bus range 128-128, PCI bus 128
psycho3: dvma map fe000000-ffffffff, STC0 enabled, STC1 enabled
pci3 at psycho3
psycho4 at mainbus0 addr 0xfff36000: SUNW,psycho, impl 0, version 4, ign 180
psycho4: bus range 0-0, PCI bus 0
psycho4: dvma map fe000000-ffffffff, STC0 enabled
pci4 at psycho4
psycho5 at mainbus0 addr 0xfff48000: SUNW,psycho, impl 0, version 4, ign 180
psycho5: bus range 128-128, PCI bus 128
psycho5: dvma map fe000000-ffffffff, STC0 enabled, STC1 enabled
pci5 at psycho5
softraid0 at root
siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
bootpath: /p...@1f,4000/s...@3,0/d...@0,0
root on sd0a swap on sd0b dump on sd0b
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
/dev/rsd0k: file system is clean; not checking
/dev/rsd0d: file system is clean; not checking
/dev/rsd0f: file system is clean; not checking
/dev/rsd0g: file system is clean; not checking
/dev/rsd0h: file system is clean; not checking
/dev/rsd0j: file system is clean; not checking
/dev/rsd0i: file system is clean; not checking
/dev/rsd0e: file system is clean; not checking
setting tty flags
pf enabled
machdep.allowaperture: 0 -> 1
starting network
DHCPDISCOVER on hme0 to 255.255.255.255 port 67 interval 2
DHCPOFFER from 10.0.0.27 (00:00:24:c9:d4:98)
DHCPREQUEST on hme0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.27 (00:00:24:c9:d4:98)
bound to 10.0.0.29 -- renewal in 21600 seconds.
starting system logger
openssl: generating new isakmpd/iked RSA key... done.
starting initial daemons: ntpd.
savecore: no core dump
checking quotas: done.
building ps databases: kvm dev.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
ssh-keygen: generating new DSA host key... done.
ssh-keygen: generating new ECDSA host key... done.
ssh-keygen: generating new RSA host key... done.
ssh-keygen: generating new RSA1 host key... done.
starting network daemons: sshd sendmail inetd.
starting local daemons:.
standard daemons: cron.
Fri Sep 10 19:18:10 CEST 2010
starting xdm...
data error type 32 sfsr=0 sfva=206ba6390 afsr=88000000 afva=1c801001000
tf=0x400191d74e0
panic: data fault: pc=1421164 addr=206ba6390 sfsr=0
kdb breakpoint at 145d700
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{3}> bt
No such command
ddb{3}> trace
data_access_error(400191d74e0, 1421164, 1c801001000, 88000000, 206ba6390, 0) at
data_access_error+0x23c
trapbase_sun4v(400020b4000, 1000, 0, 14, 0, fffffffffffc6330) at trapbase_sun4v
+0x87ec
pci_conf_read(400020b4000, 1000, c, 0, f800, 1000) at pci_conf_read+0x20
pciioctl(0, c0107002, 400191d7c78, 40002086d00, 4000c037e00, 0) at pciioctl+0x5
80
spec_ioctl(400191d7a20, 0, 0, 0, 0, 0) at spec_ioctl+0xb4
VOP_IOCTL(4000be44030, c0107002, 400191d7c78, 3, 4000c0462d0, 4000c037e00) at V
OP_IOCTL+0x2c
vn_ioctl(4000bda8590, c0107002, 400191d7c78, 4000c037e00, 0, 4000c037e00) at vn
_ioctl+0x4c
sys_ioctl(0, 400191d7dc0, 400191d7e00, 400191d4000, ffffffffffffffff, 180d2a8) a
t sys_ioctl+0x1b8
syscall(400191d7ed0, 436, 203f6f028, 203f6f02c, 0, 0) at syscall+0x33c
softtrap(4, c0107002, fffffffffffc63e0, 203f6f02c, 0, fffffffffffc6330) at soft
trap+0x19c
ddb{3}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
*12495 10668 12495 0 7 0x2044100 Xorg
10970 1 1 0 3 0x2000080 nanosleep init
10668 1 10668 0 3 0x2000080 wait xdm
4506 1 4506 0 3 0x2040180 select sendmail
601 1 601 0 3 0x2000080 select cron
12444 1 12444 0 3 0x2000180 select inetd
16195 1 16195 0 3 0x2000080 select sshd
18849 27162 17705 83 3 0x2000180 poll ntpd
27162 17705 17705 83 3 0x2000180 poll ntpd
17705 1 17705 0 3 0x2000080 poll ntpd
5210 19833 19833 74 3 0x2000180 bpf pflogd
19833 1 19833 0 3 0x2000080 netio pflogd
27810 15946 15946 73 2 0x2000180 syslogd
15946 1 15946 0 3 0x2000088 netio syslogd
29048 1 29048 77 3 0x2000180 poll dhclient
30786 1 17761 0 3 0x2000080 poll dhclient
14 0 0 0 3 0x2100200 aiodoned aiodoned
13 0 0 0 3 0x2100200 syncer update
12 0 0 0 3 0x2100200 cleaner cleaner
11 0 0 0 3 0x100200 reaper reaper
10 0 0 0 3 0x2100200 pgdaemon pagedaemon
9 0 0 0 3 0x2100200 bored crypto
8 0 0 0 3 0x2100200 pftm pfpurge
7 0 0 0 3 0x40100200 idle3
6 0 0 0 7 0x40100200 idle2
5 0 0 0 7 0x40100200 idle1
4 0 0 0 3 0x2100200 bored syswq
3 0 0 0 7 0x40100200 idle0
2 0 0 0 3 0x2100200 kmalloc kmthread
1 0 1 0 3 0x2004080 wait init
0 -1 0 0 3 0x2080200 scheduler swapper
ddb{3}>
>Release-Note:
>Audit-Trail:
>Unformatted: