Public bug reported: This has happened a couple of times recently under heavy disk IO, not sure why because this hasn't happened for a long time before. So the setup is: Karmic host with ext4 filesystem. Karmic KVM guest with encrypted filesystem on a disk-file on the ext4 filesystem. The BUG is on the host.
You can see that this happens both with 2.6.31-16 and 2.6.31-9-rt (which is a bit older, right?). [ 9036.873933] ------------[ cut here ]------------ [ 9036.873948] kernel BUG at /build/buildd/linux-2.6.31/fs/ext4/extents.c:1184! [ 9036.873955] invalid opcode: 0000 [#1] SMP [ 9036.873963] last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/host1/target1:0:0/1:0:0:0/block/sda/uevent [ 9036.873969] CPU 1 [ 9036.873973] Modules linked in: isofs udf crc_itu_t tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp kvm_amd kvm bridge stp snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec tda827x tda10023 snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss budget_ci snd_seq_midi budget_core snd_rawmidi snd_seq_midi_event dvb_core saa7146 ttpci_eeprom snd_seq ir_common snd_timer snd_seq_device psmouse iptable_filter ip_tables snd soundcore i2c_piix4 snd_page_alloc lirc_mceusb shpchp x_tables lirc_dev serio_raw lp parport k8temp amd64_edac_mod edac_core radeon ttm drm i2c_algo_bit r8169 mii [ 9036.874070] Pid: 2731, comm: kvm Not tainted 2.6.31-16-generic #53-Ubuntu Unknow [ 9036.874076] RIP: 0010:[<ffffffff811d020e>] [<ffffffff811d020e>] ext4_ext_search_left+0xde/0xf0 [ 9036.874098] RSP: 0018:ffff8800147a18c0 EFLAGS: 00010216 [ 9036.874103] RAX: ffff88006bda0160 RBX: 0000000000000052 RCX: ffff8800496ff00c [ 9036.874108] RDX: 0000000000000001 RSI: ffff88006bda0100 RDI: 0000000000000002 [ 9036.874113] RBP: ffff8800147a18c8 R08: 0000000000000002 R09: 0000000001672e2a [ 9036.874119] R10: 0000000001672e48 R11: ffff88006bda0190 R12: 0000000000000001 [ 9036.874124] R13: ffff880063593130 R14: ffff88006bda0100 R15: ffff8800147a1a08 [ 9036.874130] FS: 00007f8530e78910(0000) GS:ffff880001a14000(0000) knlGS:0000000000000000 [ 9036.874136] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 9036.874141] CR2: 00007f1491d5a000 CR3: 000000005fc91000 CR4: 00000000000006e0 [ 9036.874146] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 9036.874151] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 9036.874157] Process kvm (pid: 2731, threadinfo ffff8800147a0000, task ffff880059e28000) [ 9036.874161] Stack: [ 9036.874164] 0000000001672e2a ffff8800147a1978 ffffffff811d3ae0 0000000000000003 [ 9036.874172] <0> 0000000000000001 ffff88006d8ce3c0 000000060000000d ffff8800147a1948 [ 9036.874181] <0> ffffffff815297ac ffff880001672e2a ffffffff81036419 0000000000000000 [ 9036.874190] Call Trace: [ 9036.874200] [<ffffffff811d3ae0>] ext4_ext_get_blocks+0x360/0x5b0 [ 9036.874212] [<ffffffff815297ac>] ? __down_write_nested+0xbc/0xd0 [ 9036.874224] [<ffffffff81036419>] ? default_spin_lock_flags+0x9/0x10 [ 9036.874232] [<ffffffff811b4a19>] ext4_get_blocks+0x1d9/0x210 [ 9036.874239] [<ffffffff811b53f7>] mpage_da_map_blocks+0xa7/0x370 [ 9036.874247] [<ffffffff811eb07e>] ? jbd2_journal_start+0xae/0x100 [ 9036.874254] [<ffffffff811b5963>] ext4_da_writepages+0x2a3/0x500 [ 9036.874267] [<ffffffff810e3928>] do_writepages+0x28/0x50 [ 9036.874274] [<ffffffff810dae93>] __filemap_fdatawrite_range+0x53/0x60 [ 9036.874281] [<ffffffff810db2fe>] filemap_fdatawrite_range+0xe/0x10 [ 9036.874288] [<ffffffff810db403>] sync_page_range+0x63/0xb0 [ 9036.874295] [<ffffffff810dccba>] generic_file_aio_write+0xaa/0xf0 [ 9036.874306] [<ffffffff811ae3b9>] ext4_file_write+0x49/0x160 [ 9036.874313] [<ffffffff81036419>] ? default_spin_lock_flags+0x9/0x10 [ 9036.874321] [<ffffffff811ae370>] ? ext4_file_write+0x0/0x160 [ 9036.874331] [<ffffffff8111eed3>] do_sync_readv_writev+0xf3/0x130 [ 9036.874341] [<ffffffff81078b30>] ? autoremove_wake_function+0x0/0x40 [ 9036.874353] [<ffffffff81220a81>] ? security_file_permission+0x11/0x20 [ 9036.874361] [<ffffffff8111ffba>] do_readv_writev+0xca/0x1f0 [ 9036.874370] [<ffffffff8108b348>] ? do_futex+0xc8/0x1c0 [ 9036.874377] [<ffffffff8112011e>] vfs_writev+0x3e/0x60 [ 9036.874385] [<ffffffff811201da>] sys_pwritev+0x9a/0xb0 [ 9036.874396] [<ffffffff81012002>] system_call_fastpath+0x16/0x1b [ 9036.874400] Code: 13 45 39 d1 72 2d 41 83 ea 01 48 63 db 44 89 12 8b 50 08 0f b7 40 06 48 c1 e0 20 48 09 d0 48 8d 44 18 ff 48 89 01 31 c0 5b c9 c3 <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 66 90 55 48 89 [ 9036.874462] RIP [<ffffffff811d020e>] ext4_ext_search_left+0xde/0xf0 [ 9036.874471] RSP <ffff8800147a18c0> [ 9036.874478] ---[ end trace f13358d30dc8de09 ]--- [10322.349882] ------------[ cut here ]------------ [10322.349898] kernel BUG at /build/buildd/linux-rt-2.6.31/fs/ext4/extents.c:1184! [10322.349905] invalid opcode: 0000 [#1] PREEMPT SMP [10322.349913] last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/host1/target1:0:0/1:0:0:0/block/sda/uevent [10322.349919] CPU 1 [10322.349923] Modules linked in: tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge stp kvm_amd kvm tda827x tda10023 budget_ci snd_hda_codec_atihdmi budget_core dvb_core snd_hda_codec_realtek saa7146 snd_seq_dummy snd_seq_oss snd_seq_midi ttpci_eeprom lp psmouse snd_hda_intel serio_raw snd_rawmidi snd_hda_codec snd_hwdep snd_pcm_oss snd_seq_midi_event ir_common snd_mixer_oss snd_seq amd64_edac_mod snd_pcm parport edac_core snd_timer iptable_filter k8temp ip_tables i2c_piix4 snd_seq_device shpchp x_tables snd soundcore lirc_mceusb lirc_dev snd_page_alloc r8169 mii radeon ttm drm i2c_algo_bit [10322.350015] Pid: 3068, comm: kvm Not tainted 2.6.31-9-rt #152-Ubuntu Unknow [10322.350021] RIP: 0010:[<ffffffff811d46ae>] [<ffffffff811d46ae>] ext4_ext_search_left+0xde/0xf0 [10322.350039] RSP: 0018:ffff88004e4fd900 EFLAGS: 00010216 [10322.350044] RAX: ffff88002ec3d8e0 RBX: 0000000000000052 RCX: ffff880045a3c00c [10322.350049] RDX: 0000000000000001 RSI: ffff88002ec3d880 RDI: 0000000000000002 [10322.350054] RBP: ffff88004e4fd908 R08: 0000000000000002 R09: 0000000001672e1c [10322.350059] R10: 0000000001672e48 R11: ffff88002ec3d910 R12: ffff8800625f0ac0 [10322.350064] R13: ffff8800625f0ba0 R14: ffff88004e4fda48 R15: ffff88002ec3d880 [10322.350071] FS: 00007fda56490910(0000) GS:ffff880001b53000(0000) knlGS:0000000000000000 [10322.350076] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [10322.350081] CR2: 00007f67a4ed7000 CR3: 0000000060d71000 CR4: 00000000000006e0 [10322.350086] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [10322.350091] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [10322.350097] Process kvm (pid: 3068, threadinfo ffff88004e4fc000, task ffff88004f0d8840) [10322.350101] Stack: [10322.350104] 0000000001672e1c ffff88004e4fd9b8 ffffffff811d7fc4 0000000000000292 [10322.350112] <0> ffff8800625f0fc8 ffff88001ac91810 000000040000000d ffff8800625f0d48 [10322.350120] <0> ffff8800625f0d30 ffff880001672e1c ffff880001b61ae0 0000000000000000 [10322.350129] Call Trace: [10322.350139] [<ffffffff811d7fc4>] ext4_ext_get_blocks+0x384/0x5d0 [10322.350148] [<ffffffff811b9809>] ext4_get_blocks+0x1d9/0x210 [10322.350156] [<ffffffff811ba1d7>] mpage_da_map_blocks+0xa7/0x370 [10322.350166] [<ffffffff810ea591>] ? __pagevec_release+0x21/0x30 [10322.350173] [<ffffffff810e80e0>] ? write_cache_pages+0x2b0/0x4e0 [10322.350180] [<ffffffff811bab00>] ? __mpage_da_writepage+0x0/0x1a0 [10322.350190] [<ffffffff811ef80e>] ? jbd2_journal_start+0xae/0x100 [10322.350197] [<ffffffff811ba753>] ext4_da_writepages+0x2b3/0x590 [10322.350205] [<ffffffff810e836b>] do_writepages+0x2b/0x50 [10322.350214] [<ffffffff810df02b>] __filemap_fdatawrite_range+0x5b/0x60 [10322.350222] [<ffffffff810df34e>] filemap_fdatawrite_range+0xe/0x10 [10322.350230] [<ffffffff810df453>] sync_page_range+0x63/0xb0 [10322.350238] [<ffffffff810e116a>] generic_file_aio_write+0xaa/0xf0 [10322.350245] [<ffffffff811b30bc>] ext4_file_write+0x4c/0x160 [10322.350253] [<ffffffff81122892>] do_sync_write+0xf2/0x130 [10322.350264] [<ffffffff8107ae80>] ? autoremove_wake_function+0x0/0x40 [10322.350273] [<ffffffff8108bbe1>] ? futex_wake+0x111/0x130 [10322.350282] [<ffffffff812255f1>] ? security_file_permission+0x11/0x20 [10322.350289] [<ffffffff81122b78>] vfs_write+0xb8/0x1a0 [10322.350296] [<ffffffff81123ecd>] ? fget_light+0x9d/0xb0 [10322.350302] [<ffffffff8112351a>] sys_pwrite64+0x7a/0x90 [10322.350313] [<ffffffff81012102>] system_call_fastpath+0x16/0x1b [10322.350317] Code: 13 45 39 d1 72 2d 41 83 ea 01 48 63 db 44 89 12 8b 50 08 0f b7 40 06 48 c1 e0 20 48 09 d0 48 8d 44 18 ff 48 89 01 31 c0 5b c9 c3 <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 66 90 55 48 89 [10322.350380] RIP [<ffffffff811d46ae>] ext4_ext_search_left+0xde/0xf0 [10322.350387] RSP <ffff88004e4fd900> [10322.350425] ---[ end trace 167087d20ac5c1ae ]--- ProblemType: Bug Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: ernst 2747 F.... xfce4-volumed /dev/snd/controlC0: ernst 2747 F.... xfce4-volumed CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16' Mixer name : 'Realtek ALC889A' Components : 'HDA:10ec0885,1458a002,00100101' Controls : 37 Simple ctrls : 20 Card1.Amixer.info: Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfdffc000 irq 19' Mixer name : 'ATI RS690/780 HDMI' Components : 'HDA:1002791a,00791a00,00100000' Controls : 4 Simple ctrls : 1 Card1.Amixer.values: Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Date: Sun Jan 3 09:48:41 2010 DistroRelease: Ubuntu 9.10 HibernationDevice: RESUME=UUID=0c64fb3c-7faa-4c4e-82b6-dfbf940706fc InstallationMedia: Mythbuntu 9.10 "Karmic Koala" - Release amd64 (20091027) MachineType: Unknow Unknow Package: linux-image-2.6.31-16-virtual (not installed) ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-9-rt root=UUID=2d2e97fa-0922-407c-8077-e623b022b3c0 ro rootflags=data=writeback quiet splash ProcEnviron: LANG=sv_SE.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-9.152-rt RelatedPackageVersions: linux-firmware 1.25 RfKill: SourcePackage: linux Uname: Linux 2.6.31-9-rt x86_64 XsessionErrors: (polkit-gnome-authentication-agent-1:2727): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed dmi.bios.date: 12/31/2008 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F7 dmi.board.name: RS780-SB700 dmi.board.version: Unknox dmi.chassis.type: 3 dmi.chassis.vendor: Unknow dmi.chassis.version: Unknow dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF7:bd12/31/2008:svnUnknow:pnUnknow:pvrUnknow:rvn:rnRS780-SB700:rvrUnknox:cvnUnknow:ct3:cvrUnknow: dmi.product.name: Unknow dmi.product.version: Unknow dmi.sys.vendor: Unknow ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- kernel BUG at /build/buildd/linux-rt-2.6.31/fs/ext4/extents.c:1184! https://bugs.launchpad.net/bugs/502542 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs