EE18815 / dop-mii

Automatically exported from code.google.com/p/dop-mii
GNU General Public License v3.0
0 stars 0 forks source link

Syscheck giving Code Dump #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What IOS did you use?
36
What is the first 4 digits of your Wii's Serial Number?
lu56
What steps will reproduce the problem?
1.Open dop mii
2.Select scan wii internals (syscheck)
3.Code dump

What is the expected output? What do you see instead?
Can anyone help me?? 
Please provide any additional information below.

Original issue reported on code.google.com by oliverhe...@gmail.com on 9 Mar 2010 at 6:40

GoogleCodeExporter commented 8 years ago
Few questions. At what point does it crash and can you provide me the stack 
track from the code dump. 

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 6:59

GoogleCodeExporter commented 8 years ago
Well... first i open dop mii, then a choose scan wii internals (syscheck), the 
he 
give me a question of ..scan wii internals...?  ....i choose yes and here is 
the 
stack dump

80020e2c--> 80020e28--> 800226c4-->800042cc--> 80047ddc--> 80047d7c

CODE DUMP:
80020e2c: A2A9009C 7D234B78 A2C9009E 4806AB35
80020e3c: 8061000C 7EA4AB78 93610010 4BFF8835
80020e4c: 7C751B79 41820198 88150018 2F800000

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 4:00

GoogleCodeExporter commented 8 years ago
Hmm. The stack trace points to a null title version. What cIOSes do you have 
installed?

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 5:56

GoogleCodeExporter commented 8 years ago
Cios rev19 base 57 or 38, cios 222, 223, 202, 224 v5 hermes

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 6:20

GoogleCodeExporter commented 8 years ago
So can you do this for me. Go into the IOS menu and go to those slots. Let me 
know if
they show not installed or if they show an actual revision.

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 6:28

GoogleCodeExporter commented 8 years ago
In IOS 222 i have instaled v65535 and the version for download (is a stub) is 
v65280. 
The same with IOS 223.

In IOS 249 i have v19 and the version stub for download is v65280

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 6:33

GoogleCodeExporter commented 8 years ago
OK do this, go back to the IOS menu and move far left and work your way right 
and see
if you see a description that says "Unknown IOS. Discovered during IOS 
Scanning."

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 7:30

GoogleCodeExporter commented 8 years ago
yes, it shows on IOS3, and i have installed v65280... should i uninstall it?

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 7:35

GoogleCodeExporter commented 8 years ago
Most definitely. That version is a stub and it appears I don't have IOS3 in the
database so it's trying to load that IOS which would more than likely cause the 
crash
because there is no title info for it to get. Delete it and give SysCheck a try 
again.

If deleting IOS3 fixes the issue then I must have accidentally included IOS3 
during
the checks. Let me know.

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 7:52

GoogleCodeExporter commented 8 years ago
Ok, i uninstall it but the issue persiste. Look.
I uninstall and then i choose syscheck and give the same code dump
i try to install/uninstall cioscorp and gave me error -1029... i install cios 
rev17 and 
the problem of cioscorp vanished. So the problem is the cios rev19 for that.

And for the syscheck the issue continue, in this moment i dont have cioscorp, i 
uninstall it... and the ios3 has vanished

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 8:26

GoogleCodeExporter commented 8 years ago
by the way, some ios doesnt have a description shoul i uninstall those like 
ios3? or 
only he show "unknow ios..."

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 8:36

GoogleCodeExporter commented 8 years ago
For testing purposes, can you completely remove cioscorp and attempt running 
syscheck
again. I'm trying to narrow down why some of the ES_ commands is returning back 
null
data. I have a feeling the cioscorp installer is not pushing the TMD files 
properly.
If not I'll probably have a fix very soon regardless but I do want to know what 
the
root cause of the crash is.

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 9:20

GoogleCodeExporter commented 8 years ago
i have cioscorp uninstalled... the crash is the same.
In other wii have cioscorp and with the same sd and datas works the syscheck 
same 
version etc etc

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 9:26

GoogleCodeExporter commented 8 years ago
STACK DUMP:

80020e2c--> 80020e28-->800225e4--> 800226c4-->800042cc--> 80047ddc--> 80047d7c

I forgot to put a numbers, sorry for that 

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 9:38

GoogleCodeExporter commented 8 years ago
80020e2c--> 80020e28-->800225e4--> 800226c4-->800042cc--> 80047ddc--> 80047d7c 

i saw that it shows when i choose ios 36, when i open dop mii and i choose 
syscheck 
give me the first stack dump that a show you

Original comment by oliverhe...@gmail.com on 9 Mar 2010 at 9:40

GoogleCodeExporter commented 8 years ago
Yeah that first memory address of 80020E2C points to a null TMD every time. I 
think
for me to fix it I'll have to add a check and if it's null then skip that 
particular
IOS if it does come back null. It makes me wonder if there is a partial title
installed and it's missing some of the contents. There is only 1 true way of 
finding
that out and that would be to dump your nand and see which title is missing the
title.tmd file. If you have the time and don't mind doing that it would be
appreciated, otherwise I'll just implement an extra check to skip the IOS if 
the tmd
file is null.

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 10:01

GoogleCodeExporter commented 8 years ago
Can you test this version out. I added the null TMD check and if it works I'll 
have
it out for the next release.

Original comment by Lunatik.CN@gmail.com on 9 Mar 2010 at 10:05

Attachments:

GoogleCodeExporter commented 8 years ago
It works!!!! so... explain me what was the problem...

Original comment by oliverhe...@gmail.com on 10 Mar 2010 at 2:20

GoogleCodeExporter commented 8 years ago
One of the IOSes is either partially installed or partially uninstalled. 
Meaning it's
missing the title.tmd file for the title. In order to determine what IOS is 
"corrupt"
you'll have to dump your nand and look at all the folders under
/00000001/XXXXXXX/content and see which one is missing the title.tmd file.

I basically just added code to ignore the IOS if I don't get the TMD file which 
is
what we need for version information to detect STUBed IOSes.

Original comment by Lunatik.CN@gmail.com on 10 Mar 2010 at 3:12

GoogleCodeExporter commented 8 years ago
i think one is partially installed... 'cause when i download a ios from nus 
gave me a 
error but he continue downloading and installing... when i dump the nand emmmm 
how can 
i repair it??

Original comment by oliverhe...@gmail.com on 10 Mar 2010 at 3:22

GoogleCodeExporter commented 8 years ago
If you find a bad IOS you can probably delete it with Any Title Deleter.

Original comment by Lunatik.CN@gmail.com on 10 Mar 2010 at 3:48

GoogleCodeExporter commented 8 years ago
Thanks a lot. A question. If a download a bad ios, why dop mii still installing 
it? 
Exist any program to repair those ios?. I dont like pimp my wii :P. But again, 
thanks a 
lot

Original comment by oliverhe...@gmail.com on 10 Mar 2010 at 4:11

GoogleCodeExporter commented 8 years ago
It may not have been a bad IOS from DOP. It could have been from any installer 
like
cioscorp, hermes' cIOS, wanikoko's cIOS, etc, etc. We just happen to 
accidentally
detect a problem with your Wii. If you do find one of those title folders 
missing the
title.tmd file, can you let me know what the folder name is, this way I can 
maybe
tell if it was a cIOS or not.

Original comment by Lunatik.CN@gmail.com on 10 Mar 2010 at 5:54

GoogleCodeExporter commented 8 years ago
in folder fsdump/title/0000001/00000004 <<< missing the folder content and his 
title.tmd file 

Original comment by oliverhe...@gmail.com on 10 Mar 2010 at 5:57

GoogleCodeExporter commented 8 years ago
Hmm very interesting, it sounds like IOS4 wasn't completely cleaned out. If my 
theory
is right, you can go into the IOS menu in DOP and go to IOS4. It should show not
installed. If it does then what you can do to fix the folder is go ahead and
reinstall any version of IOS4 then uninstall it. The uninstall will properly 
delete
the folder.

Original comment by Lunatik.CN@gmail.com on 10 Mar 2010 at 6:09

GoogleCodeExporter commented 8 years ago
The DOP now works with syscheck! THANKS !! It was the ios 4, you was right ... 
of 
course... its your program. Thanks!

Original comment by oliverhe...@gmail.com on 10 Mar 2010 at 6:47

GoogleCodeExporter commented 8 years ago
Not a Problem ;) Thanks for helping me research. It looks like it will still be 
safe
for me to add the check like I did in the test version. I'll have it fixed up 
so if
others come across the same issue it won't affect them so much.

Original comment by Lunatik.CN@gmail.com on 10 Mar 2010 at 6:52

GoogleCodeExporter commented 8 years ago
I would suggest to output some type of message during your "null tmd check"

That way the user will know their ios isn't fully in/uninstalled.

Just my 2 cents,

Great work (luv the app)!

Original comment by nubecoder on 18 Mar 2010 at 9:55

GoogleCodeExporter commented 8 years ago
Went through about 6 hours of debugging line by line and I can promise you 
there will be no more code dumps from syscheck. If there is, please make a new 
issue.

Original comment by castleva...@yahoo.com on 21 Nov 2010 at 4:19