Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 95 17:41:33 MDT
From:      terry@cs.weber.edu (Terry Lambert)
To:        regnauld@tetard.frmug.fr.net
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   Re: i386/541: Alternate Reset method by unmapping ALSO broken
Message-ID:  <9506222341.AA04029@cs.weber.edu>
In-Reply-To: <199506222140.OAA27154@freefall.cdrom.com> from "regnauld@tetard.frmug.fr.net" at Jun 22, 95 02:40:01 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>         /* force a shutdown by unmapping entire address space ! */
>   ->    printf("Unmapping address space:");
>         bzero((caddr_t) PTD, NBPG);
>   ->    printf(" Done.\n");
> 
>         /* "good night, sweet prince .... <THUNK!>" */
>   ->    printf("Pmap Update:");
>         pmap_update();
>   ->    printf(" Done.\n");
> 
>         /* NOTREACHED */
>         while(1);
> 
> 	---
> 
> 	After recompiling a kernel and booting it, the result is this:
> 	
> 	Keyboard reset did not work, attempting CPU shutdown
> 	Unmapping address space:
> 
> 	... and nothing more.
> 
> 	Obviously bzero((caddr_t) PTD, NBPG) never makes it...
> 	(Pretty annoying, as I can't be away long if it crashes and
> 	attempts to reboot while I'm not around (like this summer...))

Theory: printf will fail with an unmapped address space.


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9506222341.AA04029>