maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   seat belt prevents crashes (https://talk.maemo.org/showthread.php?t=10317)

Ray 2007-11-11 00:19

Re: seat belt prevents crashes
 
As a normal user, how can I check whether the proposd fix/patch is active and working?

Thanks

Ray

Frank Banul 2007-11-11 01:50

Re: seat belt prevents crashes
 
You can tell if the patched driver is installed by running /sbin/lsmod

The size of the original cx3110x driver is 51420.
The size of the patched cx3110x driver is 51580.

Frank

Ray 2007-11-11 13:48

Re: seat belt prevents crashes
 
Quote:

Originally Posted by Frank Banul (Post 93007)
[..]
If you want to make this permanent, you can create a script to do this on boot.

/etc/init.d/wlan-fix contains
#! /bin/sh
#

if [ -x /usr/local/bin/cx3110x-on-stack.ko ]
then
rmmod cx3110x
insmod /usr/local/bin/cx3110x-on-stack.ko
chroot /mnt/initfs wlan-cal
fi



Then create a link in /etc/rc2.d/S80wlanfix to /etc/init.d/wlan-fix

In /etc/rc2.d/ ln -s S80wlanfix ../init.d/wlan-fix

Hope this helps.

Frank

When trying to create the link, the terminal responds with a 'File exists' error message.
For this as root I went to /etc/rc2.d , then entered 'ln - s S80wlanfix ../init.d/wlan-fix' .

The result: No link will be created.

The script wlan-fix itself, which I created in /etc/init.d/ , works fine when called manually on the cmd line.

What went wrong?


Thanks

Ray

fanoush 2007-11-11 14:20

Re: seat belt prevents crashes
 
the 'ln' line is wrong, swap arguments, it is 'ln -s original newlink'

also it is better to use -f in the test, -x is true only if the file has x bit set which may not be true for kernel module file (depends on how you downloaded/copied it to the device)

Ray 2007-11-11 16:49

Re: seat belt prevents crashes
 
Quote:

Originally Posted by fanoush (Post 93256)
the 'ln' line is wrong, swap arguments, it is 'ln -s original newlink'

also it is better to use -f in the test, -x is true only if the file has x bit set which may not be true for kernel module file (depends on how you downloaded/copied it to the device)

Thanks for the hint.
I swapped arguments, and the link file was created.
To be sure, I also replaced the -x with a -f in the script.

This time the script was executed at startup,
or more exactly, the patched driver was loaded:-)

Now let's hope the browser won't crash anymore;-)


Many thanks to all people involved in solving this annoying problem.

Regards

Raymond

Ron G 2007-11-11 20:32

Re: seat belt prevents crashes
 
I also noticed that video playback is choppier with seat belt (swappiness=100) than without it (swappiness=1).

Is there a WLAN driver bug thread on itt? I searched but didn't find one. Is this WLAN driver patch still preliminary? Should I wait for an official bug fix announcement before installing the WLAN driver patch?

Thanks,
Ron G

fanoush 2007-11-11 21:27

Re: seat belt prevents crashes
 
Quote:

Originally Posted by Ron G (Post 93338)
Is there a WLAN driver bug thread on itt? I searched but didn't find one.

Not yet.
Quote:

Originally Posted by Ron G (Post 93338)
Is this WLAN driver patch still preliminary?

Yes it the sense that easy to install deb package is currently missing and that there are still a few additional things worth of fixing. But even the current fix should stop the random memory corruption from occurring. Those additional things are more about making it more failproof in various corner cases (which may or may not occur in reality) and later possibly also about improving data transfer speed and error recovery.
Quote:

Originally Posted by Ron G (Post 93338)
Should I wait for an official bug fix announcement before installing the WLAN driver patch?

Official from Nokia? Well, that could take a while :-) We'll see.

Semi-official from community? Well if you can install it with the information in this thread and in the bug report then go ahead. If not then wait few days for easy to install deb package doing similar fix as mentioned in this thread.

Gomez 2008-08-06 07:56

Re: seat belt prevents crashes
 
If I'll install seatbelt_1.0.0_all.deb, need I re-install it after reboot or pofer off?

briand 2008-08-06 11:57

Re: seat belt prevents crashes
 
holy time warp, batman!


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

vBulletin® Version 3.8.8