NetBSD Problem Report #37005

From simonb@tachikoma.kaizo.org  Wed Sep 19 07:22:57 2007
Return-Path: <simonb@tachikoma.kaizo.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id A837F63B86C
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Sep 2007 07:22:57 +0000 (UTC)
Message-Id: <20070919072252.B250E10843@tachikoma.kaizo.org>
Date: Wed, 19 Sep 2007 08:22:52 +0100 (BST)
From: simonb@kaizo.org
Reply-To: simonb@kaizo.org
To: gnats-bugs@NetBSD.org
Subject: Kernel crash in -current (wrt screenblank)
X-Send-Pr-Version: 3.95

>Number:         37005
>Category:       kern
>Synopsis:       screenblank = yes && kernel == fb then crash
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 19 07:25:00 +0000 2007
>Last-Modified:  Thu Sep 27 20:50:01 +0000 2007
>Originator:     simonb@kaizo.org
>Release:        NetBSD 4.99.31
>Organization:
--------------------------------------------------------------------------
Simon B.                      If I want your opinion, I'll give it to you. 
--------------------------------------------------------------------------
>Environment:


System: NetBSD tachikoma.kaizo.org 4.99.31 NetBSD 4.99.31 (TACHIKOMA) #0: Tue Sep 18 22:22:09 BST 2007 simonb@tachikoma.kaizo.org:/usr/obj/sys/arch/i386/compile/TACHIKOMA i386
Architecture: i386
Machine: i386
>Description:

	After upgrading to -current, and having a play with the new frame buffer display, if /etc/rc.conf contains "screenblank" the the kernel crashes with the message : fatal asynchronous system trap in supervisor mode

>How-To-Repeat:

	enable the framebuffer devicen the GENERIC config and enable screenblank in /etc/rc.conf
>Fix:
	disbale one or the other... 

>Audit-Trail:
From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Wed, 19 Sep 2007 15:11:30 -0400 (EDT)

 On Wed, 19 Sep 2007, simonb@kaizo.org wrote:
 > 	After upgrading to -current, and having a play with the new frame buffer display, if /etc/rc.conf contains "screenblank" the the kernel crashes with the message : fatal asynchronous system trap in supervisor mode
 >
 >> How-To-Repeat:
 >
 > 	enable the framebuffer devicen the GENERIC config and enable screenblank in /etc/rc.conf
 >> Fix:
 > 	disbale one or the other...

 Are you using vesafb with options VESAFB_PM? This option has issues...

 Cheers,
 Jared

From: Simon B <simonb@kaizo.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 20 Sep 2007 11:03:13 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 * Jared D. McNeill <jmcneill@invisible.ca> scribbled on: [2007-09-19 20:30:02 +0000]:

 > The following reply was made to PR kern/37005; it has been noted by GNATS.
 > 
 > From: "Jared D. McNeill" <jmcneill@invisible.ca>
 > To: gnats-bugs@NetBSD.org
 > Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
 > 	netbsd-bugs@netbsd.org
 > Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
 > Date: Wed, 19 Sep 2007 15:11:30 -0400 (EDT)
 > 
 >  On Wed, 19 Sep 2007, simonb@kaizo.org wrote:
 >  > 	After upgrading to -current, and having a play with the new frame buffer display, if /etc/rc.conf contains "screenblank" the the kernel crashes with the message : fatal asynchronous system trap in supervisor mode
 >  >
 >  >> How-To-Repeat:
 >  >
 >  > 	enable the framebuffer devicen the GENERIC config and enable screenblank in /etc/rc.conf
 >  >> Fix:
 >  > 	disbale one or the other...
 >  
 >  Are you using vesafb with options VESAFB_PM? This option has issues...

 Yes I was.  Thanks for letting me know it's a known issue.

 Regards,

 Simon.

 - -- 
  "Who was that guy?" -Fry 
  "Your momma! Now shut up and drag me to work." -Bender 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (NetBSD)

 iQCVAwUBRvJFYSnItNK85HiBAQLPZwP+NRU62T05VSKLjbKcDwayYU1KYF87sw8+
 lKjGAFZV0DbNJIJkSb/mjpCchEkUxcmiFZCg3iTCglaqynzVYpQSgX9qPER7GlEX
 ZddaDVr7aTNlb2b3AWgd7rAFnUPdlaxMc2idtSGZEtJast/z8CmbqltCERkLaUKn
 39rkPoJ0duE=
 =i4IK
 -----END PGP SIGNATURE-----

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, simonb@kaizo.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 20 Sep 2007 14:55:20 -0400 (EDT)

 On Thu, 20 Sep 2007, Simon B wrote:
 > Yes I was.  Thanks for letting me know it's a known issue.

 It's not so much of an issue with vesafb, but instead the bioscall 
 interface -- it doesn't really work well when interrupts are enabled. It's 
 one of the many items on my TODO list to investigate...

 On a whim, do you happen to have ACPI enabled in your kernel? Can you try 
 a kernel without ACPI? I discovered an issue (fixed on a branch, not yet 
 merged with HEAD) where on i386, the acpi wakecode and i386 biostramp code 
 share the same page, which will cause all sorts of headaches...

 In other words, is it possible for you to try GENERIC.NOACPI ?

 Cheers,
 Jared

From: Simon B <simonb@kaizo.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Wed, 26 Sep 2007 16:55:26 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 * Jared D. McNeill <jmcneill@invisible.ca> scribbled on: [2007-09-20 19:00:08 +0000]:

 > The following reply was made to PR kern/37005; it has been noted by GNATS.
 > 
 > From: "Jared D. McNeill" <jmcneill@invisible.ca>
 > To: gnats-bugs@NetBSD.org
 > Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
 > 	netbsd-bugs@netbsd.org, simonb@kaizo.org
 > Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
 > Date: Thu, 20 Sep 2007 14:55:20 -0400 (EDT)
 > 
 >  On Thu, 20 Sep 2007, Simon B wrote:
 >  > Yes I was.  Thanks for letting me know it's a known issue.
 >  
 >  It's not so much of an issue with vesafb, but instead the bioscall 
 >  interface -- it doesn't really work well when interrupts are enabled. It's 
 >  one of the many items on my TODO list to investigate...
 >  
 >  On a whim, do you happen to have ACPI enabled in your kernel? Can you try 
 >  a kernel without ACPI? I discovered an issue (fixed on a branch, not yet 
 >  merged with HEAD) where on i386, the acpi wakecode and i386 biostramp code 
 >  share the same page, which will cause all sorts of headaches...
 >  
 >  In other words, is it possible for you to try GENERIC.NOACPI ?

 Jared et al,

 Yep - that works fine.  Anything else you'd like me to try?

 S.

 - -- 
  Fry: Hey, I don't see you planning for your old age.
  Bender: I got plans. I'm gonna turn my on/off switch to off.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (NetBSD)

 iQCVAwUBRvqA7inItNK85HiBAQIEWAP/SkY/+iXWFxtI4/BgFb83SWw7LDqzEW4Y
 Pze59I5SXHRN/wpB1WS9/2wNMerHOtTSzAUmcU6popZwaS+ha7aRtOm3nLT9Ov16
 1glZUZ/C+gyNMLwFePIvvlP7vW1cRq/hSLpFXEYyZ4Pb7zGsonVhMe2f31CTEMmR
 k2azLG8cQdw=
 =pXvD
 -----END PGP SIGNATURE-----

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, simonb@kaizo.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 27 Sep 2007 07:50:31 -0400 (EDT)

 On Wed, 26 Sep 2007, Simon B wrote:
 > Yep - that works fine.  Anything else you'd like me to try?

 Sorry, I should have asked -- can you try a kernel based on GENERIC.NOACPI 
 that includes vesafb, VESAFB_PM, etc?

 Cheers,
 Jared

From: Simon B <simonb@kaizo.org>
To: "Jared D. McNeill" <jmcneill@invisible.ca>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 27 Sep 2007 13:00:59 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 * Jared D. McNeill <jmcneill@invisible.ca> scribbled on: [2007-09-27 07:50:31 -0400]:

 >  On Wed, 26 Sep 2007, Simon B wrote:
 > > Yep - that works fine.  Anything else you'd like me to try?
 > 
 >  Sorry, I should have asked -- can you try a kernel based on GENERIC.NOACPI 
 >  that includes vesafb, VESAFB_PM, etc?
 > 

 Heh, and I should have said - I did :-)

 s.

 - -- 
 "I do remain confident in Linda [Chavez].  She'll make a fine labor
 secretary.  From what I've read in the press accounts, she's perfectly
 qualified."

 George W. Bush
 January 8, 2001
 Comment by the president-elect during a press conference.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (NetBSD)

 iQCVAwUBRvubeynItNK85HiBAQKkAgP/Tr3chE+pSqlrKvMtFUq4BwvR5vA+d/S4
 yfBYVAEgVBqVsUif936HxDP2FiBbeAHyYjpD4Qd/uc0o7g5l3F5hwuNiS//KzTx5
 ks8fXcZ/l1U6SgzA6th3y4G4UPhgcZES6pkpU9kQkxfKwgP1RycKEnolbVK/CLST
 /9AZat/rylI=
 =Jll+
 -----END PGP SIGNATURE-----

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: Simon B <simonb@kaizo.org>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 27 Sep 2007 08:34:49 -0400 (EDT)

 On Thu, 27 Sep 2007, Simon B wrote:
 > Heh, and I should have said - I did :-)

 Excellent. Can you try a kernel from the jmcneill-pm branch that includes 
 both ACPI and VESAFB_PM? This issue _should_ be resolved on the branch..

 Cheers,
 Jared

From: Simon B <simonb@kaizo.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 27 Sep 2007 15:47:28 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 * Jared D. McNeill <jmcneill@invisible.ca> scribbled on: [2007-09-27 12:35:02 +0000]:

 >  Excellent. Can you try a kernel from the jmcneill-pm branch that includes 
 >  both ACPI and VESAFB_PM? This issue _should_ be resolved on the branch..

 Done, boots fine.  Need a new dmesg or anything?

 Thanks for your help.

 S.

 - -- 
 "The best way to relieve families from time is to let them keep some of their
 own money."

 George W. Bush
 September 13, 2000
 Comment made in Westminster, California.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (NetBSD)

 iQCVAwUBRvvCgCnItNK85HiBAQJH/AP/ZlLeLeVf7uUpw01X7fSarHTmuZWZfaBs
 Fc966WsW4qpLv+f8r0lCmNDKzpB9zU5ti3jyYBzFFUuLgMIbjGBAjoyKCTMZ6CCo
 7tyXJXyn3pwbHKFZV0l3URa6+vVNjnn7AKfe9hZgsnTqApyrNeuLWPGypWdldjF1
 v2RJ3VX3ot8=
 =h5aO
 -----END PGP SIGNATURE-----

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: Simon B <simonb@kaizo.org>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 27 Sep 2007 14:49:21 -0400 (EDT)

 On Thu, 27 Sep 2007, Simon B wrote:
 > Done, boots fine.  Need a new dmesg or anything?

 Boots fine -- and does screenblank now work?

 Cheers,
 Jared

From: Simon B <simonb@kaizo.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
Date: Thu, 27 Sep 2007 21:44:56 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 * Jared D. McNeill <jmcneill@invisible.ca> scribbled on: [2007-09-27 18:50:02 +0000]:

 > The following reply was made to PR kern/37005; it has been noted by GNATS.
 > 
 > From: "Jared D. McNeill" <jmcneill@invisible.ca>
 > To: Simon B <simonb@kaizo.org>
 > Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
 > 	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
 > Subject: Re: kern/37005: Kernel crash in -current (wrt screenblank)
 > Date: Thu, 27 Sep 2007 14:49:21 -0400 (EDT)
 > 
 >  On Thu, 27 Sep 2007, Simon B wrote:
 >  > Done, boots fine.  Need a new dmesg or anything?
 >  
 >  Boots fine -- and does screenblank now work?
 >  

 Screenblanks OK, but doesn't resume after the first blank.

 S.

 - -- 
 "The best way to relieve families from time is to let them keep some of their
 own money."

 George W. Bush
 September 13, 2000
 Comment made in Westminster, California.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (NetBSD)

 iQCVAwUBRvwWSCnItNK85HiBAQIcEQQAklWEteVbfdLBzG5/1RjOWXmrYOkYwA26
 FPC4qmvishXDPKPpbjAHlQaRfuo8vILJFdj7kvGxXl5a2Tu3Cj42F+bDyes+OuQ4
 9C36Z1Aty3A0SKgSnlmHvL3AVzGKJVGbNk4wtgPU+VKX5xgpZF+rsh+xpl4Wmf1r
 N9YoGTjZ27g=
 =TePd
 -----END PGP SIGNATURE-----

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.