From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 42B751EF6B4; Thu, 18 Jul 2013 01:24:10 -0400 (EDT) Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by befuddled.reisers.ca (Postfix) with ESMTPS id D4D0A1EF56F for ; Thu, 18 Jul 2013 01:24:09 -0400 (EDT) Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r6I5O8kL006164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Jul 2013 05:24:08 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6I5O7WW000126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 18 Jul 2013 05:24:07 GMT Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6I5O7eI018043 for ; Thu, 18 Jul 2013 05:24:07 GMT MIME-Version: 1.0 Message-ID: Date: Wed, 17 Jul 2013 22:24:05 -0700 (PDT) From: Don Raikes Sender: Don Raikes To: "Speakup is a screen review system for Linux." Subject: RE: OT: looking for resources References: <9b738950-8e04-4e23-8300-33d28f09f4f3@default> <87sizcy626.fsf@mushroom.PK5001Z> <1716186c-3af0-4dc1-be76-e41e96525ca0@default> <20130718035224.GA12751@jdc.jasonjgw.net> <87txjswlxj.fsf@mushroom.PK5001Z> <20130718041453.GA13547@jdc.jasonjgw.net> In-Reply-To: <20130718041453.GA13547@jdc.jasonjgw.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 05:24:10 -0000 Wow, this group is great! I got my kmalloc to work, figured out I had the test for success backward := -( Now that I have memory allocated, I am trying to copy a character array fro= m userspace into kernel space with the command: If (copy_from_user(&tbuf, buf, count)) Which according to my printk statements succeeds. However, I then get a ker= nel page fault and the whole thing comes crashing down. Any suggestions on how to debug this? The only thing I can see in the dump is that it looks like it is in kfree. -----Original Message----- From: Jason White [mailto:jason@jasonjgw.net]=20 Sent: Wednesday, July 17, 2013 9:15 PM To: speakup@linux-speakup.org Subject: Re: OT: looking for resources Chris Brannon wrote: =20 > The Linux Device Drivers book is on Bookshare as well. > If I remember correctly, Understanding the Linux Kernel explains=20 > kernel internals, rather than the procedures involved in kernel programmi= ng. It has been used by the authors to teach an operating system course, if I r= emember rightly. > In other words, Understanding the Linux Kernel deals with theory, and=20 > Linux Device Drivers deals with practice. > That's how it looked to me, at least. > I suspect that the two texts complement each other very well. There is also, from the same source, Christian Benvenuti, Understanding Lin= ux Network Internals (O'Reilly). _______________________________________________ Speakup mailing list Speakup@linux-speakup.org http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup