From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 19:35:30 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 B42AB16A420 for ; Mon, 19 Nov 2007 19:35:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB2213C455 for ; Mon, 19 Nov 2007 19:35:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAJJZGnu077866; Mon, 19 Nov 2007 20:35:16 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E5E8BB8F8; Mon, 19 Nov 2007 20:35:15 +0100 (CET) Date: Mon, 19 Nov 2007 20:35:15 +0100 From: Roland Smith To: Gary Kline Message-ID: <20071119193515.GA16464@slackbox.xs4all.nl> Mail-Followup-To: Gary Kline , FreeBSD Mailing List References: <20071119190420.GA34812@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20071119190420.GA34812@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List 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 19:35:30 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Anybody see what's wrong with the following 37 lines of > notes? >=20 > ++ boot/loader.conf > atapicam_load=3D"YES"=20 Atapicam is needed if you want to use cdrecord and growisofs (dvd+rw-tools). > hw.ata.atapi_dma=3D1 Mine says (note the quotes); hw.ata.atapi_dma=3D"1" > vfs.usermount=3D1 This should be in /etc/sysctl.conf 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. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > ++ /etc/rc.conf > devd_enable=3DYES By default, devd doesn't do anything usefull with CD/DVD devices, AFAICT. I'm not sure what you need this for. > ++ /etc/devfs.conf >=20 > 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, Roland --=20 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) --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHQeVzEnfvsMMhpyURAmsfAKCh11LD35oM37iF+R4cUyYCIiJT/wCbBvi3 CzRMLQZWek8kp80iYwrYVBY= =s9bV -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--