This has been addressed in many threads but solutions, where they have appeared, do not seem to be applicable here.
There are two optical devices on the platform
The System is rebooted
From dmesg =>
cd and dvd discs were placed in cd and dvd devices respectively
/dvd mounts fine and shows up in df -k listing
However,
[mount also attempted with alternate filesystems but with similar results.]
/cdrom does not mount but returns all sorts of errors viz:
A verified cd, readable in /dvd was inserted in /cdrom
==> messages -
I've tried other things too
The mount points exist, permission on /cdrom changed to 777 but made no difference realized.
Entries changed in /etc/devfs.conf
Entered- autofs_enable="YES" to /etc/rc.conf
Nothing seemed to work!
What have I done wrong or am not doing?
There are two optical devices on the platform
The System is rebooted
Code:
# uname -a
FreeBSD MACH1 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
From dmesg =>
# cat /var/log/dmesg.today | grep -i cd0
Code:
cd0 at ata1 bus 0 scbus7 target 0 lun 0
cd0: <CD-ROM Drive/G6D 1.30> Removable CD-ROM SCSI device
cd0: Serial Number MT1198-B Firmware
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
# cat /var/log/dmesg.today | grep -i cd1
Code:
cd1 at ata1 bus 0 scbus7 target 1 lun 0
cd1: <_NEC DVD_RW ND-3550A 1.05> Removable CD-ROM SCSI device
cd1: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd1: Attempt to query device size failed: NOT READY, Medium not present
# ls /dev/cd*
Code:
/dev/cd0 /dev/cd1
# file /dev/cd*
Code:
/dev/cd0: character special (0/111)
/dev/cd1: character special (0/112)
cd and dvd discs were placed in cd and dvd devices respectively
mount -t cd9660 /dev/cd1 /dvd
/dvd mounts fine and shows up in df -k listing
However,
mount -t cd9660 /dev/cd0 /cdrom
[mount also attempted with alternate filesystems but with similar results.]
/cdrom does not mount but returns all sorts of errors viz:
# mount -t cd9660 /dev/cd0 /cdrom
Code:
mount_cd9660: /dev/cd0: Device not configured
# mount -t iso9660 /dev/cd0 /cdrom
Code:
mount: /dev/cd0: Operation not supported by device
# mount -t udf /dev/cd0 /cdrom
Code:
mount_udf: /dev/cd0: Device not configured
A verified cd, readable in /dvd was inserted in /cdrom
mount -t cd9660 /dev/cd0 /cdrom
==> messages -
Code:
May 23 01:28:00 MACH1 kernel: g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 6
May 23 01:41:51 MACH1 kernel: g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 6
May 23 01:43:06 MACH1 kernel: g_vfs_done():cd0[READ(offset=524288, length=2048)]error = 6
I've tried other things too
The mount points exist, permission on /cdrom changed to 777 but made no difference realized.
Entries changed in /etc/devfs.conf
Code:
link cd0 cdrom
link cd1 dvd
Nothing seemed to work!
What have I done wrong or am not doing?