Kernel oops when nbd device is removed before it is unmounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
High
|
Chuck Short | ||
Oneiric |
Invalid
|
High
|
Unassigned | ||
Quantal |
Invalid
|
High
|
Chuck Short | ||
qemu-kvm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My host has xfs rootfs. It runs openstack with lxc, which creates the container root filesystems on qemu-nbd block devices with ext4fs by default.
For probably 1 in 8 containers, when the host is working hard, I end up with ext4 errors which in the end prevent the host from cleanly rebooting. http://
[ 178.736380] JBD2: I/O error detected when updating journal superblock for nbd13-8.
[ 178.736567] journal commit I/O error
[ 182.374588] br100: port 4(veth2) entering forwarding state
[ 182.376240] device veth2 left promiscuous mode
[ 182.376245] br100: port 4(veth2) entering disabled state
[ 182.983726] nbd14: NBD_DISCONNECT
[ 182.983979] nbd14: Receive control failed (result -32)
[ 182.984075] nbd14: queue cleared
[ 182.984525] nbd14: Attempted send on closed socket
[ 182.984530] end_request: I/O error, dev nbd14, sector 328280
[ 182.984533] Buffer I/O error on device nbd14, logical block 41035
[ 182.984538] EXT4-fs warning (device nbd14): ext4_end_bio:242: I/O error writing to inode 32327 (offset 0 size 4096 starting block 41036)
[ 182.984597] nbd14: Attempted send on closed socket
[ 182.984600] end_request: I/O error, dev nbd14, sector 328256
[ 182.984602] Buffer I/O error on device nbd14, logical block 41032
[ 182.984605] EXT4-fs warning (device nbd14): ext4_end_bio:242: I/O error writing to inode 32342 (offset 0 size 4096 starting block 41033)
[ 182.984770] JBD2: Detected IO errors while flushing file data on nbd14-8
[ 182.984776] nbd14: Attempted send on closed socket
[ 182.984779] end_request: I/O error, dev nbd14, sector 1049856
[ 182.984794] Aborting journal on device nbd14-8.
[ 182.984802] nbd14: Attempted send on closed socket
[ 182.984804] end_request: I/O error, dev nbd14, sector 1048576
[ 182.984807] Buffer I/O error on device nbd14, logical block 131072
[ 182.984809] lost page write due to I/O error on nbd14
[ 182.984812] JBD2: I/O error detected when updating journal superblock for nbd14-8.
[ 182.984825] journal commit I/O error
[ 184.789984] br100: port 3(veth1) entering forwarding state
[ 184.791634] device veth1 left promiscuous mode
[ 184.791639] br100: port 3(veth1) entering disabled state
[ 185.236242] nbd12: NBD_DISCONNECT
[ 185.236362] nbd12: Receive control failed (result -32)
[ 185.236418] nbd12: queue cleared
[ 185.236734] nbd12: Attempted send on closed socket
[ 185.236737] end_request: I/O error, dev nbd12, sector 328280
[ 185.236740] Buffer I/O error on device nbd12, logical block 41035
[ 185.236745] EXT4-fs warning (device nbd12): ext4_end_bio:242: I/O error writing to inode 32327 (offset 0 size 4096 starting block 41036)
[ 185.236804] nbd12: Attempted send on closed socket
[ 185.236806] end_request: I/O error, dev nbd12, sector 328256
[ 185.236809] Buffer I/O error on device nbd12, logical block 41032
[ 185.236812] EXT4-fs warning (device nbd12): ext4_end_bio:242: I/O error writing to inode 32342 (offset 0 size 4096 starting block 41033)
[ 185.236998] JBD2: Detected IO errors while flushing file data on nbd12-8
[ 185.237005] nbd12: Attempted send on closed socket
[ 185.237007] end_request: I/O error, dev nbd12, sector 1049856
[ 185.237025] Aborting journal on device nbd12-8.
[ 185.237034] nbd12: Attempted send on closed socket
[ 185.237036] end_request: I/O error, dev nbd12, sector 1048576
[ 185.237039] Buffer I/O error on device nbd12, logical block 131072
[ 185.237041] lost page write due to I/O error on nbd12
[ 185.237044] JBD2: I/O error detected when updating journal superblock for nbd12-8.
[ 185.237059] journal commit I/O error
[ 185.342363] nbd14: Attempted send on closed socket
[ 185.342369] end_request: I/O error, dev nbd14, sector 0
[ 185.342374] Buffer I/O error on device nbd14, logical block 0
[ 185.342375] lost page write due to I/O error on nbd14
[ 185.342388] EXT4-fs error (device nbd14): ext4_put_super:771: Couldn't clean up the journal
[ 185.342392] EXT4-fs (nbd14): Remounting filesystem read-only
[ 185.342394] EXT4-fs (nbd14): previous I/O error to superblock detected
[ 185.342399] nbd14: Attempted send on closed socket
[ 185.342401] end_request: I/O error, dev nbd14, sector 0
[ 185.342404] Buffer I/O error on device nbd14, logical block 0
[ 185.342405] lost page write due to I/O error on nbd14
[ 185.352231] nbd12: Attempted send on closed socket
[ 185.352236] end_request: I/O error, dev nbd12, sector 0
[ 185.352239] Buffer I/O error on device nbd12, logical block 0
[ 185.352241] lost page write due to I/O error on nbd12
[ 185.352252] EXT4-fs error (device nbd12): ext4_put_super:771: Couldn't clean up the journal
[ 185.352256] EXT4-fs (nbd12): Remounting filesystem read-only
[ 185.352258] EXT4-fs (nbd12): previous I/O error to superblock detected
[ 178.733767] nbd13: NBD_DISCONNECT
[ 178.733865] nbd13: Receive control failed (result -32)
[ 178.733911] nbd13: shutting down socket
[ 178.733914] nbd13: queue cleared
[ 178.734250] nbd13: Attempted send on closed socket
[ 178.734254] end_request: I/O error, dev nbd13, sector 328280
[ 178.734257] Buffer I/O error on device nbd13, logical block 41035
[ 178.734262] EXT4-fs warning (device nbd13): ext4_end_bio:242: I/O error writing to inode 32327 (offset 0 size 4096 starting block 41036)
[ 178.734334] nbd13: Attempted send on closed socket
[ 178.734336] end_request: I/O error, dev nbd13, sector 328256
[ 178.734338] Buffer I/O error on device nbd13, logical block 41032
[ 178.734342] EXT4-fs warning (device nbd13): ext4_end_bio:242: I/O error writing to inode 32342 (offset 0 size 4096 starting block 41033)
[ 178.736325] JBD2: Detected IO errors while flushing file data on nbd13-8
[ 178.736339] nbd13: Attempted send on closed socket
[ 178.736343] end_request: I/O error, dev nbd13, sector 1049856
[ 178.736361] Aborting journal on device nbd13-8.
[ 178.736370] nbd13: Attempted send on closed socket
[ 178.736372] end_request: I/O error, dev nbd13, sector 1048576
[ 178.736375] Buffer I/O error on device nbd13, logical block 131072
[ 178.736377] lost page write due to I/O error on nbd13
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf6afc000 irq 47'
Mixer name : 'Conexant CX20583 (Pebble HSF)'
Components : 'HDA:14f15067,
Controls : 9
Simple ctrls : 6
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
MachineType: Dell Inc. Vostro 1220
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.60
Tags: oneiric running-unity
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare
dmi.bios.date: 10/15/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.0
dmi.board.name: 0X482M
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Vostro 1220
dmi.sys.vendor: Dell Inc.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf6afc000 irq 47'
Mixer name : 'Conexant CX20583 (Pebble HSF)'
Components : 'HDA:14f15067,
Controls : 9
Simple ctrls : 6
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
MachineType: Dell Inc. Vostro 1220
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.60
Tags: oneiric running-unity
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare
dmi.bios.date: 10/15/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.0
dmi.board.name: 0X482M
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Vostro 1220
dmi.sys.vendor: Dell Inc.
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in qemu-kvm (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in linux (Ubuntu Oneiric): | |
status: | Invalid → Confirmed |
Changed in nova (Ubuntu): | |
status: | Confirmed → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 861656
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.