From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: "Rafael E. Herrera" Cc: parisc-linux@lists.parisc-linux.org Subject: Re: [parisc-linux] EISA 100/10 add-on card causes kernel BUG In-Reply-To: Message from "Rafael E. Herrera" of "Sat, 16 Mar 2002 00:50:13 EST." <3C92DD15.4060008@neuronet.pitt.edu> References: <3C92DD15.4060008@neuronet.pitt.edu> Date: Sat, 16 Mar 2002 11:42:31 -0700 From: Grant Grundler Message-Id: <20020316184231.482C6482C@dsl2.external.hp.com> Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: "Rafael E. Herrera" wrote: ... > WARNING! Stack pointer and cr30 do not correspond! A few times, this error (it's not a warning) meant the driver was attempting to access user space data directly. This is wrong and unfortunately it *usually* (but not always) works on x86 arch. The right way to access user space data is via copy_from_user() or write asm code that explicitly references Space Registers (eg sr3). grant