[Info-vax] Processes hang on USB-access

Joukj joukj at hrem.nano.tudelft.nl
Fri Feb 25 04:23:28 EST 2022


Volker Halle wrote:
> Jouk,
> 
> If you have a process hanging reading/writing to that disk, enter SDA, set context to that process and issue a SDA> SHOW PROC/CHAN - the DNcn: channel should be busy

Now using a SYSDUMP. I get:

......
Process index: 0046   Name: BATCH_16          Extended PID: 2FA00146
--------------------------------------------------------------------

Channel    CCB     Window     Status    Device/file accessed
-------    ---     ------     ------    --------------------
   0160  7FF7C2A0  826C1100              POLKA$DKA100:(1704,17558,0) 
(section fi)
   0170  7FF7C2C0  826BF100              POLKA$DKA100:(2025,10,0) 
(section file)
   0180  7FF7C2E0  82897180              POLKA$DKA100:(31988,2432,0)
   0190  7FF7C300  826D1F40              POLKA$DKA100:(2232,10,0) 
(section file)
   01A0  7FF7C320  826D0F40              POLKA$DKA100:(2212,10,0) 
(section file)
   01B0  7FF7C340  828B7A40              POLKA$DKA100:(32058,349,0)
   01C0  7FF7C360  82893840              POLKA$DKA100:(33280,36,0)
   01D0  7FF7C380  827CF000              POLKA$DKA100:(51460,23,0) 
(section file)
   01E0  7FF7C3A0  826DA040              DNFS1:(18,17530,0)
   01F0  7FF7C3C0  00000000              HOPAK$DNA2:
   0210  7FF7C400  8276AAC0  Busy        HOPAK$DNA2:(288,1,0)

   Total number of open channels : 32.


The device is Busy.

> 
> Then also try SDA> SHOW DEV DNcn: to determine the state of the IO.
> 

This output looks similar to the one I created on the running system.



SHOW PROC gives:

SDA> show proc



Process index: 0046   Name: BATCH_16          Extended PID: 2FA00146
--------------------------------------------------------------------
Process status:          00044001  RES,BATCH,PHDRES
         status2:         00000001  QUANTUM_RESCHED

PCB address              829324C0    JIB address              82943D40
PHD address              8CE50000    Swapfile disk address    00000000
KTB vector address       829327B0    HWPCB address   FFFFFFFF.8CE50080
Callback vector address  00000000    Termination mailbox          0000
Master internal PID      00010046    Subprocess count                0
Creator extended PID     00000000    Creator internal PID     00000000
Previous CPU Id          00000000    Current CPU Id           00000000
Previous ASNSEQ  000000000000000E    Previous ASN     0000000000000066
Initial process priority        3    # open files remaining       4987/5000
Delete pending count            0    Direct I/O count/limit        665/1024
UIC                [00300,000300]    Buffered I/O count/limit    10000/10000
Abs time of last event   01F54C81    BUFIO byte count/limit 
2097952/2097952
# of threads                    1    ASTs remaining                840/1200
Swapped copy of LEFC0    00000000    Timer entries remaining       399/400
Swapped copy of LEFC1    00000000    Active page table count         0
Global cluster 2 pointer 00000000    Process WS page count        4145

     Press RETURN for more.
SDA>

Process index: 0046   Name: BATCH_16          Extended PID: 2FA00146
--------------------------------------------------------------------
Global cluster 3 pointer 00000000    Global WS page count           13
PCB Specific Spinlock    828DF780    Subprocesses in job             0


















     Press RETURN for more.
SDA>

Process index: 0046   Name: BATCH_16          Extended PID: 2FA00146
--------------------------------------------------------------------

Thread index: 0000
------------------
Current capabilities:    System:     000C               QUORUM,RUN
                          User:       0000.00000000
Permanent capabilities:  System:     000C               QUORUM,RUN
                          User:       0000.00000000

Current affinities:                  00000000.00000000
Permanent affinities:                00000000.00000000
Permanent affinities:                00000000.00000000

Thread status:                       00044001
        status2:                      00000001

KTB address              829324C0    HWPCB address   FFFFFFFF.8CE50080
PKTA address             7FFEFF98    Callback vector address  00000000
Internal PID             00010046    Callback error           00000000
Extended PID             2FA00146    Current CPU id           00000000
State                     LEF        Flags                    00000000

     Press RETURN for more.
SDA>

Process index: 0046   Name: BATCH_16          Extended PID: 2FA00146
--------------------------------------------------------------------
Base priority                   3    Current priority                5
Waiting EF cluster              0    Event flag wait mask     FFEFFFFF
CPU since last quantum   00000395    Mutex count                     0
ASTs active                  NONE

SDA>
SDA>






More information about the Info-vax mailing list