Are they reverting back to diag disabled after a reboot? I've had this kind of problem making the diag driver "stick" for vdisks. The Yast installer allows you to tell it that certain disks are "diag enabled", but then it seems to forget that when you first boot the system. So - I enable it with this sequence. In this example, disk 101 is a vdisk I am using for swap (and it is already defined to the system and in the fstab, and formatted with SWAPGEN before I boot): -- cd /etc/sysconfig/hardware -- echo 'DASD_USE_DIAG="1"' >>hwcfg-dasd-bus-ccw-0.0.0101 -- modprobe dasd_diag_mod -- swapoff -a -- hwdown dasd-bus-ccw-0.0.0101 -- hwup dasd-bus-ccw-0.0.0101 -- swapon -a -- mkinitrd -- zipl After this, when I reboot, the diag driver works for this disk. If it doesn't, watch the console carefully as you boot and see if the dasd_diag_mod driver is being loaded before the dasd_fba_driver, and that the disk is recognized by the diag driver.
On Tue, Mar 11, 2008 at 3:29 PM, Richard Troth <[EMAIL PROTECTED]> wrote: > folks ... > > I don't see anywhere in the programming guide where DIAG 250 does and does > not work in terms of the whole disk. Clearly, the range of blocks to be > worked in a single D250 call must be standard sizes (eg: all 4K or all 512 > or some such). But does the disk itself have to be formatted entirely with > blocks the same size? Can you still use DIAG 250 on a disk with 4K blocks > in one area even though another area has a different blocksize? > > Is there an impact to MDC from mixed blocksizes? > > I confess, this is a Linux question, and I will be asking on that list too. > (Because I think there may be a driver issue within Linux.) For a lot of > things, we need to use DIAG 250, especially for EDEV. But I've got a fresh > installation of SLES10 and when I flag my 3390s for DIAG (supposedly meaning > 250) they keep reverting back to DIAG disabled. These 3390s are CDL > formatted, which means they have a z/OS label at the start which is not > blocked at 4K like the rest of the disk. (I have not tried throwing "LDL" > or all 4K disks at this Linux guest.) > > Thanks. > > -- R; <>< > > > -- Bruce Hayden Linux on System z Advanced Technical Support Endicott, NY
