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

Re: From IDE ATAPI cdrom to scsi simulation : trouble -> help



On Thu, Jul 12, 2001 at 11:40:51PM +0000, arodriguez@att.net wrote:
> I've been making a fresh installation of potato r.3, to 
> get scsi support I "made-kpkg" a new kernel image with 
> scsi support, rebooted with the new image, but now I am 
> unable to read from cdrom.
> I know that the symbolic links for devices must point to 
> sdx, but seemingly I am somewhat lost, since I've been 
> unable to make it right. 
> My settings (regarding CDROM devices) after booting with 
> the new image are
> scsi 0  channel 0 id 0 lun 0
> scsi 0  channel 0 id 1 lun 0
> corresponding to cdrom and cdwriter.
> I did:
> rm /dev/cdrom; /dev/MAKEDEV --update and some other
> ln -s that didn't work.
> Help is needed as to what to do, in order to make the 
> devices visible again.
> Thanks,
> AR

The CD-Writing-HOWTO has a good description of the procedure used for
ide-scsi emulation.

I have the following in my .config (kernel 2.2.17):
 
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_SCSI=y

My /etc/modules contains ide-scsi so that the module gets loaded at
boot.  Per the HOWTO I also set CONFIG_BLK_DEV_IDECD=m, but since I
don't use that mode, it probably could have been turned off and
ide-scsi support compiled into the kernel instead of as a module. I
have a symbolic link /dev/cdrom -> /dev/scd0, as well.

cdrecord -scanbus reports:

Cdrecord 1.10a18 (i586-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) 'HP      ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

I hope this helps.

Bob



Reply to: