Eric,

I remember seeing some issues with the 64bit kernel and the diag driver.  We
are just doing the equivalent of the following:

modprobe dasd_fba_mod
echo "add device range=292" >> /proc/dasd/devices
mkswap /dev/dasdg
swapon /dev/dasdg

The bottom line is that the vdisk is an fba type device.  If you're not
running the 64bit, or have the correct patches, then you can do the same
with the diag driver.

Bill

>
>Eric,
>
>You need to either have DIAG support built into your kernel, or you need to
>modprobe dasd_diag_mod.  You should probably make sure that dasd_diag_mod.o
>is on your initrd by re-running mkinitrd.
>
>
>Mark Post
>
>-----Original Message-----
>
>
>Our z/VM folks have configured me a vdisk which I am trying to make use of
>in my Guest Linux install.  It seems that I was able to do this under
>SLES7 however, am having difficulty doing it with SLES8.  Perhaps I have
>forgotten something along the way or something is misconfigured.  Second
>set of eyes please....
>
>i cms
>
>q disk
>LABEL  VDEV M  STAT   CYL TYPE BLKSZ   FILES  BLKS USED-(%) BLKS LEFT  BLK
>TOTAL
>LXSWAP 292  D   R/W    FB 9336 1024        1     100000-99          0
>100000
>
>00000 * * * Top of File * * *
>00001 /*   */
>00002 SET CMSTYPE HT
>00003 SYNONYM SYN
>00004 TERM MODE VM
>00005 SET PF12 RETRIEVE
>00006 ACCESS 200 C
>00007 ACCESS 201 E
>00008 ACCESS 202 F
>00009 ACCESS 203 G
>00010 ACCESS 204 H
>00011 ACCESS 205 I
>00012 ACCESS 206 J
>00013 SET CMSTYPE RT
>00014 'SET LDRTBLS 25'
>00015 SET CMSTYPE RT
>00016 queue '1'
>00017 queue 'LXSWAP'
>00018 ''FORMAT 292 D''
>00019 if rc <> 0 then exit rc
>00020 queue '1'
>00021 'RESERVE LINUX SWAP D6'
>00022 if rc <> 0 then exit rc
>
># cat /etc/zipl.conf
>
># Generated by YaST2
>[defaultboot]
>default=ipl
>
>[ipl]
>target=/boot/zipl
>image=/boot/kernel/image
>ramdisk=/boot/initrd
>parameters="dasd=200-204,205,292 root=/dev/systedg/rootlv"
>
>[dumpdasd]
>target=/boot/zipl
>dumpto=/dev/dasd??
>
>[dumptape]
>target=/boot/zipl
>dumpto=/dev/rtibm0
>
>
># cat /proc/dasd/devices
>0200(ECKD) at ( 94:  0) is dasda      : active at blocksize: 4096, 144000
>blocks, 562 MB
>0201(ECKD) at ( 94:  4) is dasdb      : active at blocksize: 4096, 594000
>blocks, 2320 MB
>0202(ECKD) at ( 94:  8) is dasdc      : active at blocksize: 4096, 594000
>blocks, 2320 MB
>0203(ECKD) at ( 94: 12) is dasdd      : active at blocksize: 4096, 594000
>blocks, 2320 MB
>0204(ECKD) at ( 94: 16) is dasde      : active at blocksize: 4096, 594000
>blocks, 2320 MB
>0205(ECKD) at ( 94: 20) is dasdf      : active at blocksize: 4096, 594000
>blocks, 2320 MB
>0292(none) at ( 94: 24) is dasdg      : unknown
>
>As you can see the device I am looking to configure as swap is 0292.  It
>appears unknown.
>
># swapon /dev/dasdg1
>swapon: /dev/dasdg1: No such device
>
>dasdfmt fails as well, No such device...
>
>Thanks!
>Eric Sammons
>(804)697-3925
>FRIT - Unix Systems

Reply via email to