← Back to team overview

kernel-packages team mailing list archive

[Bug 1486180] Comment bridged from LTC Bugzilla

 

------- Comment From gpiccoli@xxxxxxxxxx 2015-12-07 21:56 EDT-------
Quick update/information: I wasn't able to perform DLPAR in the way described on bug. Normally I use command-line tool called "drmgr", and even with this tool, I couldn't perform DLPAR in the usual way.

I was able to add the adapter in LPAR via HMC, with partition powered
off. Then, once it boots, I was able to see adapter there, and in this
scenario I could perform DLPAR using the "drmgr" tool without issues,
i.e., bug wasn't reproduced in this case.

The problem is that, if the adapter is not present as "required" in LPAR
configuration, i.e, if the adapter is not present on partition boot
time, the DLPAR facility does not work for me. I got messages like

-"Dynamic reconfiguration is not supported for connector type slots on this system" ;
-"Validating PHB DLPAR capability...yes.
There are no DR capable slots on this system. Could not find drc index for 32, unable to add thePHB."

in partition console (when using "drmgr" command) or the message

"RMC network connection to the source partition is not present"

in HMC, when trying DLPAR  via web interface.

Sachin, do you know what's going on? Can you help me perform the correct
DLPAR operation to reproduce the bug?

BTW, Murilo (my co-worker) suggested that the machine's firmware level
is too outdated - should we upgrade it?

Cheers,

Guilherme

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

Title:
  Kernel OOPS during DLPAR operation with Fibre Channel adapter

Status in linux package in Ubuntu:
  New

Bug description:
  -- Problem Description --
  Kernel OOPS during DLPAR operation with Fibre Channel adapter
   
  ---uname output---
  4.1.0-1-generic
   
  ---Additional Hardware Info---
  Fibre Channel: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter (rev 03) 
   
  Machine Type = POWER8 
    
  ---Steps to Reproduce---
  1) Install Ubuntu 15.10 on a Power VM LPAR.
  2) Configure and start rtas_errd daemon
  3) Via HMC try to add a Fibre channel adapter via dynamic partitioning
   During the operation following OOPS message is observed

  Oops output:

   !!! 00E0806 Fcode, Copyright (c) 2000-2012 Emulex !!!  Version 3.10x2

  
  !!! 00E0806 Fcode, Copyright (c) 2000-2012 Emulex !!!  Version 3.10x2
  [ 8696.808703] PCI host bridge /pci@800000020000020  ranges:
  [ 8696.808708]  MEM 0x0003ff8400000000..0x0003ff847effffff -> 0x0000000080000000 
  [ 8696.808716] PCI: I/O resource not set for host bridge /pci@800000020000020 (domain 1)
  [ 8696.808761] PCI host bridge to bus 0001:01
  [ 8696.808765] pci_bus 0001:01: root bus resource [mem 0x3ff8400000000-0x3ff847effffff] (bus address [0x80000000-0xfeffffff])
  [ 8696.808768] pci_bus 0001:01: root bus resource [bus 01-ff]
  [ 8696.897390] rpaphp: Slot [U78C7.001.RCH0042-P1-C8] registered
  [ 8696.897395] rpadlpar_io: slot PHB 32 added
  [ 8696.972155] Emulex LightPulse Fibre Channel SCSI driver 10.5.0.0.
  [ 8696.972157] Copyright(c) 2004-2015 Emulex.  All rights reserved.
  [ 8696.972438] lpfc 0001:01:00.1: enabling device (0140 -> 0142)
  [ 8696.976145] Unable to handle kernel paging request for data at address 0x0000000c
  [ 8696.976174] Faulting instruction address: 0xc000000000084cc4
  [ 8696.976182] Oops: Kernel access of bad area, sig: 11 [#1]
  [ 8696.976188] SMP NR_CPUS=2048 NUMA pSeries
  [ 8696.976196] Modules linked in: lpfc(+) scsi_transport_fc rpadlpar_io rpaphp rtc_generic pseries_rng autofs4
  [ 8696.976220] CPU: 3 PID: 1426 Comm: systemd-udevd Not tainted 4.1.0-1-generic #1~dogfoodv1-Ubuntu
  [ 8696.976230] task: c0000003857737e0 ti: c0000000fd08c000 task.ti: c0000000fd08c000
  [ 8696.976239] NIP: c000000000084cc4 LR: c000000000084ca8 CTR: 0000000000000000
  [ 8696.976247] REGS: c0000000fd08f0f0 TRAP: 0300   Not tainted  (4.1.0-1-generic)
  [ 8696.976255] MSR: 8000000100009033 <SF,EE,ME,IR,DR,RI,LE>  CR: 82228888  XER: 20000000
  [ 8696.976278] CFAR: c000000000008468 DAR: 000000000000000c DSISR: 40000000 SOFTE: 1 
                 GPR00: c000000000084ca8 c0000000fd08f370 c0000000014bda00 0000000000000000 
                 GPR04: 0000000000000001 c0000000fd08f408 0000000000000003 d000000002c31e60 
                 GPR08: c0000000013bda00 0000000000000000 c0000003873e6b80 d000000002ca7c98 
                 GPR12: 0000000000008800 c00000000e831b00 d0000000029421f8 00003ffff8ca4522 
                 GPR16: c0000000fd08fdc0 c0000000fd08fe04 d000000002941878 c0000000fc8054c0 
                 GPR20: d000000002380000 d000000002380000 d000000002ccff90 0000000000000000 
                 GPR24: c00000000165074c c00000038e17e000 c0000000013b5e00 c00000038e17e000 
                 GPR28: c0000000013b5e28 c00000000a590600 c0000000013b5df0 c0000000013b5e20 
  [ 8696.976396] NIP [c000000000084cc4] enable_ddw+0x254/0x7b0
  [ 8696.976405] LR [c000000000084ca8] enable_ddw+0x238/0x7b0
  [ 8696.976411] Call Trace:
  [ 8696.976419] [c0000000fd08f370] [c000000000084ca8] enable_ddw+0x238/0x7b0 (unreliable)
  [ 8696.976431] [c0000000fd08f4b0] [c0000000000866d8] dma_set_mask_pSeriesLP+0x218/0x2a0
  [ 8696.976444] [c0000000fd08f540] [c000000000023528] dma_set_mask+0x58/0xa0
  [ 8696.976474] [c0000000fd08f570] [d000000002c71280] lpfc_pci_probe_one+0xb0/0xc50 [lpfc]
  [ 8696.976486] [c0000000fd08f610] [c0000000005987fc] local_pci_probe+0x6c/0x140
  [ 8696.976497] [c0000000fd08f6a0] [c000000000598a28] pci_device_probe+0x158/0x1e0
  [ 8696.976510] [c0000000fd08f700] [c00000000067b744] driver_probe_device+0x1c4/0x5a0
  [ 8696.976522] [c0000000fd08f790] [c00000000067bcdc] __driver_attach+0x11c/0x120
  [ 8696.976533] [c0000000fd08f7d0] [c00000000067854c] bus_for_each_dev+0x9c/0x110
  [ 8696.976544] [c0000000fd08f820] [c00000000067adbc] driver_attach+0x3c/0x60
  [ 8696.976555] [c0000000fd08f850] [c00000000067a768] bus_add_driver+0x208/0x320
  [ 8696.976565] [c0000000fd08f8e0] [c00000000067c99c] driver_register+0x9c/0x180
  [ 8696.976576] [c0000000fd08f950] [c0000000005978ec] __pci_register_driver+0x6c/0x90
  [ 8696.976604] [c0000000fd08f990] [d000000002ca7848] lpfc_init+0x17c/0x1d8 [lpfc]
  [ 8696.976617] [c0000000fd08fa20] [c00000000000b42c] do_one_initcall+0x12c/0x280
  [ 8696.976628] [c0000000fd08faf0] [c000000000a6c7c8] do_init_module+0x98/0x238
  [ 8696.976640] [c0000000fd08fb80] [c000000000163fa4] load_module+0x1354/0x14d0
  [ 8696.976651] [c0000000fd08fd50] [c0000000001643d0] SyS_finit_module+0xc0/0x120
  [ 8696.976662] [c0000000fd08fe30] [c0000000000091fc] system_call+0x38/0xb4
  [ 8696.976669] Instruction dump:
  [ 8696.976675] 7fa3eb78 38842388 38a10090 38c00003 488345a5 60000000 2fa30000 409e0170 
  [ 8696.976694] 2fb90000 419e0438 ea7902f0 e93902e8 <83e9000c> 81490008 2f9f0000 7bff0020 
  [ 8696.976716] ---[ end trace c6f99bed0288dc0c ]---

  The DLPAR operation completes successfully. lspci does display
  following information after this operation

  # lspci
  0001:01:00.0 Fibre Channel: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter (rev 03)
  0001:01:00.1 Fibre Channel: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter (rev 03)
  #

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1486180/+subscriptions