Re: What was installed? (was: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv))

2009-12-02 Thread u7l11ey
Thanks Derek, that was exactly what I was looking for! And the Perl script saved me a lot of work, that made my day! > The file you want is /var/lib/dpkg/status (or failing that status-old > which is the previous version). > > It's a text file divided into sections by blank lines. Each section sho

Re: What was installed? (was: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv))

2009-12-01 Thread Derek Dongray
The file you want is /var/lib/dpkg/status (or failing that status-old which is the previous version). It's a text file divided into sections by blank lines. Each section should start with a 'Package:' line naming the package and then shold contain a 'Status:' line like 'Status: install ok installe

What was installed? (was: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv))

2009-12-01 Thread u7l11ey
Hello, it turned out that the segfaults that where happening with certain filesystem commands on my NSLU2 were most likely caused by a faulty USB flash stick after all. More and more errors started happening, so I finally couldn't deny that possibility any longer. Some parts of the filesystem on

Re: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv)

2009-11-18 Thread u7l11ey
Rick, yes, the system is on a USB flash stick, but I don't really believe that a faulty memory cell would cause such symptoms. Should be easy enough to test, though. I'll just copy the three binaries that fail to another location and then rename after deleting the originals, that should make sure

Re: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv)

2009-11-17 Thread Rick Thomas
On Nov 17, 2009, at 4:02 PM, u7l1...@mail.lrz-muenchen.de wrote: Right now, when I logged on the "ls" command segfaulted. I then used "apt-get" to install the newest lenny updates (nothing kernel or fileutil related), and suddenly "ls" worked again! Regards, Richard Hi Richard, Is the

Re: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv)

2009-11-17 Thread u7l11ey
Hi Martin, thanks for responding. In the meantime, I found out that the problem strangely "fixes itself" and then reoccurs, without any traces in the log files. I meanwhile found a workaround, replacing "mv" with "cat" and redirects in the script that monitors and visualizes my solar heating syste

Re: NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv)

2009-11-17 Thread Martin Michlmayr
* u7l1...@mail.lrz-muenchen.de [2009-11-11 23:17]: > This happens at irregular intervals. Sometimes everything is fine for > days, then it already happens during the boot sequence, as I can see from > entries in the boot logfile. When these errors start occuring, only a > reboot helps. > > Any i

NSLU2 with lenny armel: segfaults with filesystem commands (ls, cp, mv)

2009-11-11 Thread u7l11ey
Hi, since the last kernel update on my NSLU2 running lenny armel (2.6.26-2-ixp4xx #1 Thu Nov 5 05:37:51 UTC 2009 armv5tel GNU/Linux), I regularly experience problems using simple filesystem commands: ls, cp and mv (and maybe others, haven't tried) suddenly stop working and segfault everytime they