Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 20:20:23 +0100
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        Johan Hendriks <Johan@double-l.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ahci and user mount of cdrom
Message-ID:  <6101e8c40912281120j6a8338a8w10bb9f304952363a@mail.gmail.com>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA573FA@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCBA573FA@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Johan@double-l.nl> 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: <Marvell 88SX6121 UDMA133 controller> 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 <LITE-ON DVDRW SHW-160H6S/CS01> 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: <LITE-ON DVDRW SHW-160H6S CS01> 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"
>



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