Welcome! Log In Create A New Profile

Advanced

some actual logs

Posted by bushing 
some actual logs
June 07, 2009 02:00PM
Well, since I've failed at getting anyone else interested in this, I was finally able to get some debug spew with my Wii in Idle mode. Anyone have any ideas for something more interesting to try than Weather and News?
$IOSVersion:  KD: 08/30/07 04:58:02 64M Release/apricot-win/SDK_FW_30_4_13_branch $

(power off from system menu)

 [KD Report] Startup tasks are skipped.
 [KD Report] Restarted IOS Timer 8 for minutes counter.
 [KD Report] Loaded(0) DHCP request IP: 192.168.1.191
 [KD Report]  Using DHCP.
 [KD Report] SOStartup execute...
 [KD Report] SOStartup success
 [KD Report] DHCP Requested IP : 192.168.1.191
 [KD Report]      Offered IP   : 192.168.1.191 
 [KD Report] === KD_CheckMail() entering. ===
open(/shared2/wc24/nwc24msg.cfg)=00000000
open(/shared2/wc24/mbox/wc24send.ctl)=00000000
open(/shared2/wc24/mbox/wc24recv.ctl)=00000000
open(/shared2/wc24/mbox/wc24recv.mbx)=00000000
open(/shared2/wc24/mbox/wc24send.mbx)=00000000
open(/shared2/wc24/nwc24fl.bin)=00000000
open(/shared2/wc24/nwc24fls.bin)=00000000
open(/shared2/wc24/nwc24dl.bin)=00000000
 [KD Report] There are 2 friend(s).
![KD Warning] Universal time is not ready.
 [KD Report] NHTTPCreateRequest: [rcw.wc24.wii.com]
 [KD Report] CGI result: 100 (Success.)
 [KD Report] isNewmail = 0, interval = 10
 [KD Report] === KD_CheckMail() leaving. (result: 0) ===
 [KD Report] MailSpan: 10
 [KD Report] === KD_SendMail() entering. ===
 [KD Report] Trying to run registration messaging process.
 [KD Report] All friends are established. No need to run registration process.
 [KD Report] Registration process finished successfully.
 [KD Report] === KD_SendMail() leaving. (result: 0) ===
 [KD Report] System mode = 1
 [KD Report] DHCP Remaining Lease Time: 14393
 [KD Report] Already saved(0) DHCP request IP: 192.168.1.191
![KD Warning] Universal time is not ready.
 [KD Report] SOCleanup execute... 
 [KD Report] SOCleanup success
 [KD Report] === KD_ProcessMail() entering. ===
 [KD Report] === KD_ProcessMail() leaving. (result: 0) ===
 [KD Report] DHCP Requested IP : 192.168.1.191
 [KD Report]      Offered IP   : 192.168.1.191
 [KD Report] === KD_Download() entering. ===
 [KD Report] NHTTPCreateRequest: [vtp.wapp.wii.com]
 [KD Report] Server date (yyyy/mm/dd): 2009/06/07 11:39:08 (1300 msec)
 [KD Report] Now: 2009/06/07 11:39:07
 [KD Report] System mode = 1
 [KD Report] MailSpan: 10, DLSpan: 2
 [KD Report] Downloading file... (KeepAlive = 0, Root CA = 0)
 [KD Report] NHTTPCreateRequest: [weather.wapp.wii.com]
 [KD Report] Added header If-Modified-Since: Sat, 06 Jun 2009 23:27:00 GMT
 [KD Report] Keep-Alive is Off
 [KD Report] Processing content header. (version=0x00000000)
 [KD Report] This content is not encrypted.
 [KD Report] Valid signature found.(0x86, 0xed...)
 [KD Report] Last-Modified value is 2009/06/07 11:26:19
open(/title/00010002/48414645/data/wc24dl.vff)=00000001
 [KD Report] Free space is 188928 bytes.
open(/shared2/wc24/dlcnt.bin)=00000002
open(/shared2/wc24/mbox/dlcnt.bin)=ffffff96
open(/shared2/wc24/nwc24dl.bin)=00000001
open(/shared2/wc24/dlcnt.bin)=00000001
open(/dev/fs)=00000001
 [KD Report] === KD_Download() leaving. (result: 0) === 
 [KD Report] System mode = 1

(etc)

Discuss.



Edited 1 time(s). Last edit at 06/07/2009 02:01PM by bushing.
Re: some actual logs
June 07, 2009 03:56PM
Question:
Are those rather detailed messages part of the IOS, or did you "create" them yourself?

Anyway: how can one obtain that kind of log in the first place?
Re: some actual logs
June 07, 2009 04:53PM
Did you have Wii Connect 24 enabled when you took that log? (I'm assuming so, but I just want to be sure)



Edited 1 time(s). Last edit at 06/07/2009 04:54PM by Arikado.
Re: some actual logs
June 07, 2009 11:38PM
I patched IOS to output the debug messages to USBGecko. They're always there, but usually invisible.

(Yes, WiiConnect24 was active.)
Re: some actual logs
June 08, 2009 08:00AM
Thanks.

If the messages are always there, are they sent somewhere by an unpatched IOS?
(example: could a signed Nintendo debug application see them, or any special hardware in DevKits?)
Re: some actual logs
June 09, 2009 09:09PM
Wonder what happens when you send a message/receive a message...
Re: some actual logs
June 09, 2009 10:58PM
They'd have to run IOS on a special piece of hardware using a JTAG probe and/or some other extra hardware to collect the output.
Re: some actual logs
June 10, 2009 04:24AM
Did you ever had access to that kind of hardware? Or did some developers / insiders confirm that.
Re: some actual logs
June 10, 2009 12:31PM
No and no -- but I know enough about embedded systems to make those statements without any inside knowledge.
Re: some actual logs
June 26, 2009 11:52PM
Sorry if this is really naive but how exactly does wc24 work?

As far as I understand (can't remember where I read any of this so sorry if it's completely wrong):
1. power off wii
2. checks if wc24 is on, if yes
3. Restarts system menu in wc24 mode
4... System menu polls various wc24 services

If that's correct, would it be possible for a preloader to detect if it's in wc24 mode and essentially run any code? Preloader 0.29 seems to break wc24 for me so it seems plausable.



Edited 1 time(s). Last edit at 06/27/2009 12:11AM by shawabawa.
Re: some actual logs
July 23, 2009 10:21PM
Now that you're debugging the activity how easy would it be to make a clone of the message board outside of the systemmenu? I've been excited for Freedom but the lack of the message board makes me sad, I actually use it. Could you integrate a Message Board clone into say HBC or under Mini? Does a project like that sound remotely appealing? Instead of being forced to store messages on your nand you could choose, SD, USB, forward them to another email address/mobile device etc.....? Even if the Message Board is more of an "on demand" feature it would be useful, it would just break the email forwarding idea.



Edited 1 time(s). Last edit at 07/23/2009 10:24PM by muzz.
Re: some actual logs
August 10, 2009 10:36PM
Quote
shawabawa
Sorry if this is really naive but how exactly does wc24 work?

As far as I understand (can't remember where I read any of this so sorry if it's completely wrong):
1. power off wii
2. checks if wc24 is on, if yes
3. Restarts system menu in wc24 mode
4... System menu polls various wc24 services

If that's correct, would it be possible for a preloader to detect if it's in wc24 mode and essentially run any code? Preloader 0.29 seems to break wc24 for me so it seems plausable.

Maybe. I think that it's more like
[...]
4. System menu "shuts down" to WC24 mode, leaving IOS running WC24 services.

Preloader is messing up whatever signal that the system menu uses to detect that it should shut down to WC24 mode; I'm not sure where these signals are, so I'm not sure how we should be detecting them. BootMii has the same problem, at least when trying to shut down from GC mode (which restarts the system menu, for some silly reason).
Sorry, only registered users may post in this forum.

Click here to login