-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Crash 2162-0002 on wifi connect in downgraded emummc created from ofw 19.0.1 #2463
Comments
prodinfo blanking is the reason why it's crashing. It works properly only below 17.0.0, because FW update introduced check that results in system crash if it's not met. Here are patches that prevent crash |
this is not the nim crash. |
Still npns uses ssl services, so it may crash for the same reason. |
tried, still crashes. |
maybe something for @ITotalJustice to look into |
Nothing to do with me |
might be worth adding to sys-patch if it isn't fixed in atmosphere, is what I meant |
Again, that tool has nothing to do with me. |
PIRACY IS NOT SUPPORTED, PLEASE CLOSE THE ISSUE. |
this issue has absolutely nothing to do with piracy. |
The homebrew you namedropped is, you made this issue become piracy related. |
That homebrew solves another crash due to prodinfo blanking. Prodinfo blanking is an atmosphere feature. It makes sense to put it there if it wouldn't be fixed in atmosphere. Your argument is ridiculous. I am not pirating, I just want the crash fixed. |
I checked your crash reports and found something referencing penne, which is a type of pasta, which i suppose is some sort of joke that it's "spaghetti code". which apparently is related to system saves ReturnAddress[05]: 0000001f3ceb9cf0 (npns + 0xb9cf0) (which also calls for ReturnAddress[03]: 0000001f3ce05ab0 (npns + 0x5ab0) ) tl:dr don't downgrade because a system save might be created with something that lower firmware can't handle(?) |
Interesting. The "nice thing" about that crash though is that it can easily be avoided by blocking ninty in the atmosphere hosts file. I hadn't yet found a way to prevent the crash in this issue, though, but thanks to you I just did.
This was an extremely helpful hint. My solution: enter airplane mode, start JKSV, find system save 00000110, title options -> open in file mode, delete penne_persistent.bin, close jksv, disable airplane mode and connect to wifi. Crash gone. Deleting the entire save in JKSV doesn't seem to work, nothing happens when pressing A to delete it. But opening the save and deleting the penne file did the trick. @J-D-K I would guess that this non-backwards-compatible save is created on ofw when the npns service manages to connect to ninty on 19.0.1, as I couldn't reproduce the crash by upgrading an older emummc to 19.0.1 - assumingly because ninty communication was blocked. |
Hi there, I am encountering the same error as you are after following the same update and use of daybreak steps as you detailed in your first post. My device was on 19.0.1, daybreak to 18.1.0 and was getting the same atmosphere error. Reading this thread led me to use jksv but I am also having the issue in that I cannot delete the save penne_persistent.bin. I am being sure to launch in full memory mode with a game and I'm navigating to the correct part of the file system and using file view mode. I'm really not sure what step I am doing incorrectly. In the end after multiple installs and reinstalls I decided to used daybreak to do a reset to factory settings on the same version. 18.1.0 to 18.1.0 factory. I assumed that cleared the save file for me and was correct when using jksv to verify. just posting this as my alternate much less satisfying solution |
@Spexs99 you may have to enable "settings -> Enable Writing to System Saves" in jksv first. Corrected solution: enter airplane mode, start JKSV, make sure "Enable Writing to System Saves" is enabled in settings, find system save 00000110, title options -> open in file mode, delete penne_persistent.bin, close jksv, disable airplane mode and connect to wifi. |
if that is the case, then the return of 0xB9CEC call for return function at 0xDA090 is responsible which has strings referencing: which at 0xDA404 calls for function 0x5A90, and then that function at 0x5AAC calls for function 5A70 which has addres 0x5A84, which is in both threads of your crash report and in your fatal report. ReturnAddress[02]: 0000001f3ce05a84 (npns + 0x5a84) |
Incredible man thanks for the detailed work on resolving the issue. Always nice to have another troubleshooting step in my tool kit. |
By this logic, anyone can force an issue to be closed simply by mentioning any tool that enables piracy. |
It's like that on purpose. I've learned over the past 8 years with JKSM and JKSV that people like to blame you for their own mistakes. Believe me. It gets old having people DM you to complain that they didn't know delete meant delete. I'm glad it got you out of a bind, but it's staying like that. |
verified 20241209 +8 15:29 - this solution works. |
No, individual comments can be deleted by the repo owner, which Scires has done many times before. Anything more than a few comments though and yeah, issue's probably going in the bin. Welcome to the manic dance that homebrew has to do to try to stay out of the crosshairs. |
Bug Report
What's the issue you encountered?
When creating an emummc on a switch where ofw is 19.0.1 (installed through regular ninty system update) and then downgrading said emummc (I've tested both to 19.0.0 and 18.1.0), the system crashes as soon as it connects to wifi. The error is 2162-0002 (0x4A2) with program id 010000000000002f (npns). I've recreated the problem on two separate switches, one with a ninty account linked and one without. Same result.
If the emummc is upgraded back to 19.0.1 with daybreak, the problem goes away.
The problem does NOT occur with an emummc created from an older ofw version which has been upgraded to 19.0.1 with daybreak and then downgraded again (!)
How can the issue be reproduced?
Crash Report
https://gist.github.com/antonwe/1d045bf8698f6418566212eaa1c001ca
System Firmware Version
19.0.0
Environment?
Additional context?
blank_prodinfo_emummc is enabled and atmosphere/hosts/default.txt blocks everything nintendo-related. I have checked with tcpdump on my nat gateway and apart from receiving an ip address through dhcp, no traffic is registered from/to the switch at all. The crash happens immediately after the ip adress has been ack'ed through dhcp.
The crash also happens with atmosphere 1.7.1 and emummc firmware 18.1.0.
Some other people who seem to have encountered the same problem:
https://www.reddit.com/r/SwitchPirates/comments/1glh44b/how_can_i_fix_the_21620002_error/
https://gbatemp.net/threads/emummc-stock-problem-npns-2162-0002-010000000000002f.663031/
https://gbatemp.net/threads/atmosphere-crashes-when-turning-on-the-wifi.662854/
https://gbatemp.net/threads/i-bricked-my-switch-error-2162-0002.662844/
From the comments in the threads above, I am assuming the problem is related to exosphere/prodinfo blanking. I would rather not have to disable it.
The text was updated successfully, but these errors were encountered: