maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   ANNOUNCE: Diablo-Turbo first beta available (https://talk.maemo.org/showthread.php?t=69740)

maacruz 2011-03-07 12:55

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Quote:

Originally Posted by jmart (Post 961200)
In xterm when i type 'free' should i see my swap memory? I set my memory to use in the ramzez GUI to 25%, after installing DT, but I see 0 in xterm when I type 'free'.

Yes, you should see it. "cat /proc/swaps" should show all your swap devices and you should see /dev/ramzswap0 there, "ls /dev/ramz*" should show the ramzswap device entry, and "cat /proc/ramzswap" the usage stats.
If it is not there, try restarting it from xterm as root ("/etc/init.d/ramzswap restart")

Straycat 2011-03-07 12:57

Re: ANNOUNCE: Diablo-Turbo first beta available
 
I have gotten same "screen won't blank" thing a few days ago.

In my case I suspect about high load scenario. The device freezes and I reboot it. Then it happened.

Restarting once won't solve it. Nor restarting twice. Restarting third time do the trick.

Sorry for bad english.

maacruz 2011-03-07 13:07

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Quote:

Originally Posted by lma (Post 960408)
Or just do the truncation with stuff present in the base install like perl:

Code:

open(Z, "+</usr/share/Diablo-Turbo/backup/zImage-backup") &&
sysseek(Z, 0x2C, 0) &&
sysread(Z, $l, 4) &&
truncate(Z, unpack("L", $l)) &&
close(Z);

(season with appopriate error handling to taste).

I do not do perl, too arcane for me to learn, but I'll happyly use your code snippet.
While you're at it, why don't you add the equivalent of "if filesize(Z)<$l: exit(1)" before truncate?

skatebiker 2011-03-08 09:08

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Looks good, I'll try.

But a few questions:

uninstalling can just be done by
Code:

dpkg -r *.deb
?

in the folder where the debs exist.

And does the sysvinit fix the spontaneous reboot issue ?

wnd 2011-03-08 09:54

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Quote:

Originally Posted by skatebiker (Post 963013)
uninstalling

When uninstalling, dpkg takes package names, not filesnames. Also, it's better to use apt-get when possible as unlik dpkg, it also takes care of package dependencies. If you want to remove just the kernel, use the following. This command will automatically uninstall ramzswap-dt (and probably dt-init-scripts).

Code:

apt-get remove kernel-dt-sd
Uninstalling the other packages -- or actually reverting to old versions -- isn't trivial but certainly doable. However, it's not neccessarily recommended. :-)

skatebiker 2011-03-08 11:34

Re: ANNOUNCE: Diablo-Turbo first beta available
 
No, when all goes right I do not want to revert.
I just ask it in case it goes wrong. My N810 works fine except the spontaneous reboots sometimes more than once a day. And as bonus it is faster.

I'll try.

jmart 2011-03-08 16:57

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Quote:

Originally Posted by maacruz (Post 962449)
Yes, you should see it. "cat /proc/swaps" should show all your swap devices and you should see /dev/ramzswap0 there, "ls /dev/ramz*" should show the ramzswap device entry, and "cat /proc/ramzswap" the usage stats.
If it is not there, try restarting it from xterm as root ("/etc/init.d/ramzswap restart")

restarting from xterm as root worked, when I typed free I then saw my swap memory. However, after restarting my N810 I am back to 0 swap memory until I restart ramzswap in xterm again. Any ideas? Thanks again!

skatebiker 2011-03-08 20:06

Re: ANNOUNCE: Diablo-Turbo first beta available
 
The installing worked flawlessly. But running uname -r returns 2.6.21 is that OK ?
I see further no differences and the reboot issue is NOT resolved: two hours after the update the device rebooted spontaneously (Tear browser was running).

Did I something wrong ?

UPDATE: After half an hour it rebooted AGAIN, while Tear browsers was running.
Is this a problem in the tear browser ?

UPDATE2: After another 30 minutes (starting Firefox / Fennec , surfing a bit and closed it) it rebooted again (3rd time) !

So this patch does not help at all.

maacruz 2011-03-08 23:52

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Quote:

Originally Posted by jmart (Post 963299)
restarting from xterm as root worked, when I typed free I then saw my swap memory. However, after restarting my N810 I am back to 0 swap memory until I restart ramzswap in xterm again. Any ideas? Thanks again!

Check that the /etc/rc2.d/S??ramzswap link is there.

maacruz 2011-03-08 23:56

Re: ANNOUNCE: Diablo-Turbo first beta available
 
Quote:

Originally Posted by skatebiker (Post 963433)
The installing worked flawlessly. But running uname -r returns 2.6.21 is that OK ?

Yes
Quote:

I see further no differences and the reboot issue is NOT resolved: two hours after the update the device rebooted spontaneously (Tear browser was running).

Did I something wrong ?

UPDATE: After half an hour it rebooted AGAIN, while Tear browsers was running.
Is this a problem in the tear browser ?

UPDATE2: After another 30 minutes (starting Firefox / Fennec , surfing a bit and closed it) it rebooted again (3rd time) !

So this patch does not help at all.
No, this patch doesn't solve issues with faulty hardware or old batteries, I never promised such a thing.


All times are GMT. The time now is 04:14.

vBulletin® Version 3.8.8