NetBSD Problem Report #30732

From www@netbsd.org  Mon Jul 11 22:31:38 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 4383063B116; Mon, 11 Jul 2005 22:31:38 +0000 (UTC)
Message-Id: <20050711223138.4383063B116@narn.netbsd.org>
Date: Mon, 11 Jul 2005 22:31:38 +0000 (UTC)
From: jking@deadpixi.com
Reply-To: jking@deadpixi.com
To: gnats-bugs@netbsd.org
Subject: Console freeze after switching from X display.
X-Send-Pr-Version: www-1.0

>Number:         30732
>Category:       xsrc
>Synopsis:       Console freeze after switching from X display.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 11 22:32:00 +0000 2005
>Closed-Date:    Sat Feb 20 16:31:02 +0000 2010
>Last-Modified:  Sat Feb 20 16:31:02 +0000 2010
>Originator:     Rob King
>Release:        3.0_BETA
>Organization:
>Environment:
NetBSD dustpuppy.deadpixi.com 3.99.7 NetBSD 3.99.7 (GENERIC) #0: Fri Jul  8 19:40:15 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/HEAD/amd64/200507080000Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC amd64


>Description:
On the latest snapshot, trying to switch from the X display to the text console (via ctrl-alt-f1) causes the keyboard to stop functioning.
>How-To-Repeat:
Install the latest snapshot.
Start XDM.
Switch to the first virtual console.
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: tron@netbsd.org
State-Changed-When: Tue, 12 Jul 2005 06:55:53 +0000
State-Changed-Why:
Similar question as for PR xsrc/30731:
What NetBSD version are you really using? Where did the X11 binaries come
from? What hardware? What kernel configuration?


From: Martijn van Buul <martijnb@atlas.ipv6.stack.nl>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: xsrc/30732: Console freeze after switching from X display.
Date: Tue, 12 Jul 2005 10:52:06 +0200

 jking@deadpixi.com wrote:
 >>Number:         30732

 >>Description:
 > On the latest snapshot, trying to switch from the X display to the text console (via ctrl-alt-f1) causes the keyboard to stop functioning.

 This is probably related to xsrc/30731. The same workaround applies: Use the
 'keyboard' driver instead of the 'kbd' driver in your XF86Config.

From: Matthias Scheler <tron@NetBSD.org>
To: Martijn van Buul <martijnb@atlas.ipv6.stack.nl>
Cc: NetBSD GNATS <gnats-bugs@netbsd.org>, netbsd-bugs@NetBSD.org
Subject: Re: xsrc/30732: Console freeze after switching from X display.
Date: Tue, 12 Jul 2005 10:14:19 +0100

 On Tue, Jul 12, 2005 at 08:53:01AM +0000, Martijn van Buul wrote:
 >  jking@deadpixi.com wrote:
 >  >>Number:         30732
 >  
 >  >>Description:
 >  > On the latest snapshot, trying to switch from the X display to the text console (via ctrl-alt-f1) causes the keyboard to stop functioning.
 >  
 >  This is probably related to xsrc/30731. The same workaround applies: Use the
 >  'keyboard' driver instead of the 'kbd' driver in your XF86Config.

 Could you please supply the "/etc/X11/XF86Config" entries used in both cases?
 And what NetBSD do you use? NetBSD 3.0_BETA or NetBSD-current?

 	Kind regards

 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: Matthias Scheler <tron@NetBSD.org>
Cc: 
Subject: Re: xsrc/30732: Console freeze after switching from X display.
Date: Tue, 12 Jul 2005 11:42:26 +0200

 Hoi tron,

 I'm not sure at which address I should reply to so this ends up in gnats
 (gnats-bugs@netbsd.org ?) and gets appended to the PR, sending to you as
 a start :)

 On Tue, Jul 12, 2005 at 10:14:19AM +0100, Matthias Scheler wrote:
 > On Tue, Jul 12, 2005 at 08:53:01AM +0000, Martijn van Buul wrote:
 > >  jking@deadpixi.com wrote:
 > >  >>Number:         30732
 > >  
 > >  >>Description:
 > >  > On the latest snapshot, trying to switch from the X display to the text console (via ctrl-alt-f1) causes the keyboard to stop functioning.
 > >  
 > >  This is probably related to xsrc/30731. The same workaround applies: Use the
 > >  'keyboard' driver instead of the 'kbd' driver in your XF86Config.
 > 
 > Could you please supply the "/etc/X11/XF86Config" entries used in both cases?
 > And what NetBSD do you use? NetBSD 3.0_BETA or NetBSD-current?

 Hello,

 I have seen the same (some more info including xev responses
 to broken keys at:
 http://mail-index.netbsd.org/current-users/2005/07/07/0002.html
 Resolved due:
 http://mail-index.netbsd.org/current-users/2005/07/09/0007.html
 in:
 http://mail-index.netbsd.org/current-users/2005/07/09/0011.html
 )
 >From the last of these emails, here is what X -configure gives you (kbd driver):

 Section "InputDevice"
 	Identifier  "Keyboard0"
 	Driver      "kbd"
 	Option	    "Protocol" "wskbd"
 	Option	    "Device" "/dev/wskbd"
 EndSection

 And here is the working entry:

 Section "InputDevice"
     Identifier  "Keyboard0"
     Driver  "keyboard"
     Option "XkbRules"   "xfree86"
     Option "XkbLayout"  "de"
     Option "XkbVariant" "nodeadkeys"
 EndSection


 This is on a NetBSD-current (NetBSD 3.99.7 (GENERIC.MP) #0: Thu Jul  7 04:39:09 CEST 2005)
 with xsrc from the same date.

 Hope that helps,

 -Martin

From: Martijn van Buul <martijnb@atlas.ipv6.stack.nl>
To: Matthias Scheler <tron@NetBSD.org>
Cc: NetBSD GNATS <gnats-bugs@netbsd.org>, netbsd-bugs@NetBSD.org
Subject: Re: xsrc/30732: Console freeze after switching from X display.
Date: Tue, 12 Jul 2005 18:41:58 +0200

 --h31gzZEtNLTqOjlF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 On Tue, Jul 12, 2005 at 10:14:19AM +0100, Matthias Scheler wrote:
 > On Tue, Jul 12, 2005 at 08:53:01AM +0000, Martijn van Buul wrote:

 > Could you please supply the "/etc/X11/XF86Config" entries used in both cases?

 Sure. See attachments. The 'broken' one is auto-generated by xf86cfg - which
 crashes, by the way.

 > And what NetBSD do you use? NetBSD 3.0_BETA or NetBSD-current?

 NetBSD 3.0_BETA:

 NetBSD balthasar-wi.ipv6.stack.nl 3.0_BETA NetBSD 3.0_BETA (BALTHASAR) #3: Tue Jun 28 01:08:13 CEST 2005  martijnb@balthasar.ipv6.stack.nl:/usr/src/sys/arch/i386/compile/BALTHASAR i386

 userland from the same date, ditto xsrc. 

 --h31gzZEtNLTqOjlF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="XF86Config.working"

 Section "ServerLayout"
 	Identifier     "XFree86 Configured"
 	Screen      0  "Screen0" 0 0
 	InputDevice    "Mouse0" "CorePointer"
 	InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection

 Section "Files"
 	RgbPath      "/usr/X11R6/lib/X11/rgb"
 	ModulePath   "/usr/X11R6/lib/modules"
 	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
 EndSection
 Section "Module"
 	Load  "extmod"
 	Load  "record"
 	Load  "dbe"
 	Load  "glx"
 	Load  "xtrap"
 	Load  "type1"
 	Load  "speedo"
 EndSection
 Section "InputDevice"
 	Identifier  "Keyboard0"
 	Driver      "Keyboard"
 EndSection

 Section "InputDevice"
 	Identifier  "Mouse0"
 	Driver      "mouse"
 	Option	    "Protocol" "wsmouse"
 	Option	    "Device" "/dev/wsmouse"
 EndSection

 Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "Monitor Vendor"
 	ModelName    "Monitor Model"
 EndSection

 Section "Device"
         ### Available Driver options are:-
         ### Values: : integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"            	# [<bool>]
         #Option     "SWcursor"           	# [<bool>]
         #Option     "Dac6Bit"            	# [<bool>]
         #Option     "Dac8Bit"            	# [<bool>]
         #Option     "PanelOff"           	# [<bool>]
         #Option     "DDCMode"            	# [<bool>]
         #Option     "MonitorLayout"      	# [<str>]
         #Option     "IgnoreEDID"         	# [<bool>]
         #Option     "OverlayOnCRTC2"     	# [<bool>]
         #Option     "CloneMode"          	# [<str>]
         #Option     "CloneHSync"         	# [<str>]
         #Option     "CloneVRefresh"      	# [<str>]
         #Option     "UseFBDev"           	# [<bool>]
         #Option     "VideoKey"           	# 
         #Option     "DisplayPriority"    	# [<str>]
         #Option     "PanelSize"          	# [<str>]
         #Option     "ForceMinDotClock"   	# <freq>
 	Identifier  "Card0"
 	Driver      "ati"
 	VendorName  "ATI Technologies Inc"
 	BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
 	BusID       "PCI:1:0:0"
 EndSection

 Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "Monitor0"
 	DefaultDepth 24
 	SubSection "Display"
 		Viewport   0 0
 		Depth     1
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     4
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     8
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     15
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     16
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     24
 	EndSubSection
 EndSection


 --h31gzZEtNLTqOjlF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="XF86Config.broken"

 Section "ServerLayout"
 	Identifier     "XFree86 Configured"
 	Screen      0  "Screen0" 0 0
 	InputDevice    "Mouse0" "CorePointer"
 	InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection

 Section "Files"
 	RgbPath      "/usr/X11R6/lib/X11/rgb"
 	ModulePath   "/usr/X11R6/lib/modules"
 	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
 	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
 EndSection
 Section "Module"
 	Load  "extmod"
 	Load  "record"
 	Load  "dbe"
 	Load  "glx"
 	Load  "xtrap"
 	Load  "type1"
 	Load  "speedo"
 EndSection
 Section "InputDevice"
 	Identifier  "Keyboard0"
 	Driver      "kbd"
 	Option	    "Protocol" "wskbd"
 	Option	    "Device" "/dev/wskbd"
 EndSection

 Section "InputDevice"
 	Identifier  "Mouse0"
 	Driver      "mouse"
 	Option	    "Protocol" "wsmouse"
 	Option	    "Device" "/dev/wsmouse"
 EndSection

 Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "Monitor Vendor"
 	ModelName    "Monitor Model"
 EndSection

 Section "Device"
         ### Available Driver options are:-
         ### Values: : integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"            	# [<bool>]
         #Option     "SWcursor"           	# [<bool>]
         #Option     "Dac6Bit"            	# [<bool>]
         #Option     "Dac8Bit"            	# [<bool>]
         #Option     "PanelOff"           	# [<bool>]
         #Option     "DDCMode"            	# [<bool>]
         #Option     "MonitorLayout"      	# [<str>]
         #Option     "IgnoreEDID"         	# [<bool>]
         #Option     "OverlayOnCRTC2"     	# [<bool>]
         #Option     "CloneMode"          	# [<str>]
         #Option     "CloneHSync"         	# [<str>]
         #Option     "CloneVRefresh"      	# [<str>]
         #Option     "UseFBDev"           	# [<bool>]
         #Option     "VideoKey"           	# 
         #Option     "DisplayPriority"    	# [<str>]
         #Option     "PanelSize"          	# [<str>]
         #Option     "ForceMinDotClock"   	# <freq>
 	Identifier  "Card0"
 	Driver      "ati"
 	VendorName  "ATI Technologies Inc"
 	BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
 	BusID       "PCI:1:0:0"
 EndSection

 Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "Monitor0"
 	DefaultDepth 24
 	SubSection "Display"
 		Viewport   0 0
 		Depth     1
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     4
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     8
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     15
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     16
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     24
 	EndSubSection
 EndSection


 --h31gzZEtNLTqOjlF--

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 10 Apr 2008 01:23:55 +0000
State-Changed-Why:
Sufficient feedback has been received (years ago) - now the question is 
whether there's still an issue.


State-Changed-From-To: open->closed
State-Changed-By: hubertf@NetBSD.org
State-Changed-When: Sat, 20 Feb 2010 16:31:02 +0000
State-Changed-Why:
Feedback timeout.
If this still is a problem with a recent NetBSD version, please re-submit.

 - Hubert





>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.