PDA

View Full Version : come faccio a far rilevare il masterizzatore?


ciciolo
17-03-2005, 22:14
ciao ,ho installato graveman sulla mia ubuntu ,solo che il masterizzatore del mio portatile nn viene rilevato ,mi aiutate a farlo?

ciao

ps:per leggere il cd inserito lo legge ,tipo xine,ma il software graveman no ,come si fa?

PiloZ
17-03-2005, 23:37
se da root dai:
cdrecord dev=ATA -scanbus
viene rilevato?

graveman non vede il masterizzatore solo da utente e non da root?
se è così probabile siano solo problemi di permessi con quel device.

ciauz :)

ciciolo
18-03-2005, 02:40
# cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schillin g
NOTE: this version of cdrecord is an unofficial (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.

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 driv er.
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 .




:confused: qualche links sbagliato?che faccio?

ps:nella ubuntu il cd/masterizz. sta in media/cdrom e media/cdrom0

PiloZ
18-03-2005, 08:43
il cdrom e il mastrizzatore che /dev/ sono?
hda, hdb, hdc o hdd per caso ?

guarda in /etc/fstab a che /dev/ corrispondono media/cdrom e media/cdrom0

ciciolo
18-03-2005, 09:26
ecco cosa trovo in etc/fstab :
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0

allora il masterizzatore (unico) nel mio portatile e' in /dev/hdc ..../media/cdrom0..
cosa faccio ora?

PiloZ
18-03-2005, 11:19
da root prova a dare:
chmod 777 /dev/hdc

poi postami quà:
ls -al /dev/hdc

e riprova sempre da root a dare:
cdrecord dev=ATA -scanbus

DanieleC88
18-03-2005, 11:55
Originariamente inviato da PiloZ
da root prova a dare:
chmod 777 /dev/hdc
Veramente non dovrebbe avere grande importanza, quello. cdrecord usa ioctl, non un accesso diretto al device, quindi non dovrebbe cambiare un granché. In ogni caso, tentar non nuoce. ;)

ciciolo
18-03-2005, 15:27
allora:
root@lubuntu:/home/luka # chmod 777 /dev/hdc
root@lubuntu:/home/luka # ls -al /dev/hdc
brwxrwxrwx 1 root cdrom 22, 0 2005-03-16 23:09 /dev/hdc
root@lubuntu:/home/luka # cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (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.

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 .

riprovato a rifar partire graveman ma niente nessun dispositivo rilevato
:mc:

DanieleC88
18-03-2005, 15:33
Ma no, forse in quel modo cdrecord cerce di aprire come masterizzatore il tuo primo hard disk (che probabilmente è proprio /dev/hda)! Prova a lanciare di nuovo cdrecord, ma passando "ATAPI", e non solo "ATA", al parametro 'dev'. In ogni caso, vedi se Linux ti mette il masterizzatore anche ni /proc/scsi/devices o qualcosa di simile (scusami, non ricordo :D).

DanieleC88
18-03-2005, 15:38
Scusami la domanda stupida: hai provato ad avviare "cdrecord -scanbus" e/o "cdrecord dev=ATA(PI) -scanbus" come root?

DanieleC88
18-03-2005, 15:40
Ah, già: e leggiti il file "/usr/share/doc/cdrecord/README.ATAPI.setup", come lo stesso cdrecord ti consiglia di fare.

ciciolo
18-03-2005, 16:23
1) grazie delle risposte...
root@lubuntu:/ # cdrecord -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (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: No such file or directory. Cannot open '/dev/pg*'. 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 .
root@lubuntu:/ # cdrecord dev=ATA(PI) -scanbus
bash: syntax error near unexpected token `('
root@lubuntu:/ # cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (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.

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 .
root@lubuntu:/ # cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (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.

scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
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 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 .
root@lubuntu:/ # cdrecord -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (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: No such file or directory. Cannot open '/dev/pg*'. 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 .
quest ultimo file nn esiste pero' ho trovato questo:readme.debian:
cdrecord for Debian
----------------------

The author of cdrecord is Jörg Schilling <schilling@fokus.gmd.de>
and it was initally packaged for Debian by
Erik Andersen <andersee@debian.org>.

The Debian package includes few modifications:

- /usr/bin/cdrecord is a shell script that automatically chooses the
correct executable:
* /usr/bin/cdrecord.shm, for Kernel 2.0.* and 2.2.*, using SHM method.
* /usr/bin/cdrecord.mmap for Kernel >= 2.4.
This is needed to make it work with all kernels versions in Debian, not
depending on the build time version.

- with default kernel configuration, cdrecord will fail with this message if
you specify a fs= value larger than 31MiB:

"cdrecord: Invalid argument. shmget failed."

To fix this, change the value in /proc/sys/kernel/shmmax file. To set it
permanently, add this line to /etc/sysctl.conf:

kernel/shmmax = 33554432

- Per default the debian version of mkisofs does not include the
commandline used to create the iso image in the image itself. To get
this (for problem reports to Upstream) set the environment
variable ISODEBUG to any value.

- The error messages like these are okay:

cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.

They come from cdrecord dropping root privileges too early.

- Most Cdrecord documentations requires to install cdrtools-doc package.

- dev=ATA:x,y.z will work for non-root.

If you are looking for a program for DVD-recording please take a look at
README.DVD.Debian.

If you want to report Bugs please read the following, taken from
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html

(I refers to Joerg Schilling in this text).

Please use only the recent version of cdrecord for bug-reports, it
may be found on: ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha.
I don't have the time to check if your problem was recently fixed. For
a list of the enhancements and bug fixes read the announcement files
in the same directory. If you are using XCDroast, please first check
the actual cdrecord version from command line to verify your bug.

Please always include the following information in your bug-report:

# The version number of cdrecord that caused the bug.
# The command line that was used for the failing command.
# The complete output (including error messages) from 'cdrecord -v ...'
# Probably the important part of the 'cdrecord -V' output if we agreed
on it
# The OS name, release and hardware (processor)
# Special conditions of your environment (libc vers. SCSI transport ...)
# Sufficient information on the media used. This is at least the ATIP
data, a note to CD-R/CD-RW and information on the state and the case
history of this media.

A message in the form: "Sorry, no CD/DVD-Recorder or unsupported
CD/DVD-Recorder found" is inaceptable as error report because I cannot
see any reason why this message has been printed by cdrecord. For this
reason, I would need the complete inquiry output to understand why this
message was printed.

Note that Linux is no Operating System, it is only a kernel. It does not
help if you tell me: "I have RH-6.2". From this I know that you are
using a buggy glibc-2.1.3 but I still don't know which Linux version you
are using.

The output from cdrecord -VVVVVV -vvvvvvv -debug is totally useless. It
contains too much information to read it in an acceptable time. Try to
write your mail in a way that the important information may be gathered
in less than a minute. You then will have the best chance to get an
answer that will help you with your problem. Please prepare your mail
well and take care of my time.

Top news Forums related to cdrecord: de.comp.periph.cdrom
comp.os.linux.misc comp.os.linux.hardware

It is always a good idea to first look at groups.google.com for your
problem.

If you are using Linux and get the error message:

cdrecord: Cannot allocate memory. Cannot send SCSI cmd via ioctl

then you have encountered a Linux kernel incompatibility. Recompile
cdrecord and read README.linux from the current cdrecord alpha
distribution. Please send a bug report to your Linux distributor too.


Eduard Bloch <blade@debian.org>, Mon, 26 Aug 2002 20:57:50 +0200
Joerg Jaspert <joerg@debian.org>, Mon, 18 Nov 2002 21:24:00 +0100

sono in aria nn c capisco molto ,help -me

PiloZ
18-03-2005, 16:30
Originariamente inviato da PiloZ
se da root dai:
cdrecord dev=ATA -scanbus

Originariamente inviato da PiloZ
e riprova sempre da root a dare:
cdrecord dev=ATA -scanbus

si penso proprio sia dato da root :)

DanieleC88
18-03-2005, 16:39
Oh, 'sto cdrecord è più testardo di quanto pensassi...
Allora, prova così: prova a scaricarti X-CD-Roast (da http://www.xcdroast.org/ - scarica l'ultima versione, la 0.98alpha15) e prova a lasciarlo rilevare a lui (questo fallo come superutente). Se nemmeno X-CD-Roast funziona (a volta durante il rilevamento sembra bloccarsi, ma funziona), prova con la forza bruta: passa "/dev/hdc" al paramtero 'dev' di cdrecord e riprova.
Good luck.

ciciolo
18-03-2005, 16:59
ok,installato xcdroast ,fa la scansione dei dispositivi e..ok ..lancio xcdroast ..e:"nessun file di configurazione di root trovato ,configurare il programma e nn dimenticare di aggiungere altri utenti x xcdroast....ok...vado in configurazione e mi dice ancora:
nn e' stato rilevato nessun cdrom o masterizzatore ,per far funzionare i dispositivi ide-atapi con linux,e' necessario abilitare nel kernel l emulazione scsi

DanieleC88
18-03-2005, 17:05
Originariamente inviato da ciciolo
e' necessario abilitare nel kernel l emulazione scsi
Mi sa che devi seguire proprio questo consiglio!
Comunque, prima ancora di farlo, prova a forzare "cdrecord -scanbus" con /dev/hdc, come ho detto prima.

ciciolo
18-03-2005, 17:36
cioe' devo dare : cdrecord -scanbus?

come si a ad abilitare il kernel x emulare scsi?
avevo letto che con il kernel 2.6 questo nn serve,o no?