You are not logged in.

#1 2016-01-19 20:17:26

pvenkman
Member
Registered: 2016-01-09
Posts: 6

System freezes with kernel BUG fs/buffer.c:3359

Hello,

I am running a fresh system with Skylake architecture. About once a day the system freezes spontaneously and does not wake up again. Magic keys don't work (but they do if I test them on a not-freezed system), even the reset button fails, only switching the system off and on again will "fix" it. I switched to a dedicated graphics card I had lying around due to this post on the kernel.org bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=109081

[EDIT]
Since I added  intel_idle.max_cstate=0 as kernel boot option, the crashes occur less often (now 1-2/day).

I always get a kernel bug message in journalctl when this happens.

 ------------[ cut here ]------------
Jan 18 22:46:25 snip kernel: kernel BUG at fs/buffer.c:3359!
Jan 18 22:46:25 snip kernel: invalid opcode: 0000 [#2] PREEMPT SMP 
Jan 18 22:46:25 snip kernel: Modules linked in: tun nls_iso8859_1 nls_cp437 vfat fat uas usb_storage fuse cfg80211 nct6775 h
Jan 18 22:46:25 snip kernel:  ip_tables x_tables ext4 crc16 mbcache jbd2 sha256_ssse3 sha256_generic hmac drbg ansi_cprng al
Jan 18 22:46:25 snip kernel: CPU: 1 PID: 3278 Comm: systemd-coredum Tainted: G      D         4.3.3-2-ARCH #1
Jan 18 22:46:25 snip kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B150M-HDV, BIOS P1.00 07/20/2015
Jan 18 22:46:25 snip kernel: task: ffff8802b4db8000 ti: ffff880070998000 task.ti: ffff880070998000
Jan 18 22:46:25 snip kernel: RIP: 0010:[<ffffffff8120eecd>]  [<ffffffff8120eecd>] free_buffer_head+0x5d/0x60
Jan 18 22:46:25 snip kernel: RSP: 0000:ffff88007099b758  EFLAGS: 00010287
Jan 18 22:46:25 snip kernel: RAX: ffff880045207fb8 RBX: ffff880045207f70 RCX: ffff88045f559370
Jan 18 22:46:25 snip kernel: RDX: 0000000000000000 RSI: ffff88007099b760 RDI: ffff880045207f70
Jan 18 22:46:25 snip kernel: RBP: ffff88007099b788 R08: 0000000000000000 R09: ffff88045bb1ba28
Jan 18 22:46:25 snip kernel: R10: ffff88007099b788 R11: 0000000000314eef R12: 0000000000000001
Jan 18 22:46:25 snip kernel: R13: ffff88045bb1baa0 R14: ffffea0004ca4ec0 R15: ffff880082026b98
Jan 18 22:46:25 snip kernel: FS:  0000000000000000(0000) GS:ffff880475480000(0000) knlGS:0000000000000000
Jan 18 22:46:25 snip kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 18 22:46:25 snip kernel: CR2: 00007f375e4a11f0 CR3: 000000007ebc0000 CR4: 00000000003406e0
Jan 18 22:46:25 snip kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 18 22:46:25 snip kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jan 18 22:46:25 snip kernel: Stack:
Jan 18 22:46:25 snip kernel:  ffffffff8120f223 ffff880045207f70 0000000072c2e611 ffff880045207f70
Jan 18 22:46:25 snip kernel:  0000000000000000 ffff880045207f70 ffff88007099b7c8 ffffffffa0270829
Jan 18 22:46:25 snip kernel:  ffffea0004ca4e80 ffff88007099bbe0 ffffea0004ca4ec0 ffff880082026800
Jan 18 22:46:25 snip kernel: Call Trace:
Jan 18 22:46:25 snip kernel:  [<ffffffff8120f223>] ? try_to_free_buffers+0x83/0xd0
Jan 18 22:46:25 snip kernel:  [<ffffffffa0270829>] jbd2_journal_try_to_free_buffers+0x129/0x140 [jbd2]
Jan 18 22:46:25 snip kernel:  [<ffffffffa0297ee2>] ext4_releasepage+0x52/0xb0 [ext4]
Jan 18 22:46:25 snip kernel:  [<ffffffff8115f592>] try_to_release_page+0x32/0x40
Jan 18 22:46:25 snip kernel:  [<ffffffff81173f34>] shrink_page_list+0x704/0x7b0
Jan 18 22:46:25 snip kernel:  [<ffffffff811746c0>] shrink_inactive_list+0x260/0x530
Jan 18 22:46:25 snip kernel:  [<ffffffff811752ce>] shrink_lruvec+0x55e/0x740
Jan 18 22:46:25 snip kernel:  [<ffffffffa00fa519>] ? ata_qc_issue+0x169/0x3a0 [libata]
Jan 18 22:46:25 snip kernel:  [<ffffffffa0100922>] ? ata_scsi_translate+0xb2/0x1a0 [libata]
Jan 18 22:46:25 snip kernel:  [<ffffffff8117555e>] shrink_zone+0xae/0x2c0
Jan 18 22:46:25 snip kernel:  [<ffffffff811758d5>] do_try_to_free_pages+0x165/0x3f0
Jan 18 22:46:25 snip kernel:  [<ffffffff81175c07>] try_to_free_pages+0xa7/0x180
Jan 18 22:46:25 snip kernel:  [<ffffffff81167de4>] __alloc_pages_nodemask+0x5b4/0x960
Jan 18 22:46:25 snip kernel:  [<ffffffff8106a394>] ? flush_tlb_page+0x44/0xa0
Jan 18 22:46:25 snip kernel:  [<ffffffff811af961>] alloc_pages_current+0x91/0x100
Jan 18 22:46:25 snip kernel:  [<ffffffff810685a7>] pte_alloc_one+0x17/0x40
Jan 18 22:46:25 snip kernel:  [<ffffffff8118d0d3>] __pte_alloc+0x23/0x170
Jan 18 22:46:25 snip kernel:  [<ffffffff811908f4>] handle_mm_fault+0x874/0x18a0
Jan 18 22:46:25 snip kernel:  [<ffffffff8119710f>] ? do_mmap+0x36f/0x420
Jan 18 22:46:25 snip kernel:  [<ffffffff81063119>] __do_page_fault+0x189/0x450
Jan 18 22:46:25 snip kernel:  [<ffffffff81195519>] ? SyS_mmap_pgoff+0xf9/0x250
Jan 18 22:46:25 snip kernel:  [<ffffffff81063402>] do_page_fault+0x22/0x30
Jan 18 22:46:25 snip kernel:  [<ffffffff81585eb8>] page_fault+0x28/0x30
Jan 18 22:46:25 snip kernel: Code: 00 00 00 65 0f c1 05 97 20 e0 7e 3d ff 0f 00 00 7f 12 65 ff 0d 15 ce df 7e 74 02 5d c3 e8
Jan 18 22:46:25 snip kernel: RIP  [<ffffffff8120eecd>] free_buffer_head+0x5d/0x60
Jan 18 22:46:25 snip kernel:  RSP <ffff88007099b758>
Jan 18 22:46:25 snip kernel: ---[ end trace f98161383c8627af ]---

Another "interesting" fact - Firefox crashes from time to time (much more often than once a day) - which I am also not used to. BUT I also have these freezes when firefox is not running.

Please support.

Last edited by pvenkman (2016-01-19 20:58:32)

Offline

#2 2016-01-19 20:32:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: System freezes with kernel BUG fs/buffer.c:3359

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-01-20 13:51:01

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: System freezes with kernel BUG fs/buffer.c:3359

pvenkman wrote:

I added  intel_idle.max_cstate=0 as kernel boot option

Where did you get this idea from? If it was some "solved" topic about Intel CPUs on this forum, skip to the end of this topic and read there smile

Offline

#4 2016-01-20 21:05:21

pvenkman
Member
Registered: 2016-01-09
Posts: 6

Re: System freezes with kernel BUG fs/buffer.c:3359

mich41 wrote:
pvenkman wrote:

I added  intel_idle.max_cstate=0 as kernel boot option

Where did you get this idea from? If it was some "solved" topic about Intel CPUs on this forum, skip to the end of this topic and read there smile

Are you refering to the link I posted? If you look at the end you'll see that the problem is not solved and "they" have still not progressed further than the cstate setting.

https://bugzilla.kernel.org/show_bug.cgi?id=109081#c66

Only use the cstate flag. For me the OSI flag doesn't do anything and the backlight flag breaks brightness. When using only the cstate flag everything appears to work; including brightness.

Offline

#5 2016-01-21 00:11:04

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: System freezes with kernel BUG fs/buffer.c:3359

Oh, I see it now. I thought that maybe you got this idea from one of "Broadwell/Skylake crashes" topics here on Arch forum. Because there were a few and they always end up the same way: install BIOS and microcode updates because the latest CPUs from Intel tend to be unusually buggy smile

Now, you might be the first to suffer from actual bug in Arch, but we'll see once the updates are in place.

Last edited by mich41 (2016-01-21 00:11:28)

Offline

Board footer

Powered by FluxBB