From owner-freebsd-bugs@FreeBSD.ORG Sat May 26 17:40:04 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 053C416A469 for ; Sat, 26 May 2007 17:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id DBA2213C44C for ; Sat, 26 May 2007 17:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4QHe3rp060831 for ; Sat, 26 May 2007 17:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4QHe3tY060830; Sat, 26 May 2007 17:40:03 GMT (envelope-from gnats) Resent-Date: Sat, 26 May 2007 17:40:03 GMT Resent-Message-Id: <200705261740.l4QHe3tY060830@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, hip0 Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F9DF16A400 for ; Sat, 26 May 2007 17:30:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 919B313C484 for ; Sat, 26 May 2007 17:30:46 +0000 (UTC) (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 l4QHUkYl018415 for ; Sat, 26 May 2007 17:30:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4QHUkWa018414; Sat, 26 May 2007 17:30:46 GMT (envelope-from nobody) Message-Id: <200705261730.l4QHUkWa018414@www.freebsd.org> Date: Sat, 26 May 2007 17:30:46 GMT From: hip0 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/113036: Problem with cdrecord when hald is running X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 17:40:04 -0000 >Number: 113036 >Category: misc >Synopsis: Problem with cdrecord when hald is running >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 26 17:40:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: hip0 >Release: 6.2-RELEASE >Organization: None >Environment: FreeBSD jericho.pcfreak 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #1: Tue May 1 21:21:32 EEST 2007 root@jericho.pcfreak:/usr/obj/usr/src/sys/JERICHO i386 >Description: I experienced problem when trying to record cd with k3b or gnome baker, misteriously when using burncd and cdrecord and generated iso with mkisofs I was able to burn cds. After googling around and discussing my problem in irc.freenode.net ##freebsd I come to the conclusion that the problem is because of the hald. I tried to stop hald and tried to use k3b and gnomebaker and everything had worked perfect, so I did a small workaround a wrapper script to run k3b and gnome baker stopping hald before starting k3b and gnomebaker and running it again when the app is closed but this is a temporary solution I guess somebody which is more familiar with hald should take a look. >How-To-Repeat: Install FreeBSD 6.2-RELEASE, enable hald ( to be able to automount external devices ), try to burn a cd using k3b or gnomebaker, or try to blank a cd using cdrecord or burncd. >Fix: A little workaround wrapper script to stop and start the hald when k3b and gnomebaker is started. #!/usr/local/bin/bash var1=$(ps ax | grep -i hald-runner | awk '{ print $5 }'|grep -v grep|grep -v bash); if [ ${var1} ]; then sudo /usr/local/etc/rc.d/hald stop fi sh -c "/usr/local/bin/k3b1" while [ 1 ]; do sleep 10; var=$(ps ax | grep -i k3b1 | awk '{ print $5 }'|grep -v grep|grep -v bash); if [ ! ${var} ]; then sudo /usr/local/etc/rc.d/hald start exit 1 fi done >Release-Note: >Audit-Trail: >Unformatted: