On Fri, 14 May 1999, David Erdman wrote:

> Hi. me again  It seems the problem is not with the software, but my scsi
> setup.  is there a good how-to for setting up scsi on a non scsi system?  I

Not that I'm aware of.


> have recompiled my kernel yet again and made everything scsi modular.  this
> does not seem to work, and i also cannot mount /dev/sr0.  do i have to add
> it to fstab?....

You should be able to mount it as root without adding it to /etc/fstab.

> Could you maybe detail how you set up your scsi??  Do you
> have any other scsi devices on your system...cause i have not a one.
> 
I do have a SCSI controller on the motherboard, and it has a SCSI hard
drive on it, but I have got the ide cd-rw working without the scsi on the
mobo.

My kernel configuration (relevant bits):

CONFIG_BLK_DEV_IDESCSI=m (IDE-SCSI emulation)

CONFIG_SCSI=y (I have to compile this in because I boot off SCSI)

# CONFIG_SCSI_MULTI_LUN is not set
MULTI_LUN is important, because if it is set strange things happen

CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
These two shouldn't matter.

CONFIG_BLK_DEV_IDECD=m
I don't think you actually need this, but it may be useful.

CONFIG_BLK_DEV_SR=m    (SCSI CDROM support)
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m    (SCSI generic support)


If you configure your kernel like that, you should be able to boot, then
modprobe ide-scsi, at which point it should detect your rewriter.  Once
that works, modprobe sg sr_mod and cdrecord/xcdroast should be happy.
In theory, sg and sr_mod should be autoloaded by kmod/kerneld.

In /etc/conf.modules, I have the following stuff, which basically means
that all the modules get loaded at the right time.  You certainly don't
need it, and I wouldn't reccomend adding it until you can get it to work
by hand:

#
# cd burning stuff:
# sg will get autoloaded, so need to load ide-scsi for sg to find cdwriter
# ditto sr
# ide-scsi conflicts with ide-cd
pre-install sg if ! grep "^ide-scsi" /proc/modules >/dev/null ; then /sbin/modprobe 
ide-scsi ; fi
pre-install sr_mod if ! grep "^ide-scsi" /proc/modules >/dev/null ; then 
/sbin/modprobe ide-scsi ; fi
pre-install ide-scsi if grep "^ide-cd" /proc/modules >/dev/null; then /sbin/rmmod 
ide-cd ; fi
pre-install ide-cd if grep "^ide-scsi" /proc/modules >/dev/null; then /sbin/rmmod 
ide-scsi ; fi


-- 
Mike <[EMAIL PROTECTED]>

Parkinson's Fifth Law:
        If there is a way to delay in important decision, the good
        bureaucracy, public or private, will find it.

Reply via email to