Bug 570316

Summary: The Swapper causes backtrace while booting - but seems to work after the boot processes are done
Product: [openSUSE] openSUSE 11.2 Reporter: Angelika Schulz <angie>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: lchiquitto
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output of dmesg

Description Angelika Schulz 2010-01-13 14:10:50 UTC
Created attachment 336391 [details]
Output of dmesg

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6

While the system is booting several messages are shown like:

"BUG: scheduling while atomic: swapper/0/0x10000002"
Followed by kernel stack trace.

After the system is booted everything looks ok, the swapper seems to be working fine nevertheless.

Reproducible: Always

Steps to Reproduce:
1. Install kernel 2.6.31.8-0.1-desktop
2. Reboot the machine
3. Run dmesg to see what happened after unpacking the initrd.
Actual Results:  
[    0.169806] Unpacking initramfs...
[    0.177375] BUG: scheduling while atomic: swapper/0/0x10000002
[    0.177415] Modules linked in:
[    0.177421] Pid: 0, comm: swapper Not tainted 2.6.31.8-0.1-desktop #1
[    0.177424] Call Trace:
[    0.177447]  [<c020845a>] try_stack_unwind+0x17a/0x1a0
[    0.177457]  [<c020708c>] dump_trace+0x6c/0x130
[    0.177466]  [<c0208008>] show_trace_log_lvl+0x58/0x80
[    0.177474]  [<c0208056>] show_trace+0x26/0x40
[    0.177482]  [<c0692e53>] dump_stack+0x79/0x91
[    0.177491]  [<c023f137>] __schedule_bug+0x87/0x90
[    0.177499]  [<c0693b88>] schedule+0x688/0x7a0
[    0.177507]  [<c02480eb>] __cond_resched+0x2b/0x60
[    0.177514]  [<c0693dfd>] _cond_resched+0x3d/0x50
[    0.177522]  [<c02d3adc>] generic_perform_write+0x13c/0x1e0
[    0.177530]  [<c02d3bfb>] generic_file_buffered_write+0x7b/0x150
[    0.177537]  [<c02d55c3>] __generic_file_aio_write_nolock+0x213/0x530
[    0.177545]  [<c02d5a15>] generic_file_aio_write+0x65/0xe0
[    0.177552]  [<c031538c>] do_sync_write+0xdc/0x130
[    0.177559]  [<c03156ba>] vfs_write+0xba/0x1b0
[    0.177566]  [<c03160c3>] sys_write+0x53/0xa0
[    0.177575]  [<c0981627>] do_copy+0xa1/0xe6
[    0.177582]  [<c0980f6b>] flush_buffer+0x81/0xb8
[    0.177590]  [<c09a770d>] gunzip+0x374/0x428
[    0.177598]  [<c098147b>] unpack_to_rootfs+0x29f/0x3aa
[    0.177605]  [<c0981ef9>] populate_rootfs+0x59/0x87
[    0.177612]  [<c097fcd3>] start_kernel+0x38d/0x3ae
[    0.177619]  [<c097f087>] i386_start_kernel+0x87/0x9f
[    0.177375] BUG: scheduling while atomic: swapper/0/0x10000002
[    0.177415] Modules linked in:
[    0.177421] Pid: 0, comm: swapper Not tainted 2.6.31.8-0.1-desktop #1
[    0.177424] Call Trace:
[    0.177447]  [<c020845a>] try_stack_unwind+0x17a/0x1a0
[    0.177457]  [<c020708c>] dump_trace+0x6c/0x130
[    0.177466]  [<c0208008>] show_trace_log_lvl+0x58/0x80
[    0.177474]  [<c0208056>] show_trace+0x26/0x40
[    0.177482]  [<c0692e53>] dump_stack+0x79/0x91
[    0.177491]  [<c023f137>] __schedule_bug+0x87/0x90
[    0.177499]  [<c0693b88>] schedule+0x688/0x7a0
[    0.177507]  [<c02480eb>] __cond_resched+0x2b/0x60
[    0.177514]  [<c0693dfd>] _cond_resched+0x3d/0x50
[    0.177522]  [<c02d3adc>] generic_perform_write+0x13c/0x1e0
[    0.177530]  [<c02d3bfb>] generic_file_buffered_write+0x7b/0x150
[    0.177537]  [<c02d55c3>] __generic_file_aio_write_nolock+0x213/0x530
[    0.177545]  [<c02d5a15>] generic_file_aio_write+0x65/0xe0
[    0.177552]  [<c031538c>] do_sync_write+0xdc/0x130
[    0.177559]  [<c03156ba>] vfs_write+0xba/0x1b0
[    0.177566]  [<c03160c3>] sys_write+0x53/0xa0
[    0.177575]  [<c0981627>] do_copy+0xa1/0xe6
[    0.177582]  [<c0980f6b>] flush_buffer+0x81/0xb8
[    0.177590]  [<c09a770d>] gunzip+0x374/0x428
[    0.177598]  [<c098147b>] unpack_to_rootfs+0x29f/0x3aa
[    0.177605]  [<c0981ef9>] populate_rootfs+0x59/0x87
[    0.177612]  [<c097fcd3>] start_kernel+0x38d/0x3ae
[    0.177619]  [<c097f087>] i386_start_kernel+0x87/0x9f

Expected Results:  
[    2.371571] Unpacking initramfs...
[    2.561621] Freeing initrd memory: 6046k freed
[    2.566445] Scanning for low memory corruption every 60 seconds

problematic packages:
kernel-desktop-2.6.31.8-0.1.1.i586.rpm 
preload-kmp-desktop-1.1_2.6.31.8-0.1.1.i586.rpm

working packages:
kernel-desktop-2.6.31.5-0.1.1.i586.rpm 
preload-kmp-desktop-1.1_2.6.31.5_0.1-6.8.1.i586.rpm

I could not detect any _real_ problems yet, since I have enough memory installed on my machine so I rarely use the swap space.
Comment 1 Angelika Schulz 2010-01-13 15:45:34 UTC
During the automatic installation I prepared for another host the whole system freezes right after the main package installation. Shutting down the machine manually with pressing the powerbutton, and booting it normally, helped a little. So this problem occurs with the default kernel as well.
Comment 2 Leonardo Chiquitto 2010-01-13 15:56:31 UTC
Marking as duplicate of bug #568120.

*** This bug has been marked as a duplicate of bug 568120 ***