lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 12 Aug 2013 22:47:40 -0700
From:	Greg KH <gregkh@...uxfoundation.org>
To:	Thomas Backlund <tmb@...eia.org>
Cc:	Jordi Pujol <jordipujolp@...il.com>, stable@...r.kernel.org,
	Jiang Liu <jiang.liu@...wei.com>, linux-kernel@...r.kernel.org
Subject: Re: ZRAM 3.10.6 Buffer I/O error

On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote:
> 12.08.2013 17:27, Jordi Pujol skrev:
> > Hello,
> >
> > zram shows an error when mounting a swap partition,
> > current version Linux kernel 3.10.6,
> > previous versions worked, I suppose that latest zram patches have some
> > problem,
> >
> > machine is an AMD64 dual core, 4GB RAM
> >
> > + modprobe -qb zram num_devices=2
> > + echo 104857600 > /sys/block/zram0/disksize
> >
> > # mkswap /dev/zram0
> > Setting up swapspace version 1, size = 102396 KiB
> > no label, UUID=6c249930-2ba0-46cf-a8c6-766481942b7d
> >
> > # pager /var/log/dmesg
> > (no more errors shown)
> >
> > # swapon /dev/zram0
> >
> > # pager /var/log/dmesg
> > ...
> > [  309.300479] Buffer I/O error on device zram0, logical block 25599
> > [  309.300491] Buffer I/O error on device zram0, logical block 25599
> > [  309.300514] Buffer I/O error on device zram0, logical block 25599
> > [  345.205887] Adding 102396k swap on /dev/zram0.  Priority:-2 extents:1
> > across:102396k SSFS
> >
> > full log files and the kernel source are stored in the address:
> >
> > http://livenet.selfip.com/ftp/debian/zram_3.10.6_IO_error/
> >
> 
> 
> I think this one should fix it and belongs in 3.10 stable too:
> 
>  From 75c7caf5a052ffd8db3312fa7864ee2d142890c4 Mon Sep 17 00:00:00 2001
> From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
> Date: Sat, 22 Jun 2013 14:21:00 +0000
> Subject: zram: allow request end to coincide with disksize

Now applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ