How to remove non-existing rmdisk?

Hello everybody.
There is a small trouble with Solaris 10 (SPARC) workstation.
The system finds every time non-existent rmdisk and issues Media Format window which offers to format that device.

There are not any connected usb device in usb ports (with the exception of keyboard + mouse).

How to remove non-existent device or disable window appearance?

Thanks in advance.

Are you sure that there is no removable media? Is there a USB memory card slot on your keyboard?

Login as root

Post the output from:

rmformat -l

If it lists media then try:

volrmmount -e <device name from above>

If you get that far, then:

svcadm restart svc:/system/filesystem/volfs:default

Yes, of course. The Sun Keyboard has usb socket. In this socket was put the Sun mouse.

Yes, that's okay, but is there a memory card slot too?

Anyway, proceed as per my above post.

I can proceed and post in 4 hours.

---------- Post updated at 10:48 PM ---------- Previous update was at 03:13 PM ----------

# rmformat -l
Looking for devices...
1.Volmgt Node: /vol/dev/aliases/cdrom0
    Logical Node: /dev/rdsk/c0t2d0s2
    Phisikal Node: /psi@1e,6000000/ide@d/sd@2,0
    Connected device: JLMS XJ-HD166S D3S4
    Device type: DVD Reader

When it tries to format this non-existant device does it give a device name?

If so, what is it?

The "Format" button is not aktive. I can not input "label name".
I don't undestand where system takes c3t0d0? There was only one disk (c0t0d0) in the box. :slight_smile:

What's the output from the following commands:

eject -l
format

The device appears to be /vol/dev/rdsk/c3t0d0.

What's the output from

find /vol -ls

What version of Solaris is it exactly?

I think this might be a bug that needs a patch.

eject -l

it does not work. Illegal option --l.

---------- Post updated at 06:44 AM ---------- Previous update was at 06:39 AM ----------

Here is version. I have looked at another box. It has identical Sol version and has not any problem.
Probably everybody put a disk or flash and the system wrote it somewhere. But where?

What does

find /vol -ls

show?

Try

devfsadm -Cv

This might fix the issue.

1 Like

Today I have not possibility try your sugestions. I will try in 2-3 days and post result.

Great suggestion from jlliagre in post#12. Yes, try that.

The c3t0d0? stuff is the removable media controller (c3 bit) on your hardware managed by the rm manager. You could try deleting the device node that it is trying to format, eg,

rm -f /dev/dsk/c3t0d0s0
rm -f /dev/rdsk/c3t0d0s0

or whatever.

See what device nodes exist starting c3......

If the device really doesn't exist, the removable media manager may not recreate the device node thereby fixing the problem.

Oh, that could be fun if c3 is the USB controller and the box has a USB mouse and/or keyboard. :wink:

A reconfiguration reboot via "reboot -- -r" would probably clean it all up. That's a really old version of Solaris, and IIRC the handling of USB devices back then wasn't all that good.

Look at "cfgadm" and "devfsadm" man pages, too.

Here is

find /vol -ls

output

devfsadm -Cv

is a great command, but did not help. :frowning:

Post the content of:

 
 /kernel/drv/scsa2usb.conf 
 

and compare with your working system if you can.

Refer to:
http://docs.oracle.com/cd/E19253-01/817-5093/devusbtasks-12/index.html

regarding USB on Solaris 10u6
See this link for instructions to remove the respective driver.