OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 Hardware => Topic started by: chyang on April 14, 2006, 11:06:22 pm

Title: Cannot Enter To D+b Mode
Post by: chyang on April 14, 2006, 11:06:22 pm

Installed the LUS Screen Saver stuff, after installation, I clicked directly on the icon and executed, then it displayed the magnified screen and then try to restart QPE. Then it hanged there. So I tried to reboot using a ssh-ed console, but it failed. So I removed the battery, when rebooting, I found there is an error with the jffs2:
...
FAT: bogus logical sector size 381
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing init memory: 80K
jffs2_scan_inode_node(): Data CRC failed on node at 0x003cc9a8: Read 0x6649a366,
 calculated 0x5bae9200
Eep. Child "stab" (ino #3051) of dir ino #3050 doesn't exist!
Eep. Child "param" (ino #3068) of dir ino #3050 doesn't exist!
Inode #4105 was a directory with children - removing those too...
Inode #3505 was a directory with children - removing those too...
Inode #4287 was a directory with children - removing those too...
Inode #2893 was a directory with children - removing those too...
Inode #3163 was a directory with children - removing those too...
Inode #3050 was a directory with children - removing those too...
Cannot remove child "stab", ino #3051, because it doesn't exist
...

After that, I tried to enter the D+B mode. I managed to bring the startup while after displaying some information, it printed out:
...
INIT ...
segment fault
segment fault
segment fault
...

What happened? How to solve it?

Thanks!
Title: Cannot Enter To D+b Mode
Post by: chyang on April 15, 2006, 05:37:08 am
I suspect the problem may have some relationship with the 2GB SD card. After I ejected the SD, I can successfully enter the maintenance mode.
But I cannot solve the CRC problem yet.
Title: Cannot Enter To D+b Mode
Post by: Cresho on April 15, 2006, 05:52:59 am
make sure you install stuff from compact flash cards.  SD should be your last choice.  Even then, make sure you don't have anything in your slots if you are diagnosing your internal drive.  Saves a few headaches.

even more, image files should be extraced directly to the cf card from your pc, if you run windows or some other job, ntfs ruins the image.  so unzip directly to the cf card.
Title: Cannot Enter To D+b Mode
Post by: chyang on April 15, 2006, 06:15:49 am
In fact, I always use CF cards. The SD card is always in the slot, since it never caused problems. Only after I upgraded the card from 512MB to 2GB, I found this issue.

Cresho, would you like to have a try to verify my observation? If verified, you can add a note together with the SD driver, it will defintely help Z users from panic.

Thanks
Title: Cannot Enter To D+b Mode
Post by: Jon_J on April 15, 2006, 11:30:04 am
I don't mean to butt in, and I am not complaining. It's just an observation.
I noticed that the *.ipk cresho posted places this driver in:
/lib/modules/2.40/kernel/drivers/block
instead of
/lib/modules.rom/2.40/kernel/drivers/block

If the C3200 has no problems with this driver and with a 2 or 4GB card inserted at boot time,
then maybe this could be the problem chyang was having at boot time regarding the SD card.

hope this helps, if I'm wrong, slap me...
Title: Cannot Enter To D+b Mode
Post by: Cresho on April 18, 2006, 03:26:27 pm
did you manage to fix your problem chyang?  and how did y ou do it?
Title: Cannot Enter To D+b Mode
Post by: chyang on April 20, 2006, 04:25:34 am
I have solved it by ejecting my 2GB SD card when I want to enter to D+B mode. I have upgraded the kernel modules, but haven't tried after that.