Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Can't detect SD 2 on RG-ARC S #676

Open
NagaseKouichi opened this issue Oct 23, 2024 · 21 comments
Open

[BUG]Can't detect SD 2 on RG-ARC S #676

NagaseKouichi opened this issue Oct 23, 2024 · 21 comments

Comments

@NagaseKouichi
Copy link

Describe the bug

ROCKNIX Can't detect SD 2 on RG-ARC S. I tryed FAT32 and exFAT, neither works.
Autodetect Games Card is turned on.
Stock FW can detect SD 2 with the same SD card.

Information

  • ROCKNIX Version: [e.g. 20240517]
    20240815
  • Hardware Platform: [e.g. Powkiddy RGB20SX]
    RG-ARC S

Log file

boot.log:

Thu Oct 31 06:08:45 EDT 2024: Autostart: Run RK3566 quirks.
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/001-device_config
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/002-turbo-mode_config
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/010-governors
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/010-led_control
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/030-suspend_mode
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/050-audio_path
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/050-modifiers
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/050-volume
Simple mixer control 'Master',0
Capabilities: pvolume cvolume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 255 Capture 0 - 255
Front Left: Playback 255 [100%] [0.00dB] Capture 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB] Capture 255 [100%] [0.00dB]
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/055-thermal-trips
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/060-game_settings
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/090-ui_service
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/091-ui_shader
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/bin
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run Anbernic RG ARC-S quirks.
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/001-device_config
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/020-gpios
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/050-game-configs
Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/remappings
Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-controller
Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-emulationstation
Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-setup
Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-sync-modules
Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/002-kernel
vm.swappiness = 1
vm.laptop_mode = 5
vm.dirty_writeback_centisecs = 1500
Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/003-gpudriver
Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/003-logging
Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/003-upgrade
Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/006-display
Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/007-rootpw
Thu Oct 31 06:08:48 EDT 2024: Autostart: Run /usr/lib/autostart/common/008-perfmode
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/009-bluetooth
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/009-sleepmode
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/010-moonlight
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/010-pico8
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/010-uimode
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/020-configs
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/050-audio
536870916
Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/055-hdmi-check
0
1
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/080-network
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/081-usbgadget
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/095-turbo-mode
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/098-deviceutils
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/098-wireguard
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/099-networkservices
Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/111-sway-init
Wed Oct 23 06:12:01 EDT 2024: Autostart: Run /usr/lib/autostart/common/999-export
Wed Oct 23 06:12:01 EDT 2024: Autostart: Startup complete...

Context

RK3566:~ # df -h
Filesystem Size Used Available Use% Mounted on
devtmpfs 485.8M 4.0K 485.8M 0% /dev
/dev/mmcblk1p1 2.0G 1.3G 672.2M 67% /flash
/dev/loop0 1.3G 1.3G 0 100% /
/dev/mmcblk1p2 26.0G 563.6M 25.4G 2% /storage
tmpfs 488.7M 332.0K 488.4M 0% /dev/shm
tmpfs 195.5M 14.5M 181.0M 7% /run
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 488.7M 44.0K 488.7M 0% /var
tmpfs 488.8M 8.0K 488.7M 0% /tmp
none 26.0G 563.6M 25.4G 2% /tmp/assets
none 26.0G 563.6M 25.4G 2% /tmp/cores
none 26.0G 563.6M 25.4G 2% /tmp/database
none 26.0G 563.6M 25.4G 2% /tmp/joypads
none 26.0G 563.6M 25.4G 2% /tmp/overlays
none 26.0G 563.6M 25.4G 2% /tmp/shaders
/dev/mmcblk1p2 26.0G 563.6M 25.4G 2% /storage/roms
/dev/loop0 1.3G 1.3G 0 100% /usr/lib/libEGL.so.1.1.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib/libGLESv1_CM.so.1.2.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib/libGLESv2.so.2.1.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib/libgbm.so.1.0.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib/libwayland-egl.so.1.23.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libEGL.so.1.1.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libGLESv1_CM.so.1.2.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libGLESv2.so.2.1.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libgbm.so.1.0.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libwayland-egl.so.1.23.0
/dev/loop0 1.3G 1.3G 0 100% /usr/lib/libSDL2-2.0.so.0.3000.5
/dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libSDL2-2.0.so.0.3000.5
devtmpfs 485.8M 4.0K 485.8M 0% /usr/lib/libGL.so.1.7.0
devtmpfs 485.8M 4.0K 485.8M 0% /usr/lib32/libGL.so.1.7.0
RK3566:~ # mount
devtmpfs on /dev type devtmpfs (rw,relatime,size=497468k,nr_inodes=124367,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/mmcblk1p1 on /flash type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/loop0 on / type squashfs (ro,relatime,errors=continue)
/dev/mmcblk1p2 on /storage type ext4 (rw,noatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=200192k,nr_inodes=819200,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /var type tmpfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=500480k,nr_inodes=1048576)
none on /tmp/assets type overlay (rw,relatime,lowerdir=/usr/share/retroarch-assets,upperdir=/storage/assets,workdir=/storage/.tmp/assets-workdir)
none on /tmp/cores type overlay (rw,relatime,lowerdir=/usr/lib/libretro,upperdir=/storage/cores,workdir=/storage/.tmp/cores-workdir)
none on /tmp/database type overlay (rw,relatime,lowerdir=/usr/share/libretro-database,upperdir=/storage/database,workdir=/storage/.tmp/database-workdir)
none on /tmp/joypads type overlay (rw,relatime,lowerdir=/usr/share/libretro/autoconfig,upperdir=/storage/joypads,workdir=/storage/.tmp/joypads-workdir)
none on /tmp/overlays type overlay (rw,relatime,lowerdir=/usr/share/retroarch-overlays,upperdir=/storage/overlays,workdir=/storage/.tmp/overlays-workdir)
none on /tmp/shaders type overlay (rw,relatime,lowerdir=/usr/share/common-shaders:/usr/share/glsl-shaders:/usr/share/slang-shaders,upperdir=/storage/shaders,workdir=/storage/.tmp/shaders-workdir)
/dev/mmcblk1p2 on /storage/roms type ext4 (rw,noatime)
/dev/loop0 on /usr/lib/libEGL.so.1.1.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib/libGLESv1_CM.so.1.2.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib/libGLESv2.so.2.1.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib/libgbm.so.1.0.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib/libwayland-egl.so.1.23.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib32/libEGL.so.1.1.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib32/libGLESv1_CM.so.1.2.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib32/libGLESv2.so.2.1.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib32/libgbm.so.1.0.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib32/libwayland-egl.so.1.23.0 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib/libSDL2-2.0.so.0.3000.5 type squashfs (ro,relatime,errors=continue)
/dev/loop0 on /usr/lib32/libSDL2-2.0.so.0.3000.5 type squashfs (ro,relatime,errors=continue)
devtmpfs on /usr/lib/libGL.so.1.7.0 type devtmpfs (rw,relatime,size=497468k,nr_inodes=124367,mode=755)
devtmpfs on /usr/lib32/libGL.so.1.7.0 type devtmpfs (rw,relatime,size=497468k,nr_inodes=124367,mode=755)

@Yutsud
Copy link

Yutsud commented Nov 6, 2024

I am having a similar issue on 20241029. Sorry, I do not understand how to further add log or provide further technical context.

@aenertia
Copy link
Contributor

aenertia commented Nov 7, 2024

/dev/mmcblk2p1 - should be the location of the 2nd SD if it is being detected by the kernel;

try manually mounting it mount /dev/mmcblk2p1 /storage/games-external

If /dev/mmcblk2 doesn't exist at all then it's not seeing the TF card at all.

@NagaseKouichi
Copy link
Author

/dev/mmcblk2p1 - should be the location of the 2nd SD if it is being detected by the kernel;

try manually mounting it mount /dev/mmcblk2p1 /storage/games-external

If /dev/mmcblk2 doesn't exist at all then it's not seeing the TF card at all.

There is no mmcblk2 in /dev. You can see the df -h info above.

@AllejoBR
Copy link

AllejoBR commented Nov 8, 2024

[ENG]
[RG503 - RK3566 - 64bits - RocknixOS] Friend, I also have problems with card reading. The file manager identifies the external card normally, but nothing appears on the front end (in the console interface).

I've already tried:
1-remove and insert the card with the console on and off
2-I've already clicked on "update game lists" on several attempts
3-I have already explored everything that the menume allowed me to do
4-I've already flashed this firmware about 5 times (starting without and with the external card) - where the initial firmware configurations begin
5-it is very exhausting to do this.
6-RocknixOS Firmware - this was the only one that managed to make the bluetooth work (headphones, I haven't tried controls yet), although it crashes the console a lot, and freezes several times when I'm testing some configuration. WiFi works well.
7-I've already done an update to this firmware via the console itself, but it doesn't seem to change anything. The version and some values ​​remain the same, I didn't see any difference.
HELP!


[PT-BR]
[RG503 - RK3566 - 64bits - RocknixOS] Amigo, tambem tenho problemas com leitura de cartão. O gerenciador de arquivos identifica o cartão externo normalmente, mas não aparece nada na front-end (na interface do console).

Já tentei:
1-remover e inserir o cartão com o console ligado e também desligado
2-já cliquei em "atualizar listas jogos" em diversas tentativas
3-já explorei tudo o que o menume me permitia
4-já fiz o flash desse firmware umas 5x (inciando sem e com o cartão externo) - onde se iniciam as configutações iniciais do firmware
5-tá sendo muito exaustivo fazer isso.
6-Firmware RocknixOS - esse foi o unico que consegui fazer funcionar o bluetooth (fones de ouvido, ainda não tentei controles), embora ele trava muito o console, e congela várias vezes quando estou testando alguma configuração. WiFI funciona bem.
7-Ja fiz uma atualização pra esse firmware pelo próprio console, mas me parece que não mudou nada. A versão e alguns valores continuam o mesmo, não vi diferença.
HELP!


1731079547924
1731079547931
1731079547939

@sousapro
Copy link

sousapro commented Nov 8, 2024

@AllejoBR you need to move your system roms folders into a folder named roms instead of having the systems sit in the root of your SD card. In the screenshot above they should be in /roms/cps1 instead of just /cps1

https://rocknix.org/play/add-games/#simple-storage

@AllejoBR
Copy link

AllejoBR commented Nov 9, 2024

I got it friend,

I created a "rom" folder before the system folders on the external card.
detail: the application is not available to me: /usr/bin/cleanup_overlay.

I'm having problems displaying game media, nothing appears, and the entire SD card is full of covers, images, game manuals created by screenscrapper.fr, but nothing is displayed, and they are in their respective folders.

I'm currently downloading themes to see if that works.

@aenertia
Copy link
Contributor

aenertia commented Nov 9, 2024

We don't load any media artifacts not explictly defined in the gamelist.xml. if your artifacts are not in the xml defintion and rely on filename parsing that will be why they do not appear

@NagaseKouichi
Copy link
Author

NagaseKouichi commented Nov 21, 2024

This issue is fixed in the 20241120 release! Thank you!
EDIT:
It's very strange. Sometimes when I boot RG ARC-S, It can't detect the external SD card. Then I shutdown it and boot it again. And this time it does detect the external SD card and auto mounts it.

@Soundtoxin
Copy link

@NagaseKouichi

It's very strange. Sometimes when I boot RG ARC-S, It can't detect the external SD card. Then I shutdown it and boot it again. And this time it does detect the external SD card and auto mounts it.

Sounds like my issue, #360
RG353M (my device), RG ARC-S (your device), and RGB30 (@Yutsud's device) all have the RK3566 SoC, so I suspect it's either a hardware problem on these devices or something related to the support for that chip in ROCKNIX. Sadly my issue was marked null (for somewhat legitimate reasons, initially) and even after doing everything they asked (remove Android, fresh install, new SD card) they wouldn't return to it, so I'm not sure if we'll get a solution. Sometimes on boot the card is detected, sometimes I have to reboot it one or more times before it shows up. I replaced the SD card, reinstalled ROCKNIX, etc. Nothing solved it. I didn't wanna open a new issue and cause a ruckus, but since your issue is similar, I'll keep an eye on it.

This is probably a tricky thing to get to the bottom of considering it's intermittent.

@troopermax
Copy link
Contributor

@Soundtoxin
Try the previous release: https://github.com/ROCKNIX/distribution/releases/tag/20241029

Or if you're comfortable removing the .dtb files from the ROCKNIX partition and replacing them with the.dtb files from an older build, that might also help without downgrading entirely.

It's possible some power optimizations that were made may be affecting SD card reliability in some cases.

@Soundtoxin
Copy link

My problem was happening since the 20240702 release at least, not a recent issue. I have also updated to each new release and don't recall it ever going away entirely.

@troopermax
Copy link
Contributor

My problem was happening since the 20240702 release at least, not a recent issue. I have also updated to each new release and don't recall it ever going away entirely.

Ah, some other users had reported similar experiences recently with the current release, but not the previous release, but hard to tell with intermittent issues. Your report of it happening throughout and as far back as July might be helpful though, but yeah, sounding tricky again.

@loki666
Copy link
Collaborator

loki666 commented Dec 4, 2024

I also noticed this on H700, but given the hacky state of H700 was in, I didn't gave much attention (and stopped using SD2 for now)
Don't know if there was any driver oops in dmesg

I'll try to check that again soon

@Tom2112
Copy link

Tom2112 commented Dec 6, 2024

I also have this problem with a brand new Powkiddy RGB10X. I didn't find any errors in the boot.log, but there were mmc errors showing up on screen during boot-up. I believe the "messages." file captured them. I'll paste that file's contents here:

Fri Dec 6 08:20:41 EST 2024 automount: Loading exfat.
Fri Dec 6 08:20:41 EST 2024 automount: Loading vfat.
Fri Dec 6 08:20:41 EST 2024 automount: Loading ntfs.
Fri Dec 6 08:20:41 EST 2024 automount: Loading ntfs3.
Fri Dec 6 08:20:41 EST 2024 automount: Unmount /storage/games-external.
Fri Dec 6 08:20:41 EST 2024 automount: Unmount /storage/roms.
Fri Dec 6 08:20:41 EST 2024 automount: Inspecting /dev/mmcblk0p2.
Fri Dec 6 08:20:41 EST 2024 automount: /dev/mmcblk0p2 not available.
Fri Dec 6 08:20:41 EST 2024 automount: Inspecting /dev/mmcblk0p1.
Fri Dec 6 08:20:41 EST 2024 automount: /dev/mmcblk0p1 not available.

Fri Dec 6 08:20:41 EST 2024 automount: Could not find external card to mount, assume internal.
Fri Dec 6 08:20:41 EST 2024 automount: Executing bind mount of /storage/games-internal to /storage/roms
Fri Dec 6 08:20:41 EST 2024 automount: Creating game directories.
Fri Dec 6 08:20:49 EST 2024 Starting sway.service essway.service...:
Fri Dec 6 08:20:49 EST 2024 Autostart complete...:
Fri Dec 6 08:21:49 EST 2024 wifictl: Disabling WIFI power saving.
Fri Dec 6 08:22:58 EST 2024 wifictl: Disabling WIFI power saving.
Fri Dec 6 08:23:01 EST 2024 wifictl: Disabling WIFI power saving.

Here is the boot.log, in case it is helpful:

Fri Dec 6 08:20:39 EST 2024: Autostart: Run RK3326 quirks.
Fri Dec 6 08:20:39 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/002-turbo-mode_config
Fri Dec 6 08:20:39 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/010-governors
Fri Dec 6 08:20:39 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/050-audio_path
Fri Dec 6 08:20:39 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/050-modifiers
Fri Dec 6 08:20:39 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/060-game_settings
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/090-ui_service
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/091-ui_shader
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3326/sleep.d
Fri Dec 6 08:20:40 EST 2024: Autostart: Run Powkiddy RGB10X quirks.
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Powkiddy RGB10X/001-device_config
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Powkiddy RGB10X/010-led_control
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Powkiddy RGB10X/050-game_configs
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Powkiddy RGB10X/050-modifiers
Fri Dec 6 08:20:40 EST 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Powkiddy RGB10X/bin
Fri Dec 6 08:20:41 EST 2024: Autostart: Run /usr/lib/autostart/common/001-controller
Fri Dec 6 08:20:41 EST 2024: Autostart: Run /usr/lib/autostart/common/001-emulationstation
Fri Dec 6 08:20:41 EST 2024: Autostart: Run /usr/lib/autostart/common/001-setup
Fri Dec 6 08:20:41 EST 2024: Autostart: Run /usr/lib/autostart/common/001-sync-modules
Fri Dec 6 08:20:42 EST 2024: Autostart: Run /usr/lib/autostart/common/002-kernel
vm.swappiness = 1
vm.laptop_mode = 5
vm.dirty_writeback_centisecs = 1500
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Fri Dec 6 08:20:42 EST 2024: Autostart: Run /usr/lib/autostart/common/003-gpudriver
Fri Dec 6 08:20:42 EST 2024: Autostart: Run /usr/lib/autostart/common/003-logging
Fri Dec 6 08:20:42 EST 2024: Autostart: Run /usr/lib/autostart/common/003-upgrade
Fri Dec 6 08:20:42 EST 2024: Autostart: Run /usr/lib/autostart/common/006-display
Fri Dec 6 08:20:43 EST 2024: Autostart: Run /usr/lib/autostart/common/007-rootpw
Fri Dec 6 08:20:44 EST 2024: Autostart: Run /usr/lib/autostart/common/008-perfmode
Fri Dec 6 08:20:44 EST 2024: Autostart: Run /usr/lib/autostart/common/009-bluetooth
Fri Dec 6 08:20:44 EST 2024: Autostart: Run /usr/lib/autostart/common/009-sleepmode
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/010-moonlight
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/010-pico8
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/010-uimode
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/020-configs
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/020-set_audio_latency
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/050-audio
536870916
numid=5,iface=MIXER,name='Playback Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'HP'
; Item #1 'SPK'
: values=0
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/055-hdmi-check
0
1
Fri Dec 6 08:20:45 EST 2024: Autostart: Run /usr/lib/autostart/common/080-network
Fri Dec 6 08:20:46 EST 2024: Autostart: Run /usr/lib/autostart/common/081-usbgadget
Done.
Fri Dec 6 08:20:46 EST 2024: Autostart: Run /usr/lib/autostart/common/095-turbo-mode
Fri Dec 6 08:20:46 EST 2024: Autostart: Run /usr/lib/autostart/common/098-deviceutils
Fri Dec 6 08:20:46 EST 2024: Autostart: Run /usr/lib/autostart/common/098-wireguard
Fri Dec 6 08:20:46 EST 2024: Autostart: Run /usr/lib/autostart/common/099-networkservices
Fri Dec 6 08:20:46 EST 2024: Autostart: Run /usr/lib/autostart/common/111-sway-init
Fri Dec 6 08:20:49 EST 2024: Autostart: Run /usr/lib/autostart/common/999-export
Fri Dec 6 08:20:49 EST 2024: Autostart: Startup complete...

When I use SAMBA to explore the file structure, the /games-external/roms directory is empty. The expected game system subdirectories are not there (but that's not surprising, considering the messages file shows it couldn't find the mmcblk0p1 or mmcblk0p2 devices. The /games-internal/roms folder has all of the expected game system subdirectories, such as gba and gbc, etc.

Emulation station's system information doesn't show the external roms sd card either. It only shows the internal.

RGB10X_No_Ext_SD_Card

I have not yet tried different SD cards, but this same card works in other handhelds. I will give a different card a try.

@Sizzlin1986
Copy link

Sizzlin1986 commented Dec 23, 2024

I am having the same problem with my new Powkiddy RGB10X. I bought a brand new SanDisk 32GB MicroSDHC card and loaded it with games, but it is not recognized by my RGB10X. However, this same card is recognized by my Powkiddy RGB30 and they are both running RockNix, 11/20/24 version, though different builds for their respective chipsets. What's odd is that I can get the RGB10X to work with another SD card that I have, a 128GB Samsung MicroSDXC card. It mounts just fine, loads all the games, and I can explore the contents with the File Manager. I cannot figure out why there is a difference between the two cards where one loads just fine and the other doesn't. I have tried reformatting the 32GB card to exFAT, to FAT32, and a non-Quick format to FAT32, and it still does not recognize the card.

Of note: the SD card that I have the OS on is a similar SanDisk 32GB MicroSDHC. Is there an issue when the OS card and the Games card are the same size?

@Tom2112
Copy link

Tom2112 commented Dec 23, 2024

I'm also having this same problem on a new R36S running Rocknix. I have two R36S devices. I can pop the Rocknix OS card and ROMs card out of my working unit and put them into the other R36S and they both work fine. But when booted from my newly flashed Rocknix OS card, the new R36S won't recognize any cards I put in the second card slot. As far as I can tell, they are formatted exactly the same.

@aenertia
Copy link
Contributor

Using a non native *nix format for the secondary SD card has known regressions in recent kernel as well as just general performance, integrity and capabilities restrictions. The ideal solution is to format your secondary in btrfs or ext4 format if possible from an OS that supports those filesystems natively.

This very well could be some sort of lower level issue with hardware enumeration, however i have 5 different rk3566 devices which don't have issues with ext4/btrfs secondary format cards.

If you have no other option then ntfs format is probably the safest exotic format for secondary SD at this point ; although it likewise has known performance issues when used on nand.

@Tom2112
Copy link

Tom2112 commented Dec 23, 2024

Wow! NTFS?!!? Seriously? That would have been the last format I would try with a linux handheld. But, heck, I'm game. I'll give it a shot. NTFS will be a lot easier to deal with than ext4. I wish Microsoft would get over themselves and make Windows read/write common linux file systems.
Anyway, I'm getting sidetracked. Thanks for the suggestion!

@aenertia
Copy link
Contributor

aenertia commented Dec 23, 2024

You can likewise just tether over USB - ECM network, and use a single card setup with the pre-made expanded ext4 via samba, internal. This is IMO the easiest option.

Likewise I don't recommend NTFS at all for secondary format, haven't tested it and know it still has all the downsides of being a non POSIX complaint FS and some being heavy on journalling for SD card wear. It does not AFAIK have the issues that exfat has currently however.

@Tom2112
Copy link

Tom2112 commented Dec 23, 2024

Funny that you mention that. That's what I ended up doing on the R36S. All I had was a 256gig card for the roms, so it was plenty big enough for the OS too. So I flashed it with Rocknix - the only down side was copying over my roms again. But that samba option literally couldn't get any easier! Big kudos to whomever implemented that!

@RF84
Copy link

RF84 commented Dec 24, 2024

@Soundtoxin Try the previous release: https://github.com/ROCKNIX/distribution/releases/tag/20241029

Or if you're comfortable removing the .dtb files from the ROCKNIX partition and replacing them with the.dtb files from an older build, that might also help without downgrading entirely.

It's possible some power optimizations that were made may be affecting SD card reliability in some cases.

I had the same issue with the RG353PS. After the last update, the second SD wasn't recognized anymore.
Copying the dtb files from the old release (https://github.com/ROCKNIX/distribution/releases/tag/20240815) to the primary SD card and overwriting existing ones seems to have solved the issue. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests