From nobody@FreeBSD.org  Thu May  4 12:29:29 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 89DE216A400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 May 2006 12:29:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 583A943D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 May 2006 12:29:29 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k44CTTHi025073
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 4 May 2006 12:29:29 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k44CTTP6025072;
	Thu, 4 May 2006 12:29:29 GMT
	(envelope-from nobody)
Message-Id: <200605041229.k44CTTP6025072@www.freebsd.org>
Date: Thu, 4 May 2006 12:29:29 GMT
From: Stefan Rink <paradise@ml75.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Automatic KDE boot can crash system when switching back to console.
X-Send-Pr-Version: www-2.3

>Number:         96767
>Category:       kern
>Synopsis:       [kdm]: Automatic KDE boot can crash system when switching back to console.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 04 12:30:22 GMT 2006
>Closed-Date:    Sat Jan 27 18:55:19 GMT 2007
>Last-Modified:  Sat Jan 27 18:55:19 GMT 2007
>Originator:     Stefan Rink
>Release:        6
>Organization:
ML75.NL
>Environment:
FreeBSD LappieBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
---> My bug-report (96739) is missing. <--- The problem is still unresolved so if you delete this PR send me a message please!

When i place a KDE startup script in /usr/local/etc/rc.d 90% of the times i boot and want to goto the console while still booting my system crashes into a infinite loop. (black screen, cooler goes awall)

Also 70% of the time KDE doesn't get any keyboard events after boot (if this happens only CTRL-ALT-DELETE or using the mouse to shutdown works).

ps. this is only recently after installing a few services to work on my intranet project. (apache and mysql server)
>How-To-Repeat:
Install a few services that start automatic while booting (i.e. mysql server, apache, etc)
Create a KDE startup script like this and while the system/KDE is starting press CTRL-ALT-F1 to crash the system. (i think this will only work with HT enabled)

-- /usr/local/etc/rc.d/kde.sh
#!/bin/sh
case "$1" in
        start)
               /usr/local/bin/kdm
                ;;
        stop)
               killall kdm
                ;;
        *)
                echo ""
                echo "Usage: `basename $0` { start | stop }"
                echo ""
                exit 64
                ;;
esac

>Fix:
No automatic KDE startup.. just boot login as root in the console and then run KDE by hand.


>Release-Note:
>Audit-Trail:

From: linimon@lonesome.com (Mark Linimon)
To: Stefan Rink <paradise@ml75.nl>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/96767: Automatic KDE boot can crash system when switching back to console.
Date: Thu, 4 May 2006 08:47:21 -0500

 On Thu, May 04, 2006 at 12:29:29PM +0000, Stefan Rink wrote:
 > ---> My bug-report (96739) is missing. <---
 
 Whenever this happens, please email bugmaster@FreeBSD.org and we'll fix
 the problem.  (The PR index has become stale and must be rebuilt in this
 case.)
 
 mcl
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Dec 25 20:31:16 UTC 2006 
State-Changed-Why:  
Hello, kdm is third party so we might need to look a bit 
further. Can you tell me why you are not using the regular 
kdm startup parameters? kdm_enable="YES" in /etc/rc.conf 
(the startup script is located in /usr/X11R6/etc/rc.d/) 
if you use that, what happends then? 


Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Dec 25 20:31:16 UTC 2006 
Responsible-Changed-Why:  
grab the pr for feedback tracing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96767 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Sat Jan 27 18:55:17 UTC 2007 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96767 
>Unformatted:
