From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 22:28:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36FBD16A477 for ; Mon, 19 Nov 2007 22:28:20 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9C9B013C4C4 for ; Mon, 19 Nov 2007 22:28:19 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lAJMS848036093; Mon, 19 Nov 2007 14:28:08 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lAJMS7iH036092; Mon, 19 Nov 2007 14:28:07 -0800 (PST) (envelope-from kline) Date: Mon, 19 Nov 2007 14:28:07 -0800 From: Gary Kline To: Gary Kline , FreeBSD Mailing List Message-ID: <20071119222806.GA35919@thought.org> References: <20071119190420.GA34812@thought.org> <20071119193515.GA16464@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071119193515.GA16464@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Subject: Re: can any sound wzards help me set this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 22:28:20 -0000 On Mon, Nov 19, 2007 at 08:35:15PM +0100, Roland Smith wrote: > On Mon, Nov 19, 2007 at 11:04:20AM -0800, Gary Kline wrote: > > Saturday,, following the adviice of this group plus things I > > found of the web, I put together this list of mods to make to > > /boot/loader.con, /etc/rc.conf, and /etc/devfs.conf ....Still, > > after rebooting/doing-hard-resets 5 or 6times, things hung if or > > if I did NOT have an audio CD in my top burner. > > > > Anybody see what's wrong with the following 37 lines of > > notes? > > > > ++ boot/loader.conf > > > atapicam_load="YES" > > Atapicam is needed if you want to use cdrecord and growisofs > (dvd+rw-tools). > > > > hw.ata.atapi_dma=1 > > Mine says (note the quotes); > hw.ata.atapi_dma="1" Done, thans. > > > vfs.usermount=1 > > This should be in /etc/sysctl.conf Ah, okay. I've moved it. > > Don't forget that this is not sufficient you mount stuff as a normal > user; > - you need read/write permissions to the device > - and you need to _own_ the mount point. This is what I chmod'd it to. everything beneath is also 0777. I'll chown it and see. drwxrwxrwx 4 root wheel 512 Apr 8 2007 media > > > ========== > > > > ++ /etc/rc.conf > > devd_enable=YES > > By default, devd doesn't do anything usefull with CD/DVD devices, AFAICT. > I'm not sure what you need this for. Don't undeerstand myself, but soomeone suuggested it. > > > ++ /etc/devfs.conf > > > > link acd0 cdrom > > perm /dev/acd0 0666 > > Looks OK. > > I've got the following in devfs.conf, to use the CD/DVD burner as a > pseudo SCSI device (atapicam in kernel, but not atapicd); > > # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the > # SCSI interface > own xpt0 root:cdrom > perm xpt0 0660 > own cd0 root:cdrom > perm cd0 0660 > own cd1 root:cdrom > perm cd1 0660 > link cd0 cdrom > link cd0 dvd > > The following is in /etc/devfs.rules; > add path 'pass*' mode 0660 group cdrom > > IIRC I did this because pass devices are created as needed. > > My kernel config has the following devices (among others); > device ata > device atadisk # ATA disk srives > device ataraid # RAID drives > device atapicam # Emulate ATAPI devices as SCSI via CAM > options ATA_STATIC_ID # Static device numbering > # SCSI peripherals > device scbus # SCSI bus (required for SCSI) > device cd # Compact Disc > device da # Direct Access (disks) > device pass # Passthrough device (direct SCSI access) > > HTH, The only thing missing from my GENERIC file is apaticam driver. That probably isn't necessary until I use k3b. I'll try again.. Thanks for your insights! gary > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org