netbsd-bugs@netbsd.org
[Top] [All Lists]

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

Subject: port-i386/40752: x86 bootloader panic()/exit() loop
From:
Date: Wed, 25 Feb 2009 00:50:12 UTC
Newsgroups: fa.netbsd.bugs

>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@xxxxxxxxxxxxxxxxxx:/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:
        
        

<Prev in Thread] Current Thread [Next in Thread>