Alan,

Personally, I suggest abandoning SWAPGEN and just formatting/reserving the 
MDISK via CMS, then doing a mkswap /dev/disk/by-path/ccw-0.0.0xxx-part1 in your 
boot.local (or equivalent).  This assumes that you are consistent in your 
assignment of the swap disk address.  Then you don't have to worry about 
keeping some external routine up to date with changes in swap handling within a 
Linux guest. 

Religious arguments....start your engines!

Thanks,


Sam Cohen
Levi, Ray & Shoup, Inc.



-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan 
Ackerman
Sent: Monday, May 16, 2016 11:29 AM
To: LINUX-390@VM.MARIST.EDU
Subject: SWAPGEN + RHEL 7

Does anyone have SWAPGEN working with RHEL 7?
 
We are having problem with SWAPGEN EXEC. 
 
If I do not use the FBAPART option on SWAPGEN, I get these errors at the end of 
every boot:
 
08:38:52 [   24.130992] attempt to access beyond end of device                
[   24.131000] dasdc1: rw=0, want=415944, limit=415941                         
[   24.146104] attempt to access beyond end of device                         
[   24.146108] dasdd1: rw=0, want=831896, limit=831890                        
 
If I do use the FBAPART option, I get these errors during every boot:
 
14:54:44 EXEC SWAPGEN 0101 ( FBAPART REUSE DEBUG                              
14:54:44 SWPSWA0012I DIAG swap disk defined at virtual address 0101 with      
dasd=0.0.0100 rd.dasd=0.0.0101 rd.dasd=0.0.0102 cio_ignore=all,!0.0.0009 rd.znet
=qeth,0.0.aa00,0.0.aa01,0.0.aa02,layer2=1,portno=0 L                          
[    1.046050] dasdconf.sh Warning: Could not find 0.0.0101 in sysfs          
[    1.046161] dasdconf.sh Warning: Could not find 0.0.0101 in sysfs           
[    1.046735] dasdconf.sh Warning: Could not find 0.0.0101 in sysfs          
[    1.071256] dasd-fba 0.0.0101: New FBA DASD 9336/10 (CU 6310/80) with 409 MB
and 512 B/blk                                                                 
[    1.103730] dasdconf.sh Warning: 0.0.0101 is already online, not configuring
[    5.881606] dasdconf.sh Warning: 0.0.0101 is already online, not configuring
["[32m  OK  "[0m] Found device /dev/disk/by-path/ccw-0.0.0101-part1.          
         Activating swap /dev/disk/by-path/ccw-0.0.0101-part1...              
["[1;31mFAILED"[0m] Failed to activate swap /dev/disk/by-path/ccw-0.0.0101-part1
.                                                                             
See 'systemctl status "dev-disk-by\\x2d....0.0101\\x2dpart1.swap"' for details.
 
RHEL 7.2 on z/VM 6.3.
 
Filename Filetype Fm Format Lrecl    Records     Blocks   Date       Time 
SWAPGEN  HELPCMS  B1 V         76        279          3 2013-12-23 10:45:36
SWAPGEN  EXEC     B2 V         72        599          7 2013-12-17 21:52:11


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to