Building a kernel with the DASD device driver

6.10 LPAR mode z/VM guest KVM guest

Control the build options for the DASD device driver through the kernel configuration menu.

Kernel builders: This information is intended for those who want to build their own kernel. Be aware that both compiling your own kernel or recompiling an existing distribution usually means that you have to maintain your kernel yourself.

The DASD device driver is provided as a base component with supplementary components for different device formats and optional functions. The driver can be compiled into the kernel or as a suite of separate modules that can be added and removed at runtime.

Figure 1 gives an overview of the available DASD kernel configuration options and the corresponding modules.

Figure 1. DASD kernel configuration menu options
Device Drivers --->
    ...
    Block devices --->                    (common code option CONFIG_BLK_DEV)
       ...
       --- S/390 block device drivers (depends on S390 && BLOCK) ---
       ...
       Support for DASD devices                              (CONFIG_DASD)
       ├─ Profiling support for dasd devices                 (CONFIG_DASD_PROFILE)
       ├─ Support for ECKD Disks                             (CONFIG_DASD_ECKD)
       ├─ Support for FBA  Disks                             (CONFIG_DASD_FBA)
       ├─ Support for DIAG access to Disks                   (CONFIG_DASD_DIAG)
       └─ Extended error reporting (EER)                     (CONFIG_DASD_EER)
CONFIG_DASD
This option is required if you want to work with DASD devices and is a prerequisite for all other DASD options. It can be compiled into the kernel or as a separate module, dasd_mod.

This option depends on CONFIG_CCW.

CONFIG_DASD_PROFILE
This option makes the DASD device driver write profiling information to /proc/dasd/statistics.
CONFIG_DASD_ECKD
This option can be compiled into the kernel or as a separate module, dasd_eckd_mod.
CONFIG_DASD_FBA
This option can be compiled into the kernel or as a separate module, dasd_fba_mod.
CONFIG_DASD_DIAG
This option provides support for accessing disks under z/VM® with the Diagnose250 command. It can be compiled into the kernel or as a separate module, dasd_diag_mod. You must also enable the support for ECKD or FBA disks to get the device online.
CONFIG_DASD_EER
This option provides extended error reporting for ECKD disks. It can be compiled into the kernel or included in the separate module, dasd_mod. Select this option if you want to use applications that require extended error reporting.