The avahi question is an interesting hint. What happens if you try it
with --nozero ?

Paul Alfille

On Sun, Jun 14, 2009 at 12:25 PM, Jim Duda<[email protected]> wrote:
> I'm getting this message in my dmesg on each system startup.
>
> fuse init (API version 7.11)
> owhttpd[2252]: segfault at b80ff195 ip 0804e39f sp b758132c error 6
> owserver[2286]: segfault at b7d729e1 ip 0804f0c0 sp b750432c error 6
>
> This happens with different kernel versions, example, 2.6.25.3 and 2.6.30
>
> I'm running owfs version: 2.7p21
>
> linux> owhttpd --version
> owhttpd version:
>        2.7p21
> libow version:
>        2.7p21
>
> This was happening on earlier versions of 2.7 too.  I say a thread about
> segfaults back in Febrary.  I upgraded, but no change.
>
> If I restart owfs after the initial segfault, everything works fine.
>
> Is there a requirement for owfs to start after the avahi service, or similiar?
>
> How can I help debug this?
>
> I start owfs with my own rc script:
>
> #!/bin/bash
> #
> # owfs This shell script takes care of starting and stopping
> #            owfs.
> #
> # chkconfig: 2345 90 30
> # description: This script starts the one-wire file system
> # processname: owserver
>
> # Source function library.
> source /etc/rc.d/init.d/functions
>
> export PATH=/usr/local/bin:$PATH
>
> [ -f /usr/local/bin/owserver ] || exit 0
> [ -f /usr/local/bin/owfs ] || exit 0
> [ -f /usr/local/bin/owhttpd ] || exit 0
>
> RETVAL=0
>
> start() {
>        # Start daemons.
>        modprobe fuse
>        echo -n "Starting owfs: "
>        daemon /usr/local/bin/owserver -F -d /dev/ttyS5 -p 3030
>        daemon /usr/local/bin/owfs -F -s 3030 -m /mnt/owfs
>        daemon /usr/local/bin/owhttpd -F -s localhost:3030 -p 3031
>        RETVAL=$?
>        echo
>        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/owfs
>        return $RETVAL
> }
>
> stop() {
>        # Stop daemons.
>        echo -n "Shutting down owfs: "
>        killproc owserver
>        killproc owfs
>        killproc owhttpd
>        RETVAL=$?
>        echo
>        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/owfs
>        return $RETVAL
> }
>
> # See how we were called.
> case "$1" in
>  start)
>        start
>        ;;
>  stop)
>        stop
>        ;;
>  restart|reload)
>        stop
>        start
>        RETVAL=$?
>        ;;
>  condrestart)
>        if [ -f /var/lock/subsys/owfs ]; then
>            stop
>            start
>            RETVAL=$?
>        fi
>        ;;
>  status)
>        status owfs
>        RETVAL=$?
>        ;;
>  *)
>        echo "Usage: owfs {start|stop|restart|condrestart|status}"
>        exit 1
> esac
>
> exit $RETVAL
>
>
>
> Thanks,
>
> Jim
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to