← Back to team overview

kernel-packages team mailing list archive

[Bug 1246664] Re: "Buffer I/O error on device zram0, logical block 515067"

 

@meets

** Attachment added: "output of $ locate zram"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1246664/+attachment/3925101/+files/zram

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1246664

Title:
  "Buffer I/O error on device zram0, logical block 515067"

Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux” source package in Precise:
  Fix Released
Status in “linux” source package in Saucy:
  Fix Released

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 75c7caf5a052ffd8db3312fa7864ee2d142890c4 "zram: allow request
  end to coincide with disksize" fixes the issue by correcting the test
  in valid_io_request() function.

  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-generic-pae (the problem was first observed in 53 and since 54 there are no lockups).
  ---
  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/controlC0:  damian     2771 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf8300000 irq 47'
     Mixer name	: 'Realtek ALC268'
     Components	: 'HDA:10ec0268,10280275,00100003'
     Controls      : 16
     Simple ctrls  : 9
  DistroRelease: Ubuntu 12.04
  MachineType: Dell Inc. Vostro1710
  MarkForUpload: True
  NonfreeKernelModules: nvidia wl
  Package: linux (not installed)
  ProcFB:

  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-56-generic-pae root=UUID=bfe81069-1c35-4ccc-a23a-33528ac81877 ro selinux=1 security=selinux quiet splash
  ProcVersionSignature: Ubuntu 3.2.0-56.86-generic-pae 3.2.51
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-56-generic-pae N/A
   linux-backports-modules-3.2.0-56-generic-pae  N/A
   linux-firmware                                1.79.7
  StagingDrivers: zram
  Tags:  precise running-unity staging
  Uname: Linux 3.2.0-56-generic-pae i686
  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.version: N/A
  dmi.modalias: dmi:bvnDellInc.:bvrA09:bd09/09/2008:svnDellInc.:pnVostro1710:pvrNull:rvnDellInc.:rn0X805C:rvr:cvnDellInc.:ct8:cvrN/A:
  dmi.product.name: Vostro1710
  dmi.product.version: Null
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1246664/+subscriptions