Bug 15267 - kernel BUG at disk-io.c:2286!
Summary: kernel BUG at disk-io.c:2286!
Status: CLOSED OBSOLETE
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_btrfs@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 22:59 UTC by Jörg Sommer
Modified: 2012-05-14 15:02 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.32-rc7
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jörg Sommer 2010-02-09 22:59:35 UTC
[ 4557.311026] lost page write due to I/O error on sdd1
[ 4557.311032] sd 2:0:0:0: [sdd] Unhandled error code
[ 4557.311034] sd 2:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 4557.311038] sd 2:0:0:0: [sdd] CDB: Write(10): 2a 00 20 00 00 31 00 00 08 00
[ 4557.311044] end_request: I/O error, dev sdd, sector 536870961
[ 4557.311047] end_request: I/O error, dev sdd, sector 536870961
[ 4557.311049] lost page write due to I/O error on sdd1
[ 4557.311055] btrfs: 1 errors while writing supers
[ 4557.311094] ------------[ cut here ]------------
[ 4557.311119] kernel BUG at /build/buildd-linux-2.6_2.6.32-5-amd64-9RvY2G/linux-2.6-2.6.32/debian/build/source_amd64_none/fs/btrfs/disk-io.c:2286!
[ 4557.311167] invalid opcode: 0000 [#1] SMP 
[ 4557.311190] last sysfs file: /sys/devices/virtual/block/dm-0/uevent
[ 4557.311214] CPU 0 
[ 4557.311232] Modules linked in: twofish twofish_common xts gf128mul btrfs zlib_deflate crc32c libcrc32c ext4 jbd2 crc16 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx ext3 jbd dm_crypt dm_mod snd_pcm snd_timer snd soundcore parport_pc snd_page_alloc pcspkr parport processor edac_core edac_mce_amd i2c_nforce2 k8temp i2c_core evdev ext2 mbcache raid1 md_mod ide_cd_mod cdrom sd_mod crc_t10dif ohci_hcd usb_storage ata_generic ide_pci_generic ehci_hcd sata_nv amd74xx floppy 3w_xxxx usbcore nls_base button libata scsi_mod forcedeth ide_core thermal fan thermal_sys [last unloaded: scsi_wait_scan]
[ 4557.311485] Pid: 10257, comm: btrfs-transacti Not tainted 2.6.32-trunk-amd64 #1 To Be Filled By O.E.M.
[ 4557.311526] RIP: 0010:[<ffffffffa03f8810>]  [<ffffffffa03f8810>] write_all_supers+0x217/0x22c [btrfs]
[ 4557.311592] RSP: 0018:ffff8800bb9ebd80  EFLAGS: 00010286
[ 4557.311615] RAX: 000000000000003a RBX: ffff880037f22ae8 RCX: ffffffff81017117
[ 4557.311641] RDX: 0000000000000000 RSI: 0000000000000082 RDI: 0000000000000246
[ 4557.311667] RBP: 0000000000000001 R08: 0000000000000002 R09: ffffffff813909af
[ 4557.311693] R10: 0000000000000000 R11: 00000000000186a0 R12: 0000000000000000
[ 4557.311719] R13: ffff880037f22a80 R14: ffff880087605000 R15: ffff8800b0648dce
[ 4557.311745] FS:  00002baa5922f6f0(0000) GS:ffff880001800000(0000) knlGS:0000000000000000
[ 4557.311784] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 4557.311807] CR2: 0000000001228000 CR3: 0000000037ba7000 CR4: 00000000000006f0
[ 4557.311834] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 4557.311860] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 4557.311886] Process btrfs-transacti (pid: 10257, threadinfo ffff8800bb9ea000, task ffff880037e02350)
[ 4557.311926] Stack:
[ 4557.311943]  00000000068fb000 ffff8800b0648dbe ffff880037f22ae8 ffff8800b0648cb3
[ 4557.311970] <0> 0000000000000001 ffff880087605000 ffff8800ada77000 ffff8800ada77000
[ 4557.312011] <0> ffff8800ada76000 7fffffffffffffff 0000000000000000 ffffffffa03fb951
[ 4557.312012] Call Trace:
[ 4557.312012]  [<ffffffffa03fb951>] ? btrfs_commit_transaction+0x507/0x5d8 [btrfs]
[ 4557.312012]  [<ffffffff8105a537>] ? del_timer_sync+0xc/0x16
[ 4557.312012]  [<ffffffff81064aae>] ? autoremove_wake_function+0x0/0x2e
[ 4557.312012]  [<ffffffffa03f7589>] ? transaction_kthread+0x16b/0x1ea [btrfs]
[ 4557.312012]  [<ffffffff8103ab60>] ? __wake_up_common+0x44/0x72
[ 4557.312012]  [<ffffffffa03f741e>] ? transaction_kthread+0x0/0x1ea [btrfs]
[ 4557.312012]  [<ffffffff810647e1>] ? kthread+0x79/0x81
[ 4557.312012]  [<ffffffff81011b6a>] ? child_rip+0xa/0x20
[ 4557.312012]  [<ffffffff81064768>] ? kthread+0x0/0x81
[ 4557.312012]  [<ffffffff81011b60>] ? child_rip+0x0/0x20
[ 4557.312012] Code: 86 28 01 00 00 48 8b b8 78 20 00 00 48 83 c7 48 e8 72 d6 ee e0 3b 6c 24 24 7e 14 89 ee 48 c7 c7 67 e4 42 a0 31 c0 e8 86 c5 ee e0 <0f> 0b eb fe 48 83 c4 28 31 c0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 
[ 4557.312012] RIP  [<ffffffffa03f8810>] write_all_supers+0x217/0x22c [btrfs]
[ 4557.312012]  RSP <ffff8800bb9ebd80>
[ 4557.312773] ---[ end trace 70e9aef5981d064d ]---
[ 4557.317218] sd 2:0:0:0: [sdd] Unhandled error code
[ 4557.317269] sd 2:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 4557.317352] sd 2:0:0:0: [sdd] CDB: Read(10): 28 00 00 03 81 19 00 00 08 00
[ 4557.317692] end_request: I/O error, dev sdd, sector 229657
Comment 1 Thomas R. (TRauMa) 2010-02-13 16:05:18 UTC
Also seen on vanilla 2.6.32.7

[200977.853756] ath5k phy0: noise floor calibration timeout (2412MHz)
[236592.083191] usb 1-3: reset high speed USB device using ehci_hcd and address 2
[236597.219848] usb 1-3: device descriptor read/64, error -71
[236597.439872] usb 1-3: device descriptor read/64, error -71
[236597.649864] usb 1-3: reset high speed USB device using ehci_hcd and address 2
[236602.813178] usb 1-3: device descriptor read/64, error -71
[236608.029859] usb 1-3: device descriptor read/64, error -110
[236608.239870] usb 1-3: reset high speed USB device using ehci_hcd and address 2
[236608.653181] usb 1-3: device not accepting address 2, error -71
[236608.774095] usb 1-3: reset high speed USB device using ehci_hcd and address 2
[236614.183171] usb 1-3: device not accepting address 2, error -71
[236614.183222] usb 1-3: USB disconnect, address 2
[236614.184110] scsi 0:0:0:0: [sda] Unhandled error code
[236614.184117] scsi 0:0:0:0: [sda] Result: hostbyte=0x05 driverbyte=0x00
[236614.184128] scsi 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 01 aa e2 cf 00 00 b0 00
[236614.184151] end_request: I/O error, dev sda, sector 27976399
[236614.184178] scsi 0:0:0:0: rejecting I/O to offline device
[236614.185525] scsi 0:0:0:0: [sda] Unhandled error code
[236614.185533] scsi 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00
[236614.185543] scsi 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 01 aa e3 7f 00 00 88 00
[236614.185565] end_request: I/O error, dev sda, sector 27976575
[236614.188078] lost page write due to I/O error on sda1
[236614.188093] end_request: I/O error, dev sda, sector 131135
[236614.188100] lost page write due to I/O error on sda1
[236614.188111] btrfs: 1 errors while writing supers
[236614.188162] ------------[ cut here ]------------
[236614.188171] kernel BUG at fs/btrfs/disk-io.c:2286!
[236614.188178] invalid opcode: 0000 [#1] 
[236614.188186] last sysfs file: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1/stat
[236614.188196] Modules linked in: btrfs zlib_deflate crc32c libcrc32c af_packet i915 drm_kms_helper drm fb i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipv6 krng chainiv crypto_wq rng aes_i586 aes_generic xts gf128mul sg sd_mod dm_crypt dm_mod acpi_cpufreq fuse arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi ath5k mac80211 crc32 ath usb_storage snd_intel8x0 thinkpad_acpi snd_ac97_codec cfg80211 scsi_mod ac97_bus snd_pcm rfkill snd_timer video backlight 8250_pci snd 8250_pnp joydev 8250 ide_cd_mod intel_agp e100 thermal nvram yenta_socket serial_core ac mii ppdev uhci_hcd output parport_pc rng_core agpgart button rtc parport cdrom battery evdev soundcore ehci_hcd rsrc_nonstatic processor i2c_i801 pcmcia_core snd_page_alloc floppy led_class usbcore
[236614.188365] 
[236614.188374] Pid: 2491, comm: btrfs-transacti Not tainted (2.6.32.7 #3) 2888DG1
[236614.188384] EIP: 0060:[<f8b1bd73>] EFLAGS: 00010292 CPU: 0
[236614.188429] EIP is at write_all_supers+0x257/0x26f [btrfs]
[236614.188437] EAX: 0000003b EBX: f1a1f510 ECX: ffffffff EDX: c13512e4
[236614.188445] ESI: 00000001 EDI: f1d80e40 EBP: f1099f34 ESP: f1099ef4
[236614.188453]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[236614.188463] Process btrfs-transacti (pid: 2491, ti=f1098000 task=f1096ec0 task.ti=f1098000)
[236614.188470] Stack:
[236614.188475]  f8b5b9c4 00000001 00000000 f1162400 f130a000 f1a1f510 f130ac07 00000001
[236614.188491] <0> 00000000 00000000 f130ad12 f130ad22 f1a1f4c0 f1162400 f130ac07 f130b732
[236614.188507] <0> f1099f3c f8b1bd97 f1099f90 f8b1ee46 00000000 f1162400 e6069424 d998a8d8
[236614.188525] Call Trace:
[236614.188566]  [<f8b1bd97>] ? write_ctree_super+0xc/0xe [btrfs]
[236614.188606]  [<f8b1ee46>] ? btrfs_commit_transaction+0x3ca/0x608 [btrfs]
[236614.188625]  [<c10346ad>] ? autoremove_wake_function+0x0/0x3a
[236614.188663]  [<f8b1a8c6>] ? transaction_kthread+0x18e/0x1ad [btrfs]
[236614.188701]  [<f8b1a738>] ? transaction_kthread+0x0/0x1ad [btrfs]
[236614.188713]  [<c10343c8>] ? kthread+0x66/0x68
[236614.188724]  [<c1034362>] ? kthread+0x0/0x68
[236614.188736]  [<c10034b3>] ? kernel_thread_helper+0x7/0x14
[236614.188743] Code: 5d c3 8b 4d cc 8b 81 10 01 00 00 8b 80 9c 1b 00 00 83 c0 44 e8 f7 14 73 c8 eb dd 89 74 24 04 c7 04 24 c4 b9 b5 f8 e8 78 08 73 c8 <0f> 0b eb fe 89 54 24 04 c7 04 24 c4 b9 b5 f8 e8 64 08 73 c8 0f 
[236614.188825] EIP: [<f8b1bd73>] write_all_supers+0x257/0x26f [btrfs] SS:ESP 0068:f1099ef4
[236614.188870] ---[ end trace ccd45d03079762fd ]---
[236614.193887] ------------[ cut here ]------------
[236614.193900] kernel BUG at fs/btrfs/inode.c:1628!
[236614.193908] invalid opcode: 0000 [#2] 
[236614.193917] last sysfs file: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1/stat
[236614.193926] Modules linked in: btrfs zlib_deflate crc32c libcrc32c af_packet i915 drm_kms_helper drm fb i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipv6 krng chainiv crypto_wq rng aes_i586 aes_generic xts gf128mul sg sd_mod dm_crypt dm_mod acpi_cpufreq fuse arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi ath5k mac80211 crc32 ath usb_storage snd_intel8x0 thinkpad_acpi snd_ac97_codec cfg80211 scsi_mod ac97_bus snd_pcm rfkill snd_timer video backlight 8250_pci snd 8250_pnp joydev 8250 ide_cd_mod intel_agp e100 thermal nvram yenta_socket serial_core ac mii ppdev uhci_hcd output parport_pc rng_core agpgart button rtc parport cdrom battery evdev soundcore ehci_hcd rsrc_nonstatic processor i2c_i801 pcmcia_core snd_page_alloc floppy led_class usbcore
[236614.194093] 
[236614.194102] Pid: 10861, comm: btrfs-endio-wri Tainted: G      D    (2.6.32.7 #3) 2888DG1
[236614.194112] EIP: 0060:[<f8b21002>] EFLAGS: 00010282 CPU: 0
[236614.194155] EIP is at insert_reserved_file_extent+0x277/0x27b [btrfs]
[236614.194164] EAX: fffffffb EBX: 00000000 ECX: f6b0f240 EDX: 00027000
[236614.194172] ESI: 00000000 EDI: cdc0e700 EBP: cd0f7e40 ESP: cd0f7ddc
[236614.194180]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[236614.194190] Process btrfs-endio-wri (pid: 10861, ti=cd0f6000 task=f0b84430 task.ti=cd0f6000)
[236614.194197] Stack:
[236614.194201]  00000000 00000000 00027000 00000000 00027000 00000000 00000000 00000000
[236614.194217] <0> cd0f7e28 00000000 00000000 dc1c8140 e6069c94 f138ac00 00000000 e1bbbe40
[236614.194233] <0> cd0f7e40 f8b3ae3b 00026fff 00000000 00000008 00000000 00000000 00000000
[236614.194250] Call Trace:
[236614.194295]  [<f8b3ae3b>] ? lock_extent+0x31/0x38 [btrfs]
[236614.194336]  [<f8b2284b>] ? btrfs_finish_ordered_io+0x2ec/0x323 [btrfs]
[236614.194379]  [<f8b228a8>] ? btrfs_writepage_end_io_hook+0x26/0x2d [btrfs]
[236614.194421]  [<f8b3b66e>] ? end_bio_extent_writepage+0x13f/0x1d1 [btrfs]
[236614.194462]  [<f8b22882>] ? btrfs_writepage_end_io_hook+0x0/0x2d [btrfs]
[236614.194504]  [<f8b3b52f>] ? end_bio_extent_writepage+0x0/0x1d1 [btrfs]
[236614.194518]  [<c109d54a>] ? bio_endio+0x1c/0x2d
[236614.194556]  [<f8b1b7ca>] ? end_workqueue_fn+0x123/0x17d [btrfs]
[236614.194597]  [<f8b449ac>] ? worker_loop+0xed/0x32a [btrfs]
[236614.194636]  [<f8b448bf>] ? worker_loop+0x0/0x32a [btrfs]
[236614.194649]  [<c10343c8>] ? kthread+0x66/0x68
[236614.194660]  [<c1034362>] ? kthread+0x0/0x68
[236614.194672]  [<c10034b3>] ? kernel_thread_helper+0x7/0x14
[236614.194678] Code: 89 ca 8b 45 cc e8 2c d6 fe ff 85 c0 75 15 89 f8 e8 4c 81 fe ff 31 c0 83 c4 58 5b 5e 5f 5d c3 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe <0f> 0b eb fe 55 89 e5 56 53 89 c6 8d 98 f8 fe ff ff c7 83 a0 00 
[236614.194761] EIP: [<f8b21002>] insert_reserved_file_extent+0x277/0x27b [btrfs] SS:ESP 0068:cd0f7ddc
[236614.194807] ---[ end trace ccd45d03079762fe ]---
[236614.204378] cc1plus[7189]: segfault at 8 ip 08592c6a sp bffe975c error 4 in cc1plus[8048000+674000]
[236614.293086] usb 1-3: new high speed USB device using ehci_hcd and address 3
[236619.456402] usb 1-3: device descriptor read/64, error -71
[236619.676399] usb 1-3: device descriptor read/64, error -71

Note You need to log in before you can comment on or make changes to this bug.