Reply
Thread Tools Search this Thread
Posts: 44 | Thanked: 8 times | Joined on May 2011 @ Mumbai
#111
Originally Posted by michaaa62 View Post
Try to remove the backports-modules package, then retry to update the kernel.
It did work.
 
Posts: 16 | Thanked: 0 times | Joined on Jul 2012
#112
What am I doing wrong?
I'm trying to load the injection drivers but it dosen't work!

Code:
sudo gainroot

cd /home/user/MyDocs/
sh ./packet-injection.sh or sh packet-injection.sh
and its giving me error that My kernel version does not support injection
Or sometimes its just go one line down and dosen't write nothing.
 
Posts: 63 | Thanked: 26 times | Joined on Oct 2011
#113
Today I had Kernel Crash. After it it rejected trying to power up. Wise by previous experience I removed the battery (and put in after 30 seconds) at it booted properly at first time after reset. After booting it showed info about kernel crash (blah blah not properly blah blah custom settings reseted) and message looking like "batterry almost empty". So I checked it by bnf and it was at 33% (nokian batterry meter showed small red stripe) and restored my custom settings ("kernel-config load MAJC89" and "kernel-config default" from root console). Then I restored my date and time over internet by some "ntpd -s". Used it a much for 30 minutes without a problem and it shutdowned itself again (but now because of real batterry discharge). I'm now recharging and boot was clean (booted properly at first time, no settings-reset message, and guess what - it didn't bugged boot up, despite charger beeing present and connected - no wallcharger bug this time at first boot trial). I'll check if any charging bug will occur or if my N900 piece is cured for at least a day (all the kernel-power power-maintenance bugs seems to have some trigger without which, they don't seem to occur at all).

PS: I noticed that during my kernel crash I had mediabox (which is audio/video player) running and playing and headphones on my head. It were playing with stutterring for 3 seconds after screen went off. It may be related because mediabox during switching tracks with shuffle (which lasts between 50ms to 750ms) seems to be on 100% processor which triggers my overclocking settings temporary for the fragment of second to 900 mhz (and after it returns safely to 500 mhz which is my minimum in my kernel-config profile - I checked it with freq-watch.sh which i noted from the quote when I wanted to know why "kernel-config show" show the 900mhz and then it was obvious that kernel-power-config fails to measure the current frequency because it use too much processor resources, so I found the script very helpful for the task that "kernel-config show" fails to do). I remind that I previously late time ago (when latest VDD2 patch came in) I tested it can stand 900mhz for 15 minutes without single problem, so kp51 was partially the reason (either my kernel-config profile is valid or beacame invalid after update to kp51 and my profile didn't changed since then).
 
Posts: 645 | Thanked: 161 times | Joined on Feb 2012 @ Goa
#114
 
Posts: 328 | Thanked: 372 times | Joined on Dec 2010
#115
Originally Posted by seanmcken View Post
http://www.debian-administration.org..._in_14_seconds

we can do this on n900?
kernel is already optimized for device, it doesn't have to run anywhere else so all required functionality should be built in. wifi drivers aren't because of need to swap with injection drivers.

if your looking for fast booting, your best bet would be to replace the current init system with systemd or maybe upstart. however, with systemd, this would involve reworking all the current init scripts to become .service files to make the most of it.

question is, is it really worth it? device has long battery life compared to laptop. its usually not (re)booted very often as it needs to be always on.

edit: appaerently already uses upstart.

Last edited by Android_808; 08-12-2012 at 06:49 AM.
 

The Following User Says Thank You to Android_808 For This Useful Post:
Posts: 645 | Thanked: 161 times | Joined on Feb 2012 @ Goa
#116
@Android_808
i just meant that the phone should boot between 7 to 8 seconds. thats it
 
Posts: 2,221 | Thanked: 8,481 times | Joined on Mar 2010 @ Sofia,Bulgaria
#117
@majaczek-how did you judge you had a kernel crash? It could be that I miss something, but I fail to see your crash backtrace (/dev/mtd2). Could it be that your battery no longer holds the charge and the device has shut down? Also you use some custom OC profile-care to share it?
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 328 | Thanked: 372 times | Joined on Dec 2010
#118
Originally Posted by seanmcken View Post
@Android_808
i just meant that the phone should boot between 7 to 8 seconds. thats it
might be limited due to i/o speeds or upstart version lacking some optimization. if an initrd is used it tends to slow it down a bit. can't tell at the moment, rather worryingly /boot appears to be empty, despite kp and k listing files installed there.

my eee 1000 with standard ssd's and a 2gb ram upgrade will easily go from grub to lightdm login screen in 4.8s according to systemd's analyize app. with a slower processor, less ram and probably slower flash memory, i imagine n900 with tuning will still be more than 8.

if it's something your interested in looking into, start another thread as it's a bit off topic here.
 
JadeH's Avatar
Posts: 157 | Thanked: 61 times | Joined on Mar 2011 @ Canada
#119
n900's flash memory and microsd cards are a lot slower i/o-wise than SSDs, and so are the rest of the specs
 
Posts: 63 | Thanked: 26 times | Joined on Oct 2011
#120
sorry maybe it's prejudgation but i got first time from ages the message about ressetting defaults by kernel-config because of some problem. It doesn't happen while low-batterry shutdown nor while the batterry is removed when the device is supposed to be off. So I quick judged it was problem with kernel crash. It could be hardware error either - I couldn't judge without properly reading logs. While the "emergency shutdown" due to some problem - were it real problem or kernel imagined one from wrong readings of availible sensor and HW-traces - the batterry was on too high level to shutdown due it beeing too low. Just remove the batterry put in and boot and it worked for 30 minutes to discharge. When it gently shutdowned due too drastically low charge i put the charger and it was behaving most gently since update to kp50 so some bad device state was reset so the bugs doesn't happen yet. I had problems with nokian batterry meter for long time but it worsened at kp51 update. After Device HW state reset problem is cured until now. BNF seems to measure batterry properly while QT batterry widget which uses most of nokian metter mechanics was able to show my batterry is at 5mah while in reality it were 33% or something less. The thing that worries me most since mild overheats (44c to 55c spikes on batterry) are mostly gone that bnf showed in it's popups that batterry data were recalibrated at least 3 times while I didn't recalibrated it in on purporse. I would exactly know how to collect log from file anywhere in mounted filesystem but I don't know how to collect it from /dev/mtd2 which is device - is it that cat command is enough and how much would it weight in kilobytes? Maybe some help or a link to an howto? I'm in hospital without wifi but my phone have already bought a few hundreds of megabytes of transfer. Let talk more later.
 
Reply

Tags
bq2415x_charger, bq27200, kernel-power

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 09:41 PM.