From: Rick Bolen <rickbolgm@gmail.com>
To: linux-serial@vger.kernel.org
Subject: serial port being reset at top of every hour?
Date: Thu, 18 Sep 2008 08:14:16 -0400 [thread overview]
Message-ID: <48D24618.1040605@gmail.com> (raw)
Hello all,
I've been trying to chase down an issue for about one month now.
Config:
Debian Etch (4.04a) w/xfce, kernel 2.6.18-6-686, VIA PC2500E mobo, Moxa
Smartio C168H/PCI (rev 01)
Symptoms:
I run a Perl based home automation software package, Misterhouse (been
running it on various versions of Debian since ~'98). It interfaces to
numerous serial devices through the mobo's ttyS0 and the Moxa ttyMx
ports. It uses the SerialPort.pm PERL module (POSIX) for initializing
and utilizing ports.
At the top of the hour, some [other] process resets either ttyM0 or
ttyS0 (randomly determined at boot?) which causes the home automation
software to lose communication to the device.
Question:
How can I determine what process is resetting the port? Is there any
logging available to list PIDs that access a port? ...or a way to attach
a debugger to "the system" so I can identify the process?
I used strace on the home automation process to verify that it wasn't
clobbering itself, but I have no idea what other processes may be
"candidates", so I need to watch this from the system level.
Thank you,
Rick Bolen
next reply other threads:[~2008-09-18 12:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 12:14 Rick Bolen [this message]
[not found] <510839DAB7024F1FAA28BFF21F2EC14E@acksys.local>
2008-10-08 19:42 ` serial port being reset at top of every hour? Rick Bolen
2008-10-09 3:32 ` Rick Bolen
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=48D24618.1040605@gmail.com \
--to=rickbolgm@gmail.com \
--cc=linux-serial@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.