From owner-freebsd-stable@FreeBSD.ORG Mon Dec 28 19:20:30 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 F3219106568B for ; Mon, 28 Dec 2009 19:20:30 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 861288FC26 for ; Mon, 28 Dec 2009 19:20:30 +0000 (UTC) Received: by bwz5 with SMTP id 5so6792009bwz.3 for ; Mon, 28 Dec 2009 11:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=uz8rm6DpyWmeUKX6E5OctR6HmPwgkbvM3Cy2uKhpGFw=; b=DKcXxObh+Ccrv7F1yvh4P+bZT3XLDGoYOPki5nSOstqh8mH2uKwvAYZx5OkYLiiIIR +17nXpbPaaK74ZfWrR8jRo+ll3J/9u0++jHXBx2gMICMyYo/CYrH0RlRt3lPbqROmndP 8pjP3rPsQtfWuwxVR+Yg0+CD1fdsXBPpMtNGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tq73xpxBnbCbNWH8magjRPziDM+l5W9vibtqFEjioMV3e9HyhQroZDdnKqQD4GH33x nLf+UbAZ877ELde5LCpAiKc2f10mrnwtq5klq3cNWMyo/T9YFoRjNgmWEsS3xVm+BeP8 lOf1qEfVqj+xj8Jbo1dzRwnHg+7cY5dnuwQR0= MIME-Version: 1.0 Received: by 10.204.13.71 with SMTP id b7mr2595014bka.127.1262028023424; Mon, 28 Dec 2009 11:20:23 -0800 (PST) In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA573FA@w2003s01.double-l.local> References: <57200BF94E69E54880C9BB1AF714BBCBA573FA@w2003s01.double-l.local> Date: Mon, 28 Dec 2009 20:20:23 +0100 Message-ID: <6101e8c40912281120j6a8338a8w10bb9f304952363a@mail.gmail.com> From: Oliver Pinter To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: Re: 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 19:20:31 -0000 i think, usermount worked only with user owned and writable dir-s, example: mkdir ~/cdrom mount_cd9660 /dev/acd0 ~/cdrom On 12/28/09, Johan Hendriks wrote: > 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=1 > > > > 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 > > > > dmesg list the following > > > > 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] > > > > acd0: DVDR at ata2-slave UDMA66 > > > > later on in my dmesg i get the following > > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 > > (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 > > > > > > 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] > > > > my cdrom is attached to the pata port on the mainbord. > > > > Regards, > > Johan > > > > > > > > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >