misc/113036: Problem with cdrecord when hald is running
hip0
roots_bg at yahoo.com
Sat May 26 17:40:04 UTC 2007
>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 at 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:
More information about the freebsd-bugs
mailing list