Re: synchronous freebsd print
- From: Eygene Ryabinkin <rea-fbsd@xxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 15:57:11 +0300
Sanjeev,
Wed, Feb 27, 2008 at 03:00:46AM -0800, Sanjeev Kumar.S wrote:
and Yes in the kernel code I have a "\n" at the end
of my print, still the print is not complete and
the line next to it that causes the crash does
not give the result I want. Is this a common
scenario or am I doing something wrong.
If you're not defining PRINTF_BUFR_SIZE, then, judging by the
/sys/kern/subr_prf.c, output will be unbuffered in any case. However,
kernel printf is not protected by locks, so it can be interrupted
by another thread, if I am correct.
May be ddb(4) will become your friend?
--
Eygene
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Re: synchronous freebsd print
- From: Peter Jeremy
- Re: synchronous freebsd print
- From: Sanjeev Kumar.S
- Re: synchronous freebsd print
- Prev by Date: Re: emulate an end-of-media
- Next by Date: Re: find -lname and -ilname implemented
- Previous by thread: Re: synchronous freebsd print
- Next by thread: Re: synchronous freebsd print
- Index(es):
Relevant Pages
|
|