Author Topic: Dingux freezing with newer rootfs  (Read 6591 times)

demon cleaner (OP)

  • *
  • Posts: 149
    • ClassicAmiga
Dingux freezing with newer rootfs
« on: October 21, 2009, 03:18:02 pm »
I posted this in another topic already, when I replace my existing rootfs file (August), with the newest one, also found in Toddler's 0.31 release, Dingux doesn't start anymore, but the console freezes at it's Dingux startup screen? Known problem?

nine10

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #1 on: October 21, 2009, 06:49:05 pm »
same issue, i fix it formatting

demon cleaner (OP)

  • *
  • Posts: 149
    • ClassicAmiga
Re: Dingux freezing with newer rootfs
« Reply #2 on: October 21, 2009, 07:47:25 pm »
You format the SD and then copy the files again onto it?

K.

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #3 on: October 22, 2009, 12:59:34 am »
Same problem here (v0.31)- after failing running one of apps/games (Dingoo froze in loading process) I used 'hard reset'.
In result I got 'unbootable Dingux' (black screen after booting/or freezing on 'Dingux' logo after pressing select button).

Switching Local & Roofs to 'orginal ones' from Bobo's Google site gave no result.
Deleting configuration file from main folder & from Dmenu folder also gave nothing.

It just won't budge & I'm too lazy to copy all files (music, themes & emulators) to HDD (to format SDHC card, put clean 0.31 and overwrite it with 'my' files) - guess I'll wait for 0.32 (if it won't help, then I'll format card).

Chris23235

  • **
  • Posts: 603
Re: Dingux freezing with newer rootfs
« Reply #4 on: October 22, 2009, 06:57:04 pm »
Black screen after booting can be due to backlight set to 0, press X to activate it.

demon cleaner (OP)

  • *
  • Posts: 149
    • ClassicAmiga
Re: Dingux freezing with newer rootfs
« Reply #5 on: October 22, 2009, 07:30:35 pm »
Black screen after booting can be due to backlight set to 0, press X to activate it.
Actually it's no "black" acreen, it's the Dingux logo screen freezing.

nine10

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #6 on: October 22, 2009, 07:40:11 pm »
yes backup , format and copy all again whit the new dingux files

demon cleaner (OP)

  • *
  • Posts: 149
    • ClassicAmiga
Re: Dingux freezing with newer rootfs
« Reply #7 on: October 23, 2009, 05:07:45 pm »
yes backup , format and copy all again whit the new dingux files

Omg, I did that operation now, which took an eternity, having an almost full 16GB card, and it still doesn't work with the new rootfs file.

And guess what, now it doesn't boot at all anymore, even with the older rootfs :-\

EDIT: Did the whole operation again, then put my actual rootfs, and it's working again. I won't try this again now, until I have the confirmation that a newer rootfs will work properly.
« Last Edit: October 23, 2009, 07:32:15 pm by demon cleaner »

Chris23235

  • **
  • Posts: 603
Re: Dingux freezing with newer rootfs
« Reply #8 on: October 23, 2009, 10:01:15 pm »
No problem with the newer rootfs here, but if you browse the Dingoo forums, there seem to be problems with 16 GB cards and Dingux, I remember reading about this a few times now.

codiak

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #9 on: October 23, 2009, 10:34:00 pm »
I think the ordner is important. After formation (not quickformat) first put the kernel, then the rootfs and after that the localdir to the card. Maybe this helps.

quadomatic

  • * Former Staff
  • DingooWiki Admin
  • Posts: 72
    • Dingoonity
Re: Dingux freezing with newer rootfs
« Reply #10 on: October 24, 2009, 07:10:02 pm »
Yeah, usually this ends up happening by some kind of corruption. There are a couple ways to prevent this:

1. Make sure you're using the dual-boot installer booboo released in mid September. It was made to solve write errors that cause corruption (I lost a good 8GB microSDHC card because of such errors forcing me to reformat multiple times). You can get it here

2. Always safely remove/unmount your MicroSDHC card when writing to it. This should be obvious I guess. In linux, not unmounting is a huge issue. From what I understand, files you copy to a removable drive in linux is written to a cache, and is then written when you unmount the disk. So, unmounting is a big deal.

3. Avoid using SELECT+START+POWER to restart your Dingoo when in linux. Doing this is like pressing the reset button on your computer - it causes seriously problems for your hard drive (and in this case, your microSDHC card).

Those are my tips. If anybody else has any, please let us know!

demon cleaner (OP)

  • *
  • Posts: 149
    • ClassicAmiga
Re: Dingux freezing with newer rootfs
« Reply #11 on: October 26, 2009, 06:33:50 am »
Quote
1. Make sure you're using the dual-boot installer booboo released in mid September. It was made to solve write errors that cause corruption (I lost a good 8GB microSDHC card because of such errors forcing me to reformat multiple times). You can get it here

I'm using that one since the beginning.

Quote
2. Always safely remove/unmount your MicroSDHC card when writing to it. This should be obvious I guess. In linux, not unmounting is a huge issue. From what I understand, files you copy to a removable drive in linux is written to a cache, and is then written when you unmount the disk. So, unmounting is a big deal.

I always unmount it safely.

Quote
3. Avoid using SELECT+START+POWER to restart your Dingoo when in linux. Doing this is like pressing the reset button on your computer - it causes seriously problems for your hard drive (and in this case, your microSDHC card).

Didn't even know about this, so I never did it that way.

Perhaps next time I will try codiak's method.

darklegion

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #12 on: October 27, 2009, 03:06:10 am »
2. Always safely remove/unmount your MicroSDHC card when writing to it. This should be obvious I guess. In linux, not unmounting is a huge issue. From what I understand, files you copy to a removable drive in linux is written to a cache, and is then written when you unmount the disk. So, unmounting is a big deal.


You can type "sync" on the commandline and it will automatically flush buffers to the disk without having to unmount.Of course, unmounting is a good habit to get into, in any case.

demon cleaner (OP)

  • *
  • Posts: 149
    • ClassicAmiga
Re: Dingux freezing with newer rootfs
« Reply #13 on: November 03, 2009, 05:18:32 pm »
I think the ordner is important. After formation (not quickformat) first put the kernel, then the rootfs and after that the localdir to the card. Maybe this helps.

I'm glad it worked now, did it step by step as you mentioned:

1. Format SD card
2. Copy zImage to it
3. Copy rootfs to it
4. Copy the local folder to it

Then it worked without any problems, changing only the files hangs up Dingux, don't know if that happens to everyone though. But this operation almost needs 2 hours, copying an almost full 16GB SD card forth and back, which is rather annoying.

difuno

  • *
  • Posts: 104
Re: Dingux freezing with newer rootfs
« Reply #14 on: November 11, 2009, 06:18:39 am »
I've read somewhere that Booboo mentioned this, and he thinks this is the problem caused by the Ingenic kernel driver or something, and he still hasn't found a workable solution to this.
He suggested to first copy zImage, roofts, then other files to the card.
And actually I have been having this problem since long ago and this has been the only solution, but always workable.
It is really annoying having to recopy everything from/to the microSD card, hope Booboo can get this resolve soon.

Berticus

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #15 on: November 21, 2009, 04:36:05 pm »
If you rsync, would you still run into the problem?

---Edit---
This seems to work (unix/bsd, linux, macs):

Code: [Select]
rsync -v -t -u --inplace zImage /media/usb0/zImage
Not sure what's available on windows.

change /media/usb0 to wherever your SD card is mounted.
« Last Edit: November 22, 2009, 08:01:38 pm by Berticus »

santino

  • Guest
Re: Dingux freezing with newer rootfs
« Reply #16 on: December 16, 2009, 07:20:37 pm »
Try to run "sync" with root before you umount it. That should do it.;)

 

Post a new topic