Greetings everyone:
I'm trying to get SCSI emulation to work with my 2.2.5 kernel so that
my new IDE CD-RW shows up as a SCSI device. However, no matter what I
try when I boot it shows up as IDE.
cdrecord -scanbus doesn't see the device until I do a
modprobe ide-scsi
at which point cdrecord -scanbus detects both IDE devices now as SCSI,
but I also get this Warning message with it:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
dmesg now also detects the drives as SCSI.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 2 hosts.
Vendor: NEC Model: CD-ROM DRIVE:28C Rev: 3.02
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Vendor: PHILIPS Model: PCA460RW Rev: 1.0f
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 14x/32x cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.54
sr1: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
I can also mount both drives then as /dev/scd0 and /dev/scd1 ok.
My questions:
(1) Is it possible to set things up so that the IDE devices are seen
as SCSI devices automatically without having to manually do a
modprobe?
(2) What's with the warning message?
I've read the CD-Writing-HOWTO but the section dealing with 2.2.x
kernels isn't that clear to me. I've modified my kernel as suggested
by that document.
I'm stuck. Any suggestions?
Thanks,
Esmail
================ Info on my sytem/config files/command outputs =========
My system:
RedHat 5.2 with upgraded kernel to 2.2.5
Dell Dimension R-XPS 450 with (PII 450MHz 256MB)
IDE IBM-DTTA-371290 drive
SCSI SEAGATE ST32155W
IDE NEC CD-ROM DRIVE
yesterday I added a Philips CDRW 400 series 4x4x24 drive
IDE PHILIPS PCA460RW
In addition to the standard IDE controller that came with the system I
also have an Adaptec AHA-2940 Ultra SCSI controller.
------------ cdrecord -scan bus (after boot up) --------------------
Cdrecord release 1.6.1
scsibus0:
0) *
1) 'SEAGATE ' 'ST32155W ' '0362' Disk
2) *
3) *
4) *
5) *
6) *
7) *
------------ cdrecord -scan bus (after modprobe ide-scsi) -------------------
Cdrecord release 1.6.1 Copyright (C) 1995-1998
scsibus0:
0) *
1) 'SEAGATE ' 'ST32155W ' '0362' Disk
2) *
3) *
4) *
5) *
6) *
7) *
scsibus1:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
100) 'NEC ' 'CD-ROM DRIVE:28C' '3.02' Removable CD-ROM
101) 'PHILIPS ' 'PCA460RW ' '1.0f' Removable CD-ROM
102) *
103) *
104) *
105) *
106) *
107) *
----------- /etc/conf.modules ---------------------------
alias eth0 ne
options ne io=0x300 irq=10
alias parport_lowlevel parport_pc
alias scd0 sr_mod
alias scsi_hostadapter ide-scsi
options ide-cd ignore=hdc
options ide-cd ignore=hdd
----------- dmesg ---------------------------------------
Detected 448064383 Hz processor.
ide_setup: hda=25184,16,63
Console: colour VGA+ 80x25
Calibrating delay loop... 447.28 BogoMIPS
Memory: 258020k/262080k available (840k kernel code, 412k reserved, 2776k data, 32k init)
CPU: Intel Pentium II (Deschutes) stepping 02
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfd9a3
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,ECP,ECPPS2]
parport0: detected irq 7; use procfs to enable interrupt-driven operation.
Detected PS/2 Mouse Port.
Sound initialization started
<Crystal audio controller (CS4236)> at 0x530 irq 7 dma 0,1
<MPU-401 (UART) MIDI> at 0x330 irq 5
Sound initialization complete
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1420-0x1427, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1428-0x142f, BIOS settings: hdc:DMA, hdd:pio
hda: IBM-DTTA-371290, ATA DISK drive
hdc: NEC CD-ROM DRIVE:28C, ATAPI CDROM drive
hdd: PHILIPS PCA460RW, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: IBM-DTTA-371290, 12395MB w/463kB Cache, CHS=25184/16/63, UDMA
(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 14/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Warning - detected auto-termination
(scsi0) Please verify driver detected settings are correct.
(scsi0) If not, then please properly set the device termination
(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi0) during machine bootup.
(scsi0) Cables present (Int-50 NO, Int-68 YES, Ext-68 NO)
(scsi0) Downloading sequencer code... 419 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
<Adaptec AHA-294X Ultra SCSI host adapter>
scsi : 1 host.
Vendor: SEAGATE Model: ST32155W Rev: 0362
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
scsi : detected 1 SCSI disk total.
(scsi0:0:1:0) Synchronous at 20.0 Mbyte/sec, offset 8.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4197405 [2049 MB] [2.0 GB]
Partition check:
sda: sda1 sda2 < sda5 sda6 >
hda: hda1 hda2 hda3 < hda5 hda6 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 32k freed
Adding Swap: 130748k swap-space (priority -1)
NE*000 ethercard probe at 0x300: 00 40 05 54 1a d4
eth0: NE2000 found at 0x300, using IRQ 10.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
tty_io.c: process 599 (dip) used obsolete /dev/cua0 - update software to use /dev/ttyS0
Use of setserial/setrocket to set SPD_* flags is deprecated
--
----
-
We must come to see with the distinguished jurist of yesterday that
"justice too long delayed is justice denied." Marting Luther King 1963