OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Symliniks Disappearing?, Maybe a physical memory problem?
HeavyWeaponDude
post Mar 14 2006, 09:21 AM
Post #1





Group: Members
Posts: 37
Joined: 29-June 05
Member No.: 7,484



I am lately experiencing an odd problem.

For some undetermined reasons, symlinks tend to disappear randomly from my /usr/lib/ directory. Always the same ones, I am using hentges ROM, and when it happens always the same apps don't work anymore: opiemail, qpdf, konqueror, xmms, several games and some other apps. I've tried to launch the non-working apps from the console, they point to missing libraries (some of them being on /media/card/usr/lib and some on /usr/lib, but with different names). If I re-link the libs manually, things got back to working.

This problem has occoured me four times in the last week, even if I don't do nothing. One time I just suspended the Z, and when I powered it back again, the symlinks were puff. It's strange also because everything was working fine lately, then this problem shows up, and even after several re-flashing it does come back (usually before I am able to finish my installation and setup all my hardware and favorite apps).

Using ipkg-link mount /media/card does not help: the broken link are repaired, but the working one are messed up (and xmms got especially messed).
Manual linking does work pretty well, except that is time consuming and I am unable to get opiemail back to work. It just says: : QuickLauncher invoked as: opiemail

Since this same problem is coming every time but completly at random I am starting to think about a flash memory physical problem. May that be the issue? How to check it out? I know about the existence of service menus, but don't know how to call them on the SL-5500. I also know they may be dangerous. Any suggestion about this?
Or am I moving completly to the wrong direction?

Thanks for any help!
Go to the top of the page
 
+Quote Post
Storm
post Mar 14 2006, 09:34 AM
Post #2





Group: Members
Posts: 156
Joined: 29-March 05
From: Virginia
Member No.: 6,736



QUOTE(HeavyWeaponDude @ Mar 14 2006, 01:21 PM)
I am lately experiencing an odd problem.

For some undetermined reasons, symlinks tend to disappear randomly from my /usr/lib/ directory. Always the same ones, I am using hentges ROM, and when it happens always the same apps don't work anymore: opiemail, qpdf, konqueror, xmms, several games and some other apps. I've tried to launch the non-working apps from the console, they point to missing libraries (some of them being on /media/card/usr/lib and some on /usr/lib, but with different names). If I re-link the libs manually, things got back to working.

This problem has occoured me four times in the last week, even if I don't do nothing. One time I just suspended the Z, and when I powered it back again, the symlinks were puff. It's strange also because everything was working fine lately, then this problem shows up, and even after several re-flashing it does come back (usually before I am able to finish my installation and setup all my hardware and favorite apps).

Since this same problem is coming every time but completly at random I am starting to think about a flash memory physical problem. May that be the issue? How to check it out? I know about the existence of service menus, but don't know how to call them on the SL-5500. I also know they may be dangerous. Any suggestion about this?
Or am I moving completly to the wrong direction?

Thanks for any help!
*


I don't know that it is a hardware problem, but I have seen something similar, in that my settings for usbd0 are getting reset at random intervals. Since I have not set up a dhcp server on my laptop to assign it an address, I manually set it in the Network app. Several times now, I have seen it reset itself from the manual settings (which included automatically bring up and the network settings) to automatically bring up unchecked and dhcp checked. I have only noticed this phenomenon since upgrading to the latest Hentges (based on OZ 3.5.4rc and Opie 1.2.1).

I was going to post about this yesterday, but ran out of time.

--Storm
Go to the top of the page
 
+Quote Post
Mickeyl
post Mar 14 2006, 10:39 AM
Post #3





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



Something to consider: We run ldconfig on every startup. When ldconfig encounters symlinks pointing to non-existing locations (i.e. media which aren't mounted yet), they'll get removed.

To fix this, ldconfig should be run after mount -a.
Go to the top of the page
 
+Quote Post
arniel
post Mar 15 2006, 01:50 AM
Post #4





Group: Members
Posts: 103
Joined: 2-February 04
From: UK
Member No.: 1,563



I've had a similar problem recently, first noticed it when xmms stopped loading.
Also, I could only get mplayer running in a terminal window if the current directory was /media/card/usr/lib. Had to reinstall cardf to get it running, as I'm not knowledgable enough to ling the libraries to the right locations. It looked like the whole /media/card/usr/lib directory had not been linked correctly. How can I check this in future?

Arnie
Go to the top of the page
 
+Quote Post
HeavyWeaponDude
post Mar 15 2006, 06:22 AM
Post #5





Group: Members
Posts: 37
Joined: 29-June 05
Member No.: 7,484



Thank you Mickeyl, you definetly pointed the right direction smile.gif
A simple:
ldconfig /media/card/usr/lib
fixes all the problems.

Even better, adding the following line:
/media/card/usr/lib
to the file /etc/ld.so.conf assures the libraries are linked at each boot properly.

The only thing I am wondering about is why sometimes during the boot process the SD was not recognized properly, and then created this issue.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th September 2014 - 09:39 PM