From owner-freebsd-questions@FreeBSD.ORG Tue Nov 30 11:24:41 2010 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 ABEEB1065673 for ; Tue, 30 Nov 2010 11:24:41 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 0E53B8FC16 for ; Tue, 30 Nov 2010 11:24:40 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id oAUBOaIA061479; Tue, 30 Nov 2010 12:24:37 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <4CF4DEF4.6080905@bah.homeip.net> Date: Tue, 30 Nov 2010 12:24:36 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; sv-SE; rv:1.9.2.12) Gecko/20101117 Thunderbird/3.1.6 MIME-Version: 1.0 To: FreeBSD References: <4CF44CCE.8030005@embarqmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel Subject: Re: Unable to access CDROM device to play music 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: Tue, 30 Nov 2010 11:24:41 -0000 2010-11-30 11:24, Carmel skrev: > On Mon, 29 Nov 2010 20:01:02 -0500 > Nikolai Wendorf articulated: One can not play audio-cd on freebsd without root access. No matter what you put in devfs* Tried it since freebsd4* >> All, >> >> I was getting exactly this same error following a fresh 8.1 load >> >> Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL >> REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel: >> (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25 >> 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status >> Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: >> Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI >> sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25 >> 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back >> >> the solution was explained in the gnome install FAQ - here is a clip >> - the devfs.conf changes fixed the problem. >> >> To figure out which CD/DVD drive you will be using, run the following >> command as root: >> >> # camcontrol devlist >> >> >> Your output will look similar to the following: >> >> at scbus1 target 0 lun 0 (cd0,pass0) >> >> >> The devices in parentheses at the end are important. You must make >> sure the /dev entries for those devices are writable by the users >> that will be using brasero, totem, rhythmbox, or sound-juicer. In >> addition to those devices, /dev/xpt* must also be writable to your >> brasero, totem, rhythmbox, and sound-juicer users. The >> following /etc/devfs.conf configuration will achieve the desired >> results given the above devlist: >> >> perm cd0 0666 >> perm xpt0 0666 >> perm pass0 0666 > > I made those modifications a long time ago without success. > > # camcontrol devlist > at scbus1 target 0 lun 0 (pass0,cd0) > at scbus2 target 0 lun 0 (pass1,da0) > at scbus2 target 0 lun 1 (pass2,da1) > at scbus2 target 0 lun 2 (pass3,da2) > at scbus2 target 0 lun 3 (pass4,da3) > > # cat /etc/devfs.conf > > > > perm cd0 0666 > perm acd0 0666 > perm xpt0 0666 > perm pass0 0666 > perm pass1 0666 > perm pass2 0666 > perm pass3 0666 > perm pass4 0666 > >