NetBSD-Bugs archive

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

port-i386/40752: x86 bootloader panic()/exit() loop



>Number:         40752
>Category:       port-i386
>Synopsis:       x86 bootloader panic()/exit() loop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 25 00:50:00 +0000 2009
>Originator:     Jared D. McNeill
>Release:        NetBSD 5.99.7
>Organization:
        
>Environment:
        
        
System: NetBSD black.invisible.ca 5.99.7 NetBSD 5.99.7 (GENERIC) #60: Sat Feb 
21 14:11:27 EST 2009 
jmcneill%black.invisible.ca@localhost:/export/home/jmcneill/branches/HEAD/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        arch/i386/stand/lib/panic.c:panic() calls exit(0), and
        lib/libsa/exit.c:exit() calls panic("exit"). If the bootloader
        explodes it spits out an endless stream of "exit" messages on the
        console.
>How-To-Repeat:
        
>Fix:
        Change exit(0) call in i386 panic() to something like:

        for (;;) __asm volatile("hlt");

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index