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

Re: CDRecord proper dev specification w/2.6.x

James Finnall <james@finnall.net> wrote:

> Everytime I use cdrecord under Linux 2.6 kernel and reference the drive by 
> the /dev/devid it responds with the following:
> Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
> TOC Type: 1 = CD-ROM
> scsidev: '/dev/sr0'
> devname: '/dev/sr0'

Yuu use an unsupported dev= parameter ---> read the cdrecord man page for more

> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Under 2.4 series using the generic scsi device name I could use -scanbus to 
> report the devices.  But now it only reports errors with no usable 
> information reported.  In the above output, the scsibus:-2, etc. always 
> remains the same regardless of what device I use.

It may be that you are just a victim of recent incompatible changes in the Linux
kernel. ----> Ask Linus Torvalds, he is personally responsible for these 

> If I use: "cdrecord dev=ATAPI -scanbus"  then it reports only the two 
> drives I have connected through firewire on scsibus0 and scsibus1.  It 
> doesn't report my PATA drive at all.  On my notebook the internal DVD 
> drive is a PATA drive also and it doesn't report it either.

Well, if you load the "ide-scsi" driver, these problems should go away.
However, then you may have no DMA......

> So then, what is the proper way to discover/designate the drives under the 
> 2.6 kernel without using the generic scsi interface?

It seems that the best is to avoid a 2.6 kernel if possible.


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

Reply to: