Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode

View: New views
3 Messages — Rating Filter:   Alert me  

Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode

by Roland Franke-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hy all,
i am trying to get the OWFS-2.8P14 in combination with FUSE-2.8.6 on my software-router to run.
On this router works a special linux with kernel 2.6.32.46 (Look at www.fli4l.de).
I was be able to build OWFS (Only OWFS, no server and other components) and FUSE complete
in a FBR for that system. I was able to install all on my router and i think it looks for 90% good.
But on this router is NO user or group aviable. It works only with the root-account and Busybox
(Actualy V1.17.2).
The point of problem is now:
If i start “owfs –-debug –d /dev/ttyS0 –m /mnt/1wire”  (Or a other mount-point), i get access to the
at the 1wire-bus connected sensors. (Second console or WinSCP, of MC at second console)
 
But if i start “owfs –d /dev/ttyS0 –m /mnt/1wire”, the console comes back to the input and when i
try to look inside the mounted directory, the input will leaks (Hang) and i can do at this console
nothing more (Or at any other tool (WinSCP, MC or else. All leaks by the test for reading in that
directory). The only way to get out there is, that i have stop fuse by writing something in the
abort-file of it (With the start of fuse by “init.d/fuse” (By my system named so) there will be made
a mount-point for fose at /sys/fs/fuse/connections. After that directory comes the number of
system (In my case most times 14), where the files “abort” “congestion_threshold”, max_background” and “waiting” will be in. In the waiting the value counts up every-time when the
connection to the OWFS/Fuse mount will be tryed to connect, but never counts down. When there
is something written to the abort-file (echo 1 > abort), the mount will be cleared.
 
When i made “cat /proc/mounts” with the –debug in see there:
fusectl /sys/fs/fuse/connections fusectl rw,realtime 0 0
OWFS /mnt/1wire fuse.OWFS rw,nosuid,nodev,realtime,user_id=0,group_id=0 0 0
 
Please let me know if you can try to help me or what can be done there.
 
Best regards,
Roland
 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode

by Paul Alfille-2 :: Rate this Message:

| View Threaded | Show Only this Message

Roland,

Since your problem seems to be the addition or subtraction of the "--debug" parameter, I wonder if there is an issue with going into background with busybox.

Can I suggest you try:
owfs –-foreground –d /dev/ttyS0 –m /mnt/1wire

That will separate out the error messages from the foregroung/background issue.

All this being said, for owfs (not owserver of owhttpd) it is FUSE that does the foreground/background switch.

Paul Alfille

On Sat, Jan 21, 2012 at 2:56 PM, Roland Franke <roland@...> wrote:
Hy all,
i am trying to get the OWFS-2.8P14 in combination with FUSE-2.8.6 on my software-router to run.
On this router works a special linux with kernel 2.6.32.46 (Look at www.fli4l.de).
I was be able to build OWFS (Only OWFS, no server and other components) and FUSE complete
in a FBR for that system. I was able to install all on my router and i think it looks for 90% good.
But on this router is NO user or group aviable. It works only with the root-account and Busybox
(Actualy V1.17.2).
The point of problem is now:
If i start “owfs –-debug –d /dev/ttyS0 –m /mnt/1wire”  (Or a other mount-point), i get access to the
at the 1wire-bus connected sensors. (Second console or WinSCP, of MC at second console)
 
But if i start “owfs –d /dev/ttyS0 –m /mnt/1wire”, the console comes back to the input and when i
try to look inside the mounted directory, the input will leaks (Hang) and i can do at this console
nothing more (Or at any other tool (WinSCP, MC or else. All leaks by the test for reading in that
directory). The only way to get out there is, that i have stop fuse by writing something in the
abort-file of it (With the start of fuse by “init.d/fuse” (By my system named so) there will be made
a mount-point for fose at /sys/fs/fuse/connections. After that directory comes the number of
system (In my case most times 14), where the files “abort” “congestion_threshold”, max_background” and “waiting” will be in. In the waiting the value counts up every-time when the
connection to the OWFS/Fuse mount will be tryed to connect, but never counts down. When there
is something written to the abort-file (echo 1 > abort), the mount will be cleared.
 
When i made “cat /proc/mounts” with the –debug in see there:
fusectl /sys/fs/fuse/connections fusectl rw,realtime 0 0
OWFS /mnt/1wire fuse.OWFS rw,nosuid,nodev,realtime,user_id=0,group_id=0 0 0
 
Please let me know if you can try to help me or what can be done there.
 
Best regards,
Roland
 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode

by Roland Franke-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hello Paul,
just immediatley made the test with the parameter –foreground.
This works OK.
Second test with starting
owfs –forground –d /ev/ttyS0 –m /mnt/1wire &
and this works also without problems. Coming directly back to the running console.
I think with that i can work directly on my system, while than the startup of OWFS
can be made directly in the startup-script without stopping at this position.
 
Best regards and thanks for that help,
Roland
Sent: Sunday, January 22, 2012 4:18 PM
Subject: Re: [Owfs-developers] Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode
 
Roland,

Since your problem seems to be the addition or subtraction of the "--debug" parameter, I wonder if there is an issue with going into background with busybox.

Can I suggest you try:
owfs –-foreground –d /dev/ttyS0 –m /mnt/1wire

That will separate out the error messages from the foregroung/background issue.

All this being said, for owfs (not owserver of owhttpd) it is FUSE that does the foreground/background switch.

Paul Alfille

On Sat, Jan 21, 2012 at 2:56 PM, Roland Franke <roland@...> wrote:
Hy all,
i am trying to get the OWFS-2.8P14 in combination with FUSE-2.8.6 on my software-router to run.
On this router works a special linux with kernel 2.6.32.46 (Look at www.fli4l.de).
I was be able to build OWFS (Only OWFS, no server and other components) and FUSE complete
in a FBR for that system. I was able to install all on my router and i think it looks for 90% good.
But on this router is NO user or group aviable. It works only with the root-account and Busybox
(Actualy V1.17.2).
The point of problem is now:
If i start “owfs –-debug –d /dev/ttyS0 –m /mnt/1wire”  (Or a other mount-point), i get access to the
at the 1wire-bus connected sensors. (Second console or WinSCP, of MC at second console)
 
But if i start “owfs –d /dev/ttyS0 –m /mnt/1wire”, the console comes back to the input and when i
try to look inside the mounted directory, the input will leaks (Hang) and i can do at this console
nothing more (Or at any other tool (WinSCP, MC or else. All leaks by the test for reading in that
directory). The only way to get out there is, that i have stop fuse by writing something in the
abort-file of it (With the start of fuse by “init.d/fuse” (By my system named so) there will be made
a mount-point for fose at /sys/fs/fuse/connections. After that directory comes the number of
system (In my case most times 14), where the files “abort” “congestion_threshold”, max_background” and “waiting” will be in. In the waiting the value counts up every-time when the
connection to the OWFS/Fuse mount will be tryed to connect, but never counts down. When there
is something written to the abort-file (echo 1 > abort), the mount will be cleared.
 
When i made “cat /proc/mounts” with the –debug in see there:
fusectl /sys/fs/fuse/connections fusectl rw,realtime 0 0
OWFS /mnt/1wire fuse.OWFS rw,nosuid,nodev,realtime,user_id=0,group_id=0 0 0
 
Please let me know if you can try to help me or what can be done there.
 
Best regards,
Roland
 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2


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

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers