From: Kasper Dupont <kasperd@daimi.au.dk>
To: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: [RFC] Port 0x80 writes considered harmful
Date: Wed, 16 Apr 2003 08:28:47 +0200 [thread overview]
Message-ID: <3E9CF81F.F7CCCADF@daimi.au.dk> (raw)
I have had quite some problems with the parallel port on a
computer of the model "F@MILY net" (details available on
request). While Linux was running there would constantly be
changing output lines on the parallel port.
The problem was observed with different kernel versions and
even a 2.4.19 kernel stripped so much down that it could
merely boot and panic because of missing root filesystem
drivers.
I found that if I from a userspace program using ioperm and
outb blocked interrupts the output would stop. I busylooped
for a few seconds using the TSC, and then reenabled interrupts
while interrupts was disabled there was no activity on the
parallel port.
Then I inserted port 0x80 writes in the loop, and at that
point there would be parallel port output during the entire
execution of the loop.
What would be the best solution to my problem?
--
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);
next reply other threads:[~2003-04-16 6:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-16 6:28 Kasper Dupont [this message]
2003-04-16 11:26 ` [RFC] Port 0x80 writes considered harmful Alan Cox
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=3E9CF81F.F7CCCADF@daimi.au.dk \
--to=kasperd@daimi.au.dk \
--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