Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 20:35:15 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: can any sound wzards help me set this right?
Message-ID:  <20071119193515.GA16464@slackbox.xs4all.nl>
In-Reply-To: <20071119190420.GA34812@thought.org>
References:  <20071119190420.GA34812@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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
<snip>
>      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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071119193515.GA16464>