Active Topics

 


Reply
Thread Tools
Posts: 92 | Thanked: 69 times | Joined on Nov 2009 @ UK
#21
i remeber reading somewhere about a magentic sensor that is used to detect when the back is removed and unmount the sdcard...
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#22
Originally Posted by abill_uk View Post
Then why don't you explain to users how BACKUPMENU works, then they will know instead of guessing !.
Now that I've mentioned the name, anyone who wants further information can look it up.
__________________
All I want is 40 acres, a mule, and Xterm.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#23
Two things:
1. The 256mb rootfs is formatted to Ubifs. This filesystem does not need a fsck tool, and seems to be /very/ resilliant when it comes to corruption - Seriously, I haven't ever had it fail.
The optfs, on the other hand, is just ext3, and it /is/ fairly succeptable to corruption. Maemo will attempt to fsck it upon boot, but it doesn't always work, resulting in the "five dots" reboot loop.
Mydocs and the SD card aren't needed for boot.

Now, Backupmenu only uses files on the rootfs, so it's a lot more resilliant to optfs corruption: Wipe the optfs, it'll still work.


2. Fusi, yes, there's a magnetic sensor. When the back cover is removed, the SD card is unmounted(so it's safe to remove).
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 

The Following 3 Users Say Thank You to RobbieThe1st For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#24
Joerg mentioned in other topic, that cutting of power from microSD card slot, wehn card is in use, can - in rare occasions - hardware damage card. And he didn't mean dead loop of waiting for initialization but something pure-hardwarish about way that data is recorder and electrones Sorry, can't find this post right now.

What's the point is that removing battery = removing power from SD slot also (not big deal, cause unless you made hardware trick by sticking magnet to sensor, your card is already unmounted/hard powered off when your backcover is removed), but what's even more important, internal flash is also vulnerable to same hardware damage.

On the other (probably third at this time ;P ) hand, joerg also mentioned - in hotswap battery method - that bme shut down system in <1 second if battery is removed, i.e. control (third) pin is off. That's probably limit possible problems to single file damage, or filesystem error fixable by fsck at worse condition. If BME never fails in its duty, hardware damages are off-limit.

Don't ask me if same thing happen during use of HEN - as far as i know BME is stopped at this time, so i presume that unless we got working bme open source replacement, this may be extremely dangerous behavior during hostmode. But feel free to correct me, if any other entity monitor / hardware monitor watch for this in absence of BME. (still i think this is last defense line, cause stopping BME allow for hotswap)

Last theoretical divagation - if dme can be swapped out during heavy I/O bug so the phone reboots due to watchdog, who knows if BME isn't vulnerable to same swapout problem, -> in some VERY rare occasion of swap horror can not be able to shut down machine on time.

That's all theory (still, hard-proofed). In practice, If you don't feel suicidal and don't try to kill your device on purpose, it's almost impossible to damage device doing that. Almost. Although i fail to see any rationale for using this, when holding power button for solid 8-10 seconds (sorry again, don't remember exact number, may be also 15) launch hardware-controlled power down (in theory should be able to power down device always, like holding power button for 10 seconds in every laptop - in practice i heard about 1, literally 1 occasion, when even power button wasn't able to power down device and battery removal was a must - that's why on wiki is info about ''last resort'' method of removing battery)

// Edit

Was writing on exact same time as Robbie1ST, so sorry for cross-examining the same problems in few parts of my post. and thank You Robbie for mentioning NAND flash filesystem, that's also very important factor that i missed.

Last edited by Estel; 2011-05-10 at 00:01.
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 100 | Thanked: 13 times | Joined on Jul 2010 @ india
#25
Originally Posted by Naomik View Post
I have just recently ran into this issue from an at&t rep. who has been backed up by multiple managers and supervisors. The claim is that removing the battery on a N900 is just a soft reset and cannot, in any event, damage the device. However they all admit they know nothing about this particular device.

Correct me if I'm wrong but doesn't ohm's law apply here?

And if so couldn't the increase in power draw damage CPU pins, arc the motherboard socket, fry the regulators on the motherboard, melt traces on the motherboard or in the CPU, and do any number of other horrible things to the hardware?


I have been experiencing issues since the incident as listed here:

http://talk.maemo.org/showthread.php...157#post990157

Can someone provide links or other info? Google doesn't seem to be very friendly right now.

couple of things... shortcircuit is unlikely but possible as while removing the battery slowly u mite shortcircuit it

when the N900 is shutdown with the power off button it sdoes an internal shutdown which wont happen if u pull the battery out

if u have a custon kernal installed u mite get the message unable to load your custom kernel settings..

hope it helps.... cheers
 
HellFlyer's Avatar
Posts: 1,148 | Thanked: 613 times | Joined on Mar 2010 @ Toronto
#26
Wrong!

each time you remove the battery while phone is ON Nokia kills a kitten
__________________
The quieter you become the more you are able to hear


"I'm a N900 user, can I haz Flash 10 plz?!11!?" © Jaffa


Elopocalypse started on 11.02.2011
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#27
Maemo5 doesn't run fsck on ext3 filesystems.

It's not a very good idea in many circumstances involving flash memory.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#28
Originally Posted by shadowjk View Post
Maemo5 doesn't run fsck on ext3 filesystems.

It's not a very good idea in many circumstances involving flash memory.
I think - I THINK; do not assume I'm right - there's something in the scripts that run at boot that runs fsck if some conditions are met. I'm too newb to know what each bit of most of those scripts actually means though, and I don't even remember them clearly as the last time I looked was a long time ago - so don't trust me in that regard.

Meanwhile, though, I want to point out that as far as I know, Maemo, if it does fsck opt, does so very rarely. However, there is an option in the power kernel to enable either always or "when-necessary" fsck-ing. I doubt the power-kernel would have come with its own options to do the same thing if the default behavior, whatever it was, wasn't deemed insufficient.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:56.