"Rafael E. Herrera"
Alexandr Malusek wrote:
"S. Bulterman"
writes: Philip Burness wrote:
I'm using kernel 2.4.2 and I have a scsi cd writer & an ATAPI cd writer (hdb), I have set lilo to append hdb=ide-scsi. My normal scsi cd writer is addressed as /dev/scd0 and works OK, anybody know what address I should use to connect the ATAPI cd writer now?
...
cdrecord -scanbus Cdrecord 1.9 (i686-suse-linux) Copyright (C) 1995-2000 Jörg Schilling Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) 'HP ' 'CD-Writer+ 9100 ' '1.0b' Removable CD-ROM 0,1,0 1) * ... 0,7,0 7) *
It has already been mentioned here that the information is in /var/log/messages:
...: scsi0 : SCSI host adapter emulation for IDE ATAPI devices ...: Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0b ...: Type: CD-ROM ANSI SCSI revision: 02 ...: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 ...: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Have you loaded the driver for your scsi controller? From the looks of the above, you just loaded the scsi emulator.
Run "cdrecord --scanbus" again, the order in which the devices appear is the order in which you have to refer to the devices, /dev/scd0, /dev/scd1, etc.
Just to explain a little misunderstanding: The listing above is from a system where the IDE CD-writer works OK. Changes on SuSE 7.1, 2.4.2: 1. I appended 'append = "hdc=ide-scsi"' to /etc/lilo.conf: image = /boot/vmlinuz label = linux root = /dev/hda3 initrd = /boot/initrd append = "hdc=ide-scsi" 2. I ran "lilo" 3. In /etc/modules.conf, I changed alias scsi_hostadapter off to alias scsi_hostadapter ide-scsi More (slightly obsolete) information is in: http://sdb.suse.de/sdb/en/html/mkrapp_6.4_atapi-writer-e.html http://sdb.suse.de/sdb/en/html/adrian_ide_brenner.html -- Alexandr.Malusek@imv.liu.se