Shlomo,

The log messages indicate that both the ide-cd and the ide-scsi
drivers were compiled into the kernel.

When both drivers are available to the kernel, a higher priority
is given to the ide-cd driver over the ide-scsi driver, and it
gets to "own" the device.

To solve this, you can either:

1. Answer 'n' to 'Include IDE/ATAPI cdrom support" during the
   kernel configuration "make config" step. In this case, the
   ide-cd driver will not be available and ide-scsi will be used.

or:

2. Pass a "hdc=ide-scsi" command line parameter to the kernel, to
   use the ide-scsi driver instead of the ide-cd driver for hdc.

or:

3. Compile both the ide-scsi and ide-cd drivers as loadable modules
   and use insmod/rmmod to load/remove the appropriate driver.

Gadi

On Mon, 15 Nov 1999, Shlomo Solomon wrote:

> Thanks to help from Yoni Elhanani and Oleg Goldshmidt I've compile my
> RedHat 6.0 Kernel to include SCSI-ide emulation - first time for a
> newbie so thanks for the advice.
> 
> But, when I run cdrecord -scanbus I get a message that no targets are
> availabel. Can anyone tell me what I'm missing here ?
> 
> I'm including part of the dmesg log to show that it is a new Kernel
> (Nov 9, 1999) and that the SCSI emulation is active and my Smart and
> Friendly CDRW is recognized on /dev/hdc.
> 
> TIA
> 
> //******** here's the log *******
> 
> Linux version 2.2.5-15 ([EMAIL PROTECTED]) (gcc version
> egcs-2.91.66 1
> 9990314/Linux (egcs-1.1.2 release)) #2 Tue Nov 9 23:04:57 IST 1999
> 
> <...snip..snip...>
> 
> hda: WDC AC28400R, ATA DISK drive
> hdb: WDC AC2540H, ATA DISK drive
> hdc: SAF CD-RW2224, ATAPI CDROM drive
> hdd: NEC CD-ROM DRIVE:251, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: WDC AC28400R, 8063MB w/512kB Cache, CHS=1027/255/63
> hdb: WDC AC2540H, 515MB w/128kB Cache, CHS=524/32/63
> hdc: ATAPI 24X CD-ROM DVD-RAM CD-R/RW drive, 1860kB Cache
> Uniform CDROM driver Revision: 2.54
> hdd: ATAPI 4X CD-ROM changer w/4 slots, 128kB Cache
> Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
> 
> <... snip..snip...>
> 
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> scsi : 1 host.
> scsi : detected total.
> 
> <... snip..snip...>
> 
> 
> //------------------------
> Shlomo Solomon
> [EMAIL PROTECTED]
> http://come.to/shlomo.solomon
> //------------------------
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 
> 


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to