Skip to contentSkip to conversation

DISCUSSION BalaKrishna Mallipeddi 1 participant 1 message Jun 21, 2003

lore
Share & tools
lore
#0 lore 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