linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [3.2.1] BUG at fs/btrfs/inode.c:1588
@ 2012-02-01  1:05 Kai Krakow
  2012-02-01 18:39 ` Kai Krakow
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Kai Krakow @ 2012-02-01  1:05 UTC (permalink / raw)
  To: linux-btrfs

Just happened while writing a huge avi file to my usb3 backup disk:

[356036.596292] ------------[ cut here ]------------
[356036.596300] kernel BUG at fs/btrfs/inode.c:1588!
[356036.596304] invalid opcode: 0000 [#1] SMP 
[356036.596307] CPU 2 
[356036.596309] Modules linked in: vmnet(O) vmblock(O) vsock(O) vmci(O) 
vmmon(O) af_packet snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss 
snd_mixer_oss nls_iso8859_15 nls_cp437 vfat fat btusb bluetooth zram(C) loop 
snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device 
gspca_sonixj gspca_main videodev v4l2_compat_ioctl32 pcspkr i2c_i801 evdev 
unix fuse xfs nfs nfs_acl auth_rpcgss lockd sunrpc reiserfs scsi_wait_scan 
hid_monterey hid_microsoft hid_logitech hid_ezkey hid_cypress hid_chicony 
hid_cherry hid_belkin hid_apple hid_a4tech usbhid usb_storage hid sr_mod 
cdrom sg pata_cmd64x [last unloaded: microcode]
[356036.596346] 
[356036.596349] Pid: 28747, comm: btrfs-fixup-1 Tainted: G         C O 
3.2.1-gentoo-r2 #1 To Be Filled By O.E.M. To Be Filled By O.E.M./Z68 Pro3
[356036.596355] RIP: 0010:[<ffffffff811605fe>]  [<ffffffff811605fe>] 
btrfs_writepage_fixup_worker+0xde/0x121
[356036.596363] RSP: 0000:ffff8801e2379de0  EFLAGS: 00010246
[356036.596366] RAX: 0000000000000000 RBX: ffffea00019b1a00 RCX: 
0000000000000000
[356036.596370] RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 
ffff88008a1bbb40
[356036.596373] RBP: 00000000033fd000 R08: ffff8801e2379d2c R09: 
0000000180240024
[356036.596377] R10: 0000000000000000 R11: bf800000bf800000 R12: 
ffff88008a1bbc10
[356036.596380] R13: 0000000000000000 R14: ffff8801e2379df8 R15: 
00000000033fdfff
[356036.596384] FS:  0000000000000000(0000) GS:ffff88043fb00000(0000) 
knlGS:0000000000000000
[356036.596387] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[356036.596391] CR2: 00007f5ef9660000 CR3: 00000003253f2000 CR4: 
00000000000406e0
[356036.596394] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
[356036.596398] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
[356036.596401] Process btrfs-fixup-1 (pid: 28747, threadinfo 
ffff8801e2378000, task ffff8802d2160650)
[356036.596405] Stack:
[356036.596407]  ffff88008a1bbab0 ffff88026d847540 ffffffffffffffff 
ffff88003a7c1f50
[356036.596412]  0000000000000000 ffff88019bf62d80 ffff88019bf62dd0 
ffff88019bf62d98
[356036.596417]  ffff88019bf62da8 ffff8802d2160650 ffff88019bf62d88 
ffffffff8117f23f
[356036.596421] Call Trace:
[356036.596426]  [<ffffffff8117f23f>] ? worker_loop+0x170/0x485
[356036.596431]  [<ffffffff8117f0cf>] ? btrfs_queue_worker+0x272/0x272
[356036.596435]  [<ffffffff8117f0cf>] ? btrfs_queue_worker+0x272/0x272
[356036.596439]  [<ffffffff810489fb>] ? kthread+0x7a/0x82
[356036.596445]  [<ffffffff81444634>] ? kernel_thread_helper+0x4/0x10
[356036.596449]  [<ffffffff81048981>] ? kthread_worker_fn+0x135/0x135
[356036.596453]  [<ffffffff81444630>] ? gs_change+0xb/0xb
[356036.596456] Code: 00 00 4c 89 f1 48 8b 3c 24 e8 67 4f 01 00 48 89 df e8 
b2 70 f2 ff ba 01 00 00 00 4c 89 ee 4c 89 e7 e8 bf 29 01 00 e9 4b ff ff ff 
<0f> 0b 41 b8 50 00 00 00 4c 89 f1 4c 89 fa 48 89 ee 48 8b 3c 24 
[356036.596478] RIP  [<ffffffff811605fe>] 
btrfs_writepage_fixup_worker+0xde/0x121
[356036.596483]  RSP <ffff8801e2379de0>
[356036.653626] ---[ end trace 9fa19a7644192fb6 ]---

btrfsck now finds many of these:

jupiter ~ # btrfsck /dev/sde1
root 256 inode 12746 errors 400
root 256 inode 12747 errors 400
root 256 inode 12748 errors 400
root 256 inode 12749 errors 400
root 256 inode 17141 errors 400
root 256 inode 219966 errors 400
root 256 inode 224243 errors 400
root 256 inode 225245 errors 400
root 256 inode 225354 errors 400
root 256 inode 290639 errors 2000
root 256 inode 291751 errors 2000

This disk is used for nothing else then the following cycle:

1. mount it (compress-force=gzip)
2. run rsync to backup my system (using cow-friendly rsync flags)
3. create a snapshot
4. unmount it

So that error must have been introduced simply by running rsync. It has 
plenty of free space (about 800 GB).


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-02-13 21:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01  1:05 [3.2.1] BUG at fs/btrfs/inode.c:1588 Kai Krakow
2012-02-01 18:39 ` Kai Krakow
2012-02-02  3:54   ` Kai Krakow
2012-02-02 11:19     ` Duncan
2012-02-02 23:25       ` Kai Krakow
2012-02-05  5:02         ` Duncan
2012-02-04 11:40 ` Kai Krakow
2012-02-05  0:07   ` Mitch Harder
2012-02-05  8:01     ` Kai Krakow
2012-02-05 16:15       ` Duncan
2012-02-13 21:05 ` Andrea Gelmini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).