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

Re: ide-scsi -> write_g1: scsi sendcmd: fatal error



"Thomas Schmitt" <scdbackup@gmx.net> wrote:

> Hi,
>
> Fog_Watch:
> > > cdrecord using ide-scsi returns an error that I don't understand.
> > > ...
> > > cdrecord: No such device or address. Cannot send SCSI cmd via ioctl.
>
> Joerg Schilling:
> > This is a Linux kernel problem, please ask the related people.
>
> > > 2.6.24-gentoo-r8
>
> Well, ide-scsi is said to be deprecated with
> kernel 2.6.

This is not a helpful reply.

> One should at least find out a bit more
> before exposing oneself at LKML.
>
> What do you get from this command ?
>   cdrecord -scanbus

If the OP did create an own rotten kernel this will not help.

ide-scsi seems to be buggy and unmaintained in newer Linux releases.

cdrecord -scanbus on a _vanilla_ Linux kernel will work as well as 

just calling "cdrecord ..." _without_ dev= parameter 

Most users have only one drive and in this case, cdrecord will automagically 
search for the right device.

This is how the typical output from a cdrecord -scanbus call looks on a
vanilla 2.6.13 Linux kernel:

cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a60 (i686-pc-linux-gnu) Copyright (C) 1995-2009 Jörg Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) 'QUANTUM ' 'ATLAS10K2-TY184L' 'DA40' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1001:
        1001,0,0 100100) 'MITSUMI ' 'CD-ROM FX4830T!B' 'R02J' Removable CD-ROM
        1001,1,0 100101) *
        1001,2,0 100102) *
        1001,3,0 100103) *
        1001,4,0 100104) *
        1001,5,0 100105) *
        1001,6,0 100106) *
        1001,7,0 100107) *

As you see, there is no need to hand craft e linux kernel - cdrecord works
around the oddities in the Linux device addressing ;-)

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


Reply to: