[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: burn cd/dvd: permission /dev/sg0 denied



On Sat, Sep 17, 2005 at 08:39:28AM +0200, antongiulio05 wrote:
> I have setted my system as:
> 
> /usr/share/doc/cdrecord/README.ATAPI.setup
> 
> under kernel 2.6.* section, but it doesn't work.
> 
> I have launched:
> 
> # cdrecord dev=ATA: -scanbus
> Cdrecord-Clone 2.01.01a01 (x86_64-unknown-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 <cdrtools@packages.debian.org>.
>       The original author should not be bothered with problems of this version.
> 
> cdrecord: Warning: Running on Linux-2.6.11-9-amd64-k8
> 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: -1 target: -1 lun: -1
> 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'.
> 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 .
> 
> but it tries to open hda, not hdc...
> I have no ideas...
> 
> Can you help me?

Well you could simply try:
cdrecord -dev ATAPI:/dev/hdc -toc (list toc of a cd) or -atip (list info
about a blank CDR type).

If that works, you probably have what you need.

Make sure ide-scsi is NOT loaded, and that ide-cd IS loaded.

If it does DVD's use growisofs -[Z for new, M for append] /dev/hdc
[mkisofs options like -J -R] [files to burn]

Lennart Sorensen



Reply to: