ATAPI/SCSI emulation for CD/CDR/CDRW questions

ATAPI/SCSI emulation for CD/CDR/CDRW questions

Post by jmsalv » Sun, 31 Dec 1899 09:00:00



I have recompiled my kernel to use SCSI emulation for the following
devices:

/dev/hdb        IDE-CDROM 36X
/dev/hdd        HP CDWriter+ 7500 (24x/2x/2x)

First question, given the dmesg below, how do I mount my CDROM drives
now? Does /dev/hdb become /dev/sda? /dev/hdd become /dev/sdb?

hda: FUJITSU MPB3043ATU E, ATA DISK drive
hdb: CD-ROM 36X/AKU, ATAPI CDROM drive
hdd: Hewlett-Packard CD-Writer Plus 7500, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU MPB3043ATU E, 4125MB w/0kB Cache, CHS=558/240/63, UDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
  Vendor: E-IDE     Model: CD-ROM 36X/AKU    Rev: U10I
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
  Vendor: HP        Model: CD-Writer+ 7500   Rev: 1.0a
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
scsi : detected 2 SCSI cdroms total.

Second question:

When booting, it "seems" to see my CDRW as a 24x/24x. I get the
following with dmesg:

< ....continuation from above dmesg....>
sr0: scsi3-mmc drive: 0x/32x cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.55
sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
                      ^^^^^^^^^^^^^^

Now when I type 'cdrecord -scanbus', I get a warning message saying
"wrong size for CD capabilities":

Cdrecord release 1.8a17 Copyright (C) 1995-1998 J?rg Schilling
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities
page.
               0) 'E-IDE   ' 'CD-ROM 36X/AKU  ' 'U10I' Removable CD-ROM
               1) 'HP      ' 'CD-Writer+ 7500 ' '1.0a' Removable CD-ROM
               2) *

I thought that the warning was for the CDRW, because of the 24x/24x I
saw a while ago. But when I type 'cdrecord -scanbus -V', it seems to be
that the warning message was for the CD-ROM, not the CDRW: (Or is it for
the whole "controller", as what the above message says)

<...>
Executing 'mode sense g1' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB:  5A 00 2A 00 00 00 00 00 0A 00
cmd finished after 0.003s timeout 40s
Mode Sense Data 00 08 70 00 00 00 00 00 2A 12
Mode Sense Data (converted) 05 70 00 00 2A 12
Mode Sense Data 05 70 00 00 2A 12
Mode Page  Data 2A 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00
cdrecord: Warning: controller returns wrong size for CD capabilities
page.

Executing 'mode sense g1' command on Bus 0 Target 0, Lun 0 timeout 40s
<...>

Has anyone had this "wrong capabilities" warning message before?

Thanks,

John Salvo

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

1. Problem with SCSI CDRW and ATAPI IDE CDR

Hi all
I am running RH7.3 and have some problems with burning CDs on it.
I have a Liteon Atapi IDE CDROM drive which is my CD ROM Read. I have a
SCSI HI CDRW +9600 connected to an Adaptec 2730C) controller.

I can burn/copy CDs from the the ATAPI cdr to the HP CDRW in Windows
withe no problems. But for some reason, in Linux both kONCD and Xcdroast
are both failing to write files to my CDRW.

Xcdroast is not even recognizing my IDE CDROM. Is there a compatibility
driver that is needed to convert the IDE CDR into a SCSI cdr? I have
installed cdrtools 1.10. KonCD complains that /usr/bin/cdread cannot
read anything from the SCSI CDRW.

I don't know how this entire thing is setup. But if someone can please
walk me through the process it will be very nice. Also please point me
some documentation that can help me understand this entire process a
little better.

Also can anyone please tell me what is the best CD writing software for
linux that can do audio/data cds and ISOs also....

Thanx a lot for you help
Mukund

2. IP Chains

3. atapi-scsi emulation with CDRW?

4. Call for Papers -- Testing Computer Software Conference (TCS2001)

5. rh 6.2 and ATAPI cdrw (hp 9300), how to get scsi emulation to work

6. xntp3-5.89.2 & FreeBSD 2.2-GAMMA won't compile

7. scanner problem with ATAPI CDR with SCSI emulation

8. thegreatkarthik@yahoo.co.in

9. ATAPI CD-RW w/ SCSI Emulation Question

10. IDE CD-Rom doesn't like SCSI emulation with CDRW

11. ide-scsi emulation for ATAPI cd writing problem

12. Does the HP7200i ATAPI CD Writer need SCSI emulation

13. Need help with SCSI-ATAPI CD emulation