View previous topic :: View next topic |
Author |
Message |
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Sat Apr 01, 2006 2:57 am Post subject: CD-RW not detected as a writer by cdrecord [solved] |
|
|
I'm trying to burn using K3B, and getting a strange error. This drive used to burn just fine, but now I get the following when I try to burn:
Quote: | System
-----------------------
K3b Version: 0.12.14
KDE Version: 3.5.1
QT Version: 3.3.6
Kernel: 2.6.15-gentoo-r1.0
Devices
-----------------------
HL-DT-ST DVD-ROM GDR8081N 0110 (/dev/hdb, ) at /media/cdrom2 [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
TEAC CD-W224E L.0E (/dev/hdc, ) at /media/cdrecorder1 [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [TAO]
Used versions
-----------------------
cdrecord: 2.1
cdrecord
-----------------------
/usr/bin/cdrecord: Warning: Running on Linux-2.6.15-gentoo-r1.0
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Warning: controller returns wrong page 0 for CD capabilities page (2A).
/usr/bin/cdrecord: Warning: controller returns wrong page 0 for CD capabilities page (2A).
/usr/bin/cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
/usr/bin/cdrecord: Warning: controller returns wrong page 0 for CD capabilities page (2A).
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'TEAC '
Identifikation : 'CD-W224E '
Revision : 'L.0E'
Device seems to be: Generic CD-ROM.
Using generic SCSI-2 CD-ROM driver (scsi2_cd).
Driver flags :
Supported modes:
FIFO size : 4194304 = 4096 KB
/usr/bin/cdrecord: Drive does not support TAO recording.
/usr/bin/cdrecord: Illegal write mode for this drive.
cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=24 -tao driveropts=burnfree -eject -data /tmp/kde-nate/k3b_image.iso |
Anyone have any ideas, the only thing similar I've found was when people were trying to burn using 2.6.8. I haven't used K3B in a while, but the last time I used it worked. This is after several upgrades of K3B/cdrecord. _________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Last edited by saintdev on Mon Apr 17, 2006 3:53 am; edited 1 time in total |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Sat Apr 01, 2006 4:33 am Post subject: |
|
|
I haven't used k3b for some time. I stopped when the only way to avoid turning a blank cd into a coaster was to burn it as root. I haven't had any trouble using cdrecord from the command line. No coasters yet. |
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Sat Apr 01, 2006 7:22 am Post subject: |
|
|
Well I get the same output from cdrecord on the command line as K3B gets from running the command itself... _________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Wed Apr 05, 2006 8:15 am Post subject: |
|
|
Sorry to bump, but I would really like to get this working. Otherwise I have to switch out my harddrives and boot *gasp* Windows just to burn a CD. _________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Wed Apr 05, 2006 8:19 am Post subject: |
|
|
Have you tried to burn the CD as root as mentioned by davidgurvich?
If this works you can try to add your normal user to the (IIRC) cdrecord group. _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Wed Apr 05, 2006 8:42 am Post subject: |
|
|
Sleipnir wrote: | Have you tried to burn the CD as root as mentioned by davidgurvich? |
I hadn't until now, but I still get the same thing even as root.
Sleipnir wrote: | If this works you can try to add your normal user to the (IIRC) cdrecord group. |
My user is all ready part of the proper group.
Quote: | $ ls -l /dev/hdc /usr/bin/cdrdao /usr/bin/cdrecord
brw-rw---- 1 root burning 22, 0 Mar 15 16:11 /dev/hdc
-rws--x--- 1 root burning 691811 Jan 1 15:54 /usr/bin/cdrdao
-rwxr-x--- 1 root burning 357148 Feb 16 00:49 /usr/bin/cdrecord
|
Quote: | $ groups
disk wheel audio cdrom video apache usb users portage music stats qemu burning |
_________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Wed Apr 05, 2006 11:53 am Post subject: |
|
|
From your posted error message:
Quote: |
/usr/bin/cdrecord: Drive does not support TAO recording.
/usr/bin/cdrecord: Illegal write mode for this drive.
|
Have you tried to skip the -tao flag and use
Code: |
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=24 driveropts=burnfree -eject -data /tmp/kde-nate/k3b_image.iso
|
instead? _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Wed Apr 05, 2006 5:17 pm Post subject: |
|
|
Yes I have. cdrecord still automatically selects TAO mode if you use the above.
Quote: | /usr/bin/cdrecord: No write mode specified.
/usr/bin/cdrecord: Asuming -tao mode.
/usr/bin/cdrecord: Future versions of cdrecord may have different drive dependent defaults.
/usr/bin/cdrecord: Continuing in 5 seconds...
|
With -dao:
Quote: | /usr/bin/cdrecord: Drive does not support SAO recording.
/usr/bin/cdrecord: Illegal write mode for this drive.
|
Yes that is correct, it does say SAO when you use -dao
With -sao:
Quote: | /usr/bin/cdrecord: Drive does not support SAO recording.
/usr/bin/cdrecord: Illegal write mode for this drive.
|
With -raw:
Quote: | /usr/bin/cdrecord: Drive does not support RAW recording.
/usr/bin/cdrecord: Illegal write mode for this drive.
|
_________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Wed Apr 05, 2006 6:15 pm Post subject: |
|
|
vipernicus wrote: | Try loading k3bsetup, it sets permissions for this kind of thing. |
Allready done. Both with and without a seperate burning group. All the permissions are correct. _________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Wed Apr 12, 2006 3:42 pm Post subject: |
|
|
What is the result of -scanbus ? Is your drive correctly detected?
For my drive I have to add the -dev=ATAPI for proper detection and use. |
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Thu Apr 13, 2006 7:00 am Post subject: |
|
|
davidgurvich wrote: | What is the result of -scanbus ? Is your drive correctly detected?
For my drive I have to add the -dev=ATAPI for proper detection and use. |
Quote: | # cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15-gentoo-r1.0
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
|
and
Quote: | # cdrecord -scanbus dev=ATAPI
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15-gentoo-r1.0
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: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) *
0,1,0 1) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0110' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
cdrecord: Warning: controller returns wrong page 0 for CD capabilities page (2A).
1,0,0 100) 'TEAC ' 'CD-W224E ' 'L.0E' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
|
and if I try to record using dev=ATAPI instead of dev=/dev/hdc
Quote: | $ cdrecord -v gracetime=2 dev=ATAPI -tao speed=24 driveropts=burnfree -eject -data test.iso
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15-gentoo-r1.0
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
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.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 0
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB: 00 C0 00 00 00 00
cmd finished after 0.000s timeout 40s
|
_________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
saintdev n00b
Joined: 13 Jul 2004 Posts: 60 Location: CO, USA
|
Posted: Mon Apr 17, 2006 3:53 am Post subject: |
|
|
Well I upgraded to my kernel to gentoo-sources-2.6.16-r2, and everything works just fine now...
Thanks to those of you that tried to help. _________________ > SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned. |
|
Back to top |
|
|
|