SUMMARY: scsi od drive woes
2007-12-24 21:39:00
I was able to resolve this problem yesterday evening, there were two
factors.
1. After rebooting the (with the old optical drive in plugged in) we checked
the state of the scsi bus with scsiinfo, this showed that the device was
"busy". We were able to determine (with the use of fuser) that the vold
process was the cause of this. It appears that Sun have attempted to add
removable media support to their vold configuration.
A simple # on the following line in /etc/vold.conf resolved this problem:
use rmdisk drive /dev/rdsk/c*s2 dev_rmdisk.so rmdisk%d
This meant that we could use devfsadm with a new drive and reboot the
machine with the old style drive in place.
2. We ran a probe-scsi on a third that also did not work properly, this
returned an identical string to the new drive, odd. I went to work with a
screwdriver to confirm this, the drives are identical, but had different
jumper settings. After setting these to the positions found on the new
drive, the third drive worked.
I opened up the old drive and found a set of jumpers, we were able to locate
the definitions of these on the manufactures website and set them
appropriately.
Now all I have to do is put the drives back together =)
Chris
>Subject: scsi od drive woes
>Date: Wed, 16 Jan 2002 11:24:46 +0000
>
>I am trying to configure an Ultra 1 running Solaris 8 10/01 to see an old
>scsi optical drive.
>The hardware sees the device as a MaxoptixT4:
>
>ok probe-scsi-all
>/sbus at 1f,0/espdma at e,8400000/esp at e,8800000
>Target 0
>Unit 0 Disk IBM DCAS532160SUN2.1GS65A
>Target 4
>Unit 0 Removable Device type 7 MaxoptixT4-2600 B178
>
>If i boot with the -r flag no new devices are added to /dev or /devices:
>
>[chrisw at sinope ~]0% ls /devices/sbus at 1f,0/espdma at e,8400000/esp at e,8800000
>/devices/sbus at 1f,0/espdma at e,8400000/esp at e,8800000:
>sd at 0,0:a# sd at 0,0:b# sd at 0,0:c# sd at 0,0:d# sd at 0,0:e# sd at 0,0:f#
>sd at 0,0:g# sd at 0,0:h#
>sd at 0,0:a,raw% sd at 0,0:b,raw% sd at 0,0:c,raw% sd at 0,0:d,raw% sd at 0,0:e,raw%
>sd at 0,0:f,raw% sd at 0,0:g,raw% sd at 0,0:h,raw%
>[chrisw at sinope ~]0%
>
>
>I have tried to make the appropriate special files:
>
>[chrisw at sinope esp at e,8800000]0% sudo mknod sd at 4,0:a b 32 32
>[chrisw at sinope esp at e,8800000]0% sudo mknod sd at 4,0:a,raw c 32 32
>etc
>
>[chrisw at sinope dsk]0% sudo ln -s
>..http://devices/sbus at 1f,0/espdma at e,8400000/esp at e,8800000/sd at 4,0:a c0t4d0s0
>[chrisw at sinope rdsk]0% sudo ln -s
>..http://devices/sbus at 1f,0/espdma at e,8400000/esp at e,8800000/sd at 4,0:a,raw
>c0t4d0s0
>etc
>
>When i attempt to run the format command I get a No disks found! error:
>[chrisw at sinope rdsk]0% sudo format -e c0t4d0s0
>No disks found!
>
>[chrisw at sinope rdsk]1% sudo format -e /dev/rdsk/c0t4d0s0
>No disks found!
>
>If I try to mount the drive:
>[chrisw at sinope ~]0% sudo mount /dev/dsk/c0t4d0s0 /mnt
>mount: /dev/dsk/c0t4d0s0 no such device
>[chrisw at sinope ~]32%
>
>At this point the light on the optical drive flashes very briefly.
>
>If I replace the old optical drive with a new version (with the same
>target)
>and run the devfsadm the appropriate entries are added to /dev and
>/devices.
>I can then format/mount the original test disk. If I then hotswap the old
>drive back I can use the /dev and /devices entries to format/mount the
>drive.
>If I reboot the sun it will no longer be able to see the old optical drive,
>although the entries in /dev and /devices remain (until I run devfsadm
>-Cv).
>
>Any suggestions would be appreciated.
>
>Chris
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Comments
Got something to say?
You must be logged in to post a comment.

