Subject: Crash with 1.5.2. Anyone else?
To: None <port-alpha@netbsd.org>
From: None <kpneal@pobox.com>
List: port-alpha
Date: 05/20/2002 22:05:22
I'm running 1.5.2 on an AS/200. I just had my first crash in a very
long time. Has anyone seen this crash before? I've got a dump and
a config file if anyone wants (please) to look at it.

(gdb) bt
#0  0xfffffc00004d5698 in dumpsys ()
    at /usr/src/sys//arch/alpha/alpha/machdep.c:1247
#1  0xfffffc00004d52ac in cpu_reboot (howto=256, bootstr=0x0)
    at /usr/src/sys//arch/alpha/alpha/machdep.c:1066
#2  0xfffffc0000344df4 in panic (fmt=0xfffffc0000510a38 "setrunqueue")
    at /usr/src/sys//kern/subr_prf.c:240
#3  0xfffffc00004d63c4 in setrunqueue (p=0x0)
    at /usr/src/sys//arch/alpha/alpha/machdep.c:1800
#4  0xfffffc000047cff0 in uvm_swapin (p=0xfffffc0002cd5470)
    at /usr/src/sys//uvm/uvm_glue.c:399
#5  0xfffffc000047d154 in uvm_scheduler () at /usr/src/sys//uvm/uvm_glue.c:470
#6  0xfffffc0000326bc0 in main () at /usr/src/sys//kern/init_main.c:522
(gdb) frame 3
#3  0xfffffc00004d63c4 in setrunqueue (p=0x0)
    at /usr/src/sys//arch/alpha/alpha/machdep.c:1800
1800                    panic("setrunqueue");
(gdb) list
1790     */
1791
1792    void
1793    setrunqueue(p)
1794            struct proc *p;
1795    {
1796            int bit;
1797
1798            /* firewall: p->p_back must be NULL */
1799            if (p->p_back != NULL)
1800                    panic("setrunqueue");
1801
1802            bit = p->p_priority >> 2;
1803            sched_whichqs |= (1 << bit);
1804            p->p_forw = (struct proc *)&sched_qs[bit];
1805            p->p_back = sched_qs[bit].ph_rlink;
1806            p->p_back->p_forw = p;
1807            sched_qs[bit].ph_rlink = p;
1808    }
1809

-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/

"Nonbelievers found it difficult to defend their position in \ 
    the presense of a working computer." -- a DEC Jensen paper