|
#341
|
|||
|
|||
|
I mentioned the Stack overflow (stkov) issue and Llorean mentioned one thing - the internal memory is SD based. Oddly, nobody* seems to have had this error before, and Llorean said that because it's never happened in SVN (although from what it looks like, it's the first time it's ever happened) it's probably a bug in the SD patch.
* From what it seems right now, from those who've responded on IRC
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
| Advertisement | [Remove Advertisement] |
|
|
|
|
#342
|
||||
|
||||
|
Quote:
Quote:
Quote:
I have also attached my config file. If changing the bootloader doesn't work, try using my config to see if the problems reoccur. Charles |
|
#343
|
||||
|
||||
|
Quote:
Quote:
Quote:
Charles |
|
#344
|
|||
|
|||
|
Llorean took a 'very quick look' (apparently quick is a few seconds) and saw the problem. I can't really explain it, but:
[18:53] <amiconn> chrisjs169: Stack is too small as the sd stack has to handle remounts with hotswap [18:54] <amiconn> Compare ata-e200.c with ata-mmc.c ... Since the stack is too small, it overflows, causing the problem. So I'm guessing that the problem is when doing something very fast, the stack overflows, and it panics, but you'd have to be doing something that is using the disk (starting a song while scrolling through the menu real fast?)
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
|
#345
|
|||
|
|||
|
I went to the default bootloader and I put config.cfg, unrenamed, to the root Rockbox directory...
The screen looks different now... but the Photos still don't show, with either Select or Right arrow. From the rest of the thread, the PANICs seem unrelated. Thanks Quote:
|
|
#346
|
||||
|
||||
|
Quote:
I guess it's the same problem as in your last build, just the error is another. |
|
#347
|
||||
|
||||
|
Quote:
Charles |
|
#348
|
|||
|
|||
|
Default_stack_size is 0x400, 1024 bytes. and sizeof(long) is four.
The size of sd_stack is 512: (DEFAULT_STACK_SIZE*2)/sizeof(long), which is (1024 * 2) / 4 = 512 sd_stack originally is used for the internal memory, but the external sd patch also uses sd_stack, which basically doubles the amount of stuff on that stack. I think if the external sd used either another stack or sd_stack was increased ( (DEFAULT_STACK_SIZE*4/sizeof(long) maybe?) would fix the error (it'd be 1024 bytes instead of 512) EDIT: I spent all that time typing while cpchan said he would just increase the stack size :P godess: the SVN is fine, it's the SD patch that's the problem EDIT2: I also noticed that originally (basically the SD patch in my build) used mmc_stack, which, if hotswap support was enabled, the stack size was 1024 bytes, otherwise it was 512 (basically, it used another stack, which prevented the overflow) EDIT3: Was looking at the wrong file, the SD patch has always used sd_stack, but mmc_stack has always been available...
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 Last edited by chrisjs162216; 05-28-2007 at 06:31 PM. |
|
#349
|
||||
|
||||
|
ATTN: *Panic* sktov sd
For those having the "*Panic* sktov sd" problem, please test out the attached version to see if you still get the error. Charles |
|
#350
|
|||
|
|||
|
So far, so good... Previously, the problem happened quite frequently...
but remember, I do NOT have a micro-SD card Thanks! Last edited by dzr; 05-28-2007 at 08:58 PM. |
|
#351
|
||||
|
||||
|
Quote:
If it's the patch, tell me why some people with the last SVN had data aborts, when they did not install Rockbox in that shamanism way?? |
|
#352
|
|||
|
|||
|
Because data aborts have nothing to do with stack overflows? The odds of there being a stkov without the sd patch is rather unlikely, but still possible. Throw in the patch, which uses the same stack as the internal memory, and you just about double (if hotswapping, it could be close to triple) the risk of a stkov, unless the stack size is increased
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
|
#353
|
||||
|
||||
|
How can this happen, when he doesn't use a SD card, I don't get this.
|
|
#354
|
|||
|
|||
|
It is possible although mostly unlikely that the stack can overflow even if there's no SD card, either as a bug when compiling, a problem with the build itself, or due to the sd patch checking to see if an sd card was inserted (hotswap) (can't say for sure about the last one, as I haven't looked into the sd patch too much)
Stack overflows can just be from faulty code in SVN, or a bad Rockbox install, or just the way the SD patch works (even without a card inserted)
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
|
#355
|
||||
|
||||
|
Charles, I realized that the latest two builds don't have the Bubbles scroll patch included anymore, or the patch doesn't work. Can you check what's wrong?
Thanks, krat
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." - Albert Einstein Currently Using Player: Cowon D2 | Rockboxed SanDisk Sansa e250 Headphones: Technics RP-HT300 | Panasonic RP-HT202|JVC HA-FX55 Sansa Rockbox Themes: KratoGlass|KratoSky|KratoJet|JetoKrat |
|
#356
|
||||
|
||||
|
Quote:
Charles |
|
#357
|
||||
|
||||
|
Okay I tried playing Doom just now with the default keys. When you say now, you make it seem as if they've changed something?
As far as I can tell, the controls are still basically the same. Just that moving through the menus seems different. (I think it's either play or select to choose in the menu now)
__________________
[SIGPIC][/SIGPIC] |
|
#358
|
||||
|
||||
|
Quote:
Charles |
|
#359
|
|||
|
|||
|
Hey cpchan,
This is a great build. Thanks for putting it together for us to use. I had been wanting to use a WPS that has flexibility in text/font type and placement. It requires some other patches, which are not syncing properly right now. Have you ever considered adding in the following patches: Custom_Display_Width Custom_List_Position Customline Multifont Multifont-Userfonts If there is a possibility to add these, it would be greatly appreciated. But I completely understand if you don't want to take the time to add them. Thanks again for the great build. kockroach |
|
#360
|
||||
|
||||
|
Quote:
No problem.Quote:
Charles |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 11:12 PM.












No problem.
Linear Mode
