Received: by 10.223.185.116 with SMTP id b49csp1090175wrg; Wed, 14 Feb 2018 11:27:58 -0800 (PST) X-Google-Smtp-Source: AH8x2266YjMWVNwlJxHDMZVeYQOxL44bPV8LsL9ckyPVymjTknPT6KR6ElxFPAPmQ5y9hzVXE/RI X-Received: by 10.99.101.3 with SMTP id z3mr72406pgb.450.1518636478608; Wed, 14 Feb 2018 11:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518636478; cv=none; d=google.com; s=arc-20160816; b=OxG3nDanRXgxQEpfId1WPmmqzHWwFT5t8KnhaydiVrszbR4L9Dl49XCvQDtAF23czs 1soH6g+9j4MyJQgDr5FU2wnzLpJUw7yVku1K2b1ALUNfdjyXrYEAiQSqZlhHkJeOVvcX rUWPCWpZg+3xK6DLh6D+72ZL1P30ijWuHezWj16+Nqg2Yz8WEpTDti1Bzj64D5LXWI3Y Ho31eKZU6jan+HXrnBlGYXBBPVG6aAhTA6iKfMe8ewZECSxC3Z75VgRD+x1V+Tp94cXj 918OlbSNgohr4ZZWkzfElNYiHkrWxhCLs/YYlPmDzT+doEFhaJRiL+PMhCpaQOjiENzL BGdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=x8koov/JopAFuoBkvq+KkNELNzushRtEvo+XkD/XpBQ=; b=UqMypuq8NKmh5u4dW9jAd9uytaCD+kY+hLPjvP1k1OUPtv1r2snz2zywZ/zhN1NCnM dIHGAwuuo21oQWd+17kzEBxxELvRYt5D5Wa7Hx7GbNp5f5ittFQDfOeE5tYbjAKu2kS2 h5J2arbkWRGCQZYTHbJZYEpFJ/add7wUc84Tx9KJUsdc/1xfYvErEF8Blk1Lr6/Nauxj DswFxKupPmJ1it54mtJZyo15jxzjOEhhGiCMJwpWQyDgyFrXrL8KN6njPEZf4h/jKL4C yZgBQd+nRWQwZ4tXUIFsalmttrwAQFQN3hqwhV7UVqa4hLXkmm0wd9lySf6B2yCZA/l/ TKXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n16si2510887pgf.397.2018.02.14.11.27.43; Wed, 14 Feb 2018 11:27:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162891AbeBNTY6 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 14 Feb 2018 14:24:58 -0500 Received: from mx2.suse.de ([195.135.220.15]:55289 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162787AbeBNTY4 (ORCPT ); Wed, 14 Feb 2018 14:24:56 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AA788AEC5; Wed, 14 Feb 2018 19:24:53 +0000 (UTC) Date: Wed, 14 Feb 2018 20:24:54 +0100 From: Michal =?UTF-8?B?U3VjaMOhbmVr?= To: Stefan Wahren Cc: Phil Elwell , Ulf Hansson , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Gerd Hoffmann , "Gustavo A. R. Silva" , Julia Lawall , linux-mmc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout Message-ID: <20180214202454.6e7ebeaf@naga.suse.cz> In-Reply-To: References: <97593d6e1a41af1baff61f7d9e6e68a450fc9da6.1518619058.git.msuchanek@suse.de> <1fbf0d77-cb53-f0fa-b810-e9954138d907@i2se.com> <20180214163649.3a0c9476@kitsune.suse.cz> <20180214165827.386b9bb1@kitsune.suse.cz> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Feb 2018 17:49:31 +0100 Stefan Wahren wrote: > Hi Michal, > > [add Phil] > > Am 14.02.2018 um 17:13 schrieb Michal Suchánek: > > On Wed, 14 Feb 2018 16:36:49 +0100 > > Michal Suchánek wrote: > > > >> On Wed, 14 Feb 2018 15:58:31 +0100 > >> Stefan Wahren wrote: > >> > >>> Hi Michal, > >>> > >>> Am 14.02.2018 um 15:38 schrieb Michal Suchanek: > >>>> The bcm2835 mmc host tends to lock up for unknown reason so reset > >>>> it on timeout. The upper mmc block layer tries retransimitting > >>>> with single blocks which tends to work out after a long wait. > >>>> > >>>> This is better than giving up and leaving the machine broken for > >>>> no obvious reason. > >>> could you please provide more information about this issue > >>> (affected hardware, kernel config, version, dmesg, reproducible > >>> scenario)? > > It tends to reproduce when upgrading a few packages with zypper and > > otherwise at random during system operation. It seems that for my > > card it worsens with age to some degree so perhaps it depends on the > > fragmentation of the internal card flash. > > > > Attaching dmesg and kernel config. > > do you noticed this issue before 4.15-rc4? I initially noticed it with 4.4 kernel with some backports to make it bootable on RPi. > > Could you please test with 4.15 final again? Right, I can apply the patches on something more recent. > > What kind of SD card (name) triggers the issue? Samsung EVO MB-MP16D Also see https://elinux.org/RPi_SD_cards#Which_SD_card.3F Thanks Michal