mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Suresh Subramanian" <Suresh.Subramanian@lntinfotech.com>
To: linux-kernel@vger.kernel.org
Subject: Problems in Device Driver Development
Date: Thu, 16 Oct 2003 14:15:42 +0530	[thread overview]
Message-ID: <OF7B0779CA.CA76EC51-ON65256DC1.002FABA8@lntinfotech.com> (raw)

Hello everybody,

Me and my friends face the following problems while developing Device
Drivers.
Let me confess that we are all amateur programmers. I hope that i get a
reply for this from atleast one of the many people out there.

1.   We are not able to use copy_to_user() a chunk of memory from 'write'
function of the device driver. The pointer in the user space is passed to
the kernel space through the 'ioctl' function of the device driver.

2.    We are not able to send a signal using kill_fasync() from within a
kernel thread, to an user space process. The problem we face when we do
this is that we get an OOPS message. I tried hard to decode this message,
but in vain. So we came to the conclusion that i cannot send a signal from
within the kernel thread using kill_fasync to a process that is running in
the user space. Am i right in my conclusion, if not what should i do to
make it possible.


3.   Similar to problem numbered 2, we face same problems in doing with
'tasklets'.

Thank you.


             reply	other threads:[~2003-10-16  8:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16  8:45 Suresh Subramanian [this message]
2003-10-16 10:19 ` Tvrtko A. Uršulin

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=OF7B0779CA.CA76EC51-ON65256DC1.002FABA8@lntinfotech.com \
    --to=suresh.subramanian@lntinfotech.com \
    --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®