Summary: NEC MultiSpin 8Xe CDROM

From: Gerhard den Hollander (
Date: Fri Apr 04 1997 - 08:05:07 CST

As usual SunManagers gave the correct answer in less than the time it takes
to dial the Sun Helpdesk ..

The problem:

Solaris 2.4 machine does not recognise my CDROm

The cause:

Sun can only read from (by default) drives that are configured for 512

The solution (for Solaris 2.4)

Compile the following program

#include <unistd.h>
#include <sys/fcntl.h>
#include <sys/cdio.h>
#include <stdio.h>

#define CDROM "/dev/rdsk/c1t6d0s2"

        int fd;

        fd = open(CDROM, O_RDONLY|O_EXCL);
        if (fd < 0) {
        if (ioctl(fd, CDROMSBLKMODE, 512)) {
        return 0;

Move it to /sbin/fixcd

Make the following changes to /etc/rc2.d/S92volmgt

case "$1" in
        if [ -f /etc/vold.conf -a -f /usr/sbin/vold ] ; then
+ echo "Fixing CD-rom problem"
+ echo "this fails if there is *NO* CD in the CDRom"
+ /sbin/fixcd
                echo "volume management starting."
                /usr/sbin/vold 1>/dev/console 2>&1 &

For more info

Thanks to all who replied

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:50 CDT