kernel BUG at /build/buildd/linux-3.0.0/fs/buffer.c:3234!; RIP: 0010:[<ffffffff811965a1>] [<ffffffff811965a1>] free_buffer_head+0x31/0x40

Bug #937048 reported by Oliver Stecher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Description: Ubuntu 11.10
Release: 11.10
PC is running 24/7. Bug happened 3 times now, every few weeks.
Running on AMD64, 8 GB RAM, 8 GB swapfile (about 500MB in use).
It's always "comm: kswapd0", so it might be swap related.

kernel: [509327.475073] ------------[ cut here ]------------
kernel: [509327.475102] kernel BUG at /build/buildd/linux-3.0.0/fs/buffer.c:3234!
kernel: [509327.475130] invalid opcode: 0000 [#1] SMP
kernel: [509327.475149] CPU 2
kernel: [509327.475158] Modules linked in: btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs reiserfs pcspkr nls_iso8859_1 nls_cp437 vfat fat bnep rfcomm bluetooth pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv dm_crypt uvcvideo videodev v4l2_compat_ioctl32 snd_usb_audio snd_usbmidi_lib snd_hda_codec_hdmi ppdev snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device nfsd nfs lockd fscache auth_rpcgss nfs_acl psmouse serio_raw snd sp5100_tco k10temp sunrpc i2c_piix4 edac_core edac_mce_amd soundcore snd_page_alloc parport_pc shpchp lp parport usbhid hid usb_storage uas radeon ttm drm_kms_helper drm i2c_algo_bit pata_atiixp wmi r8169 ahci libahci
kernel: [509327.475478]
kernel: [509327.475487] Pid: 54, comm: kswapd0 Not tainted 3.0.0-15-generic #26-Ubuntu Gigabyte Technology Co., Ltd. GA-MA785GM-US2H/GA-MA785GM-US2H
kernel: [509327.475538] RIP: 0010:[<ffffffff811965a1>] [<ffffffff811965a1>] free_buffer_head+0x31/0x40
kernel: [509327.475579] RSP: 0018:ffff880216a9da70 EFLAGS: 00010287
kernel: [509327.475601] RAX: ffff8800072869a0 RBX: 0000000000000001 RCX: 0200000000000009
kernel: [509327.475630] RDX: 0000000000000000 RSI: 0000000000001000 RDI: ffff880007286958
kernel: [509327.475660] RBP: ffff880216a9da70 R08: 000000000000003c R09: 0000000000000000
kernel: [509327.475689] R10: 0000000000000001 R11: dead000000100100 R12: ffff880007286958
kernel: [509327.475718] R13: ffffea0004e75920 R14: ffffea0004e75920 R15: 0000000000000000
kernel: [509327.475748] FS: 00007f586477a700(0000) GS:ffff880227c80000(0000) knlGS:00000000f5199b70
kernel: [509327.475781] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
kernel: [509327.475804] CR2: 00007f83521de000 CR3: 00000002160ec000 CR4: 00000000000006e0
kernel: [509327.475834] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kernel: [509327.475863] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
kernel: [509327.475893] Process kswapd0 (pid: 54, threadinfo ffff880216a9c000, task ffff880216ab0000)
kernel: [509327.475926] Stack:
kernel: [509327.475935] ffff880216a9dab0 ffffffff81196634 ffffea0004adfd50 ffff880007286958
kernel: [509327.475967] ffff880216a9dbc0 ffff880007286958 ffff880007286958 ffff880219186800
kernel: [509327.476000] ffff880216a9daf0 ffffffff8124617c 0000000000000004 ffffea0004e75920
kernel: [509327.476024] Call Trace:
kernel: [509327.476024] [<ffffffff81196634>] try_to_free_buffers+0x84/0xc0
kernel: [509327.476024] [<ffffffff8124617c>] jbd2_journal_try_to_free_buffers+0x8c/0xd0
kernel: [509327.476024] [<ffffffff81203f4a>] ext4_releasepage+0x6a/0xe0
kernel: [509327.476024] [<ffffffff8110a802>] try_to_release_page+0x32/0x50
kernel: [509327.476024] [<ffffffff8111caf4>] shrink_page_list+0x474/0x570
kernel: [509327.476024] [<ffffffff8111cfea>] shrink_inactive_list+0x11a/0x460
kernel: [509327.476024] [<ffffffff811a26fe>] ? __fsnotify_inode_delete+0xe/0x10
kernel: [509327.476024] [<ffffffff811825ea>] ? __destroy_inode+0x2a/0xa0
kernel: [509327.476024] [<ffffffff8111d771>] shrink_list+0xd1/0x140
kernel: [509327.476024] [<ffffffff8111d884>] shrink_zone+0xa4/0x1d0
kernel: [509327.476024] [<ffffffff8111ea45>] balance_pgdat+0x505/0x6f0
kernel: [509327.476024] [<ffffffff8111ed1a>] kswapd+0xea/0x1f0
kernel: [509327.476024] [<ffffffff8111ec30>] ? balance_pgdat+0x6f0/0x6f0
kernel: [509327.476024] [<ffffffff8108116c>] kthread+0x8c/0xa0
kernel: [509327.476024] [<ffffffff815fb2e4>] kernel_thread_helper+0x4/0x10
kernel: [509327.476024] [<ffffffff810810e0>] ? flush_kthread_worker+0xa0/0xa0
kernel: [509327.476024] [<ffffffff815fb2e0>] ? gs_change+0x13/0x13
kernel: [509327.476024] Code: 66 66 90 48 8d 47 48 48 39 47 48 75 1e 48 89 fe 48 8b 3d 23 48 d5 00 e8 fe d5 fb ff 65 ff 0c 25 60 fa 00 00 e8 e1 fe ff ff 5d c3 <0f> 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 55
kernel: [509327.476024] RIP [<ffffffff811965a1>] free_buffer_head+0x31/0x40
kernel: [509327.476024] RSP <ffff880216a9da70>
kernel: [509327.505898] ---[ end trace b415f57830f40a1f ]---
---
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
DistroRelease: Ubuntu 11.10
Package: linux (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Tags: oneiric
Uname: Linux 3.3.0-030300rc4-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 937048

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: oneiric
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: kernel BUG at /build/buildd/linux-3.0.0/fs/buffer.c:3234!

Would it be possible for you to test the latest upstream kernel? It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.3 kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed by the mainline kernel, please add the following tag 'kernel-fixed-upstream-KERNEL-VERSION'. For example, if kernel version 3.3-rc4 fixed the issue, the tag would be: 'kernel-fixed-upstream-v3.3-rc4'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-rc4-precise/

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Oliver Stecher (oliver-stecher) wrote :

Installed new kernel 3.3.0-030300rc4-generic today. Am curious if the bug will show up again.

Revision history for this message
Oliver Stecher (oliver-stecher) wrote :

Did "apport-collect 937048" - but seems that failed because now an updated 3.3 kernel is running.

tags: added: apport-collected
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Oliver Stecher (oliver-stecher) wrote :
Download full text (4.8 KiB)

Added tag kernel-bug-exists-upstream.
About 24h hours later new kernel bug with kernel 3.3. Message is different, but still I see kswapd:

Feb 23 12:06:47 kernel: [85707.909760] BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
Feb 23 12:06:47 kernel: [85707.909805] IP: [<ffffffff8103ec09>] __ticket_spin_lock+0x9/0x30
Feb 23 12:06:47 kernel: [85707.909838] PGD 0
Feb 23 12:06:47 kernel: [85707.909848] Oops: 0002 [#1] SMP
Feb 23 12:06:47 kernel: [85707.909864] CPU 1
Feb 23 12:06:47 kernel: [85707.909873] Modules linked in: pcspkr nls_iso8859_1 nls_cp437 vfat fat rfcomm bnep bluetooth nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc dm_crypt uvcvideo videobuf2_core videodev v4l2_compat_ioctl32 snd_usb_audio videobuf2_vmalloc videobuf2_memops snd_usbmidi_lib usb_storage snd_hda_codec_hdmi snd_seq_midi snd_rawmidi snd_hda_codec_realtek snd_seq_midi_event snd_seq snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_device snd_timer snd psmouse edac_core soundcore serio_raw sp5100_tco snd_page_alloc edac_mce_amd i2c_piix4 k10temp ppdev parport_pc shpchp mac_hid lp parport usbhid hid pata_atiixp wmi radeon ttm drm_kms_helper drm i2c_algo_bit r8169
Feb 23 12:06:47 kernel: [85707.910159]
Feb 23 12:06:47 kernel: [85707.910168] Pid: 58, comm: kswapd0 Not tainted 3.3.0-030300rc4-generic #201202181935 Gigabyte Technology Co., Ltd. GA-MA785GM-US2H/GA-MA785GM-US2H
Feb 23 12:06:47 kernel: [85707.910226] RIP: 0010:[<ffffffff8103ec09>] [<ffffffff8103ec09>] __ticket_spin_lock+0x9/0x30
Feb 23 12:06:47 kernel: [85707.910263] RSP: 0018:ffff880217817b90 EFLAGS: 00010206
Feb 23 12:06:47 kernel: [85707.910287] RAX: 0000000000010000 RBX: 0000000000000001 RCX: 0000000000080007
Feb 23 12:06:47 kernel: [85707.910316] RDX: 0000000000070007 RSI: 0000000000000361 RDI: 0000000000000088
Feb 23 12:06:47 kernel: [85707.910347] RBP: ffff880217817b90 R08: dead000000200200 R09: dead000000100100
Feb 23 12:06:47 kernel: [85707.910376] R10: 0000000000000001 R11: dead000000200200 R12: 0000000000000088
Feb 23 12:06:47 kernel: [85707.910407] R13: ffff8800072867d0 R14: ffff8800072869a0 R15: ffff88021725f948
Feb 23 12:06:47 kernel: [85707.910437] FS: 00007f0d4d3629c0(0000) GS:ffff880227c40000(0000) knlGS:00000000f5f41710
Feb 23 12:06:47 kernel: [85707.910471] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Feb 23 12:06:47 kernel: [85707.910496] CR2: 0000000000000088 CR3: 00000000cf938000 CR4: 00000000000006e0
Feb 23 12:06:47 kernel: [85707.910526] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 23 12:06:47 kernel: [85707.910556] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Feb 23 12:06:47 kernel: [85707.910586] Process kswapd0 (pid: 58, threadinfo ffff880217816000, task ffff88021bbbade0)
Feb 23 12:06:47 kernel: [85707.910620] Stack:
Feb 23 12:06:47 kernel: [85707.910629] ffff880217817ba0 ffffffff8165fbce ffff880217817bd0 ffffffff811b114e
Feb 23 12:06:47 kernel: [85707.910665] ffff8800072867d0 ffff8800072868b8 ffff88021725f800 ffff880007286850
Feb 23 12:06:47 kernel: [85707.910698] ffff880217817c50 ffffffff8119c1eb ffff880217817c50 ffffffff811997dd
Feb 23 12:06:47 kernel: [85707.910732...

Read more...

tags: added: kernel-bug-exists-upstream
penalvch (penalvch)
summary: - kernel BUG at /build/buildd/linux-3.0.0/fs/buffer.c:3234!
+ kernel BUG at /build/buildd/linux-3.0.0/fs/buffer.c:3234!; RIP:
+ 0010:[<ffffffff811965a1>] [<ffffffff811965a1>]
+ free_buffer_head+0x31/0x40
tags: added: needs-kernel-logs
tags: removed: apport-collected
Revision history for this message
penalvch (penalvch) wrote :

Oliver Stecher, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.