← Back to team overview

kernel-packages team mailing list archive

[Bug 1553171] Comment bridged from LTC Bugzilla

 

------- Comment From brueckner@xxxxxxxxxx 2016-03-18 07:45 EDT-------
Problem should be solved by a backport of the kernel upstream commit:

commit ce0c12b633846a47e103842149a5bac2e5d261ec
Author: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Date:   Tue Mar 1 12:58:06 2016 +0100

s390/dasd: fix diag 0x250 inline assembly
git commit 1ec2772e0c3c ("s390/diag: add a statistic for diagnose
calls") added function calls to gather diagnose statistics.
In case of the dasd diag driver the function call was added between a
register asm statement which initialized register r2 and the inline
assembly itself.  The function call clobbers the contents of register
r2 and therefore the diag 0x250 call behaves in a more or less random
way.
Fix this by extracting the function call into a separate function like
we do everywhere else.
Fixes: 1ec2772e0c3c ("s390/diag: add a statistic for diagnose calls")
Cc: <stable@xxxxxxxxxxxxxxx> # 4.4+
Reported-and-tested-by: Stefan Haberland <sth@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

-- 
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:
  New

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