[00:33:31] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Quit: Ex-Chat) [01:15:43] <[7]> user890104: just to be clear: does it work with the python code? [01:23:43] [7]: it doesn't, same kernel crash [01:24:53] exact same panic message [01:28:32] <[7]> hm, I don't see an obvious reason [01:29:02] <[7]> try locating the code that crashes [01:34:45] i guess it ends up here: buf[1] = (uint32_t)rename((char*)buf[2], (char*)buf[3]); [01:34:49] which seems ok [01:36:43] <[7]> yes, I don't get it [01:36:48] <[7]> must be crashing somewhere inside that [01:37:42] how do i debug it, if it crashes the kernel? print debugging info on the lcd console from within rename()? [01:39:05] <[7]> I'd first try to track down what the code that actually crashes is [01:39:15] <[7]> check the fault address [01:39:43] <[7]> (use ida or objdump to diasassemble the corresponding .elf file and check what the code is doing at that address) [01:40:14] <[7]> if it's compiled with -flto things will be messy, so you might want to try recompiling without that and checking if it happens there as well, might be easier to debug [01:40:57] ok, i'll try this [01:51:21] emCOREFS seems to work fine over EP0 (and reasonably fast) for reading/writing files, so I committed the changes [01:52:34] <[7]> I suspect that it might be faster than old non-DMA access despite smaller packet sizes [01:52:57] <[7]> it probably won't be able to compete with bulk DMA transfers though [01:53:40] <[7]> if there is a noticable performance hit, it might be worth a try to build an optional accelerator helper app which allocates an endpoint to old-style bulk DMA transfers [02:04:54] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [02:04:54] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [03:23:58] *** Quits: el3ctrik-away (~el3ctrik@2a00:1c10:5:201:216:3eff:fe98:c8f1) (*.net *.split) [03:23:58] *** Quits: Elfish (amba@2001:1608:12:1:13:3:3:7) (*.net *.split) [05:17:26] *** Joins: el3ctrik-away (~el3ctrik@2a00:1c10:5:201:216:3eff:fe98:c8f1) [05:17:26] *** Joins: Elfish (amba@2001:1608:12:1:13:3:3:7) [06:52:23] *** Quits: [7] (~quassel@rockbox/developer/TheSeven) (Read error: Operation timed out) [06:53:37] *** Joins: TheSeven (~quassel@rockbox/developer/TheSeven) [08:04:55] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [08:04:55] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [09:59:57] *** Joins: STeeF (~STeeF@office.hostnetbv.nl) [12:56:06] *** Quits: Elfish (amba@2001:1608:12:1:13:3:3:7) (Remote host closed the connection) [14:04:54] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [14:04:54] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [19:09:37] *** Joins: Elfish (amba@2001:1608:12:1:13:3:3:7) [20:04:54] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [20:04:55] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Read error: Connection reset by peer) [20:48:52] *** Joins: n1s (~n1s@nl118-168-30.student.uu.se) [20:48:52] *** Quits: n1s (~n1s@nl118-168-30.student.uu.se) (Changing host) [20:48:52] *** Joins: n1s (~n1s@rockbox/developer/n1s) [23:56:28] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Quit: Ex-Chat)