From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261561AbTFUFZA (ORCPT ); Sat, 21 Jun 2003 01:25:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262033AbTFUFZA (ORCPT ); Sat, 21 Jun 2003 01:25:00 -0400 Received: from web10701.mail.yahoo.com ([216.136.130.209]:8273 "HELO web10701.mail.yahoo.com") by vger.kernel.org with SMTP id S261561AbTFUFY7 (ORCPT ); Sat, 21 Jun 2003 01:24:59 -0400 Message-ID: <20030621053901.6610.qmail@web10701.mail.yahoo.com> Date: Fri, 20 Jun 2003 22:39:01 -0700 (PDT) From: BalaKrishna Mallipeddi To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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