Problems booting OpenBSD 4.5 on Sun Fire v245

2009-06-05 Thread Fernando Quintero
Hi all,
I got this panic when I am trying to boot OpenBSD 4.5/sparc64.
The installation was painful, the system panic with cdrom access, http
access, and only worked with the ftp install by network :(

I read the documentation and set security-mode, but it does not work.

any hint?

...
ppb12 at pci12 dev 0 function 2 Intel 41210 PCIE-PCIX rev 0x09
pci14 at ppb12 bus 4
ebus1 at mainbus0: ign 7c0
flashprom at ebus1 addr 0-1f not configured
com0 at ebus1 addr 80-87 ivec 0x8: ns16550a, 16 byte fifo
com0: console
com1 at ebus1 addr 40-47 ivec 0x9: ns16550a, 16 byte fifo
rmc-comm at ebus1 addr 0-7 ivec 0xa not configured
gpio at ebus1 addr c0-c0 not configured
led0 at ebus1 addr 0-80: rev 0x5a
power0 at ebus1 addr 40-c1 ivec 0x3
i2c at mainbus0 not configured
data error type 32 sfsr=808008 sfva=4fa6050 afsr=1008000500
afva=7f8100010c0 tf=0xe0017aa8
panic: data fault: pc=101974c addr=4fa6050 sfsr=808008TM,PRIV

kdb breakpoint at 1402c80
Stopped at  Debugger+0x4:   nop
data_access_error(e0017aa8, 400, 7f8100010c0, 1008000500, 4fa6050,
8080
08) at data_access_error+0xd8
trapbase_sun4v(1485b48, 5, 0, 0, 0, 0) at trapbase_sun4v+0x8798
openfirmware(4fa66a8, 17, d, f, f005da24, 40008ea2000) at
openfirmware+0x44

wdcintr(4fa66a8, 1400, 1000, 180f550, 1c09c00, 5) at wdcintr+0x48
pciide_pci_intr(4fa6000, 0, e0017ec8, 80, 13633e0, 40) at
pciide_pci_intr+0
x68
sparc_interrupt(4f97f80, 4f97f80, 0, 0, 14ab928, 5) at
sparc_interrupt+
0x294
cpu_configure(115a4c0, 0, 0, e000, 1, 1) at cpu_configure+0x5c
main(0, 113f380, 18, f005da24, f005da24, 1801010) at main+0x478
print_dtlb(10, 1208, 100, fff2ba30, 18, 45) at print_dtlb+0x158
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb

ddb trace
data_access_error(e0017aa8, 400, 7f8100010c0, 1008000500, 4fa6050,
8080
08) at data_access_error+0xd8
trapbase_sun4v(1485b48, 5, 0, 0, 0, 0) at trapbase_sun4v+0x8798
openfirmware(4fa66a8, 17, d, f, f005da24, 40008ea2000) at
openfirmware+0x44

wdcintr(4fa66a8, 1400, 1000, 180f550, 1c09c00, 5) at wdcintr+0x48
pciide_pci_intr(4fa6000, 0, e0017ec8, 80, 13633e0, 40) at
pciide_pci_intr+0
x68
sparc_interrupt(4f97f80, 4f97f80, 0, 0, 14ab928, 5) at
sparc_interrupt+
0x294
cpu_configure(115a4c0, 0, 0, e000, 1, 1) at cpu_configure+0x5c
main(0, 113f380, 18, f005da24, f005da24, 1801010) at main+0x478
print_dtlb(10, 1208, 100, fff2ba30, 18, 45) at print_dtlb+0x158
ddb

ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
*0 -1  0  0  7 0x80200swapper
ddb

ddb show registers
tstate0x8606
pc 0x1402c84Debugger+0x4
npc0x1402c88Debugger+0x8
ipl  0xf
y  0
g0 0
g1 0x180f000sig_filtops
g2   0x1
g3 0
g4 0
g50x125b
g6 0
g70xe0018000
o0   0x1
o10xe00179b0
o2 0x1567a40mainbus_space_tag+0x1920
o30xe00179b0
o4 0
o50x
o60xe0017069
o7 0x1163d28panic+0x88
l0 0x182d3f0__bss_start+0x718
l10x7ff8
l20x8000
l3 0
l4  0x84
l5   0x7
l60xf005dec4
l7 0

more info: 2 sata disk (70GBx2), no video, no keyboard, yes dvdrom.

Thanks in advanced.

-- 
--

Fernando Quintero
http://nonroot.blogspot.com/
*Just a nonroot User*



Re: Problems booting OpenBSD 4.5 on Sun Fire v245

2009-06-05 Thread Theo de Raadt
 I got this panic when I am trying to boot OpenBSD 4.5/sparc64.
 The installation was painful, the system panic with cdrom access, http
 access, and only worked with the ftp install by network :(
 
 I read the documentation and set security-mode, but it does not work.

On a few sparc64 machines, with specific models of cdrom drives, we hit a
race in the ide driver, probably related to the cruddy chipset Sun uses.
We've hunted for it but we can't find the bug yet.

You could try -current.  As a bonus, the install is way easier.