Get  SWAPGEN EXEC from http://www.sinenomine.net/downloads/. It formats the
disk properly, and loads it for use as swap.

> -----Original Message-----
> From: Vic Cross [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 2:06 AM
> To:   [EMAIL PROTECTED]
> Subject:      System hang with DIAG discipline and CMS RESERVE V-DISK
>
> G'day all,
>
> I am trying to use the processes discussed here for using CMS RESERVE
> format disk with the DIAG discipline of the DASD driver, and having a
> problem.
>
> When I format the disk with 4KB blocksize, my system starts normally but
> obviously the DIAG discipline does not pick up the disk.
>
> Using 512B blocksize, the DIAG discipline detects the disk but then the
> system hangs in the "Partition check" step:
>
> dasd:initializing...
> debug: reserved 2 areas of 1 pages for debugging dasd
> dasd:Registered successfully to major no 94
> dasd(diag):DIAG discipline initializing
> dasd(diag):/dev/dasdg (020E): capacity (0kB blks): 128000kB
> debug: reserved 2 areas of 1 pages for debugging dasdg
> Partition check:
>  dasdg:
>
> Our monitor shows no activity in the guest at all at this point (it's in
> PSW wait).
>
> This is a Red Hat 7.2 system, with their 2.4.9-38 kernel.
>
> This is the code that does the format:
>
> 'ACCESS 20E B'
> IF RC <> 0 THEN DO /* FORMAT IF NEEDED */
>    PUSH 'SWAP'     /* VOLUME LABEL */
>    PUSH '1'        /* ALLOW FORMAT */
>    'FORMAT 20E B ( BLK 512'
>    PUSH '1'        /* ALLOW FORMAT */
>    'RESERVE LINUX SWAP B6'
>    END
> 'RELEASE B'
>
> I've seen comments in the archives that report that DIAG was broken at
> 2.4.7 kernel level, was it fixed by 2.4.9?
>
> Any suggestions gratefully accepted!  :-)
>
> Cheers,
> Vic

Reply via email to