From nobody Fri Oct 29 18:34:48 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2903E1825176 for ; Fri, 29 Oct 2021 18:34:57 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2p.ore.mailhop.org (outbound2p.ore.mailhop.org [54.187.218.212]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgrh06NGMz3Kd7 for ; Fri, 29 Oct 2021 18:34:56 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1635532490; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=PlEkrNLyuUiDJJC9TrJzwDxVh3CyWBcgtPbCo/pVNQDT7CtBR1sMIca+JEJm45Jixu0tPXXc/gX2Z lt+n4Yc4x8TBn7hKQJvoWGc/aAXNKPf9WeL/ntgRKYCY4Nv0Wjj83U/PO9xLAzLKzsWxPSW/V9vlpR 3aAA2BO/bZz8ZWwACUztx+HLitTNlgm4453PkDCihnTSE/yzob0WuOaKx0U6ePU+5KE4UT6JTOGOyJ NFYbqWjcQzB7Lt3VxxvjWwJiZQcyodjo6X6LZBfj2RtXFi2UEnrziXa3a3XmjRQUH+hkKNOI5Jxgdg 1OJvAZRgElzmcVb56/1n6spsHxPRl9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=0kz/aYNujE3UZY4ljyh0S5+leB3ubP1KYbTGobEVrFs=; b=cHmApPhpRHxFwga0fSdF9HZfzH0uPguGjo/FinH+zbViRdhjqo9ou6rpnNWfVHjihuWXCpmRPueYk VktO61vqyIh+kl9W8xqdQUj+0he6dl2nbxvLfhU6+w+Tv42lNEZbb+mUWsgsKl6MxzFV9f2cT3e3hm AAf78rnfeh759MKBn2RRcX1Wow3K35PFV13fyVSkRFEWeD2c1isih8JvIrY2SIAYwGOPggzMY0HIME +6rKf8XKzU/lgKp9D2yUAwrn8kFfg1ZhsJtESVwUH5sWkEx9QZebzPpo3mZlpCghXW7HKKvhFIgAVg QOprEi0/cCoex0Db2A/NSJhVSpmhj8w== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=24.8.225.114; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=0kz/aYNujE3UZY4ljyh0S5+leB3ubP1KYbTGobEVrFs=; b=pXVeEoR4vqsci1PFChmmNjMElXvTkVMA7GXVUhBwsDUAhDmkFMCxvyqi3ZhQoJ7+hoSRrKjPRzRcB yg1FCwtVGB4US5h2u9ZF/ktFhBhqfekmgN6gFJddaG7rWb6lnxrrL0dz2lDATnmabBNhn1PhwuBA39 2hT+XxGTFailaSu4CjTRgf3YbRH0ptpVb4M6lPOfZN2d3f3QEtQ/gWVab64LVhiMHwTltdGSujZzXp OiTXXvf4USylj0suvjPml2PqRjRilPlMtY51YxdY1b5HT+2xHSuggWkoKROym65Ncv2D1hQDec4G0S F3aJxUJD2HZHWyqISOZD+qu+ldRXuWg== X-Originating-IP: 24.8.225.114 X-MHO-RoutePath: aGlwcGll X-MHO-User: e5b761c2-38e6-11ec-a67c-89389772cfc7 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-24-8-225-114.hsd1.co.comcast.net [24.8.225.114]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id e5b761c2-38e6-11ec-a67c-89389772cfc7; Fri, 29 Oct 2021 18:34:49 +0000 (UTC) Received: from [172.22.42.84] (rev2.hippie.lan [172.22.42.84]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 19TIYmUM014800; Fri, 29 Oct 2021 12:34:48 -0600 (MDT) (envelope-from ian@freebsd.org) X-Authentication-Warning: paranoia.hippie.lan: Host rev2.hippie.lan [172.22.42.84] claimed to be [172.22.42.84] Message-ID: <22fb38d9b6cda8baec08713159bb65afcc8cd418.camel@freebsd.org> Subject: Re: bug in mmc driver From: Ian Lepore To: kamalpr@gmail.com, freebsd-arm Date: Fri, 29 Oct 2021 12:34:48 -0600 In-Reply-To: References: Content-Type: text/plain; charset="ASCII" User-Agent: Evolution 3.40.3 FreeBSD GNOME Team List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Hgrh06NGMz3Kd7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, 2021-10-29 at 10:02 +0530, Kamal R. Prasad wrote: > hello, > > if i run a stress test on a freebsd system booted from a micron mmc > device, and run a script which in a loop opens the same mmc device in > read-only mode, it causes a problem in acquiring the bus and panics > the box. both the stress test and a script to open the mmc device in > read only mode are in user space and so kernel should not have > panic'ed. Pl see stack trace from our freebsd derived os. > > thanks > -kamal > -------------- > > panic: mmc: host bridge didn't serialize us. > > [...] > This indicates a problem in the low-level mmc/sd controller ("host bridge") driver. You didn't say anything about what hardware is in use; I have no idea what driver to look at. -- Ian