Bug 75421
Summary: | [pandaboard] cpuidle breaks USB stability | ||
---|---|---|---|
Product: | Power Management | Reporter: | Tobias Jakobi (liquid.acid) |
Component: | cpuidle | Assignee: | Rafael J. Wysocki (rjw) |
Status: | CLOSED OBSOLETE | ||
Severity: | high | CC: | kai.reichert, nm, santosh.shilimkar, tony |
Priority: | P1 | ||
Hardware: | ARM | ||
OS: | Linux | ||
Kernel Version: | 3.15.0-rc3 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
kernel config
dmesg output cpuidle states |
Description
Tobias Jakobi
2014-05-03 18:48:16 UTC
Created attachment 134971 [details]
kernel config
kernel config that is working (with cpuidle disabled)
Created attachment 134981 [details]
dmesg output
dmesg output from working kernel (with cpuidle disabled)
What idle states does the hardware export? You can see them this way: dmesg | grep idle grep . /sys/devices/system/cpu/cpu*/cpuidle/*/* I just applied the patch from the linux-omap ml: http://www.spinics.net/lists/linux-omap/msg107002.html Tested the board a bit with this, and it seems to fix the issue. Going to close this, once it hits mainline. Created attachment 136541 [details]
cpuidle states
OK, scratch that. The patch seems to help, but after some time, I get a lot of "BUG: scheduling while atomic" in the kernel log. But first things first. dmesg | grep idle: cpuidle: using governor ladder cpuidle: using governor menu grep . /sys/devices/system/cpu/cpu*/cpuidle/*/*: (now attached as 'cpuidle states') The 'BUG' looks like this: BUG: scheduling while atomic: swapper/1/0/0xffff0000 Modules linked in: ctr ccm btrfs xor xor_neon zlib_inflate zlib_deflate omapfb cfbfillrect cfbimgblt cfbcopyarea raid6_pq arc4 wl12xx wlcore mac80211 cfg80211 rfkill usb_storage snd_soc_omap_hdmi snd_soc_omap_hdmi_card wlcore_sdio CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 3.15.0-rc5+ #1 Backtrace: [<c001152c>] (dump_backtrace) from [<c00116c8>] (show_stack+0x18/0x1c) r6:eb894000 r5:00000001 r4:00000000 r3:00000000 [<c00116b0>] (show_stack) from [<c0430a94>] (dump_stack+0x7c/0x98) [<c0430a18>] (dump_stack) from [<c042ec10>] (__schedule_bug+0x48/0x60) r4:00000000 r3:00000153 [<c042ebc8>] (__schedule_bug) from [<c0432248>] (__schedule+0x41c/0x4b4) r4:2b9fe000 r3:00000000 [<c0431e2c>] (__schedule) from [<c04323d4>] (schedule+0x38/0x88) r10:eb894000 r9:eb894000 r8:00000000 r7:eb894000 r6:c05b0450 r5:c05b04a0 r4:eb894000 [<c043239c>] (schedule) from [<c04326fc>] (schedule_preempt_disabled+0x10/0x14) [<c04326ec>] (schedule_preempt_disabled) from [<c006d8f0>] (cpu_startup_entry+0xec/0x22c) [<c006d804>] (cpu_startup_entry) from [<c00131a4>] (secondary_start_kernel+0xe8/0x100) r7:c05de240 [<c00130bc>] (secondary_start_kernel) from [<80008664>] (0x80008664) r4:ab87c06a r3:c000864c (In reply to Tobias Jakobi from comment #6) > OK, scratch that. The patch seems to help, but after some time, I get a lot > of "BUG: scheduling while atomic" in the kernel log. Tobias, have you tried the updated patch from Santosh in the same thread? It's this one: http://www.spinics.net/lists/linux-omap/msg107161.html Hello, this is exactly the patch I have applied at the moment. Sorry I wasn't clear about which one I did apply. Just for the record: In comment #4 I meant that I applied the most recent patch from the thread on the ml. At that time, the updated patch was already posted. Again sorry for the confusion. Tobias: same issue with 3.17? Guess I forgot this one. Closing, since I no longer own the device. Yes, same issue with kernel 3.17.2. This bug is not obsolete! |