← Back to team overview

kernel-packages team mailing list archive

[Bug 1553171] Comment bridged from LTC Bugzilla

 

------- Comment From PSCHMIDT@xxxxxxxxxx 2016-03-23 04:57 EDT-------
tested with kernel 4.4.0-15-generic, works fine now, thanks!

root@s3515027:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
UBUNTU_CODENAME=xenial

root@s3515027:~# modprobe dasd_diag_mod
root@s3515027:~# chccwdev -d 0.0.2f4f
root@s3515027:~# cd /sys/bus/ccw/devices/0.0.2f4f
root@s3515027:/sys/bus/ccw/devices/0.0.2f4f# echo 1 > use_diag
root@s3515027:~# chccwdev -e 0.0.2f4f
Setting device 0.0.2f4f online
Done
root@s3515027:~# lsmod |grep diag
dasd_diag_mod          20480  2
dasd_mod              135168  7 dasd_eckd_mod,dasd_diag_mod

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1553171

Title:
  eckd dasd can not be set online when using "use_diag=1" mode

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  == Comment: #0 - Peter Schmidt <PSCHMIDT@xxxxxxxxxx> - 2016-03-01 04:41:23 ==
  ---Problem Description---
  eckd dasd can not be set online when using "use_diag=1" mode
   
  Contact Information = pschmidt@xxxxxxxxxx 
   
  ---uname output---
  Linux s3515023 4.4.0-7-generic #22-Ubuntu SMP Thu Feb 18 21:13:28 UTC 2016 s390x s390x s390x GNU/Linux
   
  Machine Type = s390 z/VM Guest 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   try to set ldl formatted eckd dasd online when use_diag is enabled
  use ldl formatted disk <dasd>
  load driver    "modprobe dasd_diag_mod"
  set dasd offline "chccwdev -d 0.0.<dasd>"
  enable diag mode for this dasd "/sys/bus/ccw/devices/0.0.<dasd># echo 1 > use_diag"
  set dasd online "chccwdev -e 0.0.<dasd>"

  ERROR appears 
  root@xxxxxx:/sys/bus/ccw/devices/0.0.<dasd># chccwdev -e 0.0.<dasd>
  Setting device 0.0.<dasd> online
  Failed (Operation not supported)
  Failed

   
  Stack trace output:
   no
   
  Oops output:
   no
   
  System Dump Info:
    The system is not configured to capture a system dump.
   
  Device driver error code:
   -95

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1553171/+subscriptions