From owner-freebsd-stable@FreeBSD.ORG Mon Dec 28 15:42:50 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED73E1065670 for ; Mon, 28 Dec 2009 15:42:50 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 583BD8FC19 for ; Mon, 28 Dec 2009 15:42:49 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBSFgmYm030465 for ; Mon, 28 Dec 2009 16:42:48 +0100 (CET) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 28 Dec 2009 16:42:44 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCBA573FA@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ahci and user mount of cdrom Thread-Index: AcqH1GWa5Z+TqYLfR+Ciu58DwSSBBg== From: "Johan Hendriks" To: X-Virus-Scanned: by XS4ALL Virus Scanner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ahci and user mount of cdrom X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 15:42:51 -0000 Hello all I am on 8.0-STABLE now, and using the ahci driver. All works likei t should, but i can not mount my cdrom anymore as a regular user. i have this in my sysctl.conf vfs.usermount=3D1 =20 my /etc/devfs.conf looks like this #CDROM_BURNER permissions perm acd0 0666 #perm acd1 0666 perm cd0 0666 #perm cd1 0666 perm cdrom 0666 #perm cdrom1 0666 perm pass0 0660 perm pass1 0660 perm pass2 0660 perm pass3 0660 perm pass4 0660 perm pass5 0660 perm pass6 0666 perm xpt0 0660 =20 dmesg list the following =20 atapci0: port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfe9ffc00-0xfe9fffff irq 16 at device 0.0 on pci3 atapci0: [ITHREAD] =20 acd0: DVDR at ata2-slave UDMA66 =20 later on in my dmesg i get the following acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 (probe0:ata0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata0:0:1:0): CAM Status: SCSI Status Error (probe0:ata0:0:1:0): SCSI Status: Check Condition (probe0:ata0:0:1:0): NOT READY asc:3a,1 (probe0:ata0:0:1:0): Medium not present - tray closed (probe0:ata0:0:1:0): Unretryable error =20 =20 cd0 at ata0 bus 0 scbus8 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.000MB/s transfers cd0: cd present [329835 x 2048 byte records] =20 my cdrom is attached to the pata port on the mainbord. =20 Regards, Johan =20 =20 =20 =20