Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic on dual processor UltraSPARC-IIIi



>>> Bert Kiers <kiers%original.xs4all.nl@localhost> wrote

> That resulted in a successful "build.sh tools", but after that, the
> "build.sh release" ended with:
> 
> panic: fpusave_lwp ipi didn't
> Stopped in pid 20135.1 (nbsed) at       netbsd:cpu_Debugger+0x4:        nop
> fpusave_lwp(13169020, 1, badcafe, badcafe, badcafe, badcafe) at 
> netbsd:fpusave_lwp+0x134
> trap(1349ded0, 20, 4030bab8, 44820082, badcafe, badcafe) at netbsd:trap+0xafc
> ?(4020a200, 0, 1a0, 0, 4020a200, badcafe) at 0x1009070
> 
> That was after 13 hours uptime. Does this help anyone?

I just added the US-IIIi specific code to sparc64_send_ipi() as
below.  I'm not sure it fixes this problem since I have no US-IIIi
machines, but it's worthwhile to try it.

| Module Name:    src
| Committed By:   nakayama
| Date:           Fri Jan 15 23:57:07 UTC 2010
| 
| Modified Files:
|         src/sys/arch/sparc64/sparc64: ipifuncs.c
| 
| Log Message:
| UltraSPARC-IIIi CPUs select the BUSY/NACK pair in the interrupt
| vector dispatch status register based on the lower two bits of the
| ITID.
| 
| From OpenBSD and details are described in the section 10.4.3 of
| UltraSPARC IIIi Processor User's Manual.

-- Takeshi Nakayama


Home | Main Index | Thread Index | Old Index