← Back to team overview

kernel-packages team mailing list archive

[Bug 1343032] Re: Ubuntu14.04: /sys/bus/pci/slots show weird numbers as slot_name on PPC64LE

 

** Package changed: ubuntu => linux (Ubuntu)

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

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