Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrecord ATAPI error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kirja
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 116
Location: England

PostPosted: Thu Oct 02, 2003 10:20 pm    Post subject: cdrecord ATAPI error Reply with quote

I have two optical drives. A cd-rw and a dvd drive. Doing cdrecord -scanbus dev=ATAPi producs:

Code:
cdrecord -scanbus dev=ATAPI
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg Schilling
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.
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'LITE-ON ' 'LTR-24102M      ' '4DS2' Removable CD-ROM
        0,1,0     1) 'HITACHI ' 'DVD-ROM GD-2500 ' 'A011' 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) *



I want to erase the cdrw in the cdrw drive so I do: cdrecord dev=ATAPI blank=all -v -eject
(not sure if this is right).


I get the following errors when using the above command:

Code:

drecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg Schilling
TOC Type: 1 = CD-ROM
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.
Using libscg version 'schily-0.7'
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


Can anyone help?
Back to top
View user's profile Send private message
pantherace
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 79

PostPosted: Thu Oct 02, 2003 11:29 pm    Post subject: Something to try Reply with quote

cdrecord dev=ATAPI:0,0,0 blank=all -v -eject

That should tell it to use the ATAPI transport to (emulated) scsi device 0,0,0 (your scanbus indicated that was your cd-rw)

Good luck (and tell me if it works, would you?)
Back to top
View user's profile Send private message
Kirja
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 116
Location: England

PostPosted: Fri Oct 03, 2003 12:14 am    Post subject: Reply with quote

Thanks it works :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum