From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751646AbdJTAdu (ORCPT ); Thu, 19 Oct 2017 20:33:50 -0400 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:35373 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbdJTAdt (ORCPT ); Thu, 19 Oct 2017 20:33:49 -0400 X-Original-SENDERIP: 156.147.1.125 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.220.163 X-Original-MAILFROM: minchan@kernel.org Date: Fri, 20 Oct 2017 09:33:46 +0900 From: Minchan Kim To: Christian Kujau Cc: linux-kernel@vger.kernel.org, Hugh Dickins , Nitin Gupta , Robert Schelander , Andrew Morton , linux-mm@kvack.org, "Huang, Ying" Subject: Re: swap_info_get: Bad swap offset entry 0200f8a7 Message-ID: <20171020003346.GA855@bbox> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun, Oct 15, 2017 at 05:17:36PM -0700, Christian Kujau wrote: > Hi, > > every now and then (and more frequently now) I receive the following > message on this Atom N270 netbook: > > swap_info_get: Bad swap offset entry 0200f8a7 > > This started to show up a few months ago but appears to happen more > frequently now: > > 4 May < Linux version 4.11.2-1-ARCH > 4 Jun < Linux version 4.11.3-1-ARCH > 7 Jul < Linux version 4.11.9-1-ARCH > 4 Aug < Linux version 4.12.8-2-ARCH > 24 Sep < Linux version 4.12.13-1-ARCH > 158 Oct < Linux version 4.13.5-1-ARCH > > I've only found (very) old reports for this[0][2] with either no > solution[1] or some hinting that this may be caused by hardware errors. Since 4.11, there are lots of happenings in swap subsystem to be optimized so it might be related to one of those changes but I'm not sure. Worth to Ccing Huang who may know somethings since then. Thanks. > > In my case howerver no kernel BUG messages or oopses are involved and no > PTE errors are logged. The machine appears to be very stable, although > memory usage is quite high on that machine (but no OOM situations so > far either). As the machine is only equipped with 1GB of RAM, I'm > using ZRAM on this system, which usually looks something like this: > > $ zramctl > NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT > /dev/zram0 lz4 248.7M 195.7M 74M 78.7M 2 [SWAP] > > I suspect that, when memory pressure is high, zram may not be quick enough > to decompress a page leading to these messages, but then I'd have expected > a zram error message too. > > Can anybody comment on these messages? If they're really indicating a > hardware error, shouldn't there be other messages too? So far, rasdaemon > has not logged any errors. > > Thanks, > Christian. > > [0] http://lkml.iu.edu/hypermail/linux/kernel/0204.3/0165.html > [1] https://bugzilla.redhat.com/show_bug.cgi?id=432337 > [2] https://access.redhat.com/solutions/218733 > -- > BOFH excuse #323: > > Your processor has processed too many instructions. Turn it off immediately, do not type any commands!! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f199.google.com (mail-pf0-f199.google.com [209.85.192.199]) by kanga.kvack.org (Postfix) with ESMTP id 161676B0038 for ; Thu, 19 Oct 2017 20:33:51 -0400 (EDT) Received: by mail-pf0-f199.google.com with SMTP id y128so3205526pfg.5 for ; Thu, 19 Oct 2017 17:33:51 -0700 (PDT) Received: from lgeamrelo12.lge.com (LGEAMRELO12.lge.com. [156.147.23.52]) by mx.google.com with ESMTP id x5si10354474plo.143.2017.10.19.17.33.48 for ; Thu, 19 Oct 2017 17:33:48 -0700 (PDT) Date: Fri, 20 Oct 2017 09:33:46 +0900 From: Minchan Kim Subject: Re: swap_info_get: Bad swap offset entry 0200f8a7 Message-ID: <20171020003346.GA855@bbox> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Christian Kujau Cc: linux-kernel@vger.kernel.org, Hugh Dickins , Nitin Gupta , Robert Schelander , Andrew Morton , linux-mm@kvack.org, "Huang, Ying" Hello, On Sun, Oct 15, 2017 at 05:17:36PM -0700, Christian Kujau wrote: > Hi, > > every now and then (and more frequently now) I receive the following > message on this Atom N270 netbook: > > swap_info_get: Bad swap offset entry 0200f8a7 > > This started to show up a few months ago but appears to happen more > frequently now: > > 4 May < Linux version 4.11.2-1-ARCH > 4 Jun < Linux version 4.11.3-1-ARCH > 7 Jul < Linux version 4.11.9-1-ARCH > 4 Aug < Linux version 4.12.8-2-ARCH > 24 Sep < Linux version 4.12.13-1-ARCH > 158 Oct < Linux version 4.13.5-1-ARCH > > I've only found (very) old reports for this[0][2] with either no > solution[1] or some hinting that this may be caused by hardware errors. Since 4.11, there are lots of happenings in swap subsystem to be optimized so it might be related to one of those changes but I'm not sure. Worth to Ccing Huang who may know somethings since then. Thanks. > > In my case howerver no kernel BUG messages or oopses are involved and no > PTE errors are logged. The machine appears to be very stable, although > memory usage is quite high on that machine (but no OOM situations so > far either). As the machine is only equipped with 1GB of RAM, I'm > using ZRAM on this system, which usually looks something like this: > > $ zramctl > NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT > /dev/zram0 lz4 248.7M 195.7M 74M 78.7M 2 [SWAP] > > I suspect that, when memory pressure is high, zram may not be quick enough > to decompress a page leading to these messages, but then I'd have expected > a zram error message too. > > Can anybody comment on these messages? If they're really indicating a > hardware error, shouldn't there be other messages too? So far, rasdaemon > has not logged any errors. > > Thanks, > Christian. > > [0] http://lkml.iu.edu/hypermail/linux/kernel/0204.3/0165.html > [1] https://bugzilla.redhat.com/show_bug.cgi?id=432337 > [2] https://access.redhat.com/solutions/218733 > -- > BOFH excuse #323: > > Your processor has processed too many instructions. Turn it off immediately, do not type any commands!! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org