>>> On 3/29/2010 at 10:24 AM, Agblad Tore <[email protected]> wrote: 
> Do I need to do something special to have DIAG mode on ?
> Before SLES11 there was some requirements when formatting the disk, but that 
> didn't help either.
> 
> Does someone have succeeded in having DIAG ON ?

Works for me:
 # dasdfmt -b 4096 -d ldl -f /dev/dasdd
Drive Geometry: 500 Cylinders * 15 Heads =  7500 Tracks

I am going to format the device /dev/dasdd in the following way:
   Device number of device : 0x1004
   Labelling device        : yes
   Disk label              : LNX1
   Disk identifier         : 0X1004
   Extent start (trk no)   : 0
   Extent end (trk no)     : 7499
   Compatible Disk Layout  : no
   Blocksize               : 4096

--->> ATTENTION! <<---
All data of that device will be lost.
Type "yes" to continue, no will leave the disk untouched: yes
Formatting the device. This may take a while (get yourself a coffee).
Finished formatting the device.
Rereading the partition table... ok

# dasd_configure 0.0.1004 1 1
Configuring device 0.0.1004
Setting device offline for DIAG access
Activating DIAG access mode
Setting device online


The "-d ldl" on the dasdfmt is still required.

Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to