From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 22 10:40:07 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B971106566B for ; Sun, 22 Apr 2012 10:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BFAD28FC14 for ; Sun, 22 Apr 2012 10:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3MAe641035918 for ; Sun, 22 Apr 2012 10:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3MAe6x9035917; Sun, 22 Apr 2012 10:40:06 GMT (envelope-from gnats) Resent-Date: Sun, 22 Apr 2012 10:40:06 GMT Resent-Message-Id: <201204221040.q3MAe6x9035917@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Takashi Matsubara Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6B5106566B for ; Sun, 22 Apr 2012 10:39:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9928A8FC0A for ; Sun, 22 Apr 2012 10:39:07 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3MAd7gW017603 for ; Sun, 22 Apr 2012 10:39:07 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3MAd7n6017602; Sun, 22 Apr 2012 10:39:07 GMT (envelope-from nobody) Message-Id: <201204221039.q3MAd7n6017602@red.freebsd.org> Date: Sun, 22 Apr 2012 10:39:07 GMT From: Takashi Matsubara To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/167197: Use of SD card will increase the load of CPU. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2012 10:40:07 -0000 >Number: 167197 >Category: kern >Synopsis: Use of SD card will increase the load of CPU. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 22 10:40:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Takashi Matsubara >Release: FreeBSD9-STABLE >Organization: >Environment: FreeBSD tamago-two.tamago.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Sun Apr 22 15:08:51 JST 2012 matubara@tamago-two.tamago.local:/usr/obj/usr/src/sys/TAMAGO-TWO amd64 >Description: If SD card is used, The following error occurs and the load of CPU increases. sdhci0-slot0: Got AutoCMD12 error 0x0001, but there is no active command. -pciconf -lv is - sdhci0@pci0:13:0:0: class=0x080500 card=0x213317aa chip=0xe8221180 rev=0x01 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'MMC/SD Host Controller' class = base peripheral subclass = SD host controller Computer: Lenovo Thinkpad T510 >How-To-Repeat: Insert SD-card to hardware card controller >Fix: The following source code of head/-current is used. sys/dev/mmc sys/dev/sdhci >Release-Note: >Audit-Trail: >Unformatted: