From ernst@heinz.jollem.com  Thu May  3 05:12:12 2001
Return-Path: <ernst@heinz.jollem.com>
Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187])
	by hub.freebsd.org (Postfix) with ESMTP id E0D1A37B423
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 May 2001 05:12:10 -0700 (PDT)
	(envelope-from ernst@heinz.jollem.com)
Received: (from ernst@localhost)
	by heinz.jollem.com (8.11.3/8.11.3) id f43CAUa28747;
	Thu, 3 May 2001 14:10:30 +0200 (CEST)
	(envelope-from ernst)
Message-Id: <200105031210.f43CAUa28747@heinz.jollem.com>
Date: Thu, 3 May 2001 14:10:30 +0200 (CEST)
From: Ernst de Haan <ernst@heinz.jollem.com>
Reply-To: ernst@heinz.jollem.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: kscd installed by x11/kde2 crashes on XFree86-4.0.3/FreeBSD 4.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         27056
>Category:       ports
>Synopsis:       kscd installed by x11/kde2 crashes on XFree86-4.0.3/FreeBSD 4.3
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    will
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 03 05:20:00 PDT 2001
>Closed-Date:    Sun Jun 24 21:11:51 PDT 2001
>Last-Modified:  Sun Jun 24 21:12:26 PDT 2001
>Originator:     Ernst de Haan
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Jollem Information Technology
>Environment:
System: FreeBSD heinz.jollem.com 4.3-RELEASE FreeBSD 4.3-RELEASE #3: Mon Apr 30 08:56:44 CEST 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386

KDE 2.1.1 (installed from port x11/kde2)

Installed KDE packages:

	> pkg_info | grep kde
	kde-2.1.1           The "meta-port" for KDE 2
	kdebase-2.1.1       Base modules for the KDE integrated X11 desktop
	kdegames-2.1.1      Games for the KDE integrated X11 desktop
	kdegraphics-2.1.1   Utilities for the KDE integrated X11 desktop
	kdelibs-2.1.1       Libraries for KDE2
	kdemultimedia-2.1.1 Utilities for the KDE integrated X11 desktop
	kdenetwork-2.1.1    Network modules for KDE2
	kdesupport-2.1      Mime and UUENCODE/DECODE libraries for the KDE integrated X
	kdeutils-2.1.1      Utilities for the KDE integrated X11 desktop

My system:

	FreeBSD 4.3-RELEASE #3: Mon Apr 30 08:56:44 CEST 2001
	    root@heinz.jollem.com:/usr/src/sys/compile/HEINZ
	Timecounter "i8254"  frequency 1193182 Hz
	CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
	  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
	  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
	[...]
	avail memory = 388075520 (378980K bytes)
	Preloaded elf kernel "kernel" at 0xc03a1000.
	Preloaded userconfig_script "/boot/kernel.conf" at 0xc03a109c.
	Pentium Pro MTRR support enabled
	[...]
	ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xd400-0xd4ff mem 0xef000000-0xef000fff irq 12 at device 16.0 on pci0
	aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs
	[...]
	pcm0: <Creative EMU10K1> port 0xdc00-0xdc1f irq 10 at device 20.0 on pci0
	[...]
	cd0 at ahc0 bus 0 target 4 lun 0
	cd0: <TEAC CD-R56S 1.0F> Removable CD-ROM SCSI-2 device
	cd0: 10.000MB/s transfers (10.000MHz, offset 15)

>Description:
The kscd that comes with the current x11/kde2 port crashes. Stack trace:

	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	(no debugging symbols found)...(no debugging symbols found)...
	0x28bfac08 in wait4 () from /usr/lib/libc.so.4
	#0  0x28bfac08 in wait4 () from /usr/lib/libc.so.4
	#1  0x28bec0eb in waitpid () from /usr/lib

>How-To-Repeat:
	Install FreeBSD 4.3-R or -S
	Install the port x11/XFree86-4
	Install the port x11/kde2
	Start kscd as a regular user
>Fix:

	
>Release-Note:
>Audit-Trail:

From: "Sung N. Cho" <sucho2@vt.edu>
To: freebsd-gnats-submit@FreeBSD.org, ernst@heinz.jollem.com
Cc:  
Subject: Re: ports/27056: kscd installed by x11/kde2 crashes on
 XFree86-4.0.3/FreeBSD 4.3
Date: Mon, 07 May 2001 14:48:04 -0400

 Try creating a link in /dev
 
 
 As a root, do this:
 
 # ln -s /dev/acd0c /dev/cdrom
 
 And, if you haven't changed the mode for acd0c,
 
 # chmod 555 /dev/acd0c
 
 KSCD by default, looks for /dev/cdrom.  But, FreeBSD doesn't seem to have 
 that link in /dev directory as it is for all Linux distributions.  After all, 
 KDE was written on Linux systems for Linux.
 
 
 Yours sincerely,
 Sung N. Cho,
 Monday, May 06, 2001.

From: Ernst de Haan <ernst@jollem.com>
To: "Sung N. Cho" <sucho2@vt.edu>
Cc: freebsd-gnats-submit@FreeBSD.org, ernst@heinz.jollem.com
Subject: Re: ports/27056: kscd installed by x11/kde2 crashes on XFree86-4.0.3/FreeBSD 4.3
Date: Mon, 7 May 2001 23:24:36 +0200

 What do you know?! I did:
 
    # ln -s /dev/rcd0c /dev/cdrom
 
 and now kscd *does* work. I do consider this a bug in kscd though.
 
 Ernst
 
 
 Sung N. Cho wrote:
 > Try creating a link in /dev
 > 
 > 
 > As a root, do this:
 > 
 > # ln -s /dev/acd0c /dev/cdrom
 > 
 > And, if you haven't changed the mode for acd0c,
 > 
 > # chmod 555 /dev/acd0c
 > 
 > KSCD by default, looks for /dev/cdrom.  But, FreeBSD doesn't seem to have 
 > that link in /dev directory as it is for all Linux distributions.  After all, 
 > KDE was written on Linux systems for Linux.
 > 
 > 
 > Yours sincerely,
 > Sung N. Cho,
 > Monday, May 06, 2001.
 > 
 
 -- 
 Ernst de Haan
 Java Architect
 Jollem Information Technology
 
     "Come to me all who are weary and burdened
         and I will give you rest" -- Jesus Christ
Responsible-Changed-From-To: freebsd-ports->will 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Thu May 17 12:59:27 PDT 2001 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27056 
State-Changed-From-To: open->closed 
State-Changed-By: dwcjr 
State-Changed-When: Sun Jun 24 21:11:51 PDT 2001 
State-Changed-Why:  
After you install kdemultimedia it tells you that you have to do the  
symlink for the cdrom. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27056 
>Unformatted:
