Hello All,  I'm in trouble here . Any pointers gladly 
        appreciated .  Including where else to post this query . 

        a general user can get 'mt' to get status (...) once the
        tape is loaded .  But using 'mtx' on the same device
        illicits the below response .

sunny:jiml:~$ mtx -f /dev/rmt/0 status
mtx: Request Sense: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
mtx: READ ELEMENT STATUS Command Failed

        Here are the permissions of the special files in question .

sunny:root:/dev$ dir /dev/rmt/0
   2 lrwxrwxrwx   1 root     root          56 Dec 30 22:23 /dev/rmt/0 ->
../../devices/pci@1f,0/pci@1/pci@1/SUNW,isptwo@4/st@4,0:
sunny:root:/dev$ dir /devices/pci@1f,0/pci@1/pci@1/SUNW,isptwo@4/st@4,0:
   0 crw-rw-rw-   1 root     sys       33,136 May 18 10:46
/devices/pci@1f,0/pci@1/pci@1/SUNW,isptwo@4/st@4,0:

        I have added below a short 'truss' output while running the above
        command as a general user .  Anything else you may need please 
        just ask .              Tia, JimL
       +-----------------------------------------------------------------+
       | James   W.   Laferriere | System   Techniques | Give me VMS     |
       | Network        Engineer | 25416       22nd So |   Give me Linux |
       | [EMAIL PROTECTED] | DesMoines  WA 98198 |     only on AXP |
       +-----------------------------------------------------------------+
execve("/sbin/mtx", 0xEFFFFCF0, 0xEFFFFD04)  argc = 4
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF7C0000
open("/usr/lib/libc.so.1", O_RDONLY)            = 4
fstat(4, 0xEFFFF8AC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF7B0000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF700000
munmap(0xEF794000, 57344)                       = 0
mmap(0xEF7A2000, 27648, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 
598016) = 0xEF7A2000
mmap(0xEF7AA000, 1808, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xEF7AA000
close(4)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
fstat(4, 0xEFFFF8AC)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF7B0000
close(4)                                        = 0
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF69C)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF6F0000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF6E0000
close(4)                                        = 0
close(3)                                        = 0
munmap(0xEF6F0000, 8192)                        = 0
open("/dev/rmt/0", O_RDWR|O_NDELAY)             = 3
ioctl(3, 0x04C9, 0xEFFFFAD8)                    Err#1 EPERM
write(2, " m t x :   R e q u e s t".., 20)      = 20
write(2, " 0 0", 2)                             = 2
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "   0 0", 3)                           = 3
write(2, "\n", 1)                               = 1
write(2, " m t x :   R E A D   E L".., 40)      = 40
llseek(0, 0, SEEK_CUR)                          = 249573
_exit(1)



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to