From: Andrew Bird <ajb@spheresystems.co.uk>
To: linux-kernel@vger.kernel.org
Subject: MTD_WRITE called by a kernel timer OK in 2.4.20?
Date: Mon, 20 Aug 2007 13:17:35 +0100 [thread overview]
Message-ID: <200708201317.35885.ajb@spheresystems.co.uk> (raw)
Hi,
I'm trying to periodically write to flash on a small embedded device I'm
playing with. I want to sync a buffer to flash every 15 seconds if it's
dirty. I'm using a 2.4.20 kernel(not my choice) and have connected my
buffer_write routine to a kernel timer both directly and also via a tasklet
initiated by a kernel timer. Both methods give me an oops when attempting to
write the flash. Is there anything basically wrong with this method? Will
MTD_WRITE not function in interrupt context? It works just fine when called
from an ioctl.
Hope you can help
Andrew
reply other threads:[~2007-08-20 13:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200708201317.35885.ajb@spheresystems.co.uk \
--to=ajb@spheresystems.co.uk \
--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
all inboxes | Powered by JetHome®