public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joerg Sommrey <jo@sommrey.de>
To: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: PROBLEM: FUSE unmount breaks serial terminal line
Date: Sun, 20 Aug 2006 20:05:05 +0200	[thread overview]
Message-ID: <20060820180505.GA18283@sommrey.de> (raw)

Hello,

something in FUSE breaks serial devices.  I found this issue 
using gphotofs, don't know if any other FUSE impementation has similar
effects.  The problem is: from the moment the FUSE filesystem is unmounted,
a process that read()s on a serial device /dev/ttyS? gets an EOF
returncode.  

Here is the tail of the output from "strace -tt cat /dev/ttyS0" when the
FUSE fs was unmounted:

19:41:46.513143 open("/dev/ttyS0", O_RDONLY|O_LARGEFILE) = 3
19:41:46.513373 fstat64(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 64), ...}) = 0
19:41:46.513552 read(3, "", 4096)       = 0
19:42:49.854367 close(3)                = 0
19:42:49.860663 close(1)                = 0
19:42:49.860793 exit_group(0)           = ?

Found this on x86 with kernels 2.6.16 and 2.6.17.

Any ideas?

-jo

-- 
-rw-r--r-- 1 jo users 62 2006-08-20 14:06 /home/jo/.signature

             reply	other threads:[~2006-08-20 18:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-20 18:05 Joerg Sommrey [this message]
2006-08-20 20:57 ` PROBLEM: FUSE unmount breaks serial terminal line Miklos Szeredi
2006-08-20 21:28   ` Joerg Sommrey
2006-08-22  8:57     ` Miklos Szeredi
2006-08-22 15:59       ` Joerg Sommrey
2006-08-22 16:07         ` Miklos Szeredi
2006-08-22 17:43           ` Joerg Sommrey
2006-08-22 17:54             ` Russell King
2006-08-22 18:24               ` Joerg Sommrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060820180505.GA18283@sommrey.de \
    --to=jo@sommrey.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox