Stephen,

as the current maintainer of zipl I'm trying to understand the reasoning 
behind your enhancement requests. The way I understand it you want to be 
able to use zipl on a CMS formatted disk to enable it for IPL. zipl does 
support CMS formatted disks (although not with the DIAG access method) and 
it seemed to work during a quick test (see below). Could you provide a 
transcript of the commands you entered and the system responses you got to 
further illustrate the problem that you are encountering when trying to 
use zipl on/ipl from a CMS formatted minidisk?


Transcript of successful boot from CMS minidisk (kernel 2.6.25, s390-tools 
version 1.6.0, z/VM 5.2.0):

On CMS:
=======

def t3390 7000 100
00: DASD 7000 DEFINED

format 7000 z ( blksize 4096
DMSFOR603R FORMAT will erase all files on disk Z(7000). Do you wish to 
continue?
 Enter 1 (YES) or 0 (NO).
1
DMSFOR605R Enter disk label:
test
DMSFOR733I Formatting disk Z
DMSFOR732I 100 cylinders formatted on Z(7000)

On Linux:
=========

[EMAIL PROTECTED] ~]# chccwdev -e 7000
Setting device 0.0.7000 online
Done
[EMAIL PROTECTED] ~]# dmesg | tail -n 3
dasd(eckd): 0.0.7000: 3390/0A(CU:3990/01) Cyl:100 Head:15 Sec:224
dasd(eckd): 0.0.7000: (4kB blks): 72000kB at 48kB/trk linux disk layout
 dasdg:CMS1/  TEST  : dasdg1
[EMAIL PROTECTED] ~]# mkfs.ext2 -q /dev/dasdg1
[EMAIL PROTECTED] ~]# mount /dev/dasdg1 /mnt
[EMAIL PROTECTED] ~]# cp /boot/image /mnt
[EMAIL PROTECTED] ~]# cp /boot/parmfile /mnt
[EMAIL PROTECTED] ~]# zipl -V -i /mnt/image -p /mnt/parmfile -t /mnt
Target device information
  Device..........................: 5e:18
  Partition.......................: 5e:19
  Device name.....................: dasdg
  Device driver name..............: dasd
  DASD device number..............: 7000
  Type............................: disk partition
  Disk layout.....................: ECKD/linux disk layout
  Geometry - heads................: 15
  Geometry - sectors..............: 12
  Geometry - cylinders............: 100
  Geometry - start................: 3
  File system block size..........: 4096
  Physical block size.............: 4096
  Device size in physical blocks..: 17997
Building bootmap in '/mnt'
Adding IPL section
  kernel image......: /mnt/image
  kernel parmline...: 'dasd=4d64-4d67,4f29,4f2a root=/dev/dasdc1 ro 
noinitrd selinux=0 '
  component address:
    kernel image....: 0x00010000-0x00673fff
    parmline........: 0x00001000-0x00001fff
    internal loader.: 0x0000a000-0x0000afff
Preparing boot device: dasdg (7000).
Syncing disks...
Done.

On CMS:
=======

00: IPL 7000
00: Booting default...
Linux version ...


Regards,
  Peter



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to