Problems with hwmgr scan scsi

From: Ulrich Bernhard (ulrich.bernhard@id.unizh.ch)
Date: Mon Oct 18 2004 - 12:44:08 EDT


On a system running tru64 5.1b we have replaced the tape drive tape1.
The tapes are in a tape library.
After the replacement I have done the following commands:

hwmgr scan scsi
hwmgr -delete scsi -did xx (the old entry of the tape)

I now wanted to rename the new created tape to the old name but the scan
command have not assigned a device file to the new tape.

The 'hwmgr show scsi' command lists the following:
          SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
  HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
    89: 25 zuv1 cdrom none 0 1 cdrom0 [8/0/0]
    90: 4 zuv1 changer none 0 1 mc0 [2/0/0]
    94: 7 zuv1 tape none 0 1 tape0 [4/5/0]
    97: 12 zuv1 tape none 0 1 tape3 [6/0/4]
    98: 13 zuv1 tape none 0 1 tape4 [6/0/5]
    99: 14 zuv1 tape none 0 1 tape5 [6/0/6]
   100: 15 zuv1 tape none 0 1 tape6 [6/0/7]
   101: 8 zuv1 raid none 0 1 scp1 [6/0/0]
   108: 33 zuv1 tape none 4 1 tape2 [6/0/3]
   110: 11 zuv1 changer none 0 1 mc1 [6/0/1]
   144: 32 zuv1 raid none 0 4 scp2 [7/1/0]
   145: 34 zuv1 disk none 2 4 dsk20 [6/1/1]
   146: 35 zuv1 disk none 2 4 dsk21 [6/1/2]
   147: 36 zuv1 disk none 2 4 dsk22 [6/1/3]
   148: 37 zuv1 disk none 2 4 dsk23 [6/1/4]
   149: 38 zuv1 disk none 2 4 dsk24 [6/1/5]
   150: 39 zuv1 disk none 2 4 dsk25 [6/1/6]
   151: 40 zuv1 disk none 2 4 dsk26 [6/1/7]
   154: 0 zuv1 tape none 0 1 tape7 [2/4/0]
   155: 1 zuv1 tape none 0 1 tape8 [3/5/0]
   167: 2 zuv1 tape none 0 1 (null) [6/0/2]

The last entry in the list has the correct path and is a tape. The rest
is all here, the changer as mc1 and the other 5 drives tape2 til tape 6.

In the kernel log I found the following message:
Oct 18 18:11:02 zuv1 vmunix: hwc_check_devnode: char devt (0x0330008f)
already in use by hwid 156:re-use request by cam_tape for hwid 167
Oct 18 18:11:02 zuv1 vmunix: unable to register devnode status= 95

Any help to get the tape1 defined again is very apreciated.

Thanks

Ulrich

-- 
  +-----------------------------------------------------------+
  | Ulrich Bernhard                                           |
  | Informatikdienste      Tel: (+41-44) 635 67 73            |
  | Universitaet Zuerich   Fax: (+41-44) 635 45 05            |
  | Winterthurerstr. 190                                      |
  | CH-8057 Zuerich        Email: ulrich.bernhard@id.unizh.ch |
  | Switzerland                                               |
  +-----------------------------------------------------------+


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:10 EDT