kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #87305
[Bug 1380432] Comment bridged from LTC Bugzilla
------- Comment From suka@xxxxxxxxxx 2014-10-30 23:03 EDT-------
(In reply to comment #12)
> (In reply to comment #11)
> > Since I'm unsure how to setup an LPAR on our POWER8 machine (we are running
> > in NV mode), can you test the following kernel to see if it solves the issue:
> >
> > http://people.canonical.com/~arges/lp1380432/
> >
> > Thanks,
>
> Sure. I will try it out in a couple of days.
I tried this out today and it working as expected:
(cp-catalog is a simple test case posted here)
https://lkml.org/lkml/2014/10/7/86
root@ltcbrazos2-lp02:/home/guest# uname -a
Linux ltcbrazos2-lp02.austin.ibm.com 3.16.0-23-generic #30 SMP Mon Oct 20 14:04:24 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
root@ltcbrazos2-lp02:/home/guest# ./cp-catalog 5 > /tmp/catalog-5
root@ltcbrazos2-lp02:/home/guest# ./cp-catalog 4096 > /tmp/catalog-4096
root@ltcbrazos2-lp02:/home/guest# diff /tmp/catalog-5 /tmp/catalog-4096
root@ltcbrazos2-lp02:/home/guest# ls -l !*
ls -l /tmp/catalog-5 /tmp/catalog-4096
-rw-r--r-- 1 root root 262144 Oct 30 18:51 /tmp/catalog-4096
-rw-r--r-- 1 root root 262144 Oct 30 18:51 /tmp/catalog-5
root@ltcbrazos2-lp02:/home/guest# ls /sys/bus/event_source/devices/
breakpoint cpu hv_24x7 hv_gpci software tracepoint
root@ltcbrazos2-lp02:/home/guest# ls /sys/bus/event_source/devices/hv_24x7/interface/
catalog catalog_len catalog_version
root@ltcbrazos2-lp02:/home/guest# cat /sys/bus/event_source/devices/hv_24x7/interface/catalog_len
262144
--
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/1380432
Title:
24x7 counters: Bug in catalog_read()
Status in “linux” package in Ubuntu:
In Progress
Status in “linux” source package in Utopic:
In Progress
Bug description:
---Problem Description---
24x7 counters: Bug in catalog_read()
---Additional Hardware Info---
Power8 system with support for 24x7 counters
Machine Type = Power8 IBM,9119-MME
---Steps to Reproduce---
cp /sys/bus/event_source/devices/hv_24x7/interface/catalog /tmp
ls -l /tmp/catalog
Shows a file size 0 for the /tmp/catalog.
We recently discovered a bug in the upstream Linux kernel. It was
fixed by this patch
https://lkml.org/lkml/2014/10/1/35
and that patch is scheduled to be included in powerpc tree.
When it is included, we should back port to Ubuntu 14.10 or next
release.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1380432/+subscriptions