From: BalaKrishna Mallipeddi <bkmallipeddi@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Bad address problem while reading from hard disk(using sys_read).
Date: Fri, 20 Jun 2003 22:40:00 -0700 (PDT) [thread overview]
Message-ID: <20030621054000.66503.qmail@web10704.mail.yahoo.com> (raw)
Hi,
I developed a kernel module. Within that i am
dynamically allocating memory(using kmalloc and
vmalloc) for a buffer to read data. After that while
trying to read into this buffer from the hard disk
using sys_read i am getting an error. And the same
error i am getting while writing into another buffer,
which was allocated in the same way, using sys_write.
The error number set is -14(EFAULT) i.e., Bad address.
Give me any idea to resolve the problem.
If anyone help me i am gretful to them.
Thanks & Regards
=====
BalaKrishna Mallipeddi
Member Technical Staff Software
Innomedia Technologies Pvt. Ltd.,
#3278, 12th Main, HAL 2nd stage,
Bangalore-560008,
INDIA
Phone : 5278389 + 123
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
next reply other threads:[~2003-06-21 5:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-21 5:40 BalaKrishna Mallipeddi [this message]
2003-06-21 5:51 ` Davide Libenzi
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=20030621054000.66503.qmail@web10704.mail.yahoo.com \
--to=bkmallipeddi@yahoo.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®