kernel BUG at /build/buildd/linux-2.6.38/fs/btrfs/disk-io.c:2349!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I format USB-flash-drive to btrfs, mount it to /media/something. Then I extract USB-flash-drive (while it still mounted). Next second kernel oops happens.
After reboot (and auto-mount USB-flash-drive) I extract it once more (not unmounting), black screen and kernel oops.
Then I format it to ext4, mount and extract, all ok. So only btrfs affected.
ProblemType: KernelOops
DistroRelease: Ubuntu 11.04
Package: linux-image-
Regression: No
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.38-7-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Annotation: Your system might become unstable now and might need to be restarted.
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] Нет такого файла или каталога
Card0.Amixer.info:
Card hw:0 'NVidia'/'HDA NVidia at 0xfcf78000 irq 20'
Mixer name : 'Realtek ALC662 rev1'
Components : 'HDA:10ec0662,
Controls : 34
Simple ctrls : 18
Date: Thu Mar 24 17:12:24 2011
Failure: oops
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
vboxnet0 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.49
RfKill:
SourcePackage: linux
Title: kernel BUG at /build/
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/22/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.20
dmi.board.name: K10N78M Pro
dmi.board.vendor: ASRock
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To Be Filled By O.E.M.
dmi.product.
dmi.sys.vendor: To Be Filled By O.E.M.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: btrfs |
tags: | added: kernel-driver-btrfs |
This is a known issue in upstream; it appears to hurt usb devices more than sata.
The btrfs module doesn't release the inode properly when the device disappears (you should see the device is still in /dev). When the next transaction commit occurs (in this case, due to a presumably automated umount call), writing out the superblock fails, which triggers the sanity check (the reasoning being that it's much better to noisily and visibly die than to silently corrupt data).