[Bug 839178] New: kernel oops with btrfs quota
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c0 Summary: kernel oops with btrfs quota Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 4 Platform: i686 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: aschnell@suse.com QAContact: qa-bugs@suse.de Found By: Development Blocker: --- With openSUSE-Factory-DVD-i586-Build0681-Media.iso in VirtualBox I have enabled quota for the root file-system. When installing some packages I get a kernel oops. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c1 --- Comment #1 from Arvin Schnell <aschnell@suse.com> 2013-09-09 15:13:42 UTC --- Created an attachment (id=556436) --> (http://bugzilla.novell.com/attachment.cgi?id=556436) screenshot (upper half) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c2 --- Comment #2 from Arvin Schnell <aschnell@suse.com> 2013-09-09 15:14:07 UTC --- Created an attachment (id=556437) --> (http://bugzilla.novell.com/attachment.cgi?id=556437) screenshot (lower half) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c3 --- Comment #3 from Arvin Schnell <aschnell@suse.com> 2013-09-09 15:16:30 UTC --- According to Jeff btrfs qgroups are supported: http://lists.opensuse.org/opensuse-factory/2013-09/msg00040.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dsterba@suse.com AssignedTo|kernel-maintainers@forge.pr |dsterba@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | GOLD -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-09-27 15:04:28 CEST --- Created an attachment (id=560559) --> (http://bugzilla.novell.com/attachment.cgi?id=560559) console log with backtrace reproduced this bug in KVM using a default 13.1-beta DVD KDE install with 9GB btrfs rootfs using just btrfs quota enable / btrfs_qgroup_rescan_worker calls => btrfs_find_all_roots => find_parent_nodes I also tried to track it down further using objdump -d /lib/modules/`uname -r`/kernel/fs/btrfs/btrfs.ko but offset 0x380 of function find_parent_nodes seems to be in the middle of an 10-byte "movabsq" opcode of fs/btrfs/backref.c:434 if (btrfs_header_level(eb) == 0) which is intermixed with opcodes from inlined include/linux/mm.h:764 (lowmem_page_address) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c5 --- Comment #5 from David Sterba <dsterba@suse.com> 2013-09-30 16:54:34 CEST --- (In reply to comment #4)
Created an attachment (id=560559) --> (http://bugzilla.novell.com/attachment.cgi?id=560559) [details] console log with backtrace
Welcome to openSUSE 13.1 "Bottle" Beta 1 - Kernel 3.11.1-1.g1383321-default (ttyS0). Git commit 1383321 -- that's the one before bunch of btrfs backports that did not make it to beta1. I verified that quotas work with 13.1 and the updated kernel, but this will be visible on next milestone media. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c6 --- Comment #6 from Arvin Schnell <aschnell@suse.com> 2013-10-14 08:28:06 UTC --- I still get a kernel oops with openSUSE 13.1 RC1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c7 --- Comment #7 from David Sterba <dsterba@suse.com> 2013-10-17 18:04:30 CEST --- I can reproduce it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c8 --- Comment #8 from David Sterba <dsterba@suse.com> 2013-10-21 17:40:03 CEST --- It seems to be i686 specific, I can't reproduce it on a 64bit host and also happened with kernel-vanilla so it's likely bug upstream as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839178 https://bugzilla.novell.com/show_bug.cgi?id=839178#c9 David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| GOLD | GOLD btrfs:crash --- Comment #9 from David Sterba <dsterba@suse.com> 2013-11-11 18:26:38 CET --- I'm narrowing it down, looks like a corruption of a on-stack variable prelim_refs in find_parent_nodes, it gets corrupted between __merge_refs(&prefs, 1); .. while (!list_empty(&prefs_delayed)) { lines where the first list entry has next == NULL and prev == unchanged previous value. It looks strange, because prelim_refs are not used at all, empty list across all calls and the same path is processed many times before it crashes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com