Patchwork UBUNTU: [Config][v2] armhf, arm64, powerpc, ppc64el: IPMI_SI=m

login
register
mail settings
Submitter Colin King
Date Feb. 20, 2014, 12:54 p.m.
Message ID <1392900888-16580-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/322173/
State New
Headers show

Comments

Colin King - Feb. 20, 2014, 12:54 p.m.
From: Colin Ian King <colin.king@canonical.com>

Re-worked Paolo's patch to also include powerpc and ppc64el as IPMI
turned on by default really should be for x86 arches in the first
instance and we're seeing issues on arm:

ipmi_si hangs arm boards at boot:

[  185.588745] ipmi message handler version 39.2
[  193.741088] IPMI System Interface driver.
[  193.741149] ipmi_si: Adding default-specified kcs state machine
[  193.741210] ipmi_si: Trying default-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0
[  193.741210] Unable to handle kernel paging request at virtual address fee00ca3
[  193.748870] pgd = eb47c000
[  193.751708] [fee00ca3] *pgd=00000000
[  193.755523] Internal error: Oops: 5 [#1] SMP ARM
[  193.759979] Modules linked in: ipmi_si(+) ipmi_msghandler arc4 wl12xx wlcore mac80211 cfg80211 smsc95xx usbnet nls_iso8859_1 wlcore_sdio ti_soc_thermal omap4_keypad mii omap_aes emif matrix_keymap omap_wdt omap_ocp2scp phy_twl6030_usb omap2430 uio_pdrv_genirq pwm_twl_led pwm_twl uio
[  193.786895] CPU: 1 PID: 1088 Comm: modprobe Not tainted 3.13.0-11-generic #31~reve9d96cc
[  193.794921] task: ed8ab3c0 ti: eb48a000 task.ti: eb48a000
[  193.797851] PC is at port_inb+0x14/0x24 [ipmi_si]
[  193.803985] LR is at kcs_detect+0x14/0x24 [ipmi_si]
[  193.809844] pc : [<bf2480a8>]    lr : [<bf24b760>]    psr: 60000013
[  193.809844] sp : eb48bd90  ip : 00000ca3  fp : 00000ca2
[  193.820007] r10: eda9f000  r9 : bf2490cc  r8 : 00000001
[  193.828002] r7 : 00000000  r6 : 00000000  r5 : 00000ca2  r4 : eda9f000
[  193.832000] r3 : fee00ca3  r2 : 00000001  r1 : 00000ca3  r0 : eda9f030
[  193.835998] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  193.850067] Control: 10c5387d  Table: ab47c04a  DAC: 00000015
[  193.856018] Process modprobe (pid: 1088, stack limit = 0xeb48a240)
[  193.862609] Stack: (0xeb48bd90 to 0xeb48c000)
[  193.864044] bd80:                                     bf24b74c bf24a578 00000ca2 00000000
[  193.872009] bda0: 00000000 bf2483fc bf24de44 60000093 bf24dba4 bf24f6d0 bf24f6e8 00000000
[  193.884429] bdc0: 00000001 bf2490cc eda9f000 bf24b538 eb46a000 c02de3d4 000000d0 00000000
[  193.893035] bde0: bf24fc54 eb48bf58 eb48bec0 c0a4a50c eb48a000 00000000 bf24b10c c0009704
[  193.896453] be00: 00000000 c069a734 bf24fc48 c0a92418 00000000 bf24fc48 00000001 c0a4a50c
[  193.904113] be20: bf24fc48 c00e7b78 c00e7aac fffffffa 00000000 c069d948 c0a904b4 ffffffff
[  193.918884] be40: c0a904b4 00000000 bf24fc48 c0077610 00000000 bd94352d f0d79000 00000000
[  193.927490] be60: bf24fc54 eb48bf58 eb48bec0 00000000 c0a4a50c bf24fc48 00000000 c00bd198
[  193.932037] be80: ffff8000 00007fff c00ba2f0 c0a4b298 00000000 bf24fc54 eb48a000 bf24ff04
[  193.940063] bea0: bf24fc54 eb48bf60 eb48bf8c c0afac18 00000000 c0a4a50c 00000000 f0d8b000
[  193.952117] bec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  193.961944] bee0: 00000000 00000000 6e72656b 00006c65 00000000 00000000 00000000 00000000
[  193.970397] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  193.976074] bf20: 00000000 bd94352d b6c7e000 00011018 b6c7e000 b6f52fa8 00000080 c000fd04
[  193.984069] bf40: eb48a000 00001000 00000000 c00bd6a0 00000000 00011018 f0d79000 00010dbc
[  193.996063] bf60: f0d833d0 f0d832cd f0d85d28 00007f04 00009a34 bf24fc30 00000001 00000001
[  194.005004] bf80: 0000001b 0000001c 00000010 00000014 00000007 00000000 b8cb4178 00040000
[  194.012084] bfa0: b8cb4258 c000fb60 b8cb4178 00040000 b6c7e000 00011018 b6f52fa8 00000002
[  194.016113] bfc0: b8cb4178 00040000 b8cb4258 00000080 b8cbc148 00000000 00011018 00000000
[  194.030853] bfe0: b6ed2180 becbe3f8 b6f4d3ad b6ed2190 80000010 b6c7e000 00000000 00000000
[  194.037322] [<bf2480a8>] (port_inb+0x14/0x24 [ipmi_si]) from [<bf24b760>] (kcs_detect+0x14/0x24 [ipmi_si])
[  194.049713] [<bf24b760>] (kcs_detect+0x14/0x24 [ipmi_si]) from [<bf24a578>] (try_smi_init+0x194/0x84c [ipmi_si])
[  194.059265] [<bf24a578>] (try_smi_init+0x194/0x84c [ipmi_si]) from [<bf24b538>] (init_ipmi_si+0x42c/0x5f8 [ipmi_si])
[  194.071563] [<bf24b538>] (init_ipmi_si+0x42c/0x5f8 [ipmi_si]) from [<c0009704>] (do_one_initcall+0xf4/0x1a0)
[  194.080139] [<c0009704>] (do_one_initcall+0xf4/0x1a0) from [<c00bd198>] (load_module+0xe44/0x128c)
[  194.091369] [<c00bd198>] (load_module+0xe44/0x128c) from [<c00bd6a0>] (SyS_init_module+0xc0/0x124)
[  194.096130] [<c00bd6a0>] (SyS_init_module+0xc0/0x124) from [<c000fb60>] (ret_fast_syscall+0x0/0x3c)
[  194.110351] Code: e590200c e0213192 e7f33051 e2433612 (e5d30000)
[  194.115692] ---[ end trace 83a547a661cc19c6 ]---

turn it to back to =m, until a proper fix is found.

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 debian.master/config/amd64/config.common.amd64     | 1 +
 debian.master/config/arm64/config.common.arm64     | 1 +
 debian.master/config/armhf/config.common.armhf     | 1 +
 debian.master/config/config.common.ubuntu          | 1 -
 debian.master/config/i386/config.common.i386       | 1 +
 debian.master/config/powerpc/config.common.powerpc | 1 +
 debian.master/config/ppc64el/config.common.ppc64el | 1 +
 7 files changed, 6 insertions(+), 1 deletion(-)
Tim Gardner - Feb. 20, 2014, 3:35 p.m.

Patch

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index 203853b..4290b3d 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -133,6 +133,7 @@  CONFIG_INPUT_IDEAPAD_SLIDEBAR=m
 CONFIG_INTERVAL_TREE_TEST=m
 CONFIG_IOMMU_SUPPORT=y
 CONFIG_IPACK_BUS=m
+CONFIG_IPMI_SI=y
 # CONFIG_IRQ_DOMAIN_DEBUG is not set
 CONFIG_ISDN=y
 CONFIG_ISO9660_FS=m
diff --git a/debian.master/config/arm64/config.common.arm64 b/debian.master/config/arm64/config.common.arm64
index 3fb2ec7..4860e98 100644
--- a/debian.master/config/arm64/config.common.arm64
+++ b/debian.master/config/arm64/config.common.arm64
@@ -92,6 +92,7 @@  CONFIG_INPUT_FF_MEMLESS=m
 CONFIG_INTERVAL_TREE_TEST=m
 # CONFIG_IOMMU_SUPPORT is not set
 CONFIG_IPACK_BUS=m
+CONFIG_IPMI_SI=m
 # CONFIG_IRQ_DOMAIN_DEBUG is not set
 CONFIG_ISDN=y
 CONFIG_ISO9660_FS=m
diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf
index 33e176c..3a6bbc5 100644
--- a/debian.master/config/armhf/config.common.armhf
+++ b/debian.master/config/armhf/config.common.armhf
@@ -117,6 +117,7 @@  CONFIG_INPUT_FF_MEMLESS=m
 CONFIG_INTERVAL_TREE_TEST=m
 CONFIG_IOMMU_SUPPORT=y
 CONFIG_IPACK_BUS=m
+CONFIG_IPMI_SI=m
 # CONFIG_IRQ_DOMAIN_DEBUG is not set
 CONFIG_ISDN=y
 CONFIG_ISO9660_FS=m
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 2f1abc5..91e7b0c 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -3000,7 +3000,6 @@  CONFIG_IPMI_DEVICE_INTERFACE=m
 CONFIG_IPMI_HANDLER=y
 # CONFIG_IPMI_PANIC_EVENT is not set
 CONFIG_IPMI_POWEROFF=m
-CONFIG_IPMI_SI=y
 CONFIG_IPMI_WATCHDOG=m
 CONFIG_IPPP_FILTER=y
 CONFIG_IPV6=y
diff --git a/debian.master/config/i386/config.common.i386 b/debian.master/config/i386/config.common.i386
index 4713eff..2290831 100644
--- a/debian.master/config/i386/config.common.i386
+++ b/debian.master/config/i386/config.common.i386
@@ -131,6 +131,7 @@  CONFIG_INPUT_IDEAPAD_SLIDEBAR=m
 CONFIG_INTERVAL_TREE_TEST=m
 CONFIG_IOMMU_SUPPORT=y
 CONFIG_IPACK_BUS=m
+CONFIG_IPMI_SI=y
 # CONFIG_IRQ_DOMAIN_DEBUG is not set
 CONFIG_ISA=y
 CONFIG_ISDN=y
diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
index df56e80..f5749d4 100644
--- a/debian.master/config/powerpc/config.common.powerpc
+++ b/debian.master/config/powerpc/config.common.powerpc
@@ -136,6 +136,7 @@  CONFIG_INPUT_FF_MEMLESS=m
 CONFIG_INTERVAL_TREE_TEST=m
 CONFIG_IOMMU_SUPPORT=y
 CONFIG_IPACK_BUS=m
+CONFIG_IPMI_SI=m
 # CONFIG_IRQ_ALL_CPUS is not set
 # CONFIG_IRQ_DOMAIN_DEBUG is not set
 # CONFIG_ISA is not set
diff --git a/debian.master/config/ppc64el/config.common.ppc64el b/debian.master/config/ppc64el/config.common.ppc64el
index 6508296..ce7ba3f 100644
--- a/debian.master/config/ppc64el/config.common.ppc64el
+++ b/debian.master/config/ppc64el/config.common.ppc64el
@@ -147,6 +147,7 @@  CONFIG_INPUT_IDEAPAD_SLIDEBAR=m
 # CONFIG_INTERVAL_TREE_TEST is not set
 CONFIG_IOMMU_SUPPORT=y
 # CONFIG_IPACK_BUS is not set
+CONFIG_IPMI_SI=m
 CONFIG_IRQ_ALL_CPUS=y
 CONFIG_IRQ_DOMAIN_DEBUG=y
 # CONFIG_ISDN is not set