5,597,138 Members 43,679 Now Online
XDA Developers Android and Mobile Development Forum

Kaiser Kernel Thread - ONLY FOR KERNEL AND BUGS

Tip us?
 
daedric
Old
#11  
daedric's Avatar
Senior Member
Thanks Meter 312
Posts: 1,533
Join Date: Dec 2006
Location: Porto
Quote:
Originally Posted by clemsyn View Post
its on /system/bin/userinit.sh
You sure ? i only find a remount there ... to fix su

HTC Kaiser . CM6 ......... OC@530mHz - Kitchen Watch with NTP .
HTC Leo .... CMX OC@1.19gHz, Jellybean
HTC Ace .... CMX OC@1.5gHz, ICS + Sense 4.0
 
n2rjt
Old
#12  
n2rjt's Avatar
Senior Member
Thanks Meter 99
Posts: 859
Join Date: Mar 2008
Location: San Diego, California
Has anyone recently synchronized our yaffs2 tree with the main one on www.yaffs.net? I noticed there are quite a few differences. I'm testing, too soon to tell if there are any notable differences.
My Devices, newest to oldest:
* TV box: Rikomagic MK802 IV; stock (Android 4.2.2)
* TV box: Rikomagic MK802+; Uberoid (Android 4.0.2)
* Phone: Samsung Galaxy Nexus (Maguro/GSM); stock (Android 4.3) w/ Fancy Kernel
* Tablet: Motorola Xoom; stock (Android 4.1.2)
* Phone: HTC Touch Pro 2 (Rhodium) [dead] Android 2.3
* Phone: HTC Kaiser; Android 2.2 "Fresh Froyo"
* Phone: HTC Wizard; WM6.1 Ham3r H3r7
 
aceoyame
Old
#13  
Recognized Developer
Thanks Meter 254
Posts: 939
Join Date: Jul 2009
I think scooter synchronised it a little over a month ago? I know its been about that long.
 
clemsyn
Old
(Last edited by clemsyn; 5th December 2010 at 03:53 PM.)
#14  
Senior Member
Thanks Meter 1613
Posts: 1,673
Join Date: Sep 2006

 
DONATE TO ME
Quote:
Originally Posted by daedric View Post
You sure ? i only find a remount there ... to fix su
you can add this to userinit.sh

busybox mount -o remount,rw,nouid,nodiratime,nodev /data

I think it depends on the rom but my ROM have those options. I'll upload my userinit.sh

Here is a copy of my userinit.sh

BTW, I added noatime on 2.6.25 kernel (which is suppose to be stable) and I got a Reboot and data corruption. I think if we mount 2.6.32 like 2.6.25's default mount, it could be better but it has to be done in the kernel itself coz 2.6.32 defaults to relatime.
Attached Files
File Type: zip userinit.sh.zip - [Click for QR Code] (756 Bytes, 8 views)
 
n2rjt
Old
#15  
n2rjt's Avatar
Senior Member
Thanks Meter 99
Posts: 859
Join Date: Mar 2008
Location: San Diego, California
Quote:
Originally Posted by aceoyame View Post
I think scooter synchronised it a little over a month ago? I know its been about that long.
I synchronized my yaffs sources yesterday. It survived several battery-pulls yesterday with no corruption, but one single clean shutdown modified email settings for one account and made Maps FC. A dalvik clear cured maps but not the email settings.

Yaffs has data recovery capabilities, as proven by the battery pulls that gave no corruption at all.
So i think yaffs is good and nand is good. The data corruption problem lies outside the kernel and is a subject for a different thread.

Sent from my Android on HTC Kaiser/Kaiser/Polaris using XDA App
My Devices, newest to oldest:
* TV box: Rikomagic MK802 IV; stock (Android 4.2.2)
* TV box: Rikomagic MK802+; Uberoid (Android 4.0.2)
* Phone: Samsung Galaxy Nexus (Maguro/GSM); stock (Android 4.3) w/ Fancy Kernel
* Tablet: Motorola Xoom; stock (Android 4.1.2)
* Phone: HTC Touch Pro 2 (Rhodium) [dead] Android 2.3
* Phone: HTC Kaiser; Android 2.2 "Fresh Froyo"
* Phone: HTC Wizard; WM6.1 Ham3r H3r7
 
clemsyn
Old
#16  
Senior Member
Thanks Meter 1613
Posts: 1,673
Join Date: Sep 2006

 
DONATE TO ME
Quote:
Originally Posted by n2rjt View Post
I synchronized my yaffs sources yesterday. It survived several battery-pulls yesterday with no corruption, but one single clean shutdown modified email settings for one account and made Maps FC. A dalvik clear cured maps but not the email settings.

Yaffs has data recovery capabilities, as proven by the battery pulls that gave no corruption at all.
So i think yaffs is good and nand is good. The data corruption problem lies outside the kernel and is a subject for a different thread.

Sent from my Android on HTC Kaiser/Kaiser/Polaris using XDA App
I read this quote about atime since you had problems with email on reboot

1. atime This option causes Linux to record the last (or latest) time when a particular file was accessed. This information is particularly helpful for sysadmins or some programs (specially mail programs) to know when a particular file was last used/accessed.

So I think here is were atime option would help (email programs)
 
daedric
Old
(Last edited by daedric; 5th December 2010 at 11:52 PM.) Reason: extra question
#17  
daedric's Avatar
Senior Member
Thanks Meter 312
Posts: 1,533
Join Date: Dec 2006
Location: Porto
Quote:
Originally Posted by clemsyn View Post
I read this quote about atime since you had problems with email on reboot

1. atime – This option causes Linux to record the last (or latest) time when a particular file was accessed. This information is particularly helpful for sysadmins or some programs (specially mail programs) to know when a particular file was last used/accessed.

So I think here is were atime option would help (email programs)
I think you're confused... the e-mail problem n2rjt was having was complete random. He had problems in e-mail and maps.. could be browser and settings. It's random.

Now:

Quote:
1. atime – This option causes Linux to record the last (or latest) time when a particular file was accessed. This information is particularly helpful for sysadmins or some programs (specially mail programs) to know when a particular file was last used/accessed.

2. noatime – This option stops recording the last file access time when the file is just read. The noatime option eliminates all the writes to the disk each time a file was just read which previously used to happen with atime. However a write is made to a disk in case if a file is being changed/written.

3. relatime – A filesystem mount with this option causes the access time to be updated if they are (before the update has occurred) earlier than the modification time. This significantly cuts down the writes caused by atime updates. However not many people use this option because they are simply not aware of it.

source: http://linux.koolsolutions.com/2009/...mount-options/
Indeed relatime is the most usefull option for us.

Yet... reading this for the 2nd time:

Quote:
Yaffs has data recovery capabilities, as proven by the battery pulls that gave no corruption at all.
So i think yaffs is good and nand is good. The data corruption problem lies outside the kernel and is a subject for a different thread.
Could it be... a proc atempting to unmount /data or remount,ro that causes a defect ?

One other thing... you're sync'ing to yaffs.net, would it be too bad/dificult to use the yaffs2 provided with usual HTC sources ?
I'm looking at Supersonic... it uses our 2.6.32 kernel....

HTC Kaiser . CM6 ......... OC@530mHz - Kitchen Watch with NTP .
HTC Leo .... CMX OC@1.19gHz, Jellybean
HTC Ace .... CMX OC@1.5gHz, ICS + Sense 4.0
 
scooter1556
Old
#18  
Senior Member
Thanks Meter 178
Posts: 600
Join Date: Feb 2008
Location: Bristol

 
DONATE TO ME
Quote:
Originally Posted by daedric View Post
One other thing... you're sync'ing to yaffs.net, would it be too bad/dificult to use the yaffs2 provided with usual HTC sources ?
The yaffs in the kernel at the minute is from the official android source, so what all other HTC devices are using
 
n2rjt
Old
#19  
n2rjt's Avatar
Senior Member
Thanks Meter 99
Posts: 859
Join Date: Mar 2008
Location: San Diego, California
I tried the yaffs.net latest just as a comparison. It didn't change anything one way or the other.

Sent from my Android on HTC Kaiser/Kaiser/Polaris using XDA App
My Devices, newest to oldest:
* TV box: Rikomagic MK802 IV; stock (Android 4.2.2)
* TV box: Rikomagic MK802+; Uberoid (Android 4.0.2)
* Phone: Samsung Galaxy Nexus (Maguro/GSM); stock (Android 4.3) w/ Fancy Kernel
* Tablet: Motorola Xoom; stock (Android 4.1.2)
* Phone: HTC Touch Pro 2 (Rhodium) [dead] Android 2.3
* Phone: HTC Kaiser; Android 2.2 "Fresh Froyo"
* Phone: HTC Wizard; WM6.1 Ham3r H3r7
 
krava1209
Old
#20  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Nov 2010
Trying to setup 2.6.32 kernel over 2.6.25 on my tytnII with Warm Donut on board.
Using Atools. Doing everything step-by-step, but when i reach this steps:

33 then flash from sd (gray)
34 reset device when it finished

it's booting from sd, (gray), show "Loading.." and never complete :(
have wait more than hour.

What's possible reason?
Using zImage-11-27-10 from l1qu1d sourceforge.net site.

Thanks in advance for help.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes