From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id B375C1EF6B5; Thu, 18 Jul 2013 12:08:57 -0400 (EDT) Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by befuddled.reisers.ca (Postfix) with ESMTPS id 2032A1EF56F for ; Thu, 18 Jul 2013 12:08:56 -0400 (EDT) Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r6IG8p3I000998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Jul 2013 16:08:52 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6IG8oG6005810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 18 Jul 2013 16:08:51 GMT Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6IG8o1e029201 for ; Thu, 18 Jul 2013 16:08:50 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 18 Jul 2013 09:08:49 -0700 (PDT) From: Don Raikes Sender: Don Raikes To: "Speakup is a screen review system for Linux." Subject: RE: OT: kernel oops References: <0d30e6e5-261e-47e0-b5da-2ce5fe6bad24@default> <87mwpjx3ae.fsf@mushroom.PK5001Z> In-Reply-To: <87mwpjx3ae.fsf@mushroom.PK5001Z> 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: ucsinet22.oracle.com [156.151.31.94] 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 16:08:57 -0000 Thanks chris, I will give that a try later today. I need to get some "real" work done to= day. This class has been consuming almost all of my time this week. -----Original Message----- From: Chris Brannon [mailto:chris@the-brannons.com]=20 Sent: Thursday, July 18, 2013 9:05 AM To: Speakup is a screen review system for Linux. Subject: Re: OT: kernel oops Don Raikes writes: > The section of code that is having problems looks like this: *SNIP* > if (copy_from_user(&tbuf, buf, count)) This line is your problem. You are passing a pointer-to-pointer-to-charact= er (char **) as the first argument to copy_from_user, but you should be pas= sing char * instead. So ditch the ampersand, and all will be right with th= e world! I could give you a thorough explanation of why this is failing, if you like= , but to make a long story short, this line of code is smashing the stack! I'm always happy to help. -- Chris _______________________________________________ Speakup mailing list Speakup@linux-speakup.org http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup