[Bug 957131] Re: btrfs kernel bug
sam tygier
samtygier at yahoo.co.uk
Sat Mar 17 21:18:20 UTC 2012
i think this is a kernel bug, rather in the btrfs tools.
also trace looks similar to this
https://bugzilla.redhat.com/show_bug.cgi?id=788064
** Bug watch added: Red Hat Bugzilla #788064
https://bugzilla.redhat.com/show_bug.cgi?id=788064
** Package changed: btrfs-tools (Ubuntu) => linux (Ubuntu)
** Also affects: linux (Fedora) via
https://bugzilla.redhat.com/show_bug.cgi?id=788064
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/957131
Title:
btrfs kernel bug
Status in “linux” package in Ubuntu:
New
Status in “linux” package in Fedora:
Unknown
Bug description:
I have recently attached a USB disk with btrfs on:
ft at vader:~$ sudo fdisk -l /dev/sdc
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x66af66af
Device Boot Start End Blocks Id System
/dev/sdc1 63 625137344 312568641 83 Linux
The disk was physically connected the whole time, and I was running a
backup to it when:
[4597103.123241] usb 1-2: USB disconnect, device number 19
[4597103.124722] scsi: killing requests for dead queue
[4597107.232066] usb 1-2: new high speed USB device number 21 using ehci_hcd
[4597107.367894] scsi21 : usb-storage 1-2:1.0
[4597108.909195] scsi 21:0:0:0: Direct-Access CREATIVE NOMAD MuVo TX 1202 PQ: 0 ANSI: 4
[4597108.909330] scsi: killing requests for dead queue
[4597108.909442] scsi: killing requests for dead queue
[4597108.909541] scsi: killing requests for dead queue
[4597108.909638] scsi: killing requests for dead queue
[4597108.909734] scsi: killing requests for dead queue
[4597108.909830] scsi: killing requests for dead queue
[4597108.909926] scsi: killing requests for dead queue
[4597108.910023] scsi: killing requests for dead queue
[4597108.910958] sd 21:0:0:0: Attached scsi generic sg2 type 0
[4597108.911183] sd 21:0:0:0: [sdc] 509120 2048-byte logical blocks: (1.04 GB/994 MiB)
[4597108.911642] sd 21:0:0:0: [sdc] Write Protect is off
[4597108.911652] sd 21:0:0:0: [sdc] Mode Sense: 38 00 00 00
[4597108.912343] sd 21:0:0:0: [sdc] No Caching mode page present
[4597108.912353] sd 21:0:0:0: [sdc] Assuming drive cache: write through
[4597108.915711] sd 21:0:0:0: [sdc] 509120 2048-byte logical blocks: (1.04 GB/994 MiB)
[4597108.916540] sd 21:0:0:0: [sdc] No Caching mode page present
[4597108.916545] sd 21:0:0:0: [sdc] Assuming drive cache: write through
[4597108.917724] sdc: sdc1
[4597108.919042] sd 21:0:0:0: [sdc] 509120 2048-byte logical blocks: (1.04 GB/994 MiB)
[4597108.920246] sd 21:0:0:0: [sdc] No Caching mode page present
[4597108.920250] sd 21:0:0:0: [sdc] Assuming drive cache: write through
[4597108.920253] sd 21:0:0:0: [sdc] Attached SCSI removable disk
[4597340.005439] sdc: detected capacity change from 1042677760 to 0
[4597342.112740] usb 1-2: USB disconnect, device number 21
[4597342.120506] scsi: killing requests for dead queue
[4597344.284055] usb 1-2: new high speed USB device number 22 using ehci_hcd
[4597344.438798] scsi22 : usb-storage 1-2:1.0
[4597352.117133] scsi 22:0:0:0: Direct-Access Maxtor 3200 0344 PQ: 0 ANSI: 4
[4597352.117259] scsi: killing requests for dead queue
[4597352.117370] scsi: killing requests for dead queue
[4597352.117481] scsi: killing requests for dead queue
[4597352.117578] scsi: killing requests for dead queue
[4597352.117673] scsi: killing requests for dead queue
[4597352.117769] scsi: killing requests for dead queue
[4597352.117865] scsi: killing requests for dead queue
[4597352.117962] scsi: killing requests for dead queue
[4597352.121169] sd 22:0:0:0: Attached scsi generic sg2 type 0
[4597352.122178] sd 22:0:0:0: [sdc] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[4597352.123191] sd 22:0:0:0: [sdc] Write Protect is off
[4597352.123201] sd 22:0:0:0: [sdc] Mode Sense: 17 00 00 00
[4597352.124840] sd 22:0:0:0: [sdc] No Caching mode page present
[4597352.124850] sd 22:0:0:0: [sdc] Assuming drive cache: write through
[4597352.128695] sd 22:0:0:0: [sdc] No Caching mode page present
[4597352.128705] sd 22:0:0:0: [sdc] Assuming drive cache: write through
[4597352.132942] sdc: sdc1
[4597352.136300] sd 22:0:0:0: [sdc] No Caching mode page present
[4597352.136305] sd 22:0:0:0: [sdc] Assuming drive cache: write through
[4597352.136309] sd 22:0:0:0: [sdc] Attached SCSI disk
[4597352.646196] device label disk devid 1 transid 927 /dev/sdc1
[4597386.646330] lost page write due to I/O error on sdb1
[4597386.646386] lost page write due to I/O error on sdb1
[4597386.646441] lost page write due to I/O error on sdb1
[4597386.646448] btrfs: 1 errors while writing supers
[4597386.646496] ------------[ cut here ]------------
[4597386.646591] kernel BUG at /build/buildd/linux-3.0.0/fs/btrfs/disk-io.c:2362!
[4597386.646726] invalid opcode: 0000 [#1] SMP
[4597386.646810] Modules linked in: btrfs zlib_deflate libcrc32c pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv nls_iso8859_1 nls_cp437 vfat fat mmc_block tifm_sd usb_storage uas smsc_ircc2 binfmt_misc joydev ppdev hp_wmi sparse_keymap snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event pcmcia snd_seq snd_timer snd_seq_device ipw2200 libipw tifm_7xx1 cfg80211 tifm_core snd yenta_socket psmouse pcmcia_rsrc serio_raw lib80211 pcmcia_core soundcore snd_page_alloc parport_pc tpm_infineon ircomm_tty ircomm irda crc_ccitt dm_crypt cryptd aes_i586 firewire_sbp2 lp parport radeon ttm drm_kms_helper drm firewire_ohci sdhci_pci sdhci firewire_core crc_itu_t tg3 wmi i2c_algo_bit video [last unloaded: vboxdrv]
[4597386.648027]
[4597386.648027] Pid: 13518, comm: btrfs-transacti Not tainted 3.0.0-14-generic #23-Ubuntu Hewlett-Packard HP Compaq nc8230 (PV406ET#ABN)/0934
[4597386.648027] EIP: 0060:[<f92dfc74>] EFLAGS: 00010292 CPU: 0
[4597386.648027] EIP is at write_all_supers+0x2b4/0x2d0 [btrfs]
[4597386.648027] EAX: 0000003c EBX: ec115ba8 ECX: ffffff10 EDX: 00000000
[4597386.648027] ESI: 00000001 EDI: ec00ff18 EBP: ec00ff28 ESP: ec00feec
[4597386.648027] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[4597386.648027] Process btrfs-transacti (pid: 13518, ti=ec00e000 task=eae70cc0 task.ti=ec00e000)
[4597386.648027] Stack:
[4597386.648027] f933a36c 00000001 00000003 00000000 00000000 eb036d6f 00000001 c0dc7800
[4597386.648027] ec115b40 00000001 ec115ba8 ec115ba8 c3915098 eb036d6d eb037898 ec00ff30
[4597386.648027] f92dfca1 ec00ff84 f92e4140 00000000 00000000 00000000 00000001 ebdd4030
[4597386.648027] Call Trace:
[4597386.648027] [<f92dfca1>] write_ctree_super+0x11/0x20 [btrfs]
[4597386.648027] [<f92e4140>] btrfs_commit_transaction+0x540/0x720 [btrfs]
[4597386.648027] [<c1066380>] ? add_wait_queue+0x50/0x50
[4597386.648027] [<f92e4908>] ? start_transaction+0x38/0x50 [btrfs]
[4597386.648027] [<f92dd4bd>] transaction_kthread+0x20d/0x220 [btrfs]
[4597386.648027] [<c102fb9e>] ? complete+0x4e/0x60
[4597386.648027] [<f92dd2b0>] ? btrfs_congested_fn+0x90/0x90 [btrfs]
[4597386.648027] [<c1065b7d>] kthread+0x6d/0x80
[4597386.648027] [<c1065b10>] ? flush_kthread_worker+0x80/0x80
[4597386.648027] [<c153517e>] kernel_thread_helper+0x6/0x10
[4597386.648027] Code: 4d e0 8b 81 10 01 00 00 8b 80 94 1e 00 00 83 c0 54 e8 41 cc 24 c8 e9 c7 fe ff ff 89 74 24 04 c7 04 24 6c a3 33 f9 e8 51 a7 23 c8 <0f> 0b 89 44 24 04 c7 04 24 6c a3 33 f9 e8 3f a7 23 c8 0f 0b 90
[4597386.648027] EIP: [<f92dfc74>] write_all_supers+0x2b4/0x2d0 [btrfs] SS:ESP 0068:ec00feec
[4597386.690987] ---[ end trace 0e312ebeb1f66ef1 ]---
[4605842.241273] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[4605865.784468] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[4605873.229966] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[4605876.114143] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[4606168.341556] CPU0: Core temperature above threshold, cpu clock throttled (total events = 132398)
[4606168.341973] CPU0: Core temperature/speed normal
[4656869.086962] CPU0: Core temperature above threshold, cpu clock throttled (total events = 132405)
[4656869.087380] CPU0: Core temperature/speed normal
[4690763.359795] ------------[ cut here ]------------
[4690763.359900] kernel BUG at /build/buildd/linux-3.0.0/fs/btrfs/inode.c:3024!
[4690763.360033] invalid opcode: 0000 [#2] SMP
[4690763.360117] Modules linked in: btrfs zlib_deflate libcrc32c pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv nls_iso8859_1 nls_cp437 vfat fat mmc_block tifm_sd usb_storage uas smsc_ircc2 binfmt_misc joydev ppdev hp_wmi sparse_keymap snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event pcmcia snd_seq snd_timer snd_seq_device ipw2200 libipw tifm_7xx1 cfg80211 tifm_core snd yenta_socket psmouse pcmcia_rsrc serio_raw lib80211 pcmcia_core soundcore snd_page_alloc parport_pc tpm_infineon ircomm_tty ircomm irda crc_ccitt dm_crypt cryptd aes_i586 firewire_sbp2 lp parport radeon ttm drm_kms_helper drm firewire_ohci sdhci_pci sdhci firewire_core crc_itu_t tg3 wmi i2c_algo_bit video [last unloaded: vboxdrv]
[4690763.360646]
[4690763.360646] Pid: 21480, comm: rsync Tainted: G D 3.0.0-14-generic #23-Ubuntu Hewlett-Packard HP Compaq nc8230 (PV406ET#ABN)/0934
[4690763.360646] EIP: 0060:[<f92ee3e7>] EFLAGS: 00210282 CPU: 0
[4690763.360646] EIP is at btrfs_unlink+0xa7/0xb0 [btrfs]
[4690763.360646] EAX: fffffffb EBX: fffffffb ECX: 00de8cb4 EDX: 00de8cb3
[4690763.360646] ESI: ebdd40c0 EDI: f200e89c EBP: f3577ef8 ESP: f3577ed8
[4690763.360646] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[4690763.360646] Process rsync (pid: 21480, ti=f3576000 task=eaed9980 task.ti=f3576000)
[4690763.360646] Stack:
[4690763.360646] ce1ffc9c f2954ca4 00000014 ce1ffc9c cf940800 f2954c80 00000000 f200e89c
[4690763.360646] f3577f18 c1133ba9 00000000 f3577f18 c1132e45 f200e89c f2954c80 00000000
[4690763.360646] f3577f28 c1133c53 f2954c80 ce1ffc9c f3577fa4 c1136277 f3577f94 d75dcd80
[4690763.360646] Call Trace:
[4690763.360646] [<c1133ba9>] vfs_unlink.part.22+0x69/0xe0
[4690763.360646] [<c1132e45>] ? may_delete+0x65/0x90
[4690763.360646] [<c1133c53>] vfs_unlink+0x33/0x50
[4690763.360646] [<c1136277>] do_unlinkat+0x137/0x150
[4690763.360646] [<c1049c10>] ? wait_task_continued+0x140/0x140
[4690763.360646] [<c1136ce5>] sys_unlink+0x15/0x20
[4690763.360646] [<c152def4>] syscall_call+0x7/0xb
[4690763.360646] [<c1520000>] ? ext3_load_journal+0x1ea/0x246
[4690763.360646] Code: 8c ff ff 8b 45 f0 89 fa e8 87 26 ff ff 83 c4 14 89 d8 5b 5e 5f 5d c3 90 8d 74 26 00 89 c2 89 f0 e8 2f cc ff ff 85 c0 74 cd 0f 0b <0f> 0b 89 c3 eb dc 8d 76 00 55 89 e5 57 56 53 83 ec 5c 3e 8d 74
[4690763.360646] EIP: [<f92ee3e7>] btrfs_unlink+0xa7/0xb0 [btrfs] SS:ESP 0068:f3577ed8
[4690763.559868] ---[ end trace 0e312ebeb1f66ef2 ]---
[4690776.159267] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[4690793.322963] ------------[ cut here ]------------
[4690793.324024] kernel BUG at /build/buildd/linux-3.0.0/fs/btrfs/inode.c:1662!
[4690793.324024] invalid opcode: 0000 [#3] SMP
[4690793.324024] Modules linked in: btrfs zlib_deflate libcrc32c pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv nls_iso8859_1 nls_cp437 vfat fat mmc_block tifm_sd usb_storage uas smsc_ircc2 binfmt_misc joydev ppdev hp_wmi sparse_keymap snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event pcmcia snd_seq snd_timer snd_seq_device ipw2200 libipw tifm_7xx1 cfg80211 tifm_core snd yenta_socket psmouse pcmcia_rsrc serio_raw lib80211 pcmcia_core soundcore snd_page_alloc parport_pc tpm_infineon ircomm_tty ircomm irda crc_ccitt dm_crypt cryptd aes_i586 firewire_sbp2 lp parport radeon ttm drm_kms_helper drm firewire_ohci sdhci_pci sdhci firewire_core crc_itu_t tg3 wmi i2c_algo_bit video [last unloaded: vboxdrv]
[4690793.324024]
[4690793.324024] Pid: 15455, comm: btrfs-endio-wri Tainted: G D 3.0.0-14-generic #23-Ubuntu Hewlett-Packard HP Compaq nc8230 (PV406ET#ABN)/0934
[4690793.324024] EIP: 0060:[<f92e7c0e>] EFLAGS: 00010282 CPU: 0
[4690793.324024] EIP is at insert_reserved_file_extent.constprop.45+0x28e/0x2a0 [btrfs]
[4690793.324024] EAX: fffffffb EBX: 00000000 ECX: 00de9239 EDX: 00de9238
[4690793.324024] ESI: 00040000 EDI: 00000000 EBP: eaf11e68 ESP: eaf11e08
[4690793.324024] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[4690793.324024] Process btrfs-endio-wri (pid: 15455, ti=eaf10000 task=f2f8e600 task.ti=eaf10000)
[4690793.324024] Stack:
[4690793.324024] 00180000 00000000 001c0000 00000000 eaf11e50 00000000 00000000 00f11e48
[4690793.324024] cf940800 ebdd4060 ce1ffc9c e9ac30e0 cf940800 ce1ffc9c 00000000 00000000
[4690793.324024] eaf11e5c f92e4908 00000001 001bffff 00000000 ce1ffc9c 00040000 ce1ffb98
[4690793.324024] Call Trace:
[4690793.324024] [<f92e4908>] ? start_transaction+0x38/0x50 [btrfs]
[4690793.324024] [<f92ebc91>] btrfs_finish_ordered_io+0x361/0x3a0 [btrfs]
[4690793.324024] [<c12827d9>] ? __prop_inc_percpu_max+0x59/0xb0
[4690793.324024] [<f92ebd0d>] btrfs_writepage_end_io_hook+0x3d/0xb0 [btrfs]
[4690793.324024] [<f9305993>] end_bio_extent_writepage+0x193/0x1d0 [btrfs]
[4690793.324024] [<f92ebcd0>] ? btrfs_finish_ordered_io+0x3a0/0x3a0 [btrfs]
[4690793.324024] [<c1154a8a>] bio_endio+0x1a/0x40
[4690793.324024] [<f92ddca9>] end_workqueue_fn+0x49/0x80 [btrfs]
[4690793.324024] [<f9312ce1>] worker_loop+0x71/0x250 [btrfs]
[4690793.324024] [<c102e467>] ? __wake_up_common+0x47/0x70
[4690793.324024] [<f9312c70>] ? check_pending_worker_creates.isra.1+0xd0/0xd0 [btrfs]
[4690793.324024] [<c1065b7d>] kthread+0x6d/0x80
[4690793.324024] [<c1065b10>] ? flush_kthread_worker+0x80/0x80
[4690793.324024] [<c153517e>] kernel_thread_helper+0x6/0x10
[4690793.324024] Code: 5b 5e 5f 5d c3 3d 00 01 00 00 0f 87 27 fe ff ff 8b 41 64 31 d2 e9 1d fe ff ff 8d 76 00 3d 00 01 00 00 77 8e 8b 41 64 31 d2 eb 87 <0f> 0b 0f 0b 0f 0b 0f 0b 8d 76 00 8d bc 27 00 00 00 00 55 89 e5
[4690793.324024] EIP: [<f92e7c0e>] insert_reserved_file_extent.constprop.45+0x28e/0x2a0 [btrfs] SS:ESP 0068:eaf11e08
[4690793.678139] ---[ end trace 0e312ebeb1f66ef3 ]---
Other details:
ft at vader:~$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
ft at vader:~$ apt-cache policy btrfs-tools
btrfs-tools:
Installed: 0.19+20100601-3ubuntu3
Candidate: 0.19+20100601-3ubuntu3
Version table:
*** 0.19+20100601-3ubuntu3 0
500 http://ftp.uninett.no/ubuntu/ oneiric/main i386 Packages
100 /var/lib/dpkg/status
ft at vader:~$ uname -a
Linux vader 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686 i686 i386 GNU/Linux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/957131/+subscriptions
More information about the foundations-bugs
mailing list