Red Hat Bugzilla – Bug 99001
Device or resource busy. Cannot open '/dev/sg0'. Cannot open SCSI driver.
Last modified: 2007-04-18 12:55:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
I first tried this with cdrecord-2.0-6, but after reading the bug reports I
upgraded to the latest rawhide version, but still have the problem.
cdrecord -scanbus produces the following error:
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
cdrecord: Device or resource busy. Cannot open '/dev/sg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Displaying /etc/hwconf reveals the following:
desc: " atapi 12X DVD-ROM"
desc: "Yamaha CRW2100E"
desc: "Hp C1537A"
It seems that cdrecord is having trouble getting past the tape drive, which is a
"real" SCSI device on an Adaptec controller. The cd drives are both IDE
devices. This wouldn't be a big problem except that some cd-rom burning front
ends try to detect the drives during startup (and crash).
Problem didn't show up on RH 7.3 or 8.0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run cdrecord -scanbus
Actual Results: Produces error above.
Expected Results: Should find the cdrom drives as in version 7.3 and 8.0.
Yes, removing the tape drive does make it work, but not a very good solution.
Are you logged in as root when running the cdrecord -scanbus command? I get this
error also when logged in as a normal user.
Yes this was tried as root. I just tried it again as root to verify.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.
Created attachment 93711 [details]
Screendump of up2date and cdrecord output
I just applied the patches. The problem has not changed.
The best way to test this is to install a tape drive on an Adapted controller in
a system running RH9. I've tried it on two now and it fails on both.
ok, I believe you :)
I too applied the updates and still have the problem with the CD hanging.
Additionaly, my system seems slower in general.
then we should report these issues to the author of cdrecord, cause in the
up2date version there are no RH specific patches anymore..
Maybe this should be listed as a kernel problem, and not a cdrecord problem.
RH 7.3 and 8.0 worked just fine.
can you please retry with the newest rawhide versions?
ok, cannot fix this...
Reopen, if the problem is still existing in newer Fedora versions.