Cannot scan for devices using dev=ATA -scanbus

Bug #39290 reported by Jo Shields
4
Affects Status Importance Assigned to Milestone
cdrkit (Ubuntu)
Confirmed
Medium
Unassigned
cdrtools (Debian)
Fix Released
Unknown

Bug Description

This problem is also related to issues reported in the following bugs:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360295
https://launchpad.net/distros/ubuntu/+source/cdrdao/+bug/2765

It affects all packages based on the cdrtools source code - including cdrdao and cdda2wav

Please ensure that the patch in the debian bug report makes its way into Dapper.

Revision history for this message
Jo Shields (directhex) wrote :

jms@minimoose:~$ cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <email address hidden>.
      The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.15-19-686
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hda exclusively (Device or resource busy)... retrying in 1 second.
cdrecord: Device or resource busy. Cannot open '/dev/hda'. 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'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .

Revision history for this message
Simon Law (sfllaw) wrote :

The attached Debian bug has a patch that directhex claims works.

Changed in cdrtools:
status: Unconfirmed → Confirmed
Changed in cdrtools:
status: Unconfirmed → Fix Released
Revision history for this message
Schily (schilling-fokus) wrote :

Upgrade to a recent original cdrtools from

http://cdrecord.berlios.de/

and make sure that you install cdrecord suid root (needed
on Linux to allow cdrecord to work correctly).

Recent versions of cdrtools implement auto-target mode
(this has been introduced in August 2006). If you only
only have one CD/DVD/BluRay drive in the system, it will
sacn for and use this auto-magically wihtout dev= parameter.

Note that you need a recent cdrtools in order to work
around an incompatible Linux kernel interface change introduced
with Linux-2.6.8.1

Revision history for this message
Schily (schilling-fokus) wrote :

This is no cdrecord bug but a problem that is only preset in wodim.

Please use the cdrecord package from gutsy/multiverse, make sure not to use dev=ATA
as cdrecord now untegrates ATAPI and other SCSI transports in one name space.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Has this been eventually solved by a new wodim (cdrecord's replacement now in Ubuntu) in Hardy/Intrepid? Thanks for your feedback.

Revision history for this message
Schily (schilling-fokus) wrote :

To resolve this problem in wodim, the people behind wodim would need
to admit that all their rants against the official libscg implementation
are wrong. There is low probability that this will ever happen.

Note that cdrecord never had this problem and that the problem in wodim
is a result from the changes made in the fork.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Jörg, please keep your comments for places where they can be useful. Ubuntu ships with cdrkit and there's absolutely no point in talking of cdrecord here. Either we try to fix this in wodim, or we just have to shut up in this report.

Revision history for this message
Schily (schilling-fokus) wrote :

please stop your inapropriate comments.

cdrkit is in conflict with GPL and Copyright and cannot be distributed legally.

cdrkit is no longer actively maintained since May 6th 2007.
It is obvious that there will be no fix for wodim.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.