From owner-freebsd-questions Mon Jan 1 16:09:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA17268 for questions-outgoing; Mon, 1 Jan 1996 16:09:48 -0800 (PST) Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA17263 for ; Mon, 1 Jan 1996 16:09:43 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id TAA28569; Mon, 1 Jan 1996 19:24:07 -0500 From: Peter Dufault Message-Id: <199601020024.TAA28569@hda.com> Subject: Re: CD interface To: dglo@SSEC.WISC.EDU (Dave Glowacki) Date: Mon, 1 Jan 1996 19:24:07 -0500 (EST) Cc: freebsd-questions@freebsd.org In-Reply-To: <199601012217.QAA19302@tick.SSEC.WISC.EDU> from "Dave Glowacki" at Jan 1, 96 04:17:01 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk > > I'm trying to bring up xmcd on FreeBSD 2.1.0-RELEASE. By default, it tries > to use /dev/rcd0c to communicate with the drive, but that results in a > bunch of "SCIOCCOMMAND ioctl failed: Permission denied" messages (even when > running as root). > > According to the cd(4) man page: > > In addition the general scsi(4) ioctls may be used with the cd > driver, if used against the fourth (raw/whole disk) partiton. > (e.g. rcd0d) > > but after creating /dev/rsd0d with "mknod rcd0d c 15 3" and reconfiguring > xmcd, I get "Cannot open /dev/rcd0d: errno=6" > > Does anybody have this working with 2.1.0? Might this be an older version of xmcd that opens the device read only? I think it was patched at some point to open it read/write. To use the generic scsi calls you need to open the device read/write. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267