--- Log for 28.11.117 Server: orwell.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 1 month and 28 days ago 00.07.57 Quit Boltermor (Quit: Leaving) 00.08.43 Quit thomasjfox (Quit: Konversation terminated!) 00.09.40 Quit xorly (Ping timeout: 240 seconds) 00.18.53 # <[Saint]> OK. Awesome. 00.19.42 # <[Saint]> My "make icon/viewers strip of arbitrary size" script now generates a .cfg as well 00.19.50 # <[Saint]> ...and it actually gets ir right this time. 00.21.17 # <[Saint]> it copies a .cfg from a master template and then uses sed to find and replace the size in the icons/viewers string with $size and $output while we still have it. 00.21.39 # <[Saint]> On a semi-related note, perl can get fucked. 00.39.56 Quit MrZeus (Ping timeout: 264 seconds) 00.46.07 Quit utrack (Ping timeout: 248 seconds) 00.48.21 Join utrack [0] (~utrack@unaffiliated/utrack) 00.48.50 Join MrZeus [0] (~MrZeus@2a02:c7f:7066:fb00:615b:ec58:9e1b:de05) 01.06.12 Quit akaWolf (Ping timeout: 250 seconds) 01.11.54 *** Saving seen data "./dancer.seen" 01.13.44 Join mendelmunkis [0] (~Moshe@ool-d18c20e3.dyn.optonline.net) 01.14.28 # Does logf build affect anything besides rb->logf()? 01.21.14 # <_Bilgus> it could move memory locations 01.21.51 # Please elaborate 01.23.34 # <_Bilgus> like if you had a function that was at 0x34445 and you had an overflow that crashed the system and you then enabled logf it could push that function to elsewhere where it might no longer crash or could crash in a different way 01.30.46 # Thank you. My AI code runs perfectly on sim and target with logf enabled (despite there being no logf() calls) but not without logf is there any way to determine where the bug is? 01.31.24 # <_Bilgus> well you could trap your calls to arrays 01.32.27 # <_Bilgus> like if i < testarraysz {testarray[i] = x} else splash(HZ, "OVFL testarr); 01.32.55 # <_Bilgus> c is great for off by 1 errors 01.35.24 # I'm sorry, I don't understand what your suggesting 01.36.42 # <_Bilgus> ok so you are probably writing memory that isn't yours arrays are great for that, so lock all array accesses to the array bounds 01.37.18 # <_Bilgus> if testarraysz == 100 then index 0 to index 99 is a valid index 01.37.51 # <_Bilgus> if you write to testarray[100] you just overwrote something elses memory 01.38.07 # <_Bilgus> so rather than letting that happen trap the index 01.39.03 # <_Bilgus> pastebin your function and i'll have a look if you like 01.40.52 # https://pastebin.com/hiyruJiE But theres no crash just peices of my code dont run 01.45.53 # <_Bilgus> well I don't see anything that blatantly screams there is a problem It doesn't necessarily have to crash either it all depends what you are overwriting but I don't see any array writes in that code 01.47.05 # <_Bilgus> If you have code that isn't running you should probably add some splashf's and see where it stops or set some flags to check at the end to see where it stops executing 01.49.25 # Tthanks for the advice. 01.50.57 # <_Bilgus> np good luck 01.53.21 # <_Bilgus> unsigned char turn.. unsigned char is 0 - 255 are there any bounds checks on that also is your array ai_location sized appropriately? 01.58.06 # No on both because it may have to be increased. However it shouldn't get that high to begin with. But ill try with bounds checking on 01.58.44 # <_Bilgus> or set both arrays to sz 255 and check if turn > = 250 02.06.10 Quit mendelmunkis (Ping timeout: 268 seconds) 02.38.15 Quit MrZeus (Ping timeout: 276 seconds) 03.11.56 *** Saving seen data "./dancer.seen" 04.23.52 Join derf_ [0] (~derf@static-108-18-126-14.washdc.fios.verizon.net) 04.26.11 Quit derf (Ping timeout: 260 seconds) 04.26.11 Nick derf_ is now known as derf (~derf@static-108-18-126-14.washdc.fios.verizon.net) 05.11.58 *** Saving seen data "./dancer.seen" 06.07.03 Quit Guest65624 (Ping timeout: 258 seconds) 06.17.43 Join Guest71753 [0] (~quassel@p2003006B0B1CEB0002163EFFFEFE4CEF.dip0.t-ipconnect.de) 06.52.40 Join TheSeven [0] (~quassel@p2003006B0B28440002163EFFFEFE4CEF.dip0.t-ipconnect.de) 06.52.52 Nick TheSeven is now known as Guest68873 (~quassel@p2003006B0B28440002163EFFFEFE4CEF.dip0.t-ipconnect.de) 06.53.04 Quit Guest71753 (Ping timeout: 276 seconds) 07.12.00 *** Saving seen data "./dancer.seen" 08.13.03 Join ender` [0] (krneki@foo.eternallybored.org) 08.46.26 Quit deevious (Quit: deevious) 08.46.43 Join deevious [0] (~Thunderbi@193.226.142.214) 09.04.19 Join JannF [0] (~jann@HSI-KBW-109-192-015-103.hsi6.kabel-badenwuerttemberg.de) 09.12.03 *** Saving seen data "./dancer.seen" 09.20.31 Quit [Saint] (Read error: Connection reset by peer) 09.20.44 Join [Saint] [0] (~quassel@rockbox/staff/saint) 09.40.34 Join dys [0] (~dys@2003:5b:203b:100:6af7:28ff:fe06:801) 10.01.55 Join dandels_ [0] (~dandels@unaffiliated/dandels) 10.01.56 Quit JannF (Ping timeout: 240 seconds) 10.12.30 Join xorly [0] (~xorly@ip-86-49-24-93.net.upcbroadband.cz) 10.17.52 Join JannF [0] (~jann@HSI-KBW-109-192-015-103.hsi6.kabel-badenwuerttemberg.de) 10.44.14 Join PimpiN8 [0] (~textual@2a02:a454:38ea:1:c5fb:91b9:a21:86fd) 10.50.56 Quit dandels_ (Ping timeout: 240 seconds) 11.12.05 *** Saving seen data "./dancer.seen" 11.18.54 Quit asaba (Quit: The Lounge - https://thelounge.github.io) 11.19.05 Join asaba [0] (~asaba@108.61.223.234) 11.23.14 Join dandels_ [0] (~dandels@unaffiliated/dandels) 11.37.46 Quit dandels_ (Ping timeout: 255 seconds) 11.49.27 Quit xorly (Ping timeout: 276 seconds) 13.01.06 Quit quaz0r (Quit: WeeChat 2.0-dev) 13.12.07 *** Saving seen data "./dancer.seen" 14.00.27 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 14.07.14 Join quaz0r [0] (~quaz@c-24-18-93-195.hsd1.wa.comcast.net) 14.36.20 Join robertd1 [0] (~root@190.75.122.171) 14.36.33 # wodz (logs): the Xburst1_PM is not available but in JZ4725B_pm.pdf it says: 7 different page size from 4KB to 16MB supported in any entry 14.37.08 # BUT in JZ4780_pm.pdf it says: TLB now is completely compatible with MIPS 4KE, no default incompatible setting exists 14.37.49 Quit The_Prospector (Quit: when in doubt, kernel panic) 14.38.06 # which suggests that Xburst indeed supports many page sizes but probably in a non-standard way. It will try to experiment, maybe PageMask is not used and instead some other CP0 is used or maybe the ASID field is used instead (I don't think Xburst supports Context) 14.42.50 Quit pamaury (Ping timeout: 268 seconds) 14.49.19 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…) 15.04.50 Join amayer [0] (~amayer@107-1-97-172-ip-static.hfc.comcastbusiness.net) 15.06.25 # Build Server message: 3New build round started. Revision 055e211, 273 builds, 12 clients. 15.12.09 *** Saving seen data "./dancer.seen" 15.19.07 # Build Server message: 3Build round completed after 762 seconds. 15.19.08 # Build Server message: 3Revision 055e211 result: All green 15.44.43 Join PimpiN8 [0] (~textual@2a02:a454:38ea:1:c5fb:91b9:a21:86fd) 15.45.45 Quit _meg (Ping timeout: 260 seconds) 15.46.46 Join _meg [0] (~notsure@211.25.203.45) 16.01.45 Join The_Prospector [0] (~The_Prosp@unaffiliated/cornman) 16.15.18 Quit copper (Quit: ZNC - http://znc.in) 16.16.09 Join copper [0] (~copper@unaffiliated/copper) 16.40.58 Join dandels [0] (~dandels@unaffiliated/dandels) 16.47.33 Quit dandels (Quit: WeeChat 1.9.1) 16.57.35 Quit jhMikeS (Read error: Connection reset by peer) 16.59.27 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com) 17.03.33 Quit scorche (Disconnected by services) 17.03.37 Join scorche` [0] (~scorche@rockbox/administrator/scorche) 17.05.26 Quit robertd1 (Ping timeout: 246 seconds) 17.06.07 Join krabador [0] (~krabador@unaffiliated/krabador) 17.12.10 *** Saving seen data "./dancer.seen" 17.20.57 Quit JannF (Ping timeout: 276 seconds) 17.59.51 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…) 18.05.39 Join akaWolf [0] (~akaWolf@unaffiliated/akawolf) 18.17.25 Quit michaelni (Quit: Leaving) 18.18.13 Join michaelni [0] (~michael@213-47-41-20.cable.dynamic.surfer.at) 18.36.00 Join LinuxArie [0] (~Arie@ip54579264.direct-adsl.nl) 18.47.50 Join JannF [0] (~jann@x590c89f9.dyn.telefonica.de) 19.09.17 Join lebellium [0] (~hexchat@89-93-177-206.hfc.dyn.abo.bbox.fr) 19.12.14 *** Saving seen data "./dancer.seen" 19.18.08 Join MrZeus [0] (~MrZeus@2a02:c7f:7066:fb00:65cd:d827:6110:3984) 19.18.27 Quit munch (Changing host) 19.18.27 Join munch [0] (pls@unaffiliated/munch) 19.18.27 Quit munch (Changing host) 19.18.27 Join munch [0] (pls@gateway/shell/elitebnc/x-ahdojcbwhgeqeufw) 20.00.05 Quit JannF (Quit: Leaving.) 20.00.14 Join JannF [0] (~jann@x590c89f9.dyn.telefonica.de) 20.04.33 Quit JannF (Ping timeout: 240 seconds) 20.17.50 Join wodz [0] (~wodz@89-79-40-110.dynamic.chello.pl) 20.34.03 Quit krabador (Quit: Leaving) 20.34.39 Join robertd1 [0] (~root@190.75.122.171) 20.46.10 Quit Moarc (Ping timeout: 260 seconds) 20.48.21 Join Moarc [0] (~chujko@a105.net128.okay.pl) 20.58.06 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:9aa:3bdb:9fdd:9884) 21.02.55 Join JannF [0] (~jann@x590c89f9.dyn.telefonica.de) 21.02.59 Quit JannF (Client Quit) 21.03.15 Join JannF [0] (~jann@x590c89f9.dyn.telefonica.de) 21.11.43 Join johnb2 [0] (~johnb2@p5B3AFD77.dip0.t-ipconnect.de) 21.12.15 *** Saving seen data "./dancer.seen" 21.15.12 Quit JannF (Ping timeout: 250 seconds) 21.21.52 Quit Guest68873 (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 21.29.12 Quit robertd1 (Ping timeout: 268 seconds) 21.32.39 Join JannF [0] (~jann@x590c89f9.dyn.telefonica.de) 21.39.58 Join C-Keen [0] (~ckeen@k4cg/C-Keen) 21.41.29 Join robertd1 [0] (~root@190.75.122.171) 21.41.33 # Hi there! I got a fresh sandisk sansa fuze+ here and I am on OpenBSD on my host machine. I am following the manual install instructions. Question: The manual mentions mkimxboot but it is not in the mentioned directory. There's a mkamsboot instead. Is the source for that tool available to I can build it myself? 21.45.45 # _Bilgus : Playback with patch #12 works from internal and SD. Also copying large amounts of data succeeds to both places. 21.47.49 # <_Bilgus> good, do you have time to test a few things? 21.47.57 # yes 21.48.12 # C-Keen: mkamsboot != mkimxboot for sure. Different platforms 21.49.07 # C-Keen: which instructions do you follow exactly? 21.49.37 # the pdf manual for 3.14 21.49.44 # and it links to /bootloader/sandisk-sansa/mkimxboot/ 21.49.48 # which 404s 21.50.00 # (on download.rockbox.org) 21.50.05 # C-Keen: I guess you will need to build from source on openbsd 21.50.08 # <_Bilgus> johnb in sd-as3525 line 93 comment that out and un comment 94 and see if the internal memory still works 21.50.23 # wodz: I am clonign 21.50.29 # *cloin the repo atm 21.50.45 # narf, my network is lagging tonight 21.50.56 # C-Keen: the tool is in rbutil/mkimxboot dir 21.54.36 Quit JannF (Ping timeout: 276 seconds) 21.55.25 # wodz: alright, thanks 21.55.46 # _Bilgus : No. With the SD inserted it lingers with the RB start screen showing the rbversion string. W/o SD :No partition found.Insrt USB cable and fix it. 21.56.06 Join JannF [0] (~jann@x590c89f9.dyn.telefonica.de) 21.58.32 # <_Bilgus> ok I figured as much go ahead and put it back like it was and next comment out 213 + 214 the (powersave one) and at line 988 remove the '//' from && data != 21.59.58 # <_Bilgus> you might need to let is sit a minute or so for the disk to 'spin down' but after that you should still be able to access both the internal drive and sd card 22.00.25 Quit JannF (Ping timeout: 240 seconds) 22.02.07 # <_Bilgus> To all if you start the OF on the SANSA AMS v2's and hold UP + HOME on boot you enter the Region menu where you can select diagnosis mode, demo mode and set volume limiting 22.02.51 # <_Bilgus> I assume that was probably already known 22.03.02 # see https://pastebin.com/eV2YjTmL 22.04.00 Quit wodz (Ping timeout: 240 seconds) 22.04.14 # <_Bilgus> sorry it needs to look like this if (disk_slow && data != INTERNAL_AS3525) 22.07.50 # Caught in a trap: I cannot copy the bin now as the partion is not there :-) I have to use the OF. 22.09.09 # "FAT is corrupted. Connect to PC and recover FAT" HHuh 22.09.15 # <_Bilgus> you should be able to use the bootloader to copy it over 22.09.45 # I can try to boot from SD ;-) 22.11.30 Quit robertd1 (Ping timeout: 276 seconds) 22.12.14 # <_Bilgus> its kinda odd that it would corrupt the partition you'll probably need to reformat the internal drive then 22.13.09 # <_Bilgus> actually you might try and hard reset the device and try the OF again 22.13.35 # Hard reset like what? 22.13.46 # 15s power? 22.13.48 # <_Bilgus> like hold the power button for 30+ seconds 22.13.50 Join robertd1 [0] (~root@190.75.122.171) 22.17.57 # hah success! 22.18.34 Join dandels_ [0] (~dandels@unaffiliated/dandels) 22.18.58 # <_Bilgus> johnb2 if it still says fat is corrupted you'll need to connect it to usb and reformat the drive you might want to make an image of it first just in case 22.19.06 # "Refreshing your media ..." it started up in MTP mode. 22.19.35 # <_Bilgus> ok then all is good It probably still had the other clock in the rgister still 22.26.28 # Ok, back online. 22.26.33 Quit robertd1 (Ping timeout: 240 seconds) 22.29.28 # <_Bilgus> did powersave work properly too? 22.30.12 Join robertd1 [0] (~root@190.75.122.171) 22.30.52 # You mean turning all options on? yes. 22.31.11 # but it was responsive immediately. 22.31.41 # Do you want me to let it idle and see what happens? 22.31.43 # <_Bilgus> after commenting out lines 213,214 and adding data != internal? 22.32.28 # ye 22.32.29 # s 22.32.32 # <_Bilgus> yeah like a minute or so on the main menu with nothing going on should make the disk idle 22.33.30 # <_Bilgus> cool, it turns out on the amsv1 devices the ide interface was never disabled I guess since the button light and sd interface is shared that can't be turned off 22.34.08 # <_Bilgus> but we can do powersave on the sd interface and disable the ide interface when it isn't in use should work decently 22.36.53 # <_Bilgus> I found a datasheet for the m,mc driver on the AMSv2 it too has a powersave mode for the sd interface as well 22.37.03 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 22.37.40 # After 1 or 2 minutes it is responsive. 22.37.48 # still I mean. 22.39.27 # HW info says: IDE 50MHz 15MHz 22.40.13 # I quit for today ... 22.41.15 # <_Bilgus> thats not a big deal, I stopped trying to underclock either and just disabled the interface when it wasn't in use instead 22.41.54 Quit johnb2 (Quit: Nettalk6 - www.ntalk.de) 22.42.04 # <_Bilgus> thanks for testing what you have there is functionally what it will be after I finish cleaning up the code tonight 22.44.07 Join xorly [0] (~xorly@ip-86-49-24-93.net.upcbroadband.cz) 22.44.19 Join mendelmunkis [0] (~Moshe@ool-3f8fc039.dyn.optonline.net) 22.52.30 Quit quaz0r (Ping timeout: 240 seconds) 23.04.09 Quit lebellium (Quit: Leaving) 23.06.15 Join quaz0r [0] (~quaz@c-24-18-93-195.hsd1.wa.comcast.net) 23.12.19 *** Saving seen data "./dancer.seen" 23.16.37 Quit ZincAlloy (Quit: Leaving.) 23.26.55 Quit mendelmunkis (Ping timeout: 240 seconds) 23.36.21 # wow XBurst is weird. From cold state if you initialize the TLB in increasing order (0, 1, ..., 31) everything is fine, but if you start with entry 31 you get a TLB shutdown... 23.39.33 Quit dandels_ (Ping timeout: 240 seconds) 23.47.58 Quit robertd1 (Ping timeout: 248 seconds) 23.58.49 Join fire2199 [0] (~fire2199@gateway/tor-sasl/fire2199)