"Buffer I/O error on device zram0, logical block 515067"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
Saucy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
SRU Justification:
Commit 12a7ad3 "zram: avoid access beyond the zram device" introduced a regression where valid_io_request() checks if request end coincides with disksize (end equals bound). It fails if we attempt to read beyond the bound.
Impact:
Several errors will be logged if, for example, zram-config is installed:
[ 14.666280] zram: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.667040] zram: Creating 1 devices ...
[ 14.830355] Buffer I/O error on device zram0, logical block 62411
[ 14.830375] Buffer I/O error on device zram0, logical block 62411
[ 14.830598] Buffer I/O error on device zram0, logical block 62411
[ 14.830621] Buffer I/O error on device zram0, logical block 62411
[ 14.878597] Adding 249644k swap on /dev/zram0. Priority:5 extents:1 across:249644k SS
Fix:
Commit 75c7caf5a052ffd
Testcase:
I was able to reproduce the issue by simply installing zram-config in a precise box.
=======
This is a duplicate of #1217189, but for some reason neither @oibaf nor me can reopen it. It is in "fix released" state, but the problem is at most partially solved. It seems that the bug no longer causes lockups (described in another bug: #1215513), but is still present (as I get error messages on boot screen and after $ dmesg | grep zram).
If someone has enough privileges to reopen 1217189 for "linux (ubuntu)" (I don't know about raring, but no one complains, so it is probably ok), and remove this bug (maybe merging this message to the comments in 1217189), I would be really grateful.
Ubuntu 12.04.3 LTS
Kernel Linux 3.2.0-56-
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf8300000 irq 47'
Mixer name : 'Realtek ALC268'
Components : 'HDA:10ec0268,
Controls : 16
Simple ctrls : 9
DistroRelease: Ubuntu 12.04
MachineType: Dell Inc. Vostro1710
MarkForUpload: True
NonfreeKernelMo
Package: linux (not installed)
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.79.7
StagingDrivers: zram
Tags: precise running-unity staging
Uname: Linux 3.2.0-56-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo
dmi.bios.date: 09/09/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0X805C
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Vostro1710
dmi.product.
dmi.sys.vendor: Dell Inc.
description: | updated |
affects: | linux-lts-raring (Ubuntu) → ubuntu |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
tags: |
added: verification-done-precise removed: verification-needed-precise |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1246664
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.