Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

nslu2-linux · NSLU2-Linux (http://www.nslu2-linux.org)

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 9474
  • Category: Hardware
  • Founded: Jul 31, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 24990 - 25019 of 25151   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#24990 From: "Roman" <roman@...>
Date: Fri Feb 3, 2012 11:26 pm
Subject: NSLU2 for sale
roman_gar
Send Email Send Email
 
Hello,

I have spare NSLU2 that I would like to sell, it runs Unslung
V2.3R63-uNSLUng-6.10-beta and will come with an adapter and USB key.
It is de-under-clocked so it runs at 266Mhz.
I am in Canada.

Asking $40, plus shipping (what ever Canada Post will charge).

Please let me know if you are interested.

Thanks
Roman

#24991 From: "redgshost" <redgshost@...>
Date: Sun Feb 12, 2012 1:19 am
Subject: Sendmail configuration
redgshost
Send Email Send Email
 
I really hope someone can help me out here.

I am a complete newbie to sendmail but in order to relay mail to my isp's
outgoing smtp server i need to modify some of the configuration however the
sendmail.cf file says not to modify that file but rather the sendmail.mc file
and then use m4 on that. I have found several guides to help me do what I need
to do but I cannot find sendmail.mc on my unslung nslu2. Does anyone know where
this file is found or if there is something else I need to do?

Thanks for all your help.

Red

#24992 From: Adam Baker <slug@...>
Date: Mon Feb 20, 2012 10:08 pm
Subject: Re: Minidlna (or other DLNA server) on the Slug
aab123uk
Send Email Send Email
 
Walter <contact@...> writes:

>
> Well, can't hurt to try I guess. Since Minidlna isn't working for my Samsung
TV. Is there a specific guide you used?
>

I was running fuppes on a slug for years however I found that for my quite large
mp3 collection it struggles for memory. I'm now running it on an Iomega iConnect
which works somewhat better. It isn't that well set up to run as a background
process but I've hacked together an init script that I use to run it. I haven't
modified the setup in years so I am running svn version 675 built with

./configure --prefix=/usr/local --sysconfdir=/etc



#!/bin/sh

### BEGIN INIT INFO
# Provides:          fuppes
# Required-Start:    $local_fs $remote_fs $network $time avahi
# Required-Stop:     $local_fs $remote_fs $network $time
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Multithreaded DAAP music server
# Description:       mt-daapd, a.k.a. Firefly Media Server, is what
#                    most people will understand to be an iTunes share
#                    server. It uses the DAAP protocol, as iTunes does,
#                    and supports streaming MP3 and AAC natively. It can
#                    make use of a number of conversion methods to expose
#                    Ogg and FLAC files too.
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/bin/fuppes
NAME=fuppes
DESC=fuppes

test -x $DAEMON || exit 0

# Include fuppes defaults if available
if [ -f /etc/default/fuppes ] ; then
         . /etc/default/fuppes
fi

set -e

stopd() {
         echo -n "Stopping $DESC: "
         start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
             --exec $DAEMON --signal 9 --oknodo
         echo "$NAME."
         counter=0
         seen=0
         while pidof fuppes >/dev/null && [ $counter -lt 15 ]; do
                 if [ $seen -eq 0 ]; then
                         echo -n "Waiting for fuppes to terminate..."
                         seen=1
                 fi

                 counter=$(($counter + 1))
                 echo -n "."
                 sleep 1
         done
         echo "OK, all clear."
}

startd() {
         echo -n "Starting $DESC: "
         export HOME=/etc
         start-stop-daemon --start --quiet -m --pidfile /var/run/$NAME.pid \
                 --oknodo --chuid nobody --background --exec $DAEMON --
$DAEMON_OPTS 1>/dev/null 2>/dev/null
         echo "$NAME."
}

case "$1" in
   start)
         startd
         ;;
   stop)
         stopd
         ;;
   restart|force-reload)
         stopd
         startd
         ;;
   *)
         N=/etc/init.d/$NAME
         echo "Usage: $N {start|stop|restart|force-reload}" >&2
         exit 1
         ;;
esac

exit 0

#24993 From: "mick_nslu2" <mick_nslu2@...>
Date: Wed Feb 22, 2012 7:43 pm
Subject: nginx borked after pcre upgrade on unslung
mick_nslu2
Send Email Send Email
 
I've upgraded pcre over the weekend and just noticed that nginx won't run. 
Trying to start it I get:

Starting web server: nginx
/opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open
shared object file: No such file or directory


I've reinstalled nginx in the hope of rebuilding any dependencies but the error
remains.  :-(

Should I be creating some symlink by hand, or is this a bug?


# ls -la /opt/lib/libpcre*
lrwxrwxrwx    1 root     root           16 Feb 22 07:11 /opt/lib/libpcre.so ->
libpcre.so.1.0.0
lrwxrwxrwx    1 root     root           16 Feb 22 07:11 /opt/lib/libpcre.so.1 ->
libpcre.so.1.0.0
-rwxr-xr-x    1 root     root       136156 Feb 21 22:55
/opt/lib/libpcre.so.1.0.0
lrwxrwxrwx    1 root     root           19 Feb 22 07:11 /opt/lib/libpcrecpp.so
-> libpcrecpp.so.0.0.0
lrwxrwxrwx    1 root     root           19 Feb 22 07:11 /opt/lib/libpcrecpp.so.0
-> libpcrecpp.so.0.0.0
-rwxr-xr-x    1 root     root        32576 Feb 21 22:55
/opt/lib/libpcrecpp.so.0.0.0
lrwxrwxrwx    1 root     root           21 Feb 22 07:11 /opt/lib/libpcreposix.so
-> libpcreposix.so.0.0.0
lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
-rwxr-xr-x    1 root     root         5760 Feb 21 22:55
/opt/lib/libpcreposix.so.0.0.0


# cat /.unslung
V2.3R63-uNSLUng-6.10-beta

--
Regards,
Mick

#24994 From: Mick K <mick_nslu2@...>
Date: Wed Feb 22, 2012 7:44 pm
Subject: Re: Sendmail configuration
mick_nslu2
Send Email Send Email
 
I don't have sendmail running here to check, but have you looked under /opt/etc/
?
--
Regards,
Mick

#24995 From: "mick_nslu2" <mick_nslu2@...>
Date: Wed Feb 22, 2012 10:09 pm
Subject: Re: nginx borked after pcre upgrade on unslung
mick_nslu2
Send Email Send Email
 
--- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@...> wrote:
>
> I've upgraded pcre over the weekend and just noticed that nginx won't run. 
Trying to start it I get:
>
> Starting web server: nginx
> /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
>
>
> I've reinstalled nginx in the hope of rebuilding any dependencies but the
error remains.  :-(
>
> Should I be creating some symlink by hand, or is this a bug?
>
>
> # ls -la /opt/lib/libpcre*
> lrwxrwxrwx    1 root     root           16 Feb 22 07:11 /opt/lib/libpcre.so ->
libpcre.so.1.0.0
> lrwxrwxrwx    1 root     root           16 Feb 22 07:11 /opt/lib/libpcre.so.1
-> libpcre.so.1.0.0
> -rwxr-xr-x    1 root     root       136156 Feb 21 22:55
/opt/lib/libpcre.so.1.0.0
> lrwxrwxrwx    1 root     root           19 Feb 22 07:11 /opt/lib/libpcrecpp.so
-> libpcrecpp.so.0.0.0
> lrwxrwxrwx    1 root     root           19 Feb 22 07:11
/opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
> -rwxr-xr-x    1 root     root        32576 Feb 21 22:55
/opt/lib/libpcrecpp.so.0.0.0
> lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
> lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
> -rwxr-xr-x    1 root     root         5760 Feb 21 22:55
/opt/lib/libpcreposix.so.0.0.0
>
>
> # cat /.unslung
> V2.3R63-uNSLUng-6.10-beta


I forgot to mention, this is the pcre version that I upgraded to:

# ipkg info pcre
Package: pcre
Version: 8.30-1
Depends: libstdc++
Status: deinstall user installed
Section: util
Architecture: armeb
Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
MD5Sum: c510a96445b0dcdc6ae1d0bc0c9f6088
Size: 233733
Filename: pcre_8.30-1_armeb.ipk
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2
Description: Perl-compatible regular expression library
Installed-Size: 933456

--
Regards,
Mick

#24996 From: Brent Gordon <nslu2@...>
Date: Fri Feb 24, 2012 8:21 pm
Subject: Unable to build cross-compile toolchain
fledermaus15
Send Email Send Email
 
I am trying to build the cross-compile toolchain for the NSLU2 without
success.  I am following the instructions at
http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware and the
process breaks at the "make toolchain" step with the following errors:

<snip 57,000+ lines of output>
In file included from version.c:32:
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:1:1:
missing terminating " character
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:2:1:
missing terminating " character
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:3:1:
missing terminating " character
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:4:1:
missing terminating " character
make[3]: ***
[/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/build-glibc/csu/version.o]
Error 1
make[3]: Leaving directory
`/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/glibc-2.2.5/csu'
make[2]: *** [csu/subdir_lib] Error 2
make[2]: Leaving directory
`/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/glibc-2.2.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/build-glibc'
make: *** [/home/slug/optware/nslu2/toolchain/crosstool/.built] Error 2

    $ cat version-info.h

"Compiled on a Linux >>2.6.24-30-generic<< system on 2012-02-24.
"
"Available extensions:
"
"    GNU libio by Per Bothner\n"
"    crypt add-on version 2.1 by Michael Glad and others\n"
"    linuxthreads-0.9 by Xavier Leroy\n"
"    BIND-8.2.3-T5B\n"
"    libthread_db work sponsored by Alpha Processor Inc\n"
"    NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk\n"


Notice that the closing quotes for lines 1 and 3 appear on lines 2 and
4, respectively.

Here are the details on my system:
    $ uname -a
Linux ubuntu-vm 2.6.24-30-generic #1 SMP Mon Jan 2 19:48:58 UTC 2012
i686 GNU/Linux

    $ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
i486-linux-gnu
Thread model: posix
gcc version 3.3.6 (Ubuntu 1:3.3.6-15ubuntu6)

    $ svnversion
12706

How do I fix this?  When it comes to Linux programming I am neither a
noob nor a guru.  I've tried editing the version-info.h file, but make
deletes the directory when starting.
Brent

#24997 From: "Brian" <b88zhou@...>
Date: Fri Feb 24, 2012 9:38 pm
Subject: Re: Unable to build cross-compile toolchain
brian_zhou
Send Email Send Email
 
See
http://sourceware.org/ml/crossgcc/2007-09/msg00005.html
and the patch at http://www.svalli.com/armccnotes.html

This might have something to do with the version of echo being used. In the case
of shell builtin echo, wher /bin/sh links to.

Hope this helps,

-Brian

--- In nslu2-linux@yahoogroups.com, Brent Gordon <nslu2@...> wrote:
>
> I am trying to build the cross-compile toolchain for the NSLU2 without
> success.  I am following the instructions at
> http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware and the
> process breaks at the "make toolchain" step with the following errors:
>
> <snip 57,000+ lines of output>
> In file included from version.c:32:
>
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:1:1:
> missing terminating " character
>
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:2:1:
> missing terminating " character
>
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:3:1:
> missing terminating " character
>
/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.\
3.5-glibc-2.2.5/build-glibc/csu/version-info.h:4:1:
> missing terminating " character
> make[3]: ***
>
[/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/build-glibc/csu/version.o]
> Error 1
> make[3]: Leaving directory
>
`/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/glibc-2.2.5/csu'
> make[2]: *** [csu/subdir_lib] Error 2
> make[2]: Leaving directory
>
`/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/glibc-2.2.5'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
>
`/home/slug/optware/nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3\
.3.5-glibc-2.2.5/build-glibc'
> make: *** [/home/slug/optware/nslu2/toolchain/crosstool/.built] Error 2
>
>    $ cat version-info.h
>
> "Compiled on a Linux >>2.6.24-30-generic<< system on 2012-02-24.
> "
> "Available extensions:
> "
> "    GNU libio by Per Bothner\n"
> "    crypt add-on version 2.1 by Michael Glad and others\n"
> "    linuxthreads-0.9 by Xavier Leroy\n"
> "    BIND-8.2.3-T5B\n"
> "    libthread_db work sponsored by Alpha Processor Inc\n"
> "    NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk\n"
>
>
> Notice that the closing quotes for lines 1 and 3 appear on lines 2 and
> 4, respectively.
>
> Here are the details on my system:
>    $ uname -a
> Linux ubuntu-vm 2.6.24-30-generic #1 SMP Mon Jan 2 19:48:58 UTC 2012
> i686 GNU/Linux
>
>    $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs
> Configured with: ../src/configure -v --enable-languages=c,c++
> --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
> --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
> --enable-__cxa_atexit --with-system-zlib --enable-nls
> --without-included-gettext --enable-clocale=gnu --enable-debug
> i486-linux-gnu
> Thread model: posix
> gcc version 3.3.6 (Ubuntu 1:3.3.6-15ubuntu6)
>
>    $ svnversion
> 12706
>
> How do I fix this?  When it comes to Linux programming I am neither a
> noob nor a guru.  I've tried editing the version-info.h file, but make
> deletes the directory when starting.
> Brent
>

#24998 From: "Brian" <b88zhou@...>
Date: Fri Feb 24, 2012 9:38 pm
Subject: Re: nginx borked after pcre upgrade on unslung
brian_zhou
Send Email Send Email
 
Sorry about the breakage.

Should be fixed now.

-Brian

--- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@...> wrote:
>
>
>
>
>
> --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@> wrote:
> >
> > I've upgraded pcre over the weekend and just noticed that nginx won't run. 
Trying to start it I get:
> >
> > Starting web server: nginx
> > /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
> >
> >
> > I've reinstalled nginx in the hope of rebuilding any dependencies but the
error remains.  :-(
> >
> > Should I be creating some symlink by hand, or is this a bug?
> >
> >
> > # ls -la /opt/lib/libpcre*
> > lrwxrwxrwx    1 root     root           16 Feb 22 07:11 /opt/lib/libpcre.so
-> libpcre.so.1.0.0
> > lrwxrwxrwx    1 root     root           16 Feb 22 07:11
/opt/lib/libpcre.so.1 -> libpcre.so.1.0.0
> > -rwxr-xr-x    1 root     root       136156 Feb 21 22:55
/opt/lib/libpcre.so.1.0.0
> > lrwxrwxrwx    1 root     root           19 Feb 22 07:11
/opt/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0
> > lrwxrwxrwx    1 root     root           19 Feb 22 07:11
/opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
> > -rwxr-xr-x    1 root     root        32576 Feb 21 22:55
/opt/lib/libpcrecpp.so.0.0.0
> > lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
> > lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
> > -rwxr-xr-x    1 root     root         5760 Feb 21 22:55
/opt/lib/libpcreposix.so.0.0.0
> >
> >
> > # cat /.unslung
> > V2.3R63-uNSLUng-6.10-beta
>
>
> I forgot to mention, this is the pcre version that I upgraded to:
>
> # ipkg info pcre
> Package: pcre
> Version: 8.30-1
> Depends: libstdc++
> Status: deinstall user installed
> Section: util
> Architecture: armeb
> Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
> MD5Sum: c510a96445b0dcdc6ae1d0bc0c9f6088
> Size: 233733
> Filename: pcre_8.30-1_armeb.ipk
> Source:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2
> Description: Perl-compatible regular expression library
> Installed-Size: 933456
>
> --
> Regards,
> Mick
>

#24999 From: man55@...
Date: Fri Feb 24, 2012 2:33 pm
Subject: /opt/sbin/lighttpd: can't load library 'libpcre.so.0'
man55@...
Send Email Send Email
 
Hello !
---
I try to install lighttpd on my ASUS WL500GPV2.
I do it like I do about two month ago, but now I have an error message:

command:
ipkg install lighttpd

and response:
Starting web server: lighttpd /opt/sbin/lighttpd: can't load library
'libpcre.so.0'

there is no library file 'libpcre.so.0' in package  pcre  now !!!
package pcre seems to be unusable !!!

$ ipkg info lighttpd | grep Depends
Depends: pcre, zlib, libstdc++, openssl, spawn-fcgi
$ ipkg files pcre | grep libpcre
/opt/lib/libpcre.so.1
/opt/lib/libpcreposix.so
/opt/lib/libpcreposix.so.0
/opt/lib/libpcrecpp.so.0.0.0
/opt/lib/libpcreposix.so.0.0.0
/opt/lib/libpcre.so.1.0.0
/opt/lib/libpcre.so
/opt/lib/libpcrecpp.so
/opt/lib/libpcrecpp.so.0

---
Best regards, Andrew !
mailto:man55@...

PS sorry for my English :(

#25000 From: "mick_nslu2" <mick_nslu2@...>
Date: Sat Feb 25, 2012 8:26 am
Subject: Re: nginx borked after pcre upgrade on unslung
mick_nslu2
Send Email Send Email
 
Hi Brian,

All works fine with nginx now.

Thanks!  :-)



--- In nslu2-linux@yahoogroups.com, "Brian" <b88zhou@...> wrote:
>
> Sorry about the breakage.
>
> Should be fixed now.
>
> -Brian
>
> --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@> wrote:
> >
> >
> >
> >
> >
> > --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@> wrote:
> > >
> > > I've upgraded pcre over the weekend and just noticed that nginx won't run.
Trying to start it I get:
> > >
> > > Starting web server: nginx
> > > /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0:
cannot open shared object file: No such file or directory
> > >
> > >
> > > I've reinstalled nginx in the hope of rebuilding any dependencies but the
error remains.  :-(
> > >
> > > Should I be creating some symlink by hand, or is this a bug?
> > >
> > >
> > > # ls -la /opt/lib/libpcre*
> > > lrwxrwxrwx    1 root     root           16 Feb 22 07:11
/opt/lib/libpcre.so -> libpcre.so.1.0.0
> > > lrwxrwxrwx    1 root     root           16 Feb 22 07:11
/opt/lib/libpcre.so.1 -> libpcre.so.1.0.0
> > > -rwxr-xr-x    1 root     root       136156 Feb 21 22:55
/opt/lib/libpcre.so.1.0.0
> > > lrwxrwxrwx    1 root     root           19 Feb 22 07:11
/opt/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0
> > > lrwxrwxrwx    1 root     root           19 Feb 22 07:11
/opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
> > > -rwxr-xr-x    1 root     root        32576 Feb 21 22:55
/opt/lib/libpcrecpp.so.0.0.0
> > > lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
> > > lrwxrwxrwx    1 root     root           21 Feb 22 07:11
/opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
> > > -rwxr-xr-x    1 root     root         5760 Feb 21 22:55
/opt/lib/libpcreposix.so.0.0.0
> > >
> > >
> > > # cat /.unslung
> > > V2.3R63-uNSLUng-6.10-beta
> >
> >
> > I forgot to mention, this is the pcre version that I upgraded to:
> >
> > # ipkg info pcre
> > Package: pcre
> > Version: 8.30-1
> > Depends: libstdc++
> > Status: deinstall user installed
> > Section: util
> > Architecture: armeb
> > Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
> > MD5Sum: c510a96445b0dcdc6ae1d0bc0c9f6088
> > Size: 233733
> > Filename: pcre_8.30-1_armeb.ipk
> > Source:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2
> > Description: Perl-compatible regular expression library
> > Installed-Size: 933456
> >
> > --
> > Regards,
> > Mick
> >
>

#25001 From: Paul Sokolovsky <pmiscml@...>
Date: Sat Feb 25, 2012 7:30 am
Subject: Optware for Android, another try
paul098554
Send Email Send Email
 
Hello,

I've put up another script to bootstrap Optware on an Android device. It
differs from other attempt(s) in following points:

1. It's targeted for all Android devices, not one random in zillions
available.
2. It takes care not to ship random binary blobs without documented
origins, and instead downloads any binaries from Optware or
CodeSourcery proper.

There're more ranty details of what I find wrong with other
implementation(s):
http://pfalcon-oe.blogspot.com/2012/02/nslu-optware-for-android.html
(note the situation is typical and applies to most other free software
hacks for Android).


The bootstrap script, associated documentation and bug tracker are
available via SourceForge project:
https://sourceforge.net/p/optware-android

Everything there is still work in progress, but the script already
installs ready-to use Optware's ipkg on my Nook Tablet.

Hope this will be useful for someone.


--
Best regards,
  Paul                          mailto:pmiscml@...

#25002 From: "tals1975" <tals1975@...>
Date: Mon Feb 27, 2012 5:15 pm
Subject: cuetools 1.3.1 doesn't work for me
tals1975
Send Email Send Email
 
Hi All,

I've faced a strange behavior of cuetools 1.3.1 on my NAS.
All utilities of cuetools package show me always the same message:
run `{CUETOOLS_UTILS} --help' for usage

All other installed optware packages work fine.


Please can anyone give me a piece of advise where the issue could be in?

Thank you in advance!
Sergey

ENV#: / Output
1)
uname -a
Linux WD 2.6.24.4 #1 Thu Apr 1 16:43:58 CST 2010 armv5tejl unknown

2)
strace cueprint test.cue
execve("/opt/bin/cueprint", ["cueprint", "test.cue"], [/* 13 vars */]) = 0
uname({sys="Linux", node="WD", ...})    = 0
brk(0)                                  = 0x1e000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/opt/lib/v5l/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/opt/lib/v5l/fast-mult/half", 0xbe9d0260) = -1 ENOENT (No such file or
directory)
open("/opt/lib/v5l/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/opt/lib/v5l/fast-mult", 0xbe9d0260) = -1 ENOENT (No such file or
directory)
open("/opt/lib/v5l/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/opt/lib/v5l/half", 0xbe9d0260) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5l/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5l", 0xbe9d0260)      = -1 ENOENT (No such file or directory)
open("/opt/lib/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/opt/lib/fast-mult/half", 0xbe9d0260) = -1 ENOENT (No such file or
directory)
open("/opt/lib/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/opt/lib/fast-mult", 0xbe9d0260) = -1 ENOENT (No such file or directory)
open("/opt/lib/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/opt/lib/half", 0xbe9d0260)     = -1 ENOENT (No such file or directory)
open("/opt/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
stat64("/opt/lib", {st_mode=S_IFDIR|0755, st_size=17592186044416, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
mmap2(NULL, 5759, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0d:\1\0004\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=17592186044416, ...}) = 0
mmap2(NULL, 1071092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x4001e000
mmap2(0x4011e000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100) = 0x4011e000
mmap2(0x40122000, 6132, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40122000
close(3)                                = 0
mprotect(0x4011e000, 8192, PROT_READ)   = 0
mprotect(0x4001c000, 4096, PROT_READ)   = 0
munmap(0x40015000, 5759)                = 0
write(2, "run `cueprint --help' for usage\n", 32run `cueprint --help' for usage
) = 32
exit_group(1)                           = ?

#25003 From: Carlos Garces <carlos.garces@...>
Date: Tue Feb 28, 2012 10:36 pm
Subject: Re-Install Debian 5 on my NSLU2.
carlosgarces...
Send Email Send Email
 
Hi!


The Debian installer is no longer supported on the NSLU2, but what happened with the old versions?

I'm looking the installer for Debian 5.Any one have a copy of 5.0.4 or 5.0.9 firmware?

Un saludo
Carlos Garcs

#25004 From: Matti Palmstrm <sjukfan@...>
Date: Wed Feb 29, 2012 2:02 am
Subject: Re: Re-Install Debian 5 on my NSLU2.
sjukfan
Send Email Send Email
 
On 02/28/2012 11:36 PM, Carlos Garces wrote:
> The Debian installer is no longer supported on the NSLU2, but what
> happened with the old versions?
>
> I'm looking the installer for Debian 5.Any one have a copy of 5.0.4 or
> 5.0.9 firmware?

I only had 5.0.4 but I uploaded it here
http://turbobit.net/d99qvna3cq8g.html

/M

#25005 From: Greg Holdren <greghol@...>
Date: Wed Feb 29, 2012 4:38 am
Subject: Re: Re-Install Debian 5 on my NSLU2.
gregholdren
Send Email Send Email
 
On 2/28/2012 2:36 PM, Carlos Garces wrote:
>
>
>
> The Debian installer is no longer supported on the NSLU2, but what
> happened with the old versions?
>
> I'm looking the installer for Debian 5.Any one have a copy of 5.0.4
> or 5.0.9 firmware?
>
> Un saludo
> Carlos Garcs
>

You can use this method to get Debian 6.0 on the NSLU2. Tried and it
works for me.

http://www.cyrius.com/debian/nslu2/unpack.html

Greg

#25006 From: Don Sharp <don.dws@...>
Date: Wed Feb 29, 2012 9:55 am
Subject: Re: Re-Install Debian 5 on my NSLU2.
don.dws@...
Send Email Send Email
 
Hola Carlos

I have nslu2debfirmware_sda2-2.6.26-19, size 8388608 bytes, acquired
Apr 21  2010. Not sure of its version number but, as the name
suggests, it is targeted at linux 2.6.26-19. Attaching the file.

Hasta luego

Don Sharp

1 of 1 File(s)


#25007 From: Brent Gordon <nslu2@...>
Date: Wed Feb 29, 2012 8:19 pm
Subject: Re: Re: Unable to build cross-compile toolchain
fledermaus15
Send Email Send Email
 
I thought I had changed the link for /bin/sh to bash, but it was still set to dash.  Once I fixed that everything worked.

Thanks,
Brent

On 2/24/2012 2:38 PM, Brian wrote:
 

See
http://sourceware.org/ml/crossgcc/2007-09/msg00005.html
and the patch at http://www.svalli.com/armccnotes.html

This might have something to do with the version of echo being used. In the case of shell builtin echo, wher /bin/sh links to.

Hope this helps,

-Brian ~-|**|PrettyHtmlEnd|**|-~ end group email -->


#25008 From: Carlos Garces <carlos.garces@...>
Date: Wed Feb 29, 2012 10:48 pm
Subject: Re: nslu2 dead?
carlosgarces...
Send Email Send Email
 
Hi!

After update to firmware 5.0.4, boot again...
But installer not works.
I select a mirror and the version (stable/testing/unstable) the stable version is 6 (not 5 like the instaler)
But after select the release, the installer fails

Ideas?

Is mandatory use 5.0.9 and not 5.0.4?

On Wed, Feb 29, 2012 at 11:02 PM, Carlos Garces <carlos.garces@...> wrote:
Hi!

My nslu2 was working for a long, long time with Debian 5 without problems but some time ago I use the HDD for other purposes.

Yesterday I try to use again my nslu2 with other HDD, but not works.

Symptoms.

-Only the Ethernet led is on (green) but I can see the nslug connected on my router.
-If I connect one usb hdd, the led still off.

I have put the nslug on update mode and installed the upgrade utility for windows.

-When I connect nslug to my PC I can update the firmware (at least, not raise any error)
-After flash the firmware and prepare the HDD with this guide [1], the situation is the same, only the Ethernet led is on.

Any ideas?


[1]http://www.cyrius.com/debian/nslu2/unpack.html





#25009 From: Carlos Garces <carlos.garces@...>
Date: Wed Feb 29, 2012 10:02 pm
Subject: nslu2 dead?
carlosgarces...
Send Email Send Email
 
Hi!

My nslu2 was working for a long, long time with Debian 5 without problems but some time ago I use the HDD for other purposes.

Yesterday I try to use again my nslu2 with other HDD, but not works.

Symptoms.

-Only the Ethernet led is on (green) but I can see the nslug connected on my router.
-If I connect one usb hdd, the led still off.

I have put the nslug on update mode and installed the upgrade utility for windows.

-When I connect nslug to my PC I can update the firmware (at least, not raise any error)
-After flash the firmware and prepare the HDD with this guide [1], the situation is the same, only the Ethernet led is on.

Any ideas?


[1]http://www.cyrius.com/debian/nslu2/unpack.html




#25010 From: Carlos Garces <carlos.garces@...>
Date: Wed Feb 29, 2012 11:57 pm
Subject: Re: nslu2 dead?
carlosgarces...
Send Email Send Email
 
This is the log.. but I can understand the error...

Jan  1 00:05:19 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/oldstable/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:21 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/lenny/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:22 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/stable/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:24 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/squeeze/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:25 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/testing/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:27 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/wheezy/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:29 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/unstable/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:31 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/sid/Release -O - | grep -E '^(Suite|Codename):'
Jan  1 00:05:33 choose-mirror[2856]: INFO: suite/codename set to: oldstable/lenny
Jan  1 00:05:33 choose-mirror[2856]: DEBUG: command: wget -q http://ftp.us.debian.org/debian//dists/lenny/main/binary-armel/Release -O - | grep ^Architecture:
Jan  1 00:05:34 anna[2813]: WARNING **: bad d-i Packages file
Jan  1 00:05:36 net-retriever: gpgv: WARNING: multiple signatures detected.  Only the first will be checked.
Jan  1 00:05:36 net-retriever: gpgv: 
Jan  1 00:05:36 net-retriever: Signature made Sat Oct  1 13:35:05 2011 UTC using RSA key ID 473041FA
Jan  1 00:05:36 net-retriever: gpgv: 
Jan  1 00:05:36 net-retriever: Can't check signature: public key not found
Jan  1 00:05:36 net-retriever: error: Bad signature on /tmp/net-retriever-2885-Release.
Jan  1 00:05:43 anna[2813]: WARNING **: bad d-i Packages file


On Wed, Feb 29, 2012 at 11:02 PM, Carlos Garces <carlos.garces@...> wrote:
Hi!

My nslu2 was working for a long, long time with Debian 5 without problems but some time ago I use the HDD for other purposes.

Yesterday I try to use again my nslu2 with other HDD, but not works.

Symptoms.

-Only the Ethernet led is on (green) but I can see the nslug connected on my router.
-If I connect one usb hdd, the led still off.

I have put the nslug on update mode and installed the upgrade utility for windows.

-When I connect nslug to my PC I can update the firmware (at least, not raise any error)
-After flash the firmware and prepare the HDD with this guide [1], the situation is the same, only the Ethernet led is on.

Any ideas?


[1]http://www.cyrius.com/debian/nslu2/unpack.html





#25011 From: "tals1975" <tals1975@...>
Date: Fri Mar 2, 2012 8:04 am
Subject: Re: cuetools 1.3.1 doesn't work for me
tals1975
Send Email Send Email
 
Hi All,

This seems to be a know issue...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439776 

So cueprint command line argument parsing is also broken for ARM926EJ-S rev 5 (v5l) processors. Looking for a patch...



--- In nslu2-linux@yahoogroups.com, "tals1975" <tals1975@...> wrote:
>
> Hi All,
>
> I've faced a strange behavior of cuetools 1.3.1 on my NAS.
> All utilities of cuetools package show me always the same message:
> run `{CUETOOLS_UTILS} --help' for usage
>
> All other installed optware packages work fine.
>
>
> Please can anyone give me a piece of advise where the issue could be in?
>
> Thank you in advance!
> Sergey
>
> ENV#: / Output
> 1)
> uname -a
> Linux WD 2.6.24.4 #1 Thu Apr 1 16:43:58 CST 2010 armv5tejl unknown
>
> 2)
> strace cueprint test.cue
> execve("/opt/bin/cueprint", ["cueprint", "test.cue"], [/* 13 vars */]) = 0
> uname({sys="Linux", node="WD", ...}) = 0
> brk(0) = 0x1e000
> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
> open("/opt/lib/v5l/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/v5l/fast-mult/half", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/v5l/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/v5l/fast-mult", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/v5l/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/v5l/half", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/v5l/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/v5l", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/fast-mult/half", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/fast-mult", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib/half", 0xbe9d0260) = -1 ENOENT (No such file or directory)
> open("/opt/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat64("/opt/lib", {st_mode=S_IFDIR|0755, st_size=17592186044416, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
> mmap2(NULL, 5759, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
> close(3) = 0
> open("/lib/libc.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0d:\1\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=17592186044416, ...}) = 0
> mmap2(NULL, 1071092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4001e000
> mmap2(0x4011e000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100) = 0x4011e000
> mmap2(0x40122000, 6132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40122000
> close(3) = 0
> mprotect(0x4011e000, 8192, PROT_READ) = 0
> mprotect(0x4001c000, 4096, PROT_READ) = 0
> munmap(0x40015000, 5759) = 0
> write(2, "run `cueprint --help' for usage\n", 32run `cueprint --help' for usage
> ) = 32
> exit_group(1) = ?
>

#25012 From: "clerew5" <clerew5@...>
Date: Fri Mar 2, 2012 7:34 pm
Subject: Lockfiles
clerew5
Send Email Send Email
 
I have a resource (an EEPROM on the i2cbus that I have brought out) that needs
to be accessed by a server and various subsidiary programs. I had hoped to
arrange for the mutex in the kernel thst is part of the i2c device driver to
keep them from treading on each other, but there are problems there (which I am
still working on).

So can lockfiles be reliably used for the purpose. I.e., is creating a file an
atomic process such that if process A creates it and process B tries to
create/access it a moment later, will process B always see that it is already
there? I see that there is a special add-on that can be used to create
lockfiles, but that seems to be aimed at complicated situations involving NFS.
In my case, both A and B are running on the slug.

I am using slugosBE v 5.3.

#25013 From: "rolandkbs" <roland.krebs@...>
Date: Fri Mar 2, 2012 10:11 pm
Subject: Re: Lockfiles
rolandkbs
Send Email Send Email
 
Creating a file and checking for its presence is not an atomic operation.
Use the semaphore mechanism (man semget(2)/semop(2), or if POSIX-semaphores are
available under slugosBE, sem_overview(7))

Regards
Roland

--- In nslu2-linux@yahoogroups.com, "clerew5" <clerew5@...> wrote:
>
> I have a resource (an EEPROM on the i2cbus that I have brought out) that needs
to be accessed by a server and various subsidiary programs. I had hoped to
arrange for the mutex in the kernel thst is part of the i2c device driver to
keep them from treading on each other, but there are problems there (which I am
still working on).
>
> So can lockfiles be reliably used for the purpose. I.e., is creating a file an
atomic process such that if process A creates it and process B tries to
create/access it a moment later, will process B always see that it is already
there? I see that there is a special add-on that can be used to create
lockfiles, but that seems to be aimed at complicated situations involving NFS.
In my case, both A and B are running on the slug.
>
> I am using slugosBE v 5.3.
>

#25014 From: David Given <dg@...>
Date: Sat Mar 3, 2012 11:58 am
Subject: Re: Re: Lockfiles
hjalfi
Send Email Send Email
 
On 02/03/12 22:11, rolandkbs wrote:
> Creating a file and checking for its presence is not an atomic operation.

Actually...

There's a long and honoured art of using the filesystem for locking,
using mkdir(2) and rmdir(2), like this:

while (mkdir("/tmp/lockfile", 0700) == -1) // try to take lock
{
   // if mkdir failed, the lock is already taken, so wait and try
   // again
   sleep(1);
}

// lock now taken
... do something ...
rmdir("/tmp/lockfile"); // release lock

You can even do this from shell scripts; see lockfile(1).

Of course, named semaphores (see sem_open(3) for details) are better in
every possible way, but there are still cases (e.g. mailboxes, or doing
things from scripts) where the above approach is suitable.

--
┌─── dg@cowlark.com ─────
http://www.cowlark.com ─────
│
│ "Never attribute to malice what can be adequately explained by
│ stupidity." --- Nick Diamos (Hanlon's Razor)

#25015 From: Joachim Banzhaf <joachim.banzhaf@...>
Date: Tue Mar 6, 2012 1:18 am
Subject: perl for cs08q1armel invalid (no libperl)
joachim.banzhaf@...
Send Email Send Email
 
I installed perl 5.10 on my qnap ts-419pii yesterday from
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/

The installed perl did not work (libperl was not in the ipk file).

Then I used the optware svn to crosscompile it myself. That perl worked fine.
Maybe something went wrong on your build server?

#25016 From: Joachim Banzhaf <joachim.banzhaf@...>
Date: Tue Mar 6, 2012 1:06 am
Subject: smartmontools package fix to work around g++ 4.2 bug on arm
joachim.banzhaf@...
Send Email Send Email
 
Finally - I found a way to subscribe.

Here is a patch to work around a g++ bug on arm processors.
It avoids a sigsegv when smartctl initializes a device object.
I tested it on a qnap ts419pii.
Details can be found here:
https://sourceforge.net/apps/trac/smartmontools/ticket/219


$ svn diff
Index: make/smartmontools.mk
===================================================================
--- make/smartmontools.mk       (Revision 12720)
+++ make/smartmontools.mk       (Arbeitskopie)
@@ -45,7 +45,7 @@
  # If the compilation of the package requires additional
  # compilation or linking flags, then list them here.
  #
-SMARTMONTOOLS_CPPFLAGS=
+SMARTMONTOOLS_CPPFLAGS= -fno-toplevel-reorder
  SMARTMONTOOLS_LDFLAGS=

  #

#25017 From: Paul Sokolovsky <pmiscml@...>
Date: Thu Mar 8, 2012 6:53 pm
Subject: Re: Optware for Android, another try
paul098554
Send Email Send Email
 
Hello,

I'd like to add a link for my install script (see quote below) to
http://www.nslu2-linux.org/wiki/Optware/HomePage , but it's
password-protected and wiki suggests that changes to such pages should
be requested on this mailing list.

So, could anybody help? I'd like to change:

"Android devices. For the Nook Color see the Nookdevs.com Optware page.
Also for the WM8650 based devices."

to

"Android devices. For the Nook Color see the Nookdevs.com Optware page.
Also for the WM8650 based devices. Also for all Android devices:
[[http://sf.net/p/optware-android | optware-android]]"


Thanks!


On Sat, 25 Feb 2012 09:30:32 +0200
Paul Sokolovsky <pmiscml@...> wrote:

> Hello,
>
> I've put up another script to bootstrap Optware on an Android device.
> It differs from other attempt(s) in following points:
>
> 1. It's targeted for all Android devices, not one random in zillions
> available.
> 2. It takes care not to ship random binary blobs without documented
> origins, and instead downloads any binaries from Optware or
> CodeSourcery proper.
>
> There're more ranty details of what I find wrong with other
> implementation(s):
> http://pfalcon-oe.blogspot.com/2012/02/nslu-optware-for-android.html
> (note the situation is typical and applies to most other free software
> hacks for Android).
>
>
> The bootstrap script, associated documentation and bug tracker are
> available via SourceForge project:
> https://sourceforge.net/p/optware-android
>
> Everything there is still work in progress, but the script already
> installs ready-to use Optware's ipkg on my Nook Tablet.
>
> Hope this will be useful for someone.
>
>
> --
> Best regards,
>  Paul                          mailto:pmiscml@...



--
Best regards,
  Paul                          mailto:pmiscml@...

#25018 From: "clerew5" <clerew5@...>
Date: Thu Mar 8, 2012 7:00 pm
Subject: Re: Lockfiles
clerew5
Send Email Send Email
 
--- In nslu2-linux@yahoogroups.com, David Given <dg@...> wrote:
>
> On 02/03/12 22:11, rolandkbs wrote:
> > Creating a file and checking for its presence is not an atomic operation.
>
> Actually...
>
> There's a long and honoured art of using the filesystem for locking,
> using mkdir(2) and rmdir(2), like this:

snip

> Of course, named semaphores (see sem_open(3) for details) are better in
> every possible way, but there are still cases (e.g. mailboxes, or doing
> things from scripts) where the above approach is suitable.

Yes, I had not realized that semaphores would work between different processes,
but that is clearly the proper way to do it. I see that there are also messages
and even shared memory facilities, which might be useful for my problem.

#25019 From: "Jos" <jos.wennmacker@...>
Date: Sun Mar 11, 2012 2:52 pm
Subject: SlugOS 5.3 boot disk errors
jos.wennmacker
Send Email Send Email
 
Hello,
The boot disk of my NSLU2 with SlugOS 5.3 has several errors. I still can boot.
I tried to fix the errors by running fsck when the disk was attached to a Ubuntu
desktop. I am afraid serveral files are corrupted. I cannot connect from my
Windows desktop to samba anymore.
Is there a way to re-TURNUP creating a new bootdrive?
I'm not a Linux expert, so be gentle on me, please!

The log says:
Mar 11 11:30:59 (none) user.notice kernel: scsi 1:0:0:0: Direct-Access    
SAMSUNG  HD154UI               PQ: 0 ANSI: 2 CCS
Mar 11 11:30:59 (none) user.notice kernel: sd 1:0:0:0: [sdb] 2930277168 512-byte
hardware sectors (1500302 MB)
Mar 11 11:30:59 (none) user.notice kernel: sd 1:0:0:0: [sdb] Write Protect is
off
Mar 11 11:30:59 (none) user.debug kernel: sd 1:0:0:0: [sdb] Mode Sense: 00 38 00
00
Mar 11 11:30:59 (none) user.err kernel: sd 1:0:0:0: [sdb] Assuming drive cache:
write through
Mar 11 11:30:59 (none) user.notice kernel: sd 1:0:0:0: [sdb] 2930277168 512-byte
hardware sectors (1500302 MB)
Mar 11 11:30:59 (none) user.notice kernel: sd 1:0:0:0: [sdb] Write Protect is
off
Mar 11 11:30:59 (none) user.debug kernel: sd 1:0:0:0: [sdb] Mode Sense: 00 38 00
00
Mar 11 11:30:59 (none) user.err kernel: sd 1:0:0:0: [sdb] Assuming drive cache:
write through
Mar 11 11:30:59 (none) user.info kernel:  sdb: sdb1 sdb2 sdb3 sdb4
Mar 11 11:30:59 (none) user.notice kernel: sd 1:0:0:0: [sdb] Attached SCSI disk
Mar 11 11:30:59 (none) user.debug kernel: usb-storage: device scan complete
Mar 11 11:30:59 (none) user.alert kernel: journal_bmap: journal block not found
at offset 6156 on sda1
Mar 11 11:30:59 (none) user.err kernel: JBD: bad block at offset 6156
Mar 11 11:30:59 (none) user.alert kernel: journal_bmap: journal block not found
at offset 6156 on sda1
Mar 11 11:30:59 (none) user.err kernel: JBD: bad block at offset 6156
Mar 11 11:30:59 (none) user.err kernel: JBD: Failed to read block at offset 6150
Mar 11 11:30:59 (none) user.warn kernel: JBD: recovery failed
Mar 11 11:30:59 (none) user.err kernel: EXT3-fs: error loading journal.
Mar 11 11:30:59 (none) user.info kernel: kjournald starting.  Commit interval 5
seconds
Mar 11 11:30:59 (none) user.warn kernel: EXT3-fs warning (device sda1):
ext3_clear_journal_err: Filesystem error recorded from previous mount: IO
failure
Mar 11 11:30:59 (none) user.warn kernel: EXT3-fs warning (device sda1):
ext3_clear_journal_err: Marking fs in need of filesystem check.
Mar 11 11:30:59 (none) user.warn kernel: EXT3-fs warning: mounting fs with
errors, running e2fsck is recommended
Mar 11 11:30:59 (none) user.info kernel: EXT3 FS on sda1, internal journal
Mar 11 11:30:59 (none) user.info kernel: EXT3-fs: recovery complete.
Mar 11 11:30:59 (none) user.info kernel: EXT3-fs: mounted filesystem with
ordered data mode.
Mar 11 11:30:59 (none) user.info kernel: kjournald starting.  Commit interval 5
seconds

Messages 24990 - 25019 of 25151   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help