View previous topic :: View next topic |
Author |
Message |
DaDead Tux's lil' helper
Joined: 11 Feb 2004 Posts: 75
|
Posted: Mon Jul 19, 2004 7:40 am Post subject: Something to do with CDRWs |
|
|
for some reason i cant blank a cdrw but write it, i get errors with cdbakeoven and k3b (255)
im running SCSI emulation, but it didnt work in atapi too
its a NEC DVDRW ND-2510A |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Jul 19, 2004 8:35 am Post subject: |
|
|
What errors do you get? _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Mon Jul 19, 2004 8:36 am Post subject: |
|
|
What do you get with cdrecord :
Code: | cdrecord dev=b,t,l blank=fast |
where b,t,l is the scsi address of your cd-recorder. You can get it with :
|
|
Back to top |
|
|
danone Guru
Joined: 18 Jan 2004 Posts: 398 Location: Germany
|
Posted: Mon Jul 19, 2004 9:14 am Post subject: |
|
|
Note that maybe ATAPI Interface is enabled so do
Code: | cdrecord dev=ATAPI -scanbus | the other code is for SCSI Emulated Drives but i guess you use ATAPI instead of SCSI Emulation.
If you get problems again..try
Code: | cdrecord dev=ATAPI:0,0,0 -checkdrive |
this is more verbose and say what features your burner supports and so on..you also can use device nodes as taget
Code: | cdrecord -v dev=/dev/hdc -data foo.bar | whatever the devicenode for your burner is _________________ [:: Processor: Intel Core 2 Duo E6300 ]::[ Mainboard: ASUS P5B Deluxe ]::[ GPU: nVidia 7900GTO ::]
[:: RAM: HyperX DDR2 800 ]::[ Samsung SH-183A SATA:: CREATiVE X-Fi XtremeMusic :: ] |
|
Back to top |
|
|
DaDead Tux's lil' helper
Joined: 11 Feb 2004 Posts: 75
|
Posted: Mon Jul 19, 2004 3:01 pm Post subject: |
|
|
cdrecord dev=1,0,0 blank=fast
Cdrecord-Clone 2.01a33 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.31
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : '_NEC '
Identifikation : 'DVD_RW ND-2510A '
Revision : '2.15'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
cdrecord: DMA speed too slow. Cannot write at speed 4.
cdrecord: Max DMA data speed is 0.
cdrecord: Try to use 'driveropts=burnfree'. |
|
Back to top |
|
|
DaDead Tux's lil' helper
Joined: 11 Feb 2004 Posts: 75
|
Posted: Mon Jul 19, 2004 3:04 pm Post subject: |
|
|
cdrecord -v dev=/dev/hdd -data foo.bar
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a33 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
cdrecord: Invalid argument. Cannot set SG_SET_TIMEOUT. |
|
Back to top |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Mon Jul 19, 2004 3:07 pm Post subject: |
|
|
Did you try turning DMA on with hdparm ? And are you sure you included the driver for your motherboard in the kernel ? What do you get when you run this command :
Code: | hdparm /dev/<cd-writer> |
You cannot access a cd-writer with scsci emulation with /dev/hdd. You must use the scsi address. If you intended to use ATAPI instead, you must issue dev=ATAPI:/dev/hdd. And I don't know what foo.bar is, but it doesn't seem to be an iso file. cdrecord will not create the iso file itself, you must create it yourself with mkisofs.
Last edited by oumpah-pah on Mon Jul 19, 2004 3:11 pm; edited 1 time in total |
|
Back to top |
|
|
DaDead Tux's lil' helper
Joined: 11 Feb 2004 Posts: 75
|
Posted: Mon Jul 19, 2004 3:11 pm Post subject: |
|
|
/dev/hdd:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument |
|
Back to top |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Mon Jul 19, 2004 3:14 pm Post subject: |
|
|
That's pretty strange, looks like dma is turned on. I don't have any clue here. |
|
Back to top |
|
|
DaDead Tux's lil' helper
Joined: 11 Feb 2004 Posts: 75
|
Posted: Mon Jul 19, 2004 3:25 pm Post subject: |
|
|
cdrecord -dev=1,0,0 blank=all driveropts=burnfree
that works for me, wierd |
|
Back to top |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Mon Jul 19, 2004 3:32 pm Post subject: |
|
|
I just found this in the cdrecord manpage. You should try another blank mode, and I think you could also try a different driver.
Quote: | Not all drives support all blanking types. It may be necessary to use
blank=all if a drive reports a specified command as being invalid. If
used together with the -force flag, this option may be used to blank
CD-RW disks that otherwise cannot be blanked. Note that you may need to
specify blank=all because some drives will not continue with certain
types of bad CD-RW disks. Note also that cdrecord does it's best if the
-force flag is used but it finally depends on the drive's firmware
whether the blanking operation will succeed or not. |
|
|
Back to top |
|
|
Jake Veteran
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Mon Jul 19, 2004 3:56 pm Post subject: |
|
|
DaDead wrote: | cdrecord -dev=1,0,0 blank=all driveropts=burnfree
that works for me, wierd |
I had the same problem. For some reason it only works with burnfree enabled. I'm using the same version of cdrecord and a NEC ND 1300A. It only started doing this after upgrading cdrtools.
EDIT: version ...28-r1 doesn't require burnfree or give strange errors |
|
Back to top |
|
|
|