Unable to access CDROM device to play music
Bernt Hansson
bernt at bah.homeip.net
Tue Nov 30 11:24:41 UTC 2010
2010-11-30 11:24, Carmel skrev:
> On Mon, 29 Nov 2010 20:01:02 -0500
> Nikolai Wendorf<nikolaiw at embarqmail.com> 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:
>>
>> <QSI CDRW/DVD SBW-242 UD22> 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
> <PHILIPS DVD8801 GW02> at scbus1 target 0 lun 0 (pass0,cd0)
> <Generic USB SD Reader 1.00> at scbus2 target 0 lun 0 (pass1,da0)
> <Generic USB CF Reader 1.01> at scbus2 target 0 lun 1 (pass2,da1)
> <Generic USB SM Reader 1.02> at scbus2 target 0 lun 2 (pass3,da2)
> <Generic USB MS Reader 1.03> at scbus2 target 0 lun 3 (pass4,da3)
>
> # cat /etc/devfs.conf
>
> <snippet>
>
> perm cd0 0666
> perm acd0 0666
> perm xpt0 0666
> perm pass0 0666
> perm pass1 0666
> perm pass2 0666
> perm pass3 0666
> perm pass4 0666
>
>
More information about the freebsd-questions
mailing list