Mukund saw fit to inform LI that: 
>
>
>|The CD-Writing HOWTO is excellent. Go through it. I configured my HP-9100
>|IDE CD-RW using that howto. You will have to recompile the kernel to
>|support SCSI emulation.
>
>
>I have already gone through it.
>Can SCSI emulation done throgh module, which module is to be used?

Yes. The following are the three modules required :

sg                     20928   0  (autoclean)
ide-scsi                7648   0 
ide-cd                 26096   0 


I have compiled the kernel with module support for SCSI emulation :

#
# ATA/IDE/MFM/RLL support
#

<snipped>
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m

<snipped>

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set


Then add just the following in /etc/modules.conf

# Added on 31-01-2001 for CD-RW support ( SCSI emulation )
options ide-cd ignore=hdd            # tell the ide-cd module to ignore hdd
alias scd0 sr_mod                    # load sr_mod upon access of scd0
pre-install sg     modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd # load ide-cd   before ide-scsi


My CD-ROM drive is hdc and CD-RW is hdd.

Here is the output of my cdrecord -scanbus

debian:/etc# cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) 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.0c' 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) *
debian:/etc# 


Hope this helps.

Regards

-- 
------------------------------------------------------------------------------
Rajesh Fowkar                       [EMAIL PROTECTED]
Kurtarkar Nagari,Bldg-C,T4,         http://rajesh.computers.webjump.com
Santacruz,Ponda-Goa-403401-INDIA    Powered By : Debian GNU/Linux with GRUB
                                                 Kernel 2.4.3 & Mutt 1.3.17i
                                                 IceWM 1.0.7  & KDE 2.1
"The expert at anything was once a beginner."  -Hayes 
------------------------------------------------------------------------------

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to