← Back to team overview

kernel-packages team mailing list archive

[Bug 1154749] Re: reboot does a shutdown instead of rebooting (OCP v2)

 

So I messed around with this machine for a good part of the day. I built
and booted 3.14-rc4, then instrumented the mei and mei-me modules to
show the various setup and teardown stages. I think they are correct.
What I did find were some issues with MSI. In fact, if you boot with MSI
disabled (pci=nomsi) on the kernel command line, then this machine won't
_reboot_ without a power cycle. This seems indicative of a BIOS problem.

I then removed pci=nomsi and instrumented the MEI module such that it
does not attempt to use MSI (instead uses normal threaded interrupts)
and voila it started rebooting.

I guess the solution is to either add a module parameter to the MEI
module that allows one to selectively disable MSI, or get the platform
BIOS vendors to fix their MSI support. Note that there are other
consumers of MSI on this platform such as the igb NIC driver.

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

Title:
  reboot does a shutdown instead of rebooting (OCP v2)

Status in OEM Priority Project:
  Invalid
Status in Open Compute Project:
  New
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  On the OCP v2 compliant system (Windmill OCP motherboard v2), the
  system hang at the reboot startup. This issue happens on 12.04.1,
  12.04.2 and 12.10.

  The work around in http://ubuntuforums.org/showthread.php?t=2024096,
  blacklisting mei, works. Note the first reboot doesn't work, but the
  subsequent reboots work.

  mei in 12.04.1
  $ modinfo mei
  filename:       /lib/modules/3.2.0-38-generic/kernel/drivers/staging/mei/mei.ko
  version:        7.1.20.1
  license:        GPL v2
  description:    Intel(R) Management Engine Interface
  author:         Intel Corporation
  srcversion:     9252880194B02634B5F0427

  Kernel mei message before blacklisted:
  kernel: [    6.961623] mei: module is from the staging directory, the quality is unknown, you have been warned.
  kernel: [    6.962226] mei 0000:00:16.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
  kernel: [    6.962235] mei 0000:00:16.0: setting latency timer to 64
  kernel: [    6.962310] mei 0000:00:16.0: irq 104 for MSI/MSI-X

  mei in 12.04.2
  $ modinfo mei
  filename:       /lib/modules/3.5.0-25-generic/kernel/drivers/misc/mei/mei.ko
  license:        GPL v2
  description:    Intel(R) Management Engine Interface
  author:         Intel Corporation
  srcversion:     0580619CB5DEF6AB7228EBE

  Kernel mei message before blacklisted:
  kernel: [    6.543470] mei 0000:00:16.0: setting latency timer to 64
  kernel: [    6.543547] mei 0000:00:16.0: irq 104 for MSI/MSI-X
  kernel: [    6.547516] mei 0000:00:16.0: wd: failed to find the client

  mei in 12.10
  $ modinfo mei
  filename:       /lib/modules/3.5.0-21-generic/kernel/drivers/misc/mei/mei.ko
  license:        GPL v2
  description:    Intel(R) Management Engine Interface
  author:         Intel Corporation
  srcversion:     0580619CB5DEF6AB7228EBE

  Kernel mei message before blacklisted:
  kernel: [    4.731997] mei 0000:00:16.0: setting latency timer to 64
  kernel: [    4.736801] mei 0000:00:16.0: irq 104 for MSI/MSI-X
  kernel: [    4.741695] mei 0000:00:16.0: wd: failed to find the client

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1154749/+subscriptions