[Info-vax] Processes hang on USB-access
Joukj
joukj at hrem.nano.tudelft.nl
Mon Feb 21 02:03:54 EST 2022
Volker Halle wrote:
> Jouk,
>
> most likely a hardware and/or OpenVMS driver (DNDRIVER isn't it ?) issue.
>
> Did you try a DISMOUNT/ABORT - this must be the first command to dismount the disk. If another DISMOUNT is already hanging, it won't help.
$ dism/abort dna2
%DISM-W-CANNOTDMT, DNA2 cannot be dismounted
%DISM-W-USERFILES, 2 user files open on volume
>
> 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
For the hanging process I get:
Channel CCB Window Status Device/file accessed
------- --- ------ ------ --------------------
01F0 7FF7C3C0 00000000 HOPAK$DNA2:
And then I get my SDA-process in RWAST
>
>
> Then also try SDA> SHOW DEV DNcn: to determine the state of the IO.
SDA> show dev dna2
I/O data structures
-------------------
HOPAK$DNA2 WD My Passport 2626 UCB:
82751A40
Device status: 00021910 online,bsy,valid,unload,lcl_valid
Characteristics: 1C4D4008 dir,fod,shr,avl,mnt,elg,idv,odv,rnd
20010281 clu,srv,nnm,nlt,dtn
SUD Status 00000000
Owner UIC [000001,000004] Operation count 1836467 ORB address
82751E40
PID 00000000 Error count 0 DDB address
8274C840
Alloc. lock ID 34000866 Reference count 4 DDT address
81E331A0
Alloc. class 0 Online count 1 SUD address
826C6B00
Class/Type 01/B6 BOFF 00000110 VCB address
828B18C0
Def. buf. size 512 Byte count 00007C00 CRB address
82751580
DEVDEPEND 88000101 SVAPTE 829715C8 IRP address
82971540
DEVDEPND2 00000000 SVPN 00006B5B Fork R3
82751600
DEVDEPND3 00000000 DEVSTS 00000004 Fork R4
82751A40
FLCK index 3A I/O wait queue
829950C0
DLCK address 826228C0
I/O data structures
-------------------
I/O request queue
-----------------
STATE IRP PID MODE CHAN FUNC WCB EFN AST
IOSB STATUS
C 82971540 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E4B8 8012
readpblk func,virtual
P 829950C0 00010049 K 0010 200C 00000000 128
FFFFFFFF.81D2FBD0 000000
00.7AEE7558 8002
readpblk func
P 8299D100 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E4E0 8012
readpblk func,virtual
Press RETURN for more.
/O data structures
-------------------
P 8297FAC0 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E508 8012
readpblk func,virtual
P 8297A300 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E530 8012
readpblk func,virtual
P 8298CC00 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E558 8012
readpblk func,virtual
P 82979340 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E580 8012
readpblk func,virtual
P 829A4840 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E5A8 8012
readpblk func,virtual
Press RETURN for more.
I/O data structures
-------------------
P 82991400 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E5D0 8012
readpblk func,virtual
P 82961E80 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E5F8 8012
readpblk func,virtual
P 8295AE00 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E620 8012
readpblk func,virtual
P 82997B80 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E648 8012
readpblk func,virtual
Press RETURN for more.
I/O data structures
-------------------
P 82967640 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E670 8012
readpblk func,virtual
P 8296CE00 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E698 8012
readpblk func,virtual
P 829A3AC0 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E6C0 8012
readpblk func,virtual
P 82979C40 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E6E8 8012
readpblk func,virtual
P 8295F600 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E710 8012
readpblk func,virtual
Press RETURN for more.
I/O data structures
-------------------
P 8297DB40 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E738 8012
readpblk func,virtual
P 8298DE00 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E760 8012
readpblk func,virtual
P 8298FB40 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E788 8012
readpblk func,virtual
P 82968F00 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269E7B0 8012
readpblk func,virtual
etc. etc. etc. (hundreds of them
SDA>
I/O data structures
-------------------
P 82999D40 0001004A U 0210 000C 8276D980 20
00000000.00054620 000000
00.0269AC08 8012
readpblk func,virtual
--- Volume Control Block (VCB) 828B18C0 ---
Volume: HOPAK3 Lock name: HOPAK3
Status: A0 extfid,system
Status2: 06 nocache,mountver
Status3: 00000032 struc_ods5,special_files,noxfccache
Mount count 1 Rel. volume 0 AQB address
826A8040
Transactions 3 Max. files 16711679 RVT address
82751A40
Free blocks 2209097424 Rsvd. files 10 FCB queue
828B1340
Window size 7 Cluster size 16 Cache blk.
828B1600
Vol. lock ID 3D000872 Def. extend sz. 5
Block. lock ID 36001577 Record size 0
Press RETURN for more.
SDA>
I/O data structures
-------------------
--- ACP Queue Block (AQB) 826A8040 ---
ACP requests are serviced by the eXtended Qio Processor (XQP)
Status: 14 defsys,xqioproc
Mount count 19 ACP type f11v2 Request queue
00000000
ACP class 0
*** ACP request queue is empty ***
Press RETURN for more.
Press RETURN for more.
I do not know if this indicates anything. Is this "I/O wait queue" OK?
> Instead of 'resetting' the system, try a forced crash at least once (CTRL-P >>> CRASH on the console). This would at least document the state of the system at that time. Then look at the dump with SDA, while the system is up and running again.
>
> And as this is a VSI OpenVMS Alpha version, also try the VSI OpenVMS Forum.
>
> Volker.
More information about the Info-vax
mailing list