Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754970AbXL2OT6 (ORCPT ); Sat, 29 Dec 2007 09:19:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753585AbXL2OTs (ORCPT ); Sat, 29 Dec 2007 09:19:48 -0500 Received: from dallas.jonmasters.org ([72.29.103.172]:37859 "EHLO dallas.jonmasters.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752066AbXL2OTs (ORCPT ); Sat, 29 Dec 2007 09:19:48 -0500 Subject: Re: Trying to convert old modules to newer kernels From: Jon Masters To: Lennart Sorensen Cc: "linux-os (Dick Johnson)" , Linux kernel In-Reply-To: <20071220162700.GF2308@csclub.uwaterloo.ca> References: <20071219202323.GH2310@csclub.uwaterloo.ca> <20071220150255.GE2308@csclub.uwaterloo.ca> <20071220162700.GF2308@csclub.uwaterloo.ca> Content-Type: text/plain Organization: World Organi[sz]ation Of Broken Dreams Date: Sat, 29 Dec 2007 09:19:11 -0500 Message-Id: <1198937951.9453.22.camel@perihelion> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 (2.12.0-3.fc8) Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 74.92.29.237 X-SA-Exim-Mail-From: jonathan@jonmasters.org X-SA-Exim-Scanned: No (on dallas.jonmasters.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1245 Lines: 31 On Thu, 2007-12-20 at 11:27 -0500, Lennart Sorensen wrote: > On Thu, Dec 20, 2007 at 11:13:19AM -0500, linux-os (Dick Johnson) wrote: > > It never gets to the printk(). You were right about the > > compilation. Somebody changed the kernel to compile with > > parameter passing in REGISTERS! This means that EVERYTHING > > needs to be compiled the same way, 'C' calling conventions > > were not good enough! > > > > FYI, it has been previously shown that passing parameters > > in registers on register-starved ix86 machines is always > > a loss, because the registers need to be freed up, either > > by saving them on the stack or as dummy memory variables. > > > > Now, they've done it to the entire kernel! > > It's a config option. I think redhat was the first to actually start > using it on their distributions. Many distributions don't use it. > Debian does not use it on their kernels. And anyway, what's wrong with having the kernel build scripts build the module for you? ;-) Jon. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/