Re: Ultrasparc III+ kernel panic
BERTRAND Joël <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
Martin Husemann a écrit :
> On Wed, Mar 18, 2015 at 10:49:18AM +0100, BERTRAND Joël wrote:
>> Martin Husemann a écrit :
>>> On Tue, Mar 17, 2015 at 10:33:33PM +0100, BERTRAND Joël wrote:
>>>> 1 tt=30 tstate=4411001503 tpc=0x1001488 tnpc=0x100148c
>>>> 2 tt=30 tstate=4482000601 tpc=0x12e1da0 tnpc=0x12e1da4
> [..]
>> (gdb) list *(0x1001488)
>> (gdb) x/i 0x1001488
>> 0x1001488 <uspillk4+8>: sta %l0, [ %sp ] %asi
>
> Can you please repeat for the other (0x12e1da0) ?
>
> Thanks,
>
> Martin
>
(gdb) list *(0x12e1da0)
0x12e1da0 is in mutex_vector_enter (/usr/src/sys/kern/kern_mutex.c:440).
435 * fast-path stubs are available. If an mutex_spin_enter()
stub is
436 * not available, then it is also aliased directly here.
437 */
438 void
439 mutex_vector_enter(kmutex_t *mtx)
440 {
441 uintptr_t owner, curthread;
442 turnstile_t *ts;
443 #ifdef MULTIPROCESSOR
444 u_int count;
(gdb)
445 #endif
446 LOCKSTAT_COUNTER(spincnt);
447 LOCKSTAT_COUNTER(slpcnt);
448 LOCKSTAT_TIMER(spintime);
449 LOCKSTAT_TIMER(slptime);
450 LOCKSTAT_FLAG(lsflag);
451
452 /*
453 * Handle spin mutexes.
454 */
(gdb) x/i 0x12e1da0
0x12e1da0 <mutex_vector_enter>: save %sp, -176, %sp
JKB