Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 16:42:44 +0100
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        <freebsd-stable@freebsd.org>
Subject:   ahci and user mount of cdrom
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCBA573FA@w2003s01.double-l.local>

next in thread | raw e-mail | index | archive | help
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: <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]

=20

acd0: DVDR <LITE-ON DVDRW SHW-160H6S/CS01> 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: <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]

=20

my cdrom is attached to the pata port on the mainbord.

=20

Regards,

Johan




=20

=20

=20

=20




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