[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#619170: /sbin/btrfs: crash after usb disconnect



reassign 619170 src:linux-2.6 2.6.32-31
thanks

Hi,

(just a random passer-by…)

Giorgos Pallas <gpall@ccf.auth.gr> (21/03/2011):
> Package: btrfs-tools
> Version: 0.19+20100601-3
> Severity: normal
> File: /sbin/btrfs
> 
> 
> I run btrfs on a USB disk and after an accidental disconnect of the USB
> cable, I got this:
> 
> [109158.260743] usb 2-3: USB disconnect, address 3
> [110181.902026] lost page write due to I/O error on dm-5
> [110181.902092] lost page write due to I/O error on dm-5
> [110181.905171] lost page write due to I/O error on dm-5
> [110181.905182] btrfs: 1 errors while writing supers
> [110181.905228] ------------[ cut here ]------------
> [110181.905231] kernel BUG at /build/buildd-linux-2.6_2.6.32-31-amd64-vrfdM4/linux-2.6-2.6.32/debian/build/source_amd64_none/fs/btrfs/disk-io.c:2300!
                  ^^^^^^^^^^

Looks like a kernel bug [:)], reassigning to the kernel package.

You may want to run the linux-2.6 bug script and attach its output to
this bug report:
  /usr/share/bug/linux-$yourpackage/script 3>/tmp/kernel-bug.txt

> [110181.905234] invalid opcode: 0000 [#1] SMP
> [110181.905237] last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_full
> [110181.905239] CPU 1
> [110181.905241] Modules linked in: usb_storage tun vboxnetadp vboxnetflt vboxdrv acpi_cpufreq cpufreq_conservative cpufreq_userspace cpufreq_powersave cpufreq_stats uinput fuse ext3 jbd firewire_sbp2 loop snd_hda_codec_intelhdmi snd_hda_codec_idt snd_hda_intel uvcvideo snd_hda_codec videodev v4l1_compat v4l2_compat_ioctl32 snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event joydev snd_seq lib80211_crypt_tkip snd_timer snd_seq_device wl(P) snd dell_laptop rfkill psmouse dcdbas processor evdev serio_raw pcspkr soundcore battery ac snd_page_alloc lib80211 wmi i2c_i801 ext4 mbcache jbd2 crc16 sha256_generic aes_x86_64 aes_generic cbc dm_crypt dm_mod btrfs zlib_deflate crc32c libcrc32c sg sd_mod sr_mod crc_t10dif cdrom uhci_hcd i915 drm_kms_helper ahci sdhci_pci sdhci drm i2c_algo_bit i2c_core tg3 firewire_ohci libata ricoh_mmc mmc_core led_class firewire_core crc_itu_t thermal libphy video thermal_sys button output scsi_mod ehci_hcd usbcore nl!
>  s_base [last unloaded: scsi_wait_scan]
> [110181.905310] Pid: 8781, comm: bash Tainted: P           2.6.32-5-amd64 #1 Studio 1737
> [110181.905312] RIP: 0010:[<ffffffffa01dba52>]  [<ffffffffa01dba52>] write_all_supers+0x217/0x22c [btrfs]
> [110181.905335] RSP: 0018:ffff88004d10fd38  EFLAGS: 00010296
> [110181.905337] RAX: 000000000000003b RBX: ffff88010e790de8 RCX: 000000000000366d
> [110181.905340] RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000246
> [110181.905342] RBP: 0000000000000001 R08: 000000000000db36 R09: ffffffff813af56b
> [110181.905344] R10: 0000000000000000 R11: 00000000000186a0 R12: 0000000000000000
> [110181.905347] R13: ffff88010e790d80 R14: ffff88004895f800 R15: ffff880049620dce
> [110181.905350] FS:  00007f9824eb0700(0000) GS:ffff880005300000(0000) knlGS:0000000000000000
> [110181.905352] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [110181.905355] CR2: 00007f9823ed50a0 CR3: 000000013e7e6000 CR4: 00000000000006e0
> [110181.905357] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [110181.905360] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [110181.905362] Process bash (pid: 8781, threadinfo ffff88004d10e000, task ffff88003787c6a0)
> [110181.905364] Stack:
> [110181.905366]  00000000321f1d98 ffff880049620dbe ffff88010e790de8 ffff880049620cb3
> [110181.905370] <0> 0000000000000001 ffff88004895f800 ffff8801321f1d98 ffff8801321f1d98
> [110181.905374] <0> ffff88013ced46c0 0000000000000001 0000000000000001 ffffffffa01dec98
> [110181.905378] Call Trace:
> [110181.905391]  [<ffffffffa01dec98>] ? btrfs_commit_transaction+0x513/0x605 [btrfs]
> [110181.905397]  [<ffffffff81064e96>] ? autoremove_wake_function+0x0/0x2e
> [110181.905409]  [<ffffffffa01de5bf>] ? start_transaction+0x11b/0x126 [btrfs]
> [110181.905414]  [<ffffffff8112ed51>] ? sync_quota_sb+0x45/0xf6
> [110181.905418]  [<ffffffff8110bdf5>] ? __sync_filesystem+0x43/0x70
> [110181.905424]  [<ffffffff810f09f6>] ? generic_shutdown_super+0x21/0xfa
> [110181.905428]  [<ffffffff810f0b12>] ? kill_anon_super+0x9/0x40
> [110181.905431]  [<ffffffff810f11c1>] ? deactivate_super+0x60/0x77
> [110181.905435]  [<ffffffff8110c692>] ? free_fs_struct+0x16/0x26
> [110181.905439]  [<ffffffff810512d1>] ? do_exit+0x23e/0x6c6
> [110181.905442]  [<ffffffff810517cf>] ? do_group_exit+0x76/0x9d
> [110181.905445]  [<ffffffff81051808>] ? sys_exit_group+0x12/0x16
> [110181.905448]  [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b
> [110181.905450] Code: 86 28 01 00 00 48 8b b8 c0 20 00 00 48 83 c7 48 e8 91 fa 11 e1 3b 6c 24 24 7e 14 89 ee 48 c7 c7 89 1d 21 a0 31 c0 e8 a3 e9 11 e1 <0f> 0b eb fe 48 83 c4 28 31 c0 5b 5d 41 5c 41 5d 41 5e 41 5f c3
> [110181.905480] RIP  [<ffffffffa01dba52>] write_all_supers+0x217/0x22c [btrfs]
> [110181.905492]  RSP <ffff88004d10fd38>
> [110181.905496] ---[ end trace b4edb3d12daf1c68 ]---
> [110181.905498] Fixing recursive fault but reboot is needed!
> 
> 
> -- System Information:
> Debian Release: 6.0.1
>   APT prefers squeeze-updates
>   APT policy: (500, 'squeeze-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages btrfs-tools depends on:
> ii  e2fslibs                1.41.12-2        ext2/ext3/ext4 file system librari
> ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
> ii  libcomerr2              1.41.12-2        common error description library
> ii  libuuid1                2.17.2-9         Universally Unique ID library
> ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime
> 
> btrfs-tools recommends no packages.
> 
> btrfs-tools suggests no packages.
> 
> -- no debconf information

KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: