Hello folks, I am using btrfs-0.8 since a while and today I hit a bug. Here are some details of the crash - hope that helps: dmesg: ------------[ cut here ]------------ kernel BUG at /var/tmp/portage/sys-fs/btrfs-0.8/work/btrfs-0.8/extent-tree.c:1199! invalid opcode: 0000 [#1] SMP Modules linked in: tun rlocate fuse snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device btrfs libcrc32c esp4 ah4 iwl3945(F) mac80211 pcmcia cfg80211 firmware_class firewire_ohci nvidia(P) firewire_core crc_itu_t e100 mii yenta_socket rsrc_nonstatic pcmcia_core tifm_7xx1 tifm_core intel_agp agpgart snd_hda_intel snd_pcm snd_timer snd snd_page_alloc rtc i2c_i801 nfs lockd sunrpc dm_bbr dm_snapshot dm_mirror dm_mod scsi_wait_scan usbhid ohci_hcd uhci_hcd usb_storage ehci_hcd usbcore CPU: 0 EIP: 0060:[<f9df9c7e>] Tainted: PF VLI EFLAGS: 00010282 (2.6.22-gentoo-r8 #1) EIP is at btrfs_alloc_extent+0x104e/0x1240 [btrfs] eax: dfc6fa50 ebx: 000bb476 ecx: dfc6f730 edx: 00000000 esi: 00000000 edi: 00000069 ebp: d0d6bc50 esp: d0d6baf8 ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 Process update-eix (pid: 11417, ti=d0d6a000 task=ca103950 task.ti=d0d6a000) Stack: dfc6f730 00000000 00000000 00000000 00001000 0000000c c1bf9600 000a0004 00000007 00000000 00000000 00000000 dffc9850 dffc9820 d0d6bbcc 000b0000 00000000 dffc9c00 f51a4938 dffc9800 c1bf9600 00000000 00000000 00000000 Call Trace: [<f9dff110>] clear_radix_bit+0x70/0x80 [btrfs] [<fa496542>] _nv003707rm+0x19/0x1d [nvidia] [<f9dfa126>] btrfs_alloc_free_block+0x76/0x140 [btrfs] [<f9df38e6>] btrfs_leaf_free_space+0xf26/0x1240 [btrfs] [<f9df3d47>] btrfs_cow_block+0x147/0x1c10 [btrfs] [<f9df58e0>] btrfs_search_slot+0xd0/0xc70 [btrfs] [<c031c28f>] ata_scsi_translate+0xaf/0x1a0 [<c0130da7>] lock_timer_base+0x27/0x60 [<c0276672>] __next_cpu+0x12/0x30 [<c012021c>] find_busiest_group+0x13c/0x650 [<c03015db>] scsi_dispatch_cmd+0x14b/0x220 [<c015b618>] __do_page_cache_readahead+0xc8/0x240 [<f9dfc56c>] btrfs_lookup_inode+0x3c/0xb0 [btrfs] [<f9e00080>] btrfs_update_inode+0x40/0x3b0 [btrfs] [<f9e01df9>] btrfs_dirty_inode+0x49/0x740 [btrfs] [<c0192726>] __mark_inode_dirty+0x36/0x1a0 [<c012ca8d>] current_fs_time+0x4d/0x60 [<c0155989>] do_generic_mapping_read+0x4d9/0x5f0 [<c015784d>] generic_file_aio_read+0x10d/0x1a0 [<c0154ab0>] file_read_actor+0x0/0xf0 [<c01758e5>] do_sync_read+0xd5/0x120 [<c013b1e0>] autoremove_wake_function+0x0/0x40 [<c0175810>] do_sync_read+0x0/0x120 [<c01761bb>] vfs_read+0xbb/0x140 [<c01766a1>] sys_read+0x41/0x70 [<c010414a>] sysenter_past_esp+0x5f/0x85 ======================Code: ff 39 c3 0f 82 23 f6 ff ff 8d 74 26 00 e9 a9 f8 ff ff 8b 54 24 74 8b 84 24 a4 00 00 00 e8 8b 8a ff ff 8b 44 24 74 e8 92 cb ff ff <0f> 0b eb fe 8b ac 24 c0 00 00 00 8b 4c 24 7c 8b 9c 24 80 00 00 EIP: [<f9df9c7e>] btrfs_alloc_extent+0x104e/0x1240 [btrfs] SS:ESP 0068:d0d6baf8 uname -a: Linux pavilion 2.6.22-gentoo-r8 #1 SMP Mon Oct 1 09:55:06 CEST 2007 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz GenuineIntel GNU/Linux -- mfg Toei Rei STARGAZER systems http://www.stargazer.at -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://oss.oracle.com/pipermail/btrfs-devel/attachments/20071009/5b0e0029/attachment.bin
On Tue, 2007-10-09 at 16:15 +0200, Toei Rei wrote:> Hello folks, > > I am using btrfs-0.8 since a while and today I hit a bug. Here are some > details of the crash - hope that helps: >One possible cause of this is that your disk filled up. Another possible cause is fixed by a few changes I have here locally. I've just about got the large blocksize code stable and fast enough to post, it'll come out shortly. -chris
2007/10/9, Toei Rei <toei.rei@stargazer.at>:> Hello folks, > > I am using btrfs-0.8 since a while and today I hit a bug. Here are some > details of the crash - hope that helps: >Is your disk nearly full? btrfs currently doesn't handle disk full conditions . Regards YZ