--- Log for 27.09.117 Server: barjavel.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 18 days and 0 hours ago 00.00.26 Quit LjL (Read error: Connection reset by peer) 00.01.31 Join LjL [0] (~ljl@unaffiliated/ljl) 00.03.33 Quit _meg (Ping timeout: 246 seconds) 00.05.26 *** Saving seen data "./dancer.seen" 00.07.59 Join _meg [0] (~notsure@211.25.203.45) 00.17.02 Quit pamaury (Ping timeout: 248 seconds) 00.23.03 Join cc___ [0] (~ac@2001:910:113f:1:6a05:caff:fe1c:1627) 00.36.25 Quit CR0W (Ping timeout: 255 seconds) 01.02.40 Quit usvi (Ping timeout: 240 seconds) 01.08.44 Quit cc___ (Ping timeout: 264 seconds) 01.20.40 Join usvi [0] (~jpaalija@87-100-130-215.bb.dnainternet.fi) 01.22.33 # does the YPR0 not have a FM Radio? 01.23.45 # I was going through the keymaps and noticed the one johnb2 submitted the other day is missing LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) http://gerrit.rockbox.org/r/#/c/1633/4/apps/keymaps/keymap-ypr0.c 01.24.41 # https://github.com/Rockbox/rockbox/blob/03dd4b92be7dcd5c8ab06da3810887060e06abd5/apps/keymaps/keymap-ypr0.c#L250 01.25.45 # I'm guessing it gets away with it because every action is mapped perhaps or its just overunning the list till the next 0 01.28.10 Quit alexweissman (Remote host closed the connection) 01.29.14 Join alexweissman [0] (~alexweiss@c-68-50-12-70.hsd1.in.comcast.net) 01.29.18 Quit xorly (Ping timeout: 246 seconds) 01.31.02 # <__builtin> grr.. quakie is being all weird again 01.31.06 # <__builtin> *quake 01.31.53 Quit alexweissman (Read error: Connection reset by peer) 01.32.25 Join alexweissman [0] (~alexweiss@c-68-50-12-70.hsd1.in.comcast.net) 01.39.22 # <__builtin> it seems that all the ints in a struct are being truncated to 8 bits... 01.55.01 Quit krabador (Remote host closed the connection) 01.55.33 # * __builtin scratches his head 01.55.47 # <__builtin> is there anything wrong with an unaligned 32-bit load on ARM? 02.05.28 *** Saving seen data "./dancer.seen" 02.11.37 Quit Ruhan (Quit: Connection closed for inactivity) 02.13.26 # depends on the ARM version 02.14.57 # btw, the core is compiled with short enums which may make compiling without them binary incompatible 02.16.17 Quit Strife1989 (Quit: No Ping reply in 180 seconds.) 02.16.35 # <__builtin> I know, but I don't think that's causing the issue at hand 02.16.57 # <__builtin> though I think I'll make the -fno-short-enums flag global to fix that 02.17.44 Join Strife89 [0] (~quassel@adsl-98-80-188-136.mcn.bellsouth.net) 02.20.40 # <__builtin> hmm, so it seems that if I have an unaligned char pointer to the bytes {72, 1, 0, 0}, and cast that pointer to int*, dereferencing it gives the value 72 02.21.04 # <__builtin> so evidently it's an issue with the unaligned access 02.28.32 # <__builtin> do you have any idea how I could work around this? 02.37.52 Join johnb2 [0] (c0c69725@gateway/web/freenode/ip.192.198.151.37) 02.40.16 # Bilgus: yes, yp-R0 does have radio. To my defense I can say that I did not touch that section of code. 02.54.11 Join paulk-gagarine [0] (~paulk-gag@gagarine.paulk.fr) 02.56.48 Join Ruhan [0] (uid76353@gateway/web/irccloud.com/x-mtxzbekpqoolrlzc) 03.01.21 Mode "#rockbox +o __builtin" by ChanServ (ChanServ@services.) 03.01.24 Mode "#rockbox -b PurlingNayuki!*@*$##fix_your_connection" by __builtin (~xray@rockbox/developer/builtin) 03.01.31 Mode "#rockbox -o __builtin" by ChanServ (ChanServ@services.) 03.07.10 Quit dys (Ping timeout: 240 seconds) 03.09.54 Quit johnb2 (Quit: Page closed) 03.22.19 # <__builtin> it seems using __attribute__((packed)) on the structs containing the array forces gcc to assume the fields are unaligned 03.42.56 # yeah johnb2 It was already like that so apparently it works but it must be just lucky 03.50.28 Quit Strife89 (Quit: No Ping reply in 180 seconds.) 03.51.53 Join Strife89 [0] (~quassel@adsl-98-80-188-136.mcn.bellsouth.net) 04.00.43 # __builtin: gonna have to piece it together, at least on targets other than armv6 and m68k 04.05.31 *** Saving seen data "./dancer.seen" 04.33.25 Quit tchan (Quit: WeeChat 1.6) 04.57.42 Join tchan [0] (~tchan@lunar-linux/developer/tchan) 05.11.38 Quit Ruhan (Quit: Connection closed for inactivity) 06.05.32 *** Saving seen data "./dancer.seen" 06.05.44 Quit TheSeven (Ping timeout: 246 seconds) 06.07.15 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 06.22.12 Join sielicki_ [0] (~sielicki@unaffiliated/n1cky) 06.23.41 Join SammysHP_ [0] (~SammysHP@faol.sammyshp.de) 06.24.35 Join shrizza_ [0] (~shrizza@oki-dc-urasoe01-187.glbb.ne.jp) 06.25.08 Join mikroflops_ [0] (~yogurt@178.174.137.46) 06.25.42 Join rogeliodh_ [0] (~rogeliodh@ec2-52-90-241-120.compute-1.amazonaws.com) 06.26.04 Join Strife1989 [0] (~quassel@adsl-98-80-188-136.mcn.bellsouth.net) 06.28.30 Join Abbott` [0] (~Abbott@unaffiliated/abbott) 06.29.32 Join puck1pedia [0] (~puck@puckipedia.com) 06.29.38 Join froggymana [0] (~frogs@unaffiliated/froggyman) 06.29.48 Quit Strife89 (*.net *.split) 06.29.49 Quit rogeliodh (*.net *.split) 06.29.49 Quit shrizza (*.net *.split) 06.29.49 Quit puckipedia (*.net *.split) 06.29.49 Quit a-109-107 (*.net *.split) 06.29.49 Quit Abbott (*.net *.split) 06.29.49 Quit mikroflops (*.net *.split) 06.29.49 Quit WakiMiko (*.net *.split) 06.29.49 Quit SammysHP (*.net *.split) 06.29.49 Quit sielicki (*.net *.split) 06.29.49 Quit froggyman (*.net *.split) 06.29.50 Nick SammysHP_ is now known as SammysHP (~SammysHP@faol.sammyshp.de) 06.29.52 Nick froggymana is now known as froggyman (~frogs@unaffiliated/froggyman) 06.29.54 Nick Abbott` is now known as Abbott (~Abbott@unaffiliated/abbott) 06.29.56 Join a-109-107 [0] (amk@turbous.xshellz.com) 06.30.07 Nick rogeliodh_ is now known as rogeliodh (~rogeliodh@ec2-52-90-241-120.compute-1.amazonaws.com) 06.30.54 Nick puck1pedia is now known as puckipedia (~puck@puckipedia.com) 06.32.11 Quit vflyson (Ping timeout: 240 seconds) 06.34.58 Join vflyson [0] (~vflyson@cupcake.uberspace.net) 06.37.21 Join WakiMiko [0] (~WakiMiko@unaffiliated/wakimiko) 06.42.04 Join PurlingNayuki [0] (~Thunderbi@114.241.13.91) 06.42.50 Quit TheSeven (Ping timeout: 246 seconds) 06.43.27 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 06.58.31 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) 07.48.41 Quit PurlingNayuki (Ping timeout: 240 seconds) 07.51.58 Quit jhMikeS (Ping timeout: 248 seconds) 07.56.53 Quit amiconn (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 07.56.53 Quit pixelma (Quit: .) 08.00.16 Join pixelma [0] (~pixelma@rockbox/staff/pixelma) 08.00.16 Join amiconn [0] (~amiconn@rockbox/developer/amiconn) 08.05.35 *** Saving seen data "./dancer.seen" 08.08.44 Quit froggyman (Ping timeout: 252 seconds) 08.28.03 Join ender` [0] (krneki@foo.eternallybored.org) 08.48.37 Join petur [0] (~petur@91.183.48.77) 08.48.37 Quit petur (Changing host) 08.48.37 Join petur [0] (~petur@rockbox/developer/petur) 08.49.54 Join xorly [0] (~xorly@ip-86-49-24-93.net.upcbroadband.cz) 08.55.17 # __builtin: That's what __attribute__((packed)) is for. It tells compiler to pack struct fields consecutively not taking natural (or abi or whatever) alignment into account. 08.57.09 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan) 09.06.04 Quit _meg (Ping timeout: 240 seconds) 09.07.47 Join _meg [0] (~notsure@211.25.203.45) 09.47.11 Quit _meg (Ping timeout: 240 seconds) 09.47.34 Join _meg [0] (~notsure@211.25.203.45) 09.51.36 Join p3tur [0] (~petur@77.246.35.40) 09.51.36 Quit p3tur (Changing host) 09.51.36 Join p3tur [0] (~petur@rockbox/developer/petur) 09.54.41 Quit petur (Ping timeout: 240 seconds) 10.05.38 *** Saving seen data "./dancer.seen" 10.05.40 Quit sanchaez (Read error: Connection reset by peer) 10.06.14 Join dys [0] (~dys@2003:5b:203b:100:6af7:28ff:fe06:801) 10.07.19 Join froggyman [0] (~frogs@unaffiliated/froggyman) 10.22.20 Quit michaelni (Ping timeout: 240 seconds) 10.31.04 Quit xorly (Ping timeout: 240 seconds) 10.35.35 Join michaelni [0] (~michael@213-47-41-20.cable.dynamic.surfer.at) 10.47.35 Join petur2 [0] (~petur@91.183.48.77) 10.47.39 Nick petur2 is now known as petur (~petur@91.183.48.77) 10.47.50 Quit petur (Changing host) 10.47.50 Join petur [0] (~petur@rockbox/developer/petur) 10.51.04 Quit p3tur (Ping timeout: 240 seconds) 11.07.52 Quit _meg (Ping timeout: 246 seconds) 11.11.47 Join _meg [0] (~notsure@211.25.203.45) 11.59.47 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 12.05.41 *** Saving seen data "./dancer.seen" 12.06.38 Join krabador [0] (~krabador@unaffiliated/krabador) 12.10.06 Quit _meg (Ping timeout: 260 seconds) 12.12.28 Join _meg [0] (~notsure@211.25.203.45) 12.26.52 Join robertd1 [0] (~root@201.242.176.168) 12.30.27 Join johnb4 [0] (~johnb2@p5B3AFF2C.dip0.t-ipconnect.de) 12.34.42 # pamaury: ping 12.46.40 Quit johnb4 (Ping timeout: 240 seconds) 12.47.12 Quit krabador (Quit: Leaving) 12.52.25 Nick mikroflops_ is now known as mikroflops (~yogurt@178.174.137.46) 13.00.34 Quit kugel (Ping timeout: 246 seconds) 13.17.11 Quit paulk-gagarine (Ping timeout: 260 seconds) 13.20.50 # pamaury: I think I understand why rb crashes on ATJ. But for now I don't know how to fix it. http://paste.debian.net/987980/\ 13.22.20 Join krabador [0] (~krabador@unaffiliated/krabador) 13.23.25 # wodz, load the registers in reverse order so s0 is clobbered only when you don't need it anymore :P 13.24.14 # TheLemonMan: The point is this inline assembly is plain wrong. 13.24.44 # TheLemonMan: It worked by pure luck 13.25.05 # because you don't tell gcc what registers it clobbers 13.25.35 # TheLemonMan: Not me :P This is pretty old code. 13.26.39 # The funny thing is it works in bootloader because compiler (for whatever reason) choose v0 as register to pass address to load_context 13.30.44 Join paulk-gagarine [0] (~paulk-gag@gagarine.paulk.fr) 13.31.31 # well you could replace the "r" constraint with 2 (iirc that's v0) 13.37.43 # how can i enable in a walkman the usb when in rockbox, I held the home button for two seconds but no usb screen? 13.38.51 # robertd1: it's written on the wiki, hold home button until rockbox shuts down, it will go back to the bootloader menu and start usb 13.38.52 # TheLemonMan: That will not work 13.39.37 # pamaury: hey! 13.40.12 # wodz: can't you write the function entirely in assembly? 13.40.20 # for now I did this: http://paste.debian.net/987982/ 13.40.22 # pamaury, thanks. yes I am using the instructions but only appeared the three options, rockbox, sony and tools 13.40.42 # robertd1: plug the cable! 13.40.49 Join Aldem [0] (~Aldem@unaffiliated/aldem) 13.41.04 # pamaury: Probably I can. The point is current code is dead broken and works by pure luck 13.41.27 # and inlining complicates the things. 13.41.28 # wodz: can you force the compiler to use a specific register? Will that be enough together with clobbered registers? 13.41.42 # pamaury: that what I did currently 13.42.19 # and is that not a good solution? 13.42.28 # specifying a register /or/ using "r" and adding all the clobbered registers to the list will work 13.42.52 # pamaury: Don't know. It doesn't crash now but doesn't work either 13.43.11 # wodz: and have you tried in pure assembly if it works? 13.43.38 # pamaury: Not yet. I just discovered why it crashes with weird sp values 13.43.43 # pamaury thanks 13.44.06 # pamaury: I thing moving to assmbly is the only solution since mips doesn't support naked attribute 13.45.25 # *think 13.45.26 # I would not really trust the compiler for such a delicate operation and as you mention naked attribute is not supported unfortunately 13.46.00 # I was always of the opinion that mips' load_context written like C is trouble 13.46.39 # I didn't realize it may be broken because out of the luck the compiler was using s8 when I compiled it on mips and actually looked at the disassembly once 13.48.48 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com) 13.49.00 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.") 13.49.23 # * pamaury disappears for some time 13.49.26 # This still doesn't move me much forward. Now instead of crash It hangs somewhere. 14.05.45 *** Saving seen data "./dancer.seen" 14.19.38 Join JdGordon [0] (~jonno@203.220.200.96) 14.19.39 Quit JdGordon (Changing host) 14.19.39 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 14.19.45 Part robertd1 14.22.24 Quit dys (Read error: Connection reset by peer) 14.22.43 Quit JdGordon_ (Ping timeout: 252 seconds) 14.26.20 # * wodz grumbles 14.35.20 # do you know where it hangs? 14.35.21 Join robertd1 [0] (~root@201.242.176.168) 14.43.43 # pamaury: No 14.44.39 # pamaury: It hangs before root_menu displaying splash 'Scanning disk...'. But it is kinda random 14.46.04 Quit _meg (Ping timeout: 240 seconds) 14.49.30 Join _meg [0] (~notsure@211.25.203.45) 14.55.33 # Hmm with dircache commented out I even reach root_menu(). It hangs there however. Menu is displayed correctly so it loaded all graphics and fonts off card correctly. 15.06.53 Part robertd1 15.15.26 Quit wodz (Ping timeout: 240 seconds) 15.25.07 Join dys [0] (~dys@2003:5b:203b:100:6af7:28ff:fe06:801) 15.51.03 Join Ruhan [0] (uid76353@gateway/web/irccloud.com/x-dqyvjttrgrcfoyno) 16.05.46 *** Saving seen data "./dancer.seen" 16.28.39 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 16.31.51 Quit JdGordon (Ping timeout: 255 seconds) 16.41.23 Quit krabador (Remote host closed the connection) 16.45.20 Quit LjL (Changing host) 16.45.20 Join LjL [0] (~ljl@unaffiliated/ljl/bot/brainstorm) 16.45.40 Quit LjL (Changing host) 16.45.40 Join LjL [0] (~ljl@unaffiliated/ljl) 17.06.07 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan) 17.25.54 Quit petur (Quit: Connection reset by beer) 17.28.21 Join PurlingNayuki [0] (~Thunderbi@106.121.70.120) 17.33.02 Quit PurlingNayuki (Remote host closed the connection) 17.33.02 Join sanchaez [0] (~sanchaez@95.67.87.200) 17.33.45 Join PurlingNayuki [0] (~Thunderbi@106.121.70.120) 17.55.23 Join johnb4 [0] (~johnb2@p5B3AFF2C.dip0.t-ipconnect.de) 18.05.47 *** Saving seen data "./dancer.seen" 18.11.54 Quit LjL (Excess Flood) 18.12.42 Join LjL [0] (~ljl@unaffiliated/ljl) 18.38.36 Quit PurlingNayuki (Ping timeout: 260 seconds) 19.02.49 Quit advcomp2019 (Read error: Connection reset by peer) 19.04.27 Join advcomp2019 [0] (~advcomp20@65-131-186-90.sxct.qwest.net) 19.04.39 Quit advcomp2019 (Changing host) 19.04.39 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019) 19.08.51 Join advcomp2019_ [0] (~advcomp20@65-131-148-112.sxct.qwest.net) 19.08.51 Quit advcomp2019_ (Changing host) 19.08.51 Join advcomp2019_ [0] (~advcomp20@unaffiliated/advcomp2019) 19.09.44 Join smbgaiden [0] (~smbgaiden@cpe-70-95-76-131.san.res.rr.com) 19.09.51 Quit advcomp2019 (Ping timeout: 248 seconds) 19.10.48 Quit advcomp2019_ (Read error: Connection reset by peer) 19.12.11 Join advcomp2019 [0] (~advcomp20@65-131-160-97.sxct.qwest.net) 19.12.11 Quit advcomp2019 (Changing host) 19.12.11 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019) 19.21.10 Quit pamaury (Ping timeout: 260 seconds) 19.23.53 Join advcomp2019_ [0] (~advcomp20@unaffiliated/advcomp2019) 19.25.33 Quit advcomp2019 (Ping timeout: 240 seconds) 19.34.14 Join advcomp2019 [0] (~advcomp20@65-131-185-237.sxct.qwest.net) 19.34.17 Quit advcomp2019 (Changing host) 19.34.17 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019) 19.35.08 Join lebellium [0] (~chatzilla@89-93-177-206.hfc.dyn.abo.bbox.fr) 19.35.21 Quit advcomp2019_ (Ping timeout: 246 seconds) 19.52.41 Join advcomp2019_ [0] (~advcomp20@65-131-148-112.sxct.qwest.net) 19.52.41 Quit advcomp2019_ (Changing host) 19.52.41 Join advcomp2019_ [0] (~advcomp20@unaffiliated/advcomp2019) 19.54.24 Quit advcomp2019 (Read error: Connection reset by peer) 19.55.18 Quit dys (Ping timeout: 246 seconds) 19.56.17 Join JanC_ [0] (~janc@lugwv/member/JanC) 19.57.34 Quit JanC (Killed (adams.freenode.net (Nickname regained by services))) 19.57.34 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC) 19.58.54 Join thomasjfox [0] (~thomasjfo@rockbox/developer/thomasjfox) 20.04.15 Join krabador [0] (~krabador@unaffiliated/krabador) 20.05.06 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 20.05.48 *** Saving seen data "./dancer.seen" 20.08.11 Quit krabador (Client Quit) 20.08.16 Quit smbgaiden (Read error: Connection reset by peer) 20.09.08 Join cc___ [0] (~ac@2001:910:113f:1:6a05:caff:fe1c:1627) 20.17.17 Join advcomp2019 [0] (~advcomp20@65-131-172-217.sxct.qwest.net) 20.17.18 Quit advcomp2019 (Changing host) 20.17.18 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019) 20.19.03 Quit advcomp2019_ (Ping timeout: 240 seconds) 20.24.39 Quit evert (Ping timeout: 240 seconds) 20.31.51 Join evert [0] (~evert@static.58.140.9.5.clients.your-server.de) 20.38.55 Join dys [0] (~dys@tmo-098-30.customers.d1-online.com) 20.46.07 Join krabador [0] (~krabador@unaffiliated/krabador) 21.12.28 Quit Rower (Ping timeout: 252 seconds) 21.12.48 Join Rower [0] (~husvagn@m176-64-134-249.cust.tele2.se) 21.13.32 Quit Rower (Client Quit) 21.15.46 Join Rower [0] (~husvagn@m176-64-134-249.cust.tele2.se) 21.20.33 Join bray90820 [0] (~bray90820@50-83-217-236.client.mchsi.com) 21.38.39 Quit bray90820 (Ping timeout: 240 seconds) 21.40.58 Join bray90820 [0] (~bray90820@50-83-217-236.client.mchsi.com) 21.50.03 Join smbgaiden [0] (~smbgaiden@cpe-70-95-76-131.san.res.rr.com) 21.54.51 Join petur [0] (~petur@rockbox/developer/petur) 22.05.51 *** Saving seen data "./dancer.seen" 22.07.26 Quit johnb4 (Ping timeout: 248 seconds) 22.30.52 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.") 22.33.18 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 55.0.3/20170824053622]) 22.57.26 Quit thomasjfox (Quit: Konversation terminated!) 22.58.00 Quit smbgaiden (Ping timeout: 246 seconds) 23.00.57 Join capstar [0] (~user@55.92-220-69.customer.lyse.net) 23.17.44 Quit pamaury (Ping timeout: 255 seconds) 23.23.09 Quit [Saint] (Ping timeout: 240 seconds) 23.23.34 Quit ender` (Quit: Be wary of strong drink. It can make you shoot at tax collectors and miss. — Robert A. Heinlein) 23.28.24 Join [Saint] [0] (~sinner@rockbox/staff/saint) 23.55.14 Quit capstar (Quit: Leaving)