Re: Garbled shutdown message
- From: Kris Kennaway <kris@xxxxxxxxxxx>
- Date: Fri, 28 Dec 2007 21:39:31 +0100
Michael Butler wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kris Kennaway wrote:Jens Schweikhardt wrote:If you look at this closely you can find "Syncing (max 60 seconds) forYou have an SMP system and do not have the PRINTF_BUFR option or
system process" if you read about every other character. It's always the
third of the three "Waiting" lines. Anyone else seeing this?
whatever it is. Without it multiple CPUs have no synchronization
between printfs and will interleave.
So the recommended value for PRINTF_BUFR_SIZE is ... ?
NOTES has 128 I think.
In my (very brief) browse through kern/subr_prf.c, I didn't see any>
overflow protection on the stack-allocated buffer ... which makes me
rather nervous.
Interleaved text is *way* better than clobbered kernel stack ..
So either fix it if there is a problem or don't use it if you are scared :)
Kris
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- References:
- Garbled shutdown message
- From: Jens Schweikhardt
- Re: Garbled shutdown message
- From: Kris Kennaway
- Re: Garbled shutdown message
- From: Michael Butler
- Garbled shutdown message
- Prev by Date: Re: Garbled shutdown message
- Next by Date: Re: [Fwd: Re: rtfree: 0xc5caad98 has 2 refs]
- Previous by thread: Re: Garbled shutdown message
- Next by thread: Re: Garbled shutdown message
- Index(es):
Relevant Pages
|
|