Re: using CD/RW devices without SCSI emulation in 2.6 kernel??

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

 



On Wed, 16 Jul 2003, Jesse Keating wrote:

> On Wednesday 16 July 2003 15:48, Robert P. J. Day wrote:
> >   according to joe pranevich's article on the 2.6 kernel, the new
> > IDE driver in 2.6 allows one to write CD/RWs without using the
> > historical SCSI emulation.  has anyone tried that?  and how does
> > one use cdrecord like this, since cdrecord seems to require a
> > SCSI device.
> >
> >   hints?
> 
> You can currently do this w/ RHL9.
> 
> cdrecord dev=ATAPI:0,1,0
> 
> This assumes that the CDRW is the primary slave.  Secondary master would 
> be 1,0,0  and secondary slave would be 1,1,0.

i wanted to test this under 2.6.0-test1 to see if there was a noticeable
performance hit, but i can't seem to get it to work.  (i've exchanged
some offline email with jesse, but it's still a puzzler so i'll throw
it open to the masses.)

on my laptop, the CD-RW is clearly the slave on the first IDE controller,
given that it's referenced by /dev/hdb.  i booted, removing the 
"hdb=ide_scsi" boot parameter and, based on jesse's explanation, 
i should be able to burn a CD with:

# cdrecord -v dev=ATAPI:0,1,0 knoppix.iso

what i get instead is the output:

-----------------------------------------------------------

Script started on Thu 17 Jul 2003 04:59:52 PM EDT

[root@xxxxxxxxx KNOPPIX]# cdrecord -v -dummy dev=ATAPI:0,1,0 knoppix3.2.iso 

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
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: 1
Device type    : Disk
Version        : 0
Response Format: 0
Vendor_info    : 'ADAPTEC '
Identifikation : 'ACB-5500        '
Revision       : 'FAKE'
Device seems to be: Adaptec 5500.
cdrecord: Sorry, no CD/DVD-Drive found on this target.
[root@xxxxxxxxx KNOPPIX]# exit
exit

Script done on Thu 17 Jul 2003 05:00:40 PM EDT

-------------------------------------------------------

  in addition to the above, i get stderr messages stating that the
block major device numbers 22, 33 and 34 could not be found, which
according to the kernel docs, refer to the second, third and fourth
IDE controllers.  it's not clear why cdrecord is scanning for
additional IDE controllers but, in any case, cdrecord is obviously
not seeing the CD-RW properly.

  i'm open to suggestions.  i've verified that the ide_scsi module
is not loaded.  is there a kernel parameter i should have built in
to support the ATAPI: notation here?

  puzzled.

rday


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux