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

In ntrboot mode, GM9 fails to automatically mount large SD card. #262

Closed
Cuphat opened this issue Nov 11, 2017 · 18 comments
Closed

In ntrboot mode, GM9 fails to automatically mount large SD card. #262

Cuphat opened this issue Nov 11, 2017 · 18 comments

Comments

@Cuphat
Copy link

Cuphat commented Nov 11, 2017

Using the latest commit, with the proper aeskeydb.bin compiled into it.

Most of the (small, ~4GB) SD cards seem to automatically mount fine. However, my main 3DS's 128GB card does not automatically mount when booting GM9 in ntrboot mode. Pressing R+B to remount the card works perfectly fine, however this is not something that you can do when GM9 is compiled with an autorun script.

One other relevant detail is the SD card has 2 EmuNANDs (RedNANDs).

@Derek1199
Copy link

Is this from the master branch?

@Cuphat
Copy link
Author

Cuphat commented Nov 11, 2017

Yes, master branch.

@Derek1199
Copy link

Okay. I'll try to reproduce this.

@Derek1199
Copy link

I also reproduced this. This is definately a bug.

@figgyc
Copy link
Contributor

figgyc commented Nov 11, 2017

is this only a problem in ntrboot mode?

@Derek1199
Copy link

This also happens when booting it through firm0/1 too. However it's bootloader still works and boots the boot.firm on the SD card. Tested this placing GodMode9 as boot.firm on CTRNand and it still booted the payload on the SD card. But yeah this occurs on firm partition boots too.

@d0k3
Copy link
Owner

d0k3 commented Nov 11, 2017

Can you check if this also happens with the latest release (instead of building from the latest code)?

@angelsl - any chance this is caused by your recent changes to sdmmc.c?

Also, next thing... I only own a 64GB card, so I can't test. Can someone with a 128GB card check if this also happens if the SD card is formatted from GM9?

@angelsl
Copy link
Contributor

angelsl commented Nov 11, 2017

@d0k3 Probably is.

I guess the timeout needs to be increased.

@Cuphat
Copy link
Author

Cuphat commented Nov 11, 2017

I just tested and 1.4.3 release does not have this problem.

@urherenow
Copy link

Timeout seems like a reasonable culprit. 128GB+ cards are considerably slower than 64GB <

@fox8091
Copy link

fox8091 commented Nov 11, 2017

Question is, how high up should we reasonably support? The 3DS supports up to a theoretical maximum of 2TB SD cards.

@Derek1199
Copy link

@d0k3 I have a rednand that I made using GodMode9 many months ago. Lol. So given this, it's probably what @angelsl did.

@d0k3
Copy link
Owner

d0k3 commented Nov 11, 2017

Okay, the timeout was the culprit, no other option... you'll need to wait a bit for the fix in master, cause the current work branch new_make2 is not fully working yet.

If anyone wants to give it a try with an 128GB card, here's a testbuild:
https://transfer.sh/vvkkZ/GodMode9-v1.4.3-28-gdbfc99df-20171111193238.zip
(disfunctional atm: splash, aes_keydb.bin, hardcoded readme)

@Cuphat
Copy link
Author

Cuphat commented Nov 12, 2017

I'm not actually able to download that build, clicking the download link just leads to an error.

@RShadowhand
Copy link
Contributor

RShadowhand commented Nov 12, 2017

You can try downloading it with wget, or any other download manager if you're on Windows. I can confirm wget works. I tried with IDM but it failed.

EDIT: https://f.secretalgorithm.com/a0wyj/godmode9-v1.4.3-28-gdbfc99df-20171112172940.zip This should work everywhere.

@d0k3
Copy link
Owner

d0k3 commented Nov 12, 2017

https://f.secretalgorithm.com/Xzapw/godmode9-v1.4.3-28-gdbfc99df-20171112175836.zip

You can also just download from @RShadowhand's superior transfer.sh fork ^

@Cuphat
Copy link
Author

Cuphat commented Nov 12, 2017

Yeah, earlier yesterday transfer.sh just didn't work for me in any browser. It was working later last night/this morning though.

I tested that build and it works fine.

@d0k3
Copy link
Owner

d0k3 commented Nov 17, 2017

Fixed by 83b2fba

@d0k3 d0k3 closed this as completed Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants