Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 18:50:10 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys msgbuf.h src/sys/kern subr_prf.c
Message-ID:  <200303280250.h2S2oAim038046@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2003/03/27 18:50:10 PST

  FreeBSD src repository

  Modified files:
    sys/sys              msgbuf.h 
    sys/kern             subr_prf.c 
  Log:
  Add a checksum to the kernel message buffer, and update it every
  time a character is written. Use this at boot time to reject the
  existing buffer contents if they are corrupt. This fixes a problem
  seen on some hardware (especially laptops) where the message buffer
  gets partially corrupted during a short power cycle or reset, but
  the msgbuf structure is left intact so it gets reused, resulting
  in random junk and control characters appearing in dmesg and
  /var/log/messages.
  
  PR:             kern/28497
  
  Revision  Changes    Path
  1.99      +24 -4     src/sys/kern/subr_prf.c
  1.20      +1 -0      src/sys/sys/msgbuf.h



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