Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334529 - Kernel bug on sys-kernel/tuxonice-sources higher than 2.6.34-r1
Summary: Kernel bug on sys-kernel/tuxonice-sources higher than 2.6.34-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 07:57 UTC by rafnov
Modified: 2010-08-31 14:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,9.11 KB, text/plain)
2010-08-26 07:58 UTC, rafnov
Details
kernel config (.config,61.29 KB, text/plain)
2010-08-27 08:18 UTC, rafnov
Details
more dmesg after enabling debug in kernel (dmesg2.txt,20.82 KB, text/plain)
2010-08-27 08:40 UTC, rafnov
Details
Upgrading to latest genpatches and toi 3.2-r1 solves the problem. (tuxonice-sources-2.6.35-r1.ebuild,1.41 KB, text/plain)
2010-08-27 11:58 UTC, rafnov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rafnov 2010-08-26 07:57:48 UTC
I am getting these errors after boot up:

BUG: scheduling while atomic: devkit-power-da/2291/0x10000001
Modules linked in: hdaps tp_smapi thinkpad_ec btusb tpm_tis tpm bluetooth tpm_bios
Pid: 2291, comm: devkit-power-da Not tainted 2.6.34-tuxonice-r2 #2
Call Trace:
 [<c142f675>] ? 0xc142f675
 [<c1085e4c>] ? 0xc1085e4c
 [<c1082198>] ? 0xc1082198
 [<c142faed>] ? 0xc142faed
 [<c109d15d>] ? 0xc109d15d
 [<c1098a5c>] ? 0xc1098a5c
 [<c102280c>] ? 0xc102280c
 [<c109589a>] ? 0xc109589a
 [<c10aab35>] ? 0xc10aab35
 [<c10959ef>] ? 0xc10959ef
 [<c10aeb5e>] ? 0xc10aeb5e
 [<c11725d3>] ? 0xc11725d3
 [<c10aec8c>] ? 0xc10aec8c
 [<c10aed71>] ? 0xc10aed71
 [<c10b0591>] ? 0xc10b0591
 [<c100a063>] ? 0xc100a063
 [<c1002d3a>] ? 0xc1002d3a
 [<c1002cd7>] ? 0xc1002cd7

BUG: scheduling while atomic: udevd/1007/0x10000001
Modules linked in:
Pid: 1007, comm: udevd Not tainted 2.6.35-tuxonice #1
Call Trace:
 [<c144778a>] ? 0xc144778a
 [<c1089acc>] ? 0xc1089acc
 [<c1085d11>] ? 0xc1085d11
 [<c1447b2d>] ? 0xc1447b2d
 [<c10a0c7d>] ? 0xc10a0c7d
 [<c109c56c>] ? 0xc109c56c
 [<c1023c3c>] ? 0xc1023c3c
 [<c10994aa>] ? 0xc10994aa
 [<c10ae2e5>] ? 0xc10ae2e5
 [<c10995ff>] ? 0xc10995ff
 [<c10b250e>] ? 0xc10b250e
 [<c1178883>] ? 0xc1178883
 [<c10b263c>] ? 0xc10b263c
 [<c10b2721>] ? 0xc10b2721
 [<c10b3f41>] ? 0xc10b3f41
 [<c100a053>] ? 0xc100a053
 [<c1002d3a>] ? 0xc1002d3a
 [<c1002cd7>] ? 0xc1002cd7
------------[ cut here ]------------
kernel BUG at arch/x86/mm/highmem_32.c:45!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0F:01/uevent
Modules linked in:

Pid: 1003, comm: udevd Not tainted 2.6.35-tuxonice #1 744322G/744322G
EIP: 0060:[<c1024dd7>] EFLAGS: 00010206 CPU: 1
EAX: c2588dc0 EBX: c15f2e7c ECX: 00000163 EDX: 0000001b
ESI: fffff000 EDI: 79220163 EBP: f69d1000 ESP: f69f9ee0
 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process udevd (pid: 1003, ti=f69f8000 task=f712e9f0 task.ti=f69f8000)
Stack:
 f69d1000 bffc7e60 f70f3a40 c1098c5e f69d0b74 000000c3 00000000 00000000
<0> ffffffff 00000200 00000000 f69d0bfc f69f9f24 f733aa24 f733aa1c c2a06e00
<0> f733a9f0 c2a06dc0 f69d1000 bffc7e60 c1020950 f70f3a40 c1020a6c 00000001
Call Trace:
 [<c1098c5e>] ? 0xc1098c5e
 [<c1020950>] ? 0xc1020950
 [<c1020a6c>] ? 0xc1020a6c
 [<c14474ae>] ? 0xc14474ae
 [<c103d5cc>] ? 0xc103d5cc
 [<c10bcf03>] ? 0xc10bcf03
 [<c1020950>] ? 0xc1020950
 [<c1449e53>] ? 0xc1449e53
Code: 45 cf 2b 05 00 b5 64 c1 83 c2 45 c1 f8 05 c1 e2 0c c1 e0 0c 09 c1 89 f0 89 0b 29 d0 8b 1c 24 8b 74 24 04 8b 7c 24 08 83 c4 0c c3 <0f> 0b eb fe 90 8d 74 26 00 8b 0d 04 c0 5f c1 e9 25 ff ff ff 90 
EIP: [<c1024dd7>]  SS:ESP 0068:f69f9ee0
---[ end trace e01e0428873a1950 ]---
note: udevd[1003] exited with preempt_count 1
BUG: scheduling while atomic: udevd/1003/0x10000001
Modules linked in:
Pid: 1003, comm: udevd Tainted: G      D     2.6.35-tuxonice #1
Call Trace:
 [<c144778a>] ? 0xc144778a
 [<c1032473>] ? 0xc1032473
 [<c1447b2d>] ? 0xc1447b2d
 [<c1448a08>] ? 0xc1448a08
 [<c1072c45>] ? 0xc1072c45
 [<c1003760>] ? 0xc1003760
 [<c10356d7>] ? 0xc10356d7
 [<c1032775>] ? 0xc1032775
 [<c1003760>] ? 0xc1003760
 [<c1003760>] ? 0xc1003760
 [<c1006014>] ? 0xc1006014
 [<c10037df>] ? 0xc10037df
 [<c1024dd7>] ? 0xc1024dd7
 [<c139ccf2>] ? 0xc139ccf2
 [<c1393f73>] ? 0xc1393f73
 [<c1083c0d>] ? 0xc1083c0d
 [<c10853aa>] ? 0xc10853aa
 [<c1176f4a>] ? 0xc1176f4a
 [<c1449e53>] ? 0xc1449e53
 [<c1024dd7>] ? 0xc1024dd7
 [<c1098c5e>] ? 0xc1098c5e
 [<c1020950>] ? 0xc1020950
 [<c1020a6c>] ? 0xc1020a6c
 [<c14474ae>] ? 0xc14474ae
 [<c103d5cc>] ? 0xc103d5cc
 [<c10bcf03>] ? 0xc10bcf03
 [<c1020950>] ? 0xc1020950
 [<c1449e53>] ? 0xc1449e53
iwlagn 0000:03:00.0: loaded firmware version 8.24.2.12
phy0: Selected rate control algorithm 'iwl-agn-rs'
BUG: scheduling while atomic: udevd/1003/0x10000001
Modules linked in: tpm_tis tpm tpm_bios
Pid: 1003, comm: udevd Tainted: G      D     2.6.35-tuxonice #1
Call Trace:
 [<c144778a>] ? 0xc144778a
 [<c10be286>] ? 0xc10be286
 [<c10c4aa5>] ? 0xc10c4aa5
 [<c1447b2d>] ? 0xc1447b2d
 [<c1033949>] ? 0xc1033949
 [<c1003760>] ? 0xc1003760
 [<c1035703>] ? 0xc1035703
 [<c1032775>] ? 0xc1032775
 [<c1003760>] ? 0xc1003760
 [<c1003760>] ? 0xc1003760
 [<c1006014>] ? 0xc1006014
 [<c10037df>] ? 0xc10037df
 [<c1024dd7>] ? 0xc1024dd7
 [<c139ccf2>] ? 0xc139ccf2
 [<c1393f73>] ? 0xc1393f73
 [<c1083c0d>] ? 0xc1083c0d
 [<c10853aa>] ? 0xc10853aa
 [<c1176f4a>] ? 0xc1176f4a
 [<c1449e53>] ? 0xc1449e53
 [<c1024dd7>] ? 0xc1024dd7
 [<c1098c5e>] ? 0xc1098c5e
 [<c1020950>] ? 0xc1020950
 [<c1020a6c>] ? 0xc1020a6c
 [<c14474ae>] ? 0xc14474ae
 [<c103d5cc>] ? 0xc103d5cc
 [<c10bcf03>] ? 0xc10bcf03
 [<c1020950>] ? 0xc1020950
 [<c1449e53>] ? 0xc1449e53

When trying to emerge packages such as app-emulation/virtualbox-guest-additions-3.2-8 or app-laptop/tp_smapi-0.40 it hangs even. It is a total lock so I can't even dmesg or sth after it.

Everything was working flawlessly on sys-kernel/tuxonice-sources-2.6.34-r1. 

Reproducible: Always
Comment 1 rafnov 2010-08-26 07:58:45 UTC
Created attachment 244631 [details]
emerge --info
Comment 2 Ross Smith 2010-08-26 20:17:56 UTC
Please recompile the new kernel with CONFIG_DEBUG_INFO enabled. It's under kernel hacking->Compile the kernel with debug info.   This will provide a useable backtrace to see what the problem actually.  

also, please attach your .config so others can try to reproduce this bug.  Thanks.
Comment 3 rafnov 2010-08-27 08:18:23 UTC
Created attachment 244857 [details]
kernel config
Comment 4 rafnov 2010-08-27 08:40:27 UTC
Created attachment 244859 [details]
more dmesg after enabling debug in kernel
Comment 5 rafnov 2010-08-27 08:43:41 UTC
I cannot provide logs for 2.6.35 as it hangs every 2-3 boot ups and with more hard resets I risk filesystem corruption/data loss.
Comment 6 rafnov 2010-08-27 11:58:14 UTC
Created attachment 244921 [details]
Upgrading to latest genpatches and toi 3.2-r1 solves the problem.

Still can't understand the reason of that "BUG" messages on tuxonice-sources 2.6.34-r2 and 2.6.35.
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-08-31 14:02:59 UTC
If 3.2-rc1 solves the issue then great. In cases like this it's worth mentioning whenever you are able to reproduce the issue with gentoo-sources and vanilla-sources. If not then usually looping in TuxOnIce upstream is a good idea.