ahci and user mount of cdrom
Johan Hendriks
Johan at double-l.nl
Mon Dec 28 15:42:51 UTC 2009
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
More information about the freebsd-stable
mailing list