[Kernel-packages] [Bug 1392021] Comment bridged from LTC Bugzilla

2014-12-03 Thread bugproxy
--- Comment From christian.r...@de.ibm.com 2014-12-03 16:56 EDT---
Successfully tested the 3.16.0-26-generic packages of which the extended 
package has the right (2.0.25) version of the genwqe_card module in. I was able 
to rmmod, modprobe and on reboot the system successfully loaded the genwqe 
device driver. I could run compression/decompression workload successfully.

That said, I had to manually install the .deb packages found on
https://launchpad.net/~canonical-kernel-
team/+archive/ubuntu/ppa/+build/6612025 as 'apt' was not showing the
3.16.0-26 kernel updates from the 'trusty-proposed' repository for my
vivid 15.04 system.

crund@tulg3:~$ uname -a
Linux tulg3 3.16.0-26-generic #35-Ubuntu SMP Tue Dec 2 16:38:01 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux
crund@tulg3:~$ modinfo genwqe_card
filename:   
/lib/modules/3.16.0-26-generic/kernel/drivers/misc/genwqe/genwqe_card.ko

-- 
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/1392021

Title:
  Ubuntu 15.04 [genwqe_start] err: could not setup servicelayer

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Utopic:
  Fix Committed
Status in linux source package in Vivid:
  Triaged

Bug description:
  [Impact]
  The IBM GenWQE Accelerator Adapter does not work correctly in the latest 3.16 
kernel.

  [Test Case]
  1) Create a guest system on PowerKVM using image disk file, install from 
virutal SCSI DVD. Especially assign the GenWQE card via PCI passthrough.
  2) Start up the guest
  3) lspci -knd :044b
  3) dmesg|grep genwqe
  4) ) modprobe genwqe_card.ko
  No module is assigned to the card
  5) ls -l /dev/genwq* shows no file at all.
  One device file would be expected here.

  [Fix]
  The following patches cleanly cherry-pick into 3.16
  1451f41 GenWQE: Support blocking when DDCB queue is busy
  08e4906 GenWQE: Fix problem when reading HSI and Retc
  d9c11d4 GenWQE: Fix checkpatch complaints
  bc407dd GenWQE: Check return code of pci_sriov_enable
  2d880cc GenWQE: Do not modify return code of genwqe_set_interrupt_capability
  26d8f6f GenWQE: Update author information
  64df2ec GenWQE: Remove sysfs entry for driver version
  95a8825 GenWQE: Check pci_get_totalvfs return code
  32182cd misc: remove DEFINE_PCI_DEVICE_TABLE usage
  5b35b20 GenWQE: Remove unnecessary include
  7276883 misc/GenWQE: fix pci_enable_msi usage
  d584f69 GenWQE: Increase driver version number
  93b772b GenWQE: Improve hardware error recovery
  fb14545 GenWQE: Add support for EEH error recovery
  c1f732a GenWQE: Add sysfs interface for bitstream reload

  --

  == Comment: #0 - Christian Rund  - 2014-11-11 
10:45:12 ==
  ---Problem Description---
  In our opinion the 2.0.15 version of the IBM GenWQE Accelerator Adapter 
driver part of Ubuntu 15.04 is not working. A higher version would be needed. 
The driver is part of the linux-image-extra-3.16.0-24-generic package.

  [3.330906] genwqe 0001:00:02.0: enabling device (0140 -> 0142)
  [3.332443] genwqe 0001:00:02.0: ibm,query-pe-dma-windows(2620) 1 
800 2001 returned 0
  [3.333159] genwqe 0001:00:02.0: ibm,create-pe-dma-window(2720) 1 
800 2001 10 1f returned -1 (liobn = 0x0 starting addr = 0 0)
  [4.403223] genwqe 0001:00:02.0: [genwqe_start] err: could not setup 
servicelayer!
  [4.40] genwqe 0001:00:02.0: err: cannot start card services! (err=-5)
  [4.404471] genwqe: probe of 0001:00:02.0 failed with error -5
  [321140.194392] genwqe_card: module verification failed: signature and/or  
required key missing - tainting kernel

  modinfo genwqe_card
  filename:   
/lib/modules/3.16.0-24-generic/kernel/drivers/misc/genwqe/genwqe_card.ko
  license:GPL
  version:2.0.15
  description:GenWQE Card
  author: Michal Jung 
  author: Joerg-Stephan Vogt 
  author: Michael Ruettger 
  author: Frank Haverkamp 
  srcversion: 69FBCA52AFAF3B71342E43B
  alias:  pci:v1014d044Bsv1014sd044Bbc12sc00i00*
  alias:  pci:v1014dsvsd035Fbc12sc00i00*
  alias:  pci:v1014d044Bsvsd035Fbc12sc00i00*
  alias:  pci:v1014dsvsdbc12sc00i00*
  alias:  pci:v1014d044Bsvsdbc12sc00i00*
  alias:  pci:v1014d044Bsv1014sd035Fbc12sc00i00*
  depends:crc-itu-t
  intree: Y
  vermagic:   3.16.0-24-generic SMP mod_unload modversions
  signer: Magrathea: Glacier signing key
  sig_key:32:F4:D0:34:89:C6:7C:D7:71:67:94:F6:0C:00:D7:F7:E8:D2:78:0E
  sig_hashalgo:   sha512

  Contact Information = christian.r...@de.ibm.com, Frank Haverkamp
  haver...@de.ibm.com

  ---uname output---
  Linux tulg3 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:06:19 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux

  ---Additional Hardware Info

[Kernel-packages] [Bug 1392021] Comment bridged from LTC Bugzilla

2014-12-02 Thread bugproxy
--- Comment From christian.r...@de.ibm.com 2014-12-02 18:22 EDT---
Updated the system to 3.16.0-25 using the vivid-proposed repository following 
the instructions on https://wiki.ubuntu.com/Testing/EnableProposed. The 
linux-image-extra-3.16.0-25-generic package was part of the update but still 
contains the faulty 2.0.15 version showing the I/O error below at boot time and 
on manual rmmod genwqe_card and modprobe genwqe_card.

crund@tulg3:~$ uname -a
Linux tulg3 3.16.0-25-generic #33-Ubuntu SMP Tue Nov 4 12:05:54 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux

dmesg output:
[5.899584] genwqe 0001:00:02.0: [genwqe_start] err: could not setup 
servicelayer!
[5.899702] genwqe 0001:00:02.0: err: cannot start card services! (err=-5)
[5.900906] genwqe: probe of 0001:00:02.0 failed with error -5
[5.900982] genwqe 0002:00:03.0: enabling device (0140 -> 0142)
[5.902130] genwqe 0002:00:03.0: ibm,query-pe-dma-windows(2026) 1 800 
2009 returned 0
[5.909833] genwqe 0002:00:03.0: ibm,create-pe-dma-window(2027) 1 800 
2009 10 23 returned -1 (liobn = 0x0 starting addr = 0 0)
[6.74] init: plymouth-upstart-bridge main process ended, respawning
[6.979612] genwqe 0002:00:03.0: [genwqe_start] err: could not setup 
servicelayer!
[6.979726] genwqe 0002:00:03.0: err: cannot start card services! (err=-5)
[6.980833] genwqe: probe of 0002:00:03.0 failed with error -5
[7.016438] init: plymouth-splash main process (1001) terminated with status 
1
[   32.081696] systemd-logind[1104]: New seat seat0.
[   32.090494] systemd-logind[1104]: Failed to start user service: Unknown 
unit: user@1002.service
[   32.098073] systemd-logind[1104]: New session 1 of user crund.
[  251.204016] genwqe 0001:00:02.0: [genwqe_start] err: could not setup 
servicelayer!
[  251.204127] genwqe 0001:00:02.0: err: cannot start card services! (err=-5)
[  251.205240] genwqe: probe of 0001:00:02.0 failed with error -5
[  252.275974] genwqe 0002:00:03.0: [genwqe_start] err: could not setup 
servicelayer!
[  252.276083] genwqe 0002:00:03.0: err: cannot start card services! (err=-5)
[  252.277177] genwqe: probe of 0002:00:03.0 failed with error -5

-- 
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/1392021

Title:
  Ubuntu 15.04 [genwqe_start] err: could not setup servicelayer

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Utopic:
  Fix Committed
Status in linux source package in Vivid:
  Fix Released

Bug description:
  [Impact]
  The IBM GenWQE Accelerator Adapter does not work correctly in the latest 3.16 
kernel.

  [Test Case]
  1) Create a guest system on PowerKVM using image disk file, install from 
virutal SCSI DVD. Especially assign the GenWQE card via PCI passthrough.
  2) Start up the guest
  3) lspci -knd :044b
  3) dmesg|grep genwqe
  4) ) modprobe genwqe_card.ko
  No module is assigned to the card
  5) ls -l /dev/genwq* shows no file at all.
  One device file would be expected here.

  [Fix]
  The following patches cleanly cherry-pick into 3.16
  1451f41 GenWQE: Support blocking when DDCB queue is busy
  08e4906 GenWQE: Fix problem when reading HSI and Retc
  d9c11d4 GenWQE: Fix checkpatch complaints
  bc407dd GenWQE: Check return code of pci_sriov_enable
  2d880cc GenWQE: Do not modify return code of genwqe_set_interrupt_capability
  26d8f6f GenWQE: Update author information
  64df2ec GenWQE: Remove sysfs entry for driver version
  95a8825 GenWQE: Check pci_get_totalvfs return code
  32182cd misc: remove DEFINE_PCI_DEVICE_TABLE usage
  5b35b20 GenWQE: Remove unnecessary include
  7276883 misc/GenWQE: fix pci_enable_msi usage
  d584f69 GenWQE: Increase driver version number
  93b772b GenWQE: Improve hardware error recovery
  fb14545 GenWQE: Add support for EEH error recovery
  c1f732a GenWQE: Add sysfs interface for bitstream reload

  --

  == Comment: #0 - Christian Rund  - 2014-11-11 
10:45:12 ==
  ---Problem Description---
  In our opinion the 2.0.15 version of the IBM GenWQE Accelerator Adapter 
driver part of Ubuntu 15.04 is not working. A higher version would be needed. 
The driver is part of the linux-image-extra-3.16.0-24-generic package.

  [3.330906] genwqe 0001:00:02.0: enabling device (0140 -> 0142)
  [3.332443] genwqe 0001:00:02.0: ibm,query-pe-dma-windows(2620) 1 
800 2001 returned 0
  [3.333159] genwqe 0001:00:02.0: ibm,create-pe-dma-window(2720) 1 
800 2001 10 1f returned -1 (liobn = 0x0 starting addr = 0 0)
  [4.403223] genwqe 0001:00:02.0: [genwqe_start] err: could not setup 
servicelayer!
  [4.40] genwqe 0001:00:02.0: err: cannot start card services! (err=-5)
  [4.404471] genwqe: probe of 0001:00:02.0 failed with error -5
  [321140.194392] genwqe_card: module verification failed: signature and/or  
required key missing - tainting kernel

  modinfo genwqe_card
  file

[Kernel-packages] [Bug 1392021] Comment bridged from LTC Bugzilla

2014-11-19 Thread bugproxy
--- Comment From thierry.fa...@fr.ibm.com 2014-11-19 15:21 EDT---
Changed status as driver is available

-- 
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/1392021

Title:
  Ubuntu 15.04 [genwqe_start] err: could not setup servicelayer

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  == Comment: #0 - Christian Rund  - 2014-11-11 
10:45:12 ==
  ---Problem Description---
  In our opinion the 2.0.15 version of the IBM GenWQE Accelerator Adapter 
driver part of Ubuntu 15.04 is not working. A higher version would be needed. 
The driver is part of the linux-image-extra-3.16.0-24-generic package.

  [3.330906] genwqe 0001:00:02.0: enabling device (0140 -> 0142)
  [3.332443] genwqe 0001:00:02.0: ibm,query-pe-dma-windows(2620) 1 
800 2001 returned 0
  [3.333159] genwqe 0001:00:02.0: ibm,create-pe-dma-window(2720) 1 
800 2001 10 1f returned -1 (liobn = 0x0 starting addr = 0 0)
  [4.403223] genwqe 0001:00:02.0: [genwqe_start] err: could not setup 
servicelayer!
  [4.40] genwqe 0001:00:02.0: err: cannot start card services! (err=-5)
  [4.404471] genwqe: probe of 0001:00:02.0 failed with error -5
  [321140.194392] genwqe_card: module verification failed: signature and/or  
required key missing - tainting kernel

  modinfo genwqe_card 
  filename:   
/lib/modules/3.16.0-24-generic/kernel/drivers/misc/genwqe/genwqe_card.ko
  license:GPL
  version:2.0.15
  description:GenWQE Card
  author: Michal Jung 
  author: Joerg-Stephan Vogt 
  author: Michael Ruettger 
  author: Frank Haverkamp 
  srcversion: 69FBCA52AFAF3B71342E43B
  alias:  pci:v1014d044Bsv1014sd044Bbc12sc00i00*
  alias:  pci:v1014dsvsd035Fbc12sc00i00*
  alias:  pci:v1014d044Bsvsd035Fbc12sc00i00*
  alias:  pci:v1014dsvsdbc12sc00i00*
  alias:  pci:v1014d044Bsvsdbc12sc00i00*
  alias:  pci:v1014d044Bsv1014sd035Fbc12sc00i00*
  depends:crc-itu-t
  intree: Y
  vermagic:   3.16.0-24-generic SMP mod_unload modversions 
  signer: Magrathea: Glacier signing key
  sig_key:32:F4:D0:34:89:C6:7C:D7:71:67:94:F6:0C:00:D7:F7:E8:D2:78:0E
  sig_hashalgo:   sha512
   
  Contact Information = christian.r...@de.ibm.com, Frank Haverkamp 
haver...@de.ibm.com 
   
  ---uname output---
  Linux tulg3 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:06:19 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux
   
  ---Additional Hardware Info---
  0001:00:02.0 Processing accelerators: IBM GenWQE Accelerator Adapter
  Class: 1200  VendorID: 1014   DeviceId: 044b assigned to the PowerKVM guest 
via PCI passthrough (vfio-pci) 

   
  Machine Type = 8284-22A PowerKVM 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   1) Create a guest system on PowerKVM using image disk file, install from 
virutal SCSI DVD. Especially assign the GenWQE card via PCI passthrough.
  2) Start up the guest
  3) lspci -knd :044b
  3) dmesg|grep genwqe
  4) ) modprobe genwqe_card.ko
  No module is assigned to the card
  5) ls -l /dev/genwq* shows no file at all.
  One device file would be expected here.
   
  Stack trace output:
   no
   
  Oops output:
   no
   
  System Dump Info:
The system is not configured to capture a system dump.
   
  *Additional Instructions for christian.r...@de.ibm.com, Frank Haverkamp 
haver...@de.ibm.com: 
  -Attach sysctl -a output output to the bug.

  == Comment: #2 - Frank Haverkamp  - 2014-11-12 05:09:24 
==
  Christian and I tried out CVS version of the driver and that works. Ubuntu 
picked and unfortunate intermediate version of the driver which had broken irq 
registration. This was fixed later by Sebastian Ott and Kleber and I added on 
top of that some more patches which did cleanups and more importantly added 
System p specific recovery features e.g. like EEH handlers and a method to 
reload the bitstream for p.

  Therefore it would be great if someone could have the Ubuntu folks
  pickup the latest version from Kernel.org.

  I know that Greg KH has a good version of the code in his tree. We
  need to check if that has made it yet into Linux version (both should
  be the same).

  == Comment: #3 - Frank Haverkamp  - 2014-11-12 07:58:03 
==
  Christian has checked the linux.git version of the genwqe_card driver 
compiled against his Ubuntu kernel and found it working. 

  SHA is 206c5f60a3d902bc4b56dab2de3e88de5eb06108.
  Patched affecting the driver are usually prefixed with GenWQE or genwqe

  7276883f1f98cd0a92fdc049f69bdc0912f7fc16 misc/GenWQE: fix pci_enable_msi usage
  was the one which fixed the problem introduced by
  a30d0108b09ae46d24594a2e699c4dad21bb4af4 Use pci_enable_msi_exact() in