Summary: Where's my tape drive device?

From: Dan Penrod (penrod@wcnewmedia.com)
Date: Fri Dec 20 1996 - 17:16:54 CST


-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   _/ _/_/  _/_/  _/_/  _/_/_/    _/_/_/_/_/ _/_/_/_/|
|     _/    _/  _/  _/ _/      _/ _/         _/       |
|    _/    _/      _/ _/      _/ _/    _/_/ _/_/_/    |
|   _/    _/      _/ _/_/_/_/_/ _/      _/ _/         |
|_/_/_/  _/      _/ _/      _/ _/_/_/_/_/ _/_/_/_/_/  |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
| Dan Penrod - Unix Network Administrator             |
| Image Technologies - World Color New Media          |
| 2502 Rocky Point Dr. Suite 200, Tampa, FL 33716     |
| vox:813/636-9266 fax:636-0431 penrod@wcnewmedia.com |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

attached mail follows:


In brief, my problem was that I somehow lost the tape drive
drivers (probably due to me plugging things into the scsi
controllers differently when I set my system back up) and
was getting a message like "device not found" when I'd try
to ufsdump or mt to it. The "reboot -- -r" (and the many
alternative ways to do that...) failed to correctly create
the drivers for me and "drvconfig" and "tapes" wasn't doing
the trick either.

The first and best answer came from Glenn Satchell who wrote...

   The way to recreate tape devices is:

     rm /dev/rmt/*
     drvconfig
     tapes

I did these three steps in this order and that fixed it!

Apparently you have to delete ALL of the drivers in /dev/rmt/
in order for drvconfig or boot -r to work at all!

Another suggestion from Jason Boerner was to try "boot -rs".
I don't know what that does. I was going to try that 2nd
but Glenn's trick worked so I couldn't test Jason's.

Thanks also to Alan Hill and Matthew Stier for taking the time
to reply.

Glenn Satchell <Glenn.Satchell@Uniq.com.au>
ahill@lanser.net (Alan Hill)
Jason Boerner <jboerne@uswest.com>
"Matthew Stier" <Matthew.Stier@MCI.Com>

Dan Penrod wrote:
>
> Last week I had to take apart my SPARC 10, move it
> elsewhere, and reassemble it. Now I can't seem to
> see my tape drive. When I try something like...
>
> penrod@gazoo(8): mt -f /dev/rmt/0cn status
> ...I get...
> /dev/rmt/0cn: No such file or directory
>
> When I bring it down to prom level and run a probe-scsi-all
> I see all my devices, internal disk, external disk, cdrom,
> and tape drive. Roughly something like this.
>
> /iommu@f,e0000000/sbus@f,e0001000/SUNW,fas@3,8800000
> Target 2 DISK 4.2G Seagate
> Target 6 CD Toshiba
> /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,8000000
> Target 3 DISK 1.05G Seagate
> Target 4 Tape Python
>
> I've tried booting from prom with "boot -r", that didn't help.
> I tried rebooting with "reboot -- -rv", that didn't help.
> I tried "drvconfig" followed by "tapes", that didn't help.
> I tried removing tape entries in /etc/path_to_inst and rebooting...
> I've rebooted a zillion times, especially with -r option.
> I've tried changing the scsi id of the tape drive from 4 to 5 and
> back again, each time with boot -r.
> One set of directions said to remove the /dev/rmt/0cn and the
> device it points to
> ../../devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000/st@4,0:cn
> then run drvconfig and drives or reboot with the -r. Nothing!
> Now I don't have either of these devices.
>
> It seems like there's some sort of bug whereby the kernel gets
> confused about where the tape drive is but isn't able to rebuild
> itself correctly.
>
> What can be done?
>
> Thanks,
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | _/ _/_/ _/_/ _/_/ _/_/_/ _/_/_/_/_/ _/_/_/_/|
> | _/ _/ _/ _/ _/ _/ _/ _/ |
> | _/ _/ _/ _/ _/ _/ _/_/ _/_/_/ |
> | _/ _/ _/ _/_/_/_/_/ _/ _/ _/ |
> |_/_/_/ _/ _/ _/ _/ _/_/_/_/_/ _/_/_/_/_/ |
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
> | Dan Penrod - Unix Network Administrator |
> | Image Technologies - World Color New Media |
> | 2502 Rocky Point Dr. Suite 200, Tampa, FL 33716 |
> | vox:813/636-9266 fax:636-0431 penrod@wcnewmedia.com |
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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