From: Johannes Schauer <j.schauer@email.de>
To: wei_wang@realsil.com.cn, phihag@phihag.de, ben@decadent.org.uk
Cc: 757733@bugs.debian.org, linux-kernel@vger.kernel.org
Subject: Re: Bug#757733: RTS2557 SD card reader does not work
Date: Mon, 12 Jan 2015 09:11:17 +0100 [thread overview]
Message-ID: <20150112081117.3781.89247@hoothoot> (raw)
In-Reply-To: <20150111000919.4607.25466@hoothoot>
[-- Attachment #1: Type: text/plain, Size: 3413 bytes --]
Hi,
On Sun, 11 Jan 2015 01:09:19 +0100 Johannes Schauer <j.schauer@email.de> wrote:
> Weirdly, my SD card reader used to work (but presented the SD card as
> /dev/mmcblk0pX). I do not know why it stopped working though as I didn't reboot
> my laptop for several months. Running an older kernel version (3.14 for
> example) does not fix the problem. Maybe it is related to other parts of my
> (Debian testing) OS. I'll see if I can find a Debian unstable snapshot that
> restores the behaviour I observed last year and try to bisect to find the
> source of the regression.
I spent the past two days trying to reproduce the problem and I'm unable to get
reliable results. Let me explain what I did.
- December 20 I took a snapshot of my system (but without rebooting) at this
time my T440s SD card reader worked fine and showed up as /dev/mmcblk0*
- January 10 (three weeks later) I did a big `apt-get upgrade/dist-upgrade` to
update all the packages to their Jessie or Sid versions, respectively and
rebooted. The card reader didn't show up anymore. Nothing on dmesg when I
inserted my sdcard which would before show me the new registered partitions
- I put a Debian Sid debootstrap from January 1 2014 on a USB stick and booted
that. Same thing, no SD card.
- I put a Debian Sid debootstrap from January 1 2013 on a USB stick and booted
that. Same thing, no SD card.
- In the hopes that at least the snapshot from December 20 would work and
somehow allow me to find out which package upgrade broke my system, I put
this back on my harddisk and booted it. The SD card reader worked and was
available as /dev/mmcblk0*
- I upgraded step by step important packages like linux-image-amd64,
initramfs, udev, while rebooting after every step. The system kept working.
- I added /usr /bin /sbin /var /etc /boot and /lib to a git on my / so that I
would always be able to quickly roll back everything and did `apt-get
upgrade/dist-upgrade` for the rest of my system and rebooted. Everything
kept working
- So at this point I executed the same upgrade path which before made a system
that was working not working but in this case the SD card reader kept
working. I had no explanation as I didn't do anything different.
- I put the prior non-working snapshot of my system from January 10 back which
had all the upgrades already done. And surprise: this time it worked! The
exact same hard disk image which before leads to my MMC card reader not
showing up worked fine this time.
- I installed Debian Jessie (with the daily installer from [1]) on a USB stick
and booted that. My card reader keeps working
- I put put a Debian Sid debootstrap from January 1 2014 on a USB stick and
booted that (this wasn't working before, see above). This time it worked and
I was able to mount my SD card.
What do you make from this?
Apparently there are situations where, with the exact same root file system (My
January 20 full snapshot and the January 1 2014 Debian Sid debootstrap) it at
some point did not work but then worked again.
How can this happen?
What else can I try?
Right now everything works and I'm not able to make it not-working again.
Thoughts?
cheers, josch
[1] http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJUs4GlAAoJEPLLpcePvYPh1hcP/0Ba9nO9jDwgDm6xincrTajM
FYHF3sQKmIz3DibbMvoBQA3YePHy0PhZgbNUroNMI7OPefe7vQipvcFtFCYxXfsG
+bvLQ+FW4saHk0+1mHw27ozx211jXWW/g1xPejsaVBdlunCIM8bclCjUcJ0tXiPZ
Xd1ECbm8S32uPAhxd+SpWuLq/+EM/oy3x20fiOPW8QJ4Ik6Tt/T+vqY1ZMnmDlU9
VkjpXYZbIUCc26L923o69cDofIRdUUwbZU/OedR1uBD/N6RZe9LcV625pfuPPQB6
t5pdbIR00EwhF14G+JyIcXIpe2qCRneGLztN4jw8Y+nBxM1jltpzVF4qb3pLfXur
isrbCOYQ6JAcO/t735WF0aZaRzcsXaEiFnu/Tb92iZ6Y46o2fO3UvfLBQ7QGPTAr
vfT6vBmCapdccpqA/N7ueTs50UbrM/exX/id8kmo9mU1liVoI64AdArnH16iU5zw
Sn4QlwpIbDeBjV8oh9w05P/r9VjYmuH70eecjBGtAVhuND/dJBW/W34O16XvT+Li
d/n+zwfuLjHPq2bBHtAuNkUMI/B3wCrjNgM86KGB2FSfb2JcpvhWxM62AJ0MkmMQ
vzeTI60gV/ui/1pg9u/AZvhanttyI1G98cXBjbupb+n7U9nt0dHpIgDqmjdU1fTZ
jp4QdMpTisSBSKntrlqp
=gs15
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2015-01-12 8:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140810225012.3425.19201.reportbug@t4.home.phihag.de>
2014-08-10 23:58 ` Bug#757733: RTS2557 SD card reader does not work Ben Hutchings
2014-08-11 1:10 ` Philipp Hagemeister
2014-08-11 6:45 ` 答复: " 王炜
2015-01-11 0:09 ` Johannes Schauer
2015-01-12 8:11 ` Johannes Schauer [this message]
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=20150112081117.3781.89247@hoothoot \
--to=j.schauer@email.de \
--cc=757733@bugs.debian.org \
--cc=ben@decadent.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=phihag@phihag.de \
--cc=wei_wang@realsil.com.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox