kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #72213
[Bug 1343032] Re: Ubuntu14.04: /sys/bus/pci/slots show weird numbers as slot_name on PPC64LE
Did this issue occur in a previous version of Ubuntu, or is this a new
issue?
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.16 kernel[0].
If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.
If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-rc6-utopic/
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
--
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/1343032
Title:
Ubuntu14.04: /sys/bus/pci/slots show weird numbers as slot_name on
PPC64LE
Status in “linux” package in Ubuntu:
Incomplete
Bug description:
---Problem Description---
root@powerio-le21:/sys/bus/pci/slots# ls -l
total 0
drwxr-xr-x 2 root root 0 Jul 15 21:03 1
drwxr-xr-x 2 root root 0 Jul 15 21:03 16
drwxr-xr-x 2 root root 0 Jul 15 21:03 17
drwxr-xr-x 2 root root 0 Jul 15 21:03 8
drwxr-xr-x 2 root root 0 Jul 15 21:03 8-1
drwxr-xr-x 2 root root 0 Jul 15 21:03 9
drwxr-xr-x 2 root root 0 Jul 15 21:03 9-1
In /sys/bus/pci/slots directory, there are bunch of numbers. What
these numbers mean? Do we expect slot_name for each pci device here?
Some applications read these number as slot_name for pci device. For
example, there is a Solstice SAS adapter on this system, when we dump
detail information for this adapter, we got "Platform Location = 8".
IOA Hardware Resource Information Details
Manufacturer . . . . . . . . . . . . . . : IBM
Machine Type and Model . . . . . . . . . : 57D7001SISIOA
Firmware Version . . . . . . . . . . . . : FFFFFFFF
Serial Number. . . . . . . . . . . . . . : 00398091
Part Number. . . . . . . . . . . . . . . : 0000000E3229
Plant of Manufacturer. . . . . . . . . . : 00UE
DRAM Size. . . . . . . . . . . . . . . . : 512 MB
Resource Name. . . . . . . . . . . . . . : /dev/sg19
Physical location
PCI Address. . . . . . . . . . . . . . . : 0001:04:00.0
Resource Path. . . . . . . . . . . . . . : FE
SCSI Host Number . . . . . . . . . . . . : 0
Platform Location. . . . . . . . . . . . : 8
---uname output---
3.13.0
Machine Type = P8
---Steps to Reproduce---
iprconfig->1
In other distros, we see the real location code in this directory. For example:
[root@jupiter1-lp1 slots]# pwd
/sys/bus/pci/slots
drwxr-xr-x. 2 root root 0 Jul 9 12:15 UTMP3.C02.01AC022-P1-C10
drwxr-xr-x. 2 root root 0 Jul 9 12:15 UTMP3.C02.01AC022-P1-C2
drwxr-xr-x. 2 root root 0 Jul 9 12:15 UTMP3.C02.01AC022-P1-C3
drwxr-xr-x. 2 root root 0 Jul 9 12:15 UTMP3.C02.01AC022-P1-C9
or in PowerKVM, It is empty in /sys/bus/pci/slots.
In Ubuntu, these random numbers break some code in iprconfig. What is
generating these in Ubuntu?
Thanks,
Wendy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1343032/+subscriptions