SteamOS
SteamOS copied to clipboard
SD sometimes gets 'undetected' and turns into SD032
Your system information
- SteamOS version: 3.5.7 stable
- Opted into Steam client beta?: [No]
- Opted into SteamOS beta?: [No]
- Have you checked for updates in Settings > System?: [Yes]
Please describe your issue in as much detail as possible:
Describe what you expected should happen and what did happen. I boot up my deck and some boots, next to where download happen I see and SD card Icon. When i check it or the storage tab, i can see my sd card is now read as SD032, i get asked to format it and it says it has about 30mb of space. This immediatly gets resolved by either pressing the power button and sleeping/waking the deck or removing and reinserting the SD CARD. I have seen this happen now on 3 separate steam decks with different SD Cards. I have seen this on a friends 256 lcd (on 43.5.7), my old one, my 1tb oled and my spouse's 512 oled. 1tb oled is using a 512 Sandisk Pro SD and the other card is a 1tb sandisk pro black. I dont know if there is an issue with this brand now, but my old LCD deck still has one of these 1tb cards since i bought two back when and it never had this issue since its still on 3.4 The only common thing I can see is the card brand and 3.5
Steps for reproducing this issue:
- Use a sd card regularly on 3.5.7
- Leave the deck alone for a few days
- Turn it on, 50% chance it doesnt detect the card until you reboot
https://steamcommunity.com/app/1675200/discussions/1/4038102696016939586/?ctp=3 People are having this issue regularly. I can confirm its not only on oled
@lostgoat @bertogg
Can anyone run the following commands when this problem happens, and paste the output here ? (before rebooting or ejecting the card)
sudo lsblk -d /dev/mmcblk*
sudo blkid /dev/mmcblk*
mount | grep SD032
sudo journalctl -b | grep -E 'mmcblk|steamos-automount'
(1)(deck@steamdeck ~)$ sudo lsblk -d /dev/mmcblk* [sudo] password for deck: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mmcblk0 179:0 0 30.6M 0 disk (deck@steamdeck ~)$ sudo blkid /dev/mmcblk* (2)(deck@steamdeck ~)$ mount | grep SD032 (1)(deck@steamdeck ~)$ sudo journalctl -b | grep -E 'mmcblk|steamos-automount' Jan 09 21:12:00 steamdeck kernel: mmcblk0: mmc0:d555 SD032 30.6 MiB Jan 09 21:13:20 steamdeck partitionmanager[2818]: "Device found: mmcblk0" Jan 09 21:13:20 steamdeck partitionmanager[2818]: smartctl initialization failed for "/dev/mmcblk0" : Resource temporarily unavailable Jan 09 21:13:20 steamdeck partitionmanager[2818]: error during smart output parsing for "/dev/mmcblk0" : Resource temporarily unavailable Jan 09 21:13:20 steamdeck partitionmanager[2818]: unknown file system type "" on "/dev/mmcblk0" Jan 09 21:15:52 steamdeck dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.130' (uid=0 pid=3261 comm="sudo lsblk -d /dev/mmcblk0") Jan 09 21:16:02 steamdeck sudo[3261]: deck : TTY=pts/1 ; PWD=/home/deck ; USER=root ; COMMAND=/usr/bin/lsblk -d /dev/mmcblk0 Jan 09 21:16:38 steamdeck dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.131' (uid=0 pid=3322 comm="sudo lsblk -d /dev/mmcblk0") Jan 09 21:16:46 steamdeck sudo[3322]: deck : TTY=pts/1 ; PWD=/home/deck ; USER=root ; COMMAND=/usr/bin/lsblk -d /dev/mmcblk0 Jan 09 21:17:21 steamdeck dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.132' (uid=0 pid=3334 comm="sudo blkid /dev/mmcblk0") Jan 09 21:17:21 steamdeck sudo[3334]: deck : TTY=pts/1 ; PWD=/home/deck ; USER=root ; COMMAND=/usr/bin/blkid /dev/mmcblk0 Jan 09 21:19:02 steamdeck dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.133' (uid=0 pid=3369 comm="sudo journalctl -b grep -E mmcblk|steamos-automoun") Jan 09 21:19:02 steamdeck sudo[3369]: deck : TTY=pts/1 ; PWD=/home/deck ; USER=root ; COMMAND=/usr/bin/journalctl -b grep -E mmcblk|steamos-automount Jan 09 21:23:43 steamdeck dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.227' (uid=0 pid=5576 comm="sudo lsblk -d /dev/mmcblk0") Jan 09 21:23:51 steamdeck sudo[5576]: deck : TTY=pts/1 ; PWD=/home/deck ; USER=root ; COMMAND=/usr/bin/lsblk -d /dev/mmcblk0 Jan 09 21:24:13 steamdeck dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.228' (uid=0 pid=5595 comm="sudo blkid /dev/mmcblk0") Jan 09 21:24:13 steamdeck sudo[5595]: deck : TTY=pts/1 ; PWD=/home/deck ; USER=root ; COMMAND=/usr/bin/blkid /dev/mmcblk0 (deck@steamdeck ~)$
Thanks for the logs @Epicbigfoot , this is the interesting part:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 30.6M 0 disk
[...]
Jan 09 21:12:00 steamdeck kernel: mmcblk0: mmc0:d555 SD032 30.6 MiB
So the drive is detected as a 30.6 MiB SD card at the kernel level.
Are you all using a SanDisk SD card? It might be a hardware problem, as it seems that this issue has been noticed by many users in different platforms:
- Google Chromebook: https://bugs.chromium.org/p/chromium/issues/detail?id=1029230
- nVidia TX2: https://forums.developer.nvidia.com/t/sd-card-shows-wrong-size/167097
- ASUS Transformer TF700 tablet: https://xdaforums.com/t/q-32-gb-microsd-showing-only-30-mb.2140977/
- PC (Gentoo): https://forums.gentoo.org/viewtopic-t-938172-start-0.html
- PC (Ubuntu): https://unix.stackexchange.com/questions/205247/sd-card-doesnt-work-anymore
What's interesting is that you all seem to be having this problem with SteamOS 3.5, this could indicate a regression in the kernel.
I use a SanDisk Extreme microSD A2 1TB
Replying to https://github.com/ValveSoftware/SteamOS/issues/1339#issuecomment-1883854236
Im also using a sandisk card. Is there a fix for this? It literally never happened for the year i had my deck before 3.5
has this been noticed by valve? https://steamcommunity.com/app/1675200/discussions/1/4038102696016939586/?ctp=4
I also use SanDisk 400Gb card, also experience the same issue
I too am having this problem as described by the original post with my launch model Steam Deck on SteamOS 3.5.7 with a 256GB SanDisk micro SD card.
Its probably a problem like @betogg mentioned. Question is, is this being worked on?
My logs are identical to the ones from @Epicbigfoot - Also 1TB SanDisk Extreme PRO card. First noticed it after plugging it into my OLED Deck back in November. Never noticed it on my LCD Deck before and I don't think I had that one on SteamOS 3.5 yet.
Having the same issue reported here. I have RMA'd my 1TB Limited Edition OLED Deck Twice, and the issue has occurred on all three units. The issue occurs using three different types of 1tb capacity sandisk cards:
Sandisk Extreme Pro 1tb Sandisk Extreme 1tb Sandisk GamePlay 1tb
I did notice this problem occur once on my original LCD deck, but after changing to a different microsd card the issue did not occur again.
I attempted to use a lower capacity 512gb Samsung Pro Plus Card, and that card did not seem to suffer the issue. Same goes for a 1tb Lexar card, no issue.
One thing to note is that the Sandisk extreme and extreme pro cards have a sticker on the back that makes removing the card from the slot an ordeal since it can get stuck. Not sure if that is related to this issue.
This keeps happening. I visited my dad who got my old LCD deck and never upgraded. I updated it to the latest stable and sure enough, it does the same thing with the sd card that had zero issues before. @kisak-valve is this being looked into? It's really really irritating
My logs are identical to the ones from @Epicbigfoot - Also 1TB SanDisk Extreme PRO card. First noticed it after plugging it into my OLED Deck back in November. Never noticed it on my LCD Deck before and I don't think I had that one on SteamOS 3.5 yet.
I updated an LCD deck to 3.5 today and it started happening 2 restarts later
So, to confirm:
- It happens with both LCD and OLED versions
- It only seems to happen with SanDisk microSD cards (people have mentioned several models, from 256GB to 1TB)
- It happens with SteamOS 3.5 but not with earlier versions
No one had this problem with SteamOS 3.4, is that right?
Assuming SteamOS 3.5 is what the OLED shipped with originally (which I'm pretty sure is correct), then yes - this is my experience. Never got it on the LCD which I think had 3.4 on it. I no longer have the LCD with which to test 3.5 upgrade.
FYI I'm been having a look at this issue with some of the exact SD card models mentioned here in both the LCD and OLED units. However I haven't been able to reproduce the problem so far.
For those of you having the problem:
- Can you reproduce it easily by e.g. putting the deck to sleep back and forth a few times in a row?
- How often does it happen? (daily, weekly, ...)?
- Did you modify the root filesystem or are you running a standard 3.5.7 image?
Replying to https://github.com/ValveSoftware/SteamOS/issues/1339#issuecomment-1961264707
So I just started my Deck again and it immediately happend (showing SD card icon in the top bar, SD032 30,6MB). Re-inserted SD card and everything was fine again. Putting it to sleep and waking it up doesn't seem to trigger this (did it around 10 times). I then just shut it down 4 times and now I'm greeted by the SD card icon again. I'm using CryoUtilities if that matters.
Ok, I finally managed to reproduce it, let's see what I find out.
I hope this gets fixed. I can only solve it by using samsung but they just dont sell 1tb cards amd i already own 3 1tb premium sd cards for my 3 decks and they are all sandisk :(It all worked before 3.5
I have everything that I need now and a couple of ideas to try to solve this, I'll come back when I have news. Thanks.
Update: I have the fix for this and I confirm that it works, I'll let you know when it's available for testing. Thanks for your patience!
Yay. Thanks!
Quick question: when this problem happens the card appears as if it only had 30.6 MB. Does anyone see a different size?
If you do, please write a comment here because I would like to know more details. If you always see 30.6 MB when the problem happens you can ignore this message.
My screenshots of the issue show that number. Ill turn on my decks when i get home and check but if irrc thats the number. Can you share why this happens in laymans terms? Thanks beto!
@bertogg see bug #1408 (and the comments inside it) - that bug has a failure but the correct size for the device. So a different case. Good luck - best wishes on your efforts.
@bertogg is there already a fix for that SD Card issue soon in Place? Thanks
@Graubock yes, as I said in an earlier comment I'll let you know when it's available for testing.
@betogg. Thank you! Can you give a quick overview of why this was happening?