Checking the GenWQE device driver setup

SUSE Linux Enterprise Server 15 SP5 LPAR mode z/VM guest

Perform these tasks if GenWQE does not work as expected.

Procedure

  1. Confirm that the device driver is loaded.
    # lsmod | grep genwqe
    genwqe_card 88997 0
    crc_itu_t 1910 1 genwqe_card
    If the genwqe_card module is not listed in the command output, load it with modprobe.
    # modprobe genwqe_card
    The genwqe_card module does not have module parameters.
  2. Confirm that GenWQE device nodes exist and that the nodes have the required permissions.
    The nodes must grant read and write permissions to all users, for example:
    # ls -l /dev/genwqe*
    crwrwrw 1 root root 249, 0 Jun 30 10:01 /dev/genwqe0_card
    crwrwrw 1 root root 248, 0 Jun 30 10:01 /dev/genwqe1_card
    If the permissions are not crwrwrw, create a file /etc/udev/rules.d/52-genwqedevices.rules with this rule as its content:
    KERNEL=="genwqe*", MODE="0666"
    The new rule takes effect next time the GenWQE device driver is loaded.
    Tip: Use the chmod command to temporarily set the permissions.

What to do next

You can find debug information in the Linux® source tree at /sys/kernel/debug/genwqe and at /sys/class/genwqe.