ports/91763: readcd -scanbus doesn't work on FreeBSD 6.0 and 5.4
Fabian Keil
freebsd-listen at fabiankeil.de
Fri Jan 13 17:50:08 UTC 2006
>Number: 91763
>Category: ports
>Synopsis: readcd -scanbus doesn't work on FreeBSD 6.0 and 5.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 13 17:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fabian Keil
>Release: RELENG_6
>Organization:
>Environment:
FreeBSD TP51.local 6.0-STABLE FreeBSD 6.0-STABLE #1: Thu Jan 12 18:02:22 CET 2006 fk at TP51.local:/usr/obj/usr/src/sys/THINKPAD i386
>Description:
Since version 2.01 readcd has a scanbus option,
however it doesn't work on FreeBSD:
fk at TP51 ~ $readcd -scanbus
readcd: Error 0. Cannot open SCSI driver.
>How-To-Repeat:
Run readcd -scanbus on FreeBSD and compare the result with the output of cdrecord -scanbus.
>Fix:
This patch fixes the problem for me, I tested it with cdrtools and cdrtools-devel on FreeBSD 6.0 and 5.4.
http://www.fabiankeil.de/tmp/patch-readcd%3A%3Areadcd.c
The patch was sent to the cdrtools author and I believe
the problem will be fixed in one of the next alphas.
As it probably will take some time until the next
stable cdrtools version is out, I think it should be
fixed in the ports as well.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list