All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: Re: mmc-utils: ioctl connection timed out with SD cards
Date: Tue, 4 Apr 2023 11:29:21 +0200	[thread overview]
Message-ID: <ZCvt8WDcpsAXW5/q@sakura.greysector.net> (raw)
In-Reply-To: <48e2f9c1a3664fa59977a56579edde97@hyperstone.com>

Hello, Christian.

On Tuesday, 04 April 2023 at 08:14, Christian Löhle wrote:
> > is the mmc tool from mmc-utils supposed to work with SD cards?
> > I tried mmc status get /dev/mmcblkN with three different SD cards on
> > two different machines (Pinebook Pro and a Sony laptop) and I get
> > the same error on both:
> > # mmc status get /dev/mmcblk0
> > ioctl: Connection timed out
> > Could not read response to SEND_STATUS from /dev/mmcblk0
> 
> Could you try something like
> sudo dd if=/dev/mmcblk0 of=/dev/null count=1 iflag=direct; sudo mmc status get /dev/mmcblk0
> just to rule out anything in the autosuspend direction?

I did, same error:
$ sudo dd if=/dev/mmcblk0 of=/dev/null count=1 iflag=direct; sudo mmc status get /dev/mmcblk0
1+0 records in
1+0 records out
512 bytes copied, 0.000832209 s, 615 kB/s
ioctl: Connection timed out
Could not read response to SEND_STATUS from /dev/mmcblk0

And there's a corresponding
[ 3540.312203] rtsx_pci_sdmmc rtsx_pci_sdmmc.0: __mmc_blk_ioctl_cmd: cmd error -110
in dmesg.

This is on a third machine, a Dell laptop (though the SD card reader is
driven by the same rtsx_pci_sdmmc driver as in the Sony case).

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan

  reply	other threads:[~2023-04-04  9:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-03 17:51 mmc-utils: ioctl connection timed out with SD cards Dominik 'Rathann' Mierzejewski
2023-04-03 20:11 ` Christian Löhle
2023-04-04  6:14   ` Christian Löhle
2023-04-04  9:29     ` Dominik 'Rathann' Mierzejewski [this message]
2023-04-04 10:08   ` Dominik 'Rathann' Mierzejewski
2023-04-04 11:40     ` Christian Löhle
2023-04-04 17:18     ` Christian Löhle
2023-04-04 17:32     ` Christian Löhle
2023-04-25 12:41       ` Dominik 'Rathann' Mierzejewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZCvt8WDcpsAXW5/q@sakura.greysector.net \
    --to=dominik@greysector.net \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.