Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 1997 22:30:03 -0800 (PST)
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        freebsd-bugs
Subject:   Re: kern/5314: Screensaver continues operating after kernel panic 
Message-ID:  <199712210630.WAA11788@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/5314; it has been noted by GNATS.

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: toasty@dragondata.com
Cc: freebsd-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: kern/5314: Screensaver continues operating after kernel panic 
Date: Sun, 21 Dec 1997 15:27:12 +0900

 >>Number:         5314
 >>Category:       kern
 >>Synopsis:       Screensaver continues operating after kernel panic
 >>Confidential:   no
 >>Severity:       non-critical
 >>Priority:       low
 >>Responsible:    freebsd-bugs
 >>State:          open
 >>Class:          change-request
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Tue Dec 16 01:40:00 PST 1997
 >>Last-Modified:
 >>Originator:     Kevin Day
 >>Organization:
 >DragonData
 >>Release:        -current and 2.2.5-release
 >>Environment:
 >multiple machines
 >>Description:
 >After a kernel panic, the screensaver isn't de-activated. It's somewhat common
 >, unfortunately, that the machine will be unable to automatically reboot after
 > a kernel panic. However, the code for running the screensaver seems pretty cr
 >ash-proof.
 [snip]
 
 Would you possibly apply the following patch to /sys/i386/isa/syscons.c
 and see if it works for you?
 
 Kazu
 yokota@freebsd.org
 
 --- syscons.c-1.242	Tue Dec  9 10:41:31 1997
 +++ syscons.c	Wed Dec 17 16:23:50 1997
 @@ -2152,7 +2152,7 @@
      }
  
      /* should we stop the screen saver? */
 -    if (mono_time.tv_sec <= scrn_time_stamp + scrn_blank_time)
 +    if (mono_time.tv_sec <= scrn_time_stamp + scrn_blank_time || panicstr)
  	if (scrn_blanked > 0)
              stop_scrn_saver(current_saver);
  
 @@ -2220,7 +2220,8 @@
  
      /* should we activate the screen saver? */
      if ((scrn_blank_time != 0) 
 -	    && (mono_time.tv_sec > scrn_time_stamp + scrn_blank_time))
 +	    && (mono_time.tv_sec > scrn_time_stamp + scrn_blank_time)
 +	    && (panicstr == NULL))
  	(*current_saver)(TRUE);
  
      timeout(scrn_timer, NULL, hz / 25);
 



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