My owfs is running on a radspberry pi, monitoring 25 ds18b20 and 4 counter
modules (4x ds2423) via a diy usb interface 
Every 5 minutes a script gets the counter values and puts them in a in a
database. For the thermometers i am using temploggerd.
the system was running fine (no lost inof on the temploggerd graphs)
I updated my raspberry pi and installed the i2c bus (so i could connect a
arduino lateron). As of then, is noticed frequent dropouts on the
temploggerd graphs. (the script for the counters checks if it can get a
reading and kills and restarts owfs if needed).

I had the same problem before on my nslu2
I tried updating owfs to the latest version, but no luck.

Does anyone know how to solve this? 



-----Oorspronkelijk bericht-----
Van: owfs-developers-requ...@lists.sourceforge.net
[mailto:owfs-developers-requ...@lists.sourceforge.net] 
Verzonden: zondag 3 maart 2013 22:41
Aan: owfs-developers@lists.sourceforge.net
Onderwerp: Owfs-developers Digest, Vol 82, Issue 2

Send Owfs-developers mailing list submissions to
        owfs-developers@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/owfs-developers
or, via email, send a message with subject or body 'help' to
        owfs-developers-requ...@lists.sourceforge.net

You can reach the person managing the list at
        owfs-developers-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Owfs-developers digest..."


Today's Topics:

   1. Re: general protection fault in the kernel from   owserver
      (Pedro C?rte-Real)
   2. Re: general protection fault in the kernel from   owserver
      (Paul Alfille)
   3. w1 kernel driver fix! (Sven Geggus)
   4. Re: w1 kernel driver fix! (Paul Alfille)
   5. Re: w1 kernel driver fix! (Sven Geggus)
   6. Re: w1 kernel driver fix! (Paul Alfille)


----------------------------------------------------------------------

Message: 1
Date: Sat, 2 Mar 2013 23:17:54 +0000
From: Pedro C?rte-Real <pe...@pedrocr.net>
Subject: Re: [Owfs-developers] general protection fault in the kernel
        from    owserver
To: "OWFS (One-wire file system) discussion and help"
        <owfs-developers@lists.sourceforge.net>
Message-ID:
        <CALprHx-3O4JD6Sj3O37j4jqx9n2=gpdy286esgqfrsumnpn...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Wed, Feb 27, 2013 at 1:31 AM, Paul Alfille <paul.alfi...@gmail.com>
wrote:
> What is your setup? There have been issues with recent kernel 
> implementation of the w1 module. Otherwise owserver should be a well
behaved program.

Blacklisting the w1 module might be a good idea.

> owserver uses standard tcp messaging, the standard C library, and 
> libusb for USB communication. I suspect the crash was unrelated.

That's my suspicion too, just checking if anyone had seen something similar

> None the less, perhaps if you tell us your setup, we can can look for 
> patterns. OWFS version, and bus-masters.

I'm running owserver 2.8p17 driving a DS9490 USB dongle that is then
connected to a Hobby boards hub and from there to a bunch of sensors.
I run this on a Ubuntu 12.04 server that also runs a bunch of other things.

Is there anything else about the setup you wanted to know?

Offtopic: I still haven't fixed the problem with the spikes in the humidity
readings of the hobby boards humidity/temp sensors. I just suspect they're
not very good. The DS9490 is also pretty unreliable.
I've switched out a few already, afterthey suddenly stopped working.
In general I've found the onewire network to be pretty hard to keep working
reliably. I've been looking at the ninjablocks.com stuff as a potential
alternative because of it. A wireless temp/humidity sensor for 15$ sounds
very interesting.

Pedro



------------------------------

Message: 2
Date: Sat, 2 Mar 2013 22:26:10 -0500
From: Paul Alfille <paul.alfi...@gmail.com>
Subject: Re: [Owfs-developers] general protection fault in the kernel
        from    owserver
To: "OWFS (One-wire file system) discussion and help"
        <owfs-developers@lists.sourceforge.net>
Message-ID:
        <CAP_SGzftaQp3+Fr0RZcOys86kioZVM1VoQECN7OyN=rayyy...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Interesting. I'm surprised you are having these problems.

I have a setup with temperature and humidity settings and serial and USB bus
masters that have been acquiring data for years without any failures.
The only time I've broken a bus master was literally "broken" by torquing
the USB connector. A little glue and tape and it was back working.




On Sat, Mar 2, 2013 at 6:17 PM, Pedro C?rte-Real <pe...@pedrocr.net> wrote:

> On Wed, Feb 27, 2013 at 1:31 AM, Paul Alfille <paul.alfi...@gmail.com>
> wrote:
> > What is your setup? There have been issues with recent kernel
> implementation
> > of the w1 module. Otherwise owserver should be a well behaved program.
>
> Blacklisting the w1 module might be a good idea.
>
> > owserver uses standard tcp messaging, the standard C library, and 
> > libusb
> for
> > USB communication. I suspect the crash was unrelated.
>
> That's my suspicion too, just checking if anyone had seen something 
> similar
>
> > None the less, perhaps if you tell us your setup, we can can look 
> > for patterns. OWFS version, and bus-masters.
>
> I'm running owserver 2.8p17 driving a DS9490 USB dongle that is then 
> connected to a Hobby boards hub and from there to a bunch of sensors.
> I run this on a Ubuntu 12.04 server that also runs a bunch of other 
> things.
>
> Is there anything else about the setup you wanted to know?
>
> Offtopic: I still haven't fixed the problem with the spikes in the 
> humidity readings of the hobby boards humidity/temp sensors. I just 
> suspect they're not very good. The DS9490 is also pretty unreliable.
> I've switched out a few already, afterthey suddenly stopped working.
> In general I've found the onewire network to be pretty hard to keep 
> working reliably. I've been looking at the ninjablocks.com stuff as a 
> potential alternative because of it. A wireless temp/humidity sensor 
> for 15$ sounds very interesting.
>
> Pedro
>
>
> ----------------------------------------------------------------------
> -------- Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics Download AppDynamics Lite 
> for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sun, 3 Mar 2013 15:33:08 +0000 (UTC)
From: Sven Geggus <li...@fuchsschwanzdomain.de>
Subject: [Owfs-developers] w1 kernel driver fix!
To: owfs-developers@lists.sourceforge.net
Message-ID: <kgvqfk$cq9$1...@ultimate100.geggus.net>
Content-Type: text/plain; charset=UTF-8

Hello,

Marcin Jurkowski just fixed the Kernel w1 driver problem:
https://lkml.org/lkml/2013/3/2/76

Nice stuff for people who want to be able to connect temperature sensors to
Raspberry Pi (like on http://webshed.org/wiki/RaspberryPI_DS1820)
with minimal effort using just a pullup-resistor and the sensor itself.

Now I was wondering why I can't just use "--w" from owcapi? Running an
owserver and connectiong to localhost:4304 in owcapi works fine.

Regards

Sven


--
Microsoft ist offenbar die einzige Firma, die in der Lage ist, ein mit
Office nicht kompatibles B?rosoftwarepaket einzuf?hren.
                            (Florian Weimer in de.alt.sysadmin.recovery) /me
is giggls@ircnet, http://sven.gegg.us/ on the Web



------------------------------

Message: 4
Date: Sun, 3 Mar 2013 13:02:57 -0500
From: Paul Alfille <paul.alfi...@gmail.com>
Subject: Re: [Owfs-developers] w1 kernel driver fix!
To: "OWFS (One-wire file system) discussion and help"
        <owfs-developers@lists.sourceforge.net>
Message-ID:
        <cap_sgzceotd8+ouhsaud+to9ccly_hub13zuzem5vju5tjb...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Fixing w1 is great news!

owcapi uses the same library as owserver so should work fine with
OW_init("--w1") in the init call.

On Sun, Mar 3, 2013 at 10:33 AM, Sven Geggus
<li...@fuchsschwanzdomain.de>wrote:

> Hello,
>
> Marcin Jurkowski just fixed the Kernel w1 driver problem:
> https://lkml.org/lkml/2013/3/2/76
>
> Nice stuff for people who want to be able to connect temperature
> sensors to Raspberry Pi (like on
> http://webshed.org/wiki/RaspberryPI_DS1820)
> with minimal effort using just a pullup-resistor and the sensor itself.
>
> Now I was wondering why I can't just use "--w" from owcapi? Running
> an owserver and connectiong to localhost:4304 in owcapi works fine.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Sun, 3 Mar 2013 18:40:43 +0000 (UTC)
From: Sven Geggus <li...@fuchsschwanzdomain.de>
Subject: Re: [Owfs-developers] w1 kernel driver fix!
To: owfs-developers@lists.sourceforge.net
Message-ID: <kh05fb$gl5$1...@ultimate100.geggus.net>

Paul Alfille <paul.alfi...@gmail.com> wrote:

> owcapi uses the same library as owserver so should work fine with
> OW_init("--w1") in the init call.

Unfortunately it does seem to behave differently.

Here ist the code:

This version works fine:
#include <stdio.h>
#include <owcapi.h>
int main() {
  char *s1;
  size_t slen1;
  OW_init("localhost:4304");
  OW_get("/",&s1,&slen1);
  printf("%s\n",s1);
}

Output:
10.0E72BC000800/,bus.0/,uncached/,settings/,system/,statistics/,structure/,s
imultaneous/,alarm/

This version shows anything but the actual sensor:
#include <stdio.h> 
#include <owcapi.h>
int main() {
  char *s1;
  size_t slen1;
  OW_init("--w1");
  OW_get("/",&s1,&slen1);
  printf("%s\n",s1);
}

Output:
bus.0/,uncached/,settings/,system/,statistics/,structure/

In case of the first version I run "owserver --foreground --w1"

Sven

-- 
"Thinking of using NT for your critical apps?
                                  Isn't there enough suffering in the
world?"
                   (Advertisement of Sun Microsystems in Wall Street
Journal)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web



------------------------------

Message: 6
Date: Sun, 3 Mar 2013 16:40:19 -0500
From: Paul Alfille <paul.alfi...@gmail.com>
Subject: Re: [Owfs-developers] w1 kernel driver fix!
To: "OWFS (One-wire file system) discussion and help"
        <owfs-developers@lists.sourceforge.net>
Message-ID:
        <CAP_SGzcWdgtGOVVn=C7=shza92rx0wper4nzn8ucqaszr6a...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Perhaps everything is run as root on the pi, but W1 requires root access.
Could that be the problem?


On Sun, Mar 3, 2013 at 1:40 PM, Sven Geggus
<li...@fuchsschwanzdomain.de>wrote:

> Paul Alfille <paul.alfi...@gmail.com> wrote:
>
> > owcapi uses the same library as owserver so should work fine with
> > OW_init("--w1") in the init call.
>
> Unfortunately it does seem to behave differently.
>
> Here ist the code:
>
> This version works fine:
> #include <stdio.h>
> #include <owcapi.h>
> int main() {
>   char *s1;
>   size_t slen1;
>   OW_init("localhost:4304");
>   OW_get("/",&s1,&slen1);
>   printf("%s\n",s1);
> }
>
> Output:
>
>
10.0E72BC000800/,bus.0/,uncached/,settings/,system/,statistics/,structure/,s
imultaneous/,alarm/
>
> This version shows anything but the actual sensor:
> #include <stdio.h>
> #include <owcapi.h>
> int main() {
>   char *s1;
>   size_t slen1;
>   OW_init("--w1");
>   OW_get("/",&s1,&slen1);
>   printf("%s\n",s1);
> }
>
> Output:
> bus.0/,uncached/,settings/,system/,statistics/,structure/
>
> In case of the first version I run "owserver --foreground --w1"
>
> Sven
>
> --
> "Thinking of using NT for your critical apps?
>                                   Isn't there enough suffering in the
> world?"
>                    (Advertisement of Sun Microsystems in Wall Street
> Journal)
> /me is giggls@ircnet, http://sven.gegg.us/ on the Web
>
>
>
----------------------------------------------------------------------------
--
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

------------------------------

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


End of Owfs-developers Digest, Vol 82, Issue 2
**********************************************


-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2013.0.2899 / Virusdatabase: 2641/6147 - datum van uitgifte:
03/04/13


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to