SUMMARY: scsi od drive woes

From: Chris Webb <zzxtty_at_hotmail.com>
Date: Fri Jan 18 2002 - 03:15:36 EST
Firstly, thanks to bergman@merctech.com for his reply.

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@1f,0/espdma@e,8400000/esp@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@sinope ~]0% ls /devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000
>/devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000:
>sd@0,0:a#	sd@0,0:b#	    sd@0,0:c#	  sd@0,0:d#	sd@0,0:e#	sd@0,0:f#
>sd@0,0:g#	  sd@0,0:h#
>sd@0,0:a,raw% sd@0,0:b,raw% sd@0,0:c,raw% sd@0,0:d,raw% sd@0,0:e,raw%
>sd@0,0:f,raw% sd@0,0:g,raw% sd@0,0:h,raw%
>[chrisw@sinope ~]0%
>
>
>I have tried to make the appropriate special files:
>
>[chrisw@sinope esp@e,8800000]0%	 sudo mknod sd@4,0:a b 32 32
>[chrisw@sinope esp@e,8800000]0%	 sudo mknod sd@4,0:a,raw c 32 32
>etc
>
>[chrisw@sinope dsk]0% sudo ln -s
>../../devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@4,0:a c0t4d0s0
>[chrisw@sinope rdsk]0% sudo ln -s
>../../devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@4,0:a,raw 
>c0t4d0s0
>etc
>
>When i attempt to run the format command I get a No disks found! error:
>[chrisw@sinope rdsk]0% sudo format -e c0t4d0s0
>No disks found!
>
>[chrisw@sinope rdsk]1% sudo format -e /dev/rdsk/c0t4d0s0
>No disks found!
>
>If I try to mount the drive:
>[chrisw@sinope ~]0% sudo mount /dev/dsk/c0t4d0s0 /mnt
>mount: /dev/dsk/c0t4d0s0 no such device
>[chrisw@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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jan 18 02:16:18 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:32 EST