• Please review our updated Terms and Rules here

Mediad will not work

NeXT

Veteran Member
Joined
Oct 22, 2008
Messages
8,140
Location
Kamloops, BC, Canada
I have an SGI O2 running 6.5.29 and at some point in the past while trying to make an MO volume automount I broke mediad.
The icon for the CD-rom no longer appears on anyone's desktop, you insert a disc it doesn't automount to /CDROM, Irix sees there is a CD drive at the correct SCSI ID and both I can boot a miniroot from the CD and if I leave a CD in the drive while booting it will spin up and lock the eject button (but not mount), so you need to use EJECT to open the tray, so the drive both recognizes and can read media.
I must of either bungled or overwritten a config file somewhere but I don't know where, or how and this would of been more than half a decade ago. I didn't make any additional tweaks beforehand so even if I could see what the default config files look like that might be helpful.
I've asked the other Irix forums and their response is "reinstall irix" which sounds completely asinine.
 
I'm not an Irix user, but can you manually mount the drive? e.g.

mount -t iso9660 -o ro /dev/cd0 /cdrom

If that works, what does /etc/fstab say about it?
 
typically, irix will, if you have a cd-rom installed (any kind of drive for that matter) place an icon to the desktop and automagically create the mount point, /CDROM for this case.

sounds like he's not got this, and if chkconfig tells us what I think it will, it could be an easy fix.
 
no one was able to help? do me a favor, type chkconfig and hit enter, what's the output?
Code:
DemiVeemon 1# chkconfig
        Flag                 State
        ====                 =====

        appletalk            off
        array                off
        autoconfig_ipaddress off
        autofs               on
        automount            off
        cesag                off
        desktop              on
        esp                  on
        fcagent              off
        fontserver           off
        gated                off
        ipaliases            on
        ldap                 off
        lockd                on
        lp                   on
        mediad               on
        mrouted              off
        named                off
        nds                  off
        neko_bind9           off
        neko_cups            off
        neko_nagios          off
        neko_ntpd            on
        neko_pnp             off
        neko_postfix         off
        neko_samba           off
        neko_snmptrapd       off
        neko_spamd           off
        neko_sshd            on
        network              on
        nfs                  on
        nfsd                 on
        noiconlogin          off
        nostickytmp          off
        nsd                  on
        ntp                  off
        pcnfsd               on
        pmcd                 on
        pmie                 off
        privileges           on
        proclaim_relayagent  off
        proclaim_server      off
        proxymngr            off
        quickpage            off
        rarpd                off
        routed               on
        rsvpd                off
        rtmond               on
        rwhod                off
        sar                  off
        savecore             on
        sendmail             on
        sendmail_cf          on
        sesdaemon            on
        sgi_apache           on
        snetd                on
        soundscheme          on
        tfxd                 on
        timed                off
        timeslave            off
        ts                   on
        verbose              on
        visuallogin          on
        vswap                off
        wacomd               on
        webface              off
        webface_apache       off
        windowsystem         on
        xdm                  on
        yp                   off
        ypmaster             off
        ypserv               off

fstab has entries for root, rroot, my second internal hard drive and an external drive. There is technically a magneto optical drive (controller 1 unit 5) and the CD drive (controller 0 unit 4) attached but beyond hinv nothing else is aware of other disks,
Code:
 hinv -v
CPU: MIPS R5000 Processor Chip Revision: 10.0
FPU: MIPS R5000 Floating Point Coprocessor Revision: 10.0
1 300 MHZ IP32 Processor
Main memory size: 1024 Mbytes
Secondary unified instruction/data cache size: 1 Mbyte on Processor 0
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
FLASH PROM version 4.18
Integral SCSI controller 0: Version ADAPTEC 7880
  Disk drive: unit 1 on SCSI controller 0 (unit 1)
  Disk drive: unit 2 on SCSI controller 0 (unit 2)
  CDROM: unit 4 on SCSI controller 0
Integral SCSI controller 1: Version ADAPTEC 7880
  Disk drive: unit 1 on SCSI controller 1 (unit 1)
  Optical disk: unit 5 on SCSI controller 1
Integral SCSI controller 2: Version IEEE1394 SBP2
On-board serial ports: tty1
On-board serial ports: tty2
On-board EPP/ECP parallel port
CRM graphics installed
Integral Ethernet: ec0, version 1
Iris Audio Processor: version A3 revision 0
  PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 1
  PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 2
  PCI Adapter ID (vendor 0x104c, device 0x8019) PCI slot 3
Video: MVP unit 0 version 1.4
AV: AV1 Card version 1, Camera not connected.
Vice: TRE
1600SW Flat Panel adapter board and display.
IEEE 1394 High performance serial bus controller 0: Type: OHCI, Version 0x104C-1 0
 
Last edited:
On a suggestion I unplugged the CD drive, rebooted with the drive not present, deleted /CDROM, powered down, reconnected and booted back up to see if mediad forces /CDROM to regenerate.
It did not regenerate the mount point. In fact, mediad instantly crashed out and dumped as soon as it was started.

Also I was asked if the CD drive appeared on any of the user desktops and no it is missing from root, my main account and Demos.
 
Back
Top