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

Re: Weird CDRW issue?



On Thu, Jan 31, 2002 at 10:04:38PM -0800, ben wrote:
> On Thursday 31 January 2002 09:53 pm, Jeff wrote:
> > Running Debian Sid.
> >
> > When I recompiled to 2.4.16, I put SCSI CDROM emulation in the kernel and
> > took out IDE CDROM support.. I can mount my drives as /dev/scd0 and scd1..
> > However, when trying to use any cd writing programs (the burner is scd0),
> > they say they cant scan the SCSI bus? ?No permission or SCSI emulation not
> > enabled for IDE drives..
> >
> > Thoughts?
> 
> yeah. here's one. what are you talking about? scsi and ide are not 
> interchangable. they are different technologies. scsi emulation lets you 
> refer to something as if it were, but it's not. how are you going to emulate 
> scsi on an ide device that doesn't exist, as far as the kernel is concerned, 
> without support? what does your /etc/fstab look like? start hoping you 
> haven't fried a drive already.

ben: Educate yourself before calling the other guy an idiot.

[ kernel-source/Documentation/Configure.help ]

SCSI emulation support
CONFIG_BLK_DEV_IDESCSI
  This will provide SCSI host adapter emulation for IDE ATAPI devices,
  and will allow you to use a SCSI device driver instead of a native
  ATAPI driver.

  This is useful if you have an ATAPI device for which no native
  driver has been written (for example, an ATAPI PD-CD or CDR drive);
  you can then use this emulation together with an appropriate SCSI
  device driver. In order to do this, say Y here and to "SCSI support"
  and "SCSI generic support", below. You must then provide the kernel
  command line "hdx=scsi" (try "man bootparam" or see the
  documentation of your boot loader (lilo or loadlin) about how to
  pass options to the kernel at boot time) for devices if you want the
  native EIDE sub-drivers to skip over the native support, so that
  this SCSI emulation can be used instead. This is required for use of
  CD-RW's.

  Note that this option does NOT allow you to attach SCSI devices to a
  box that doesn't have a SCSI host adapter installed.

  If both this SCSI emulation and native ATAPI support are compiled
  into the kernel, the native support will be used.

Jeff: Make sure you also compiled in SCSI Generic support, or compiled
it as a module.  If you went the module route, do "modprobe sg" now.

There's another thread today where someone wasn't able to do
"cdparanoia -scanbus" as joe user but succeeded as root.  Permissions
problem :)

Cheers,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgp2RpG_ls7ET.pgp
Description: PGP signature


Reply to: