Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934393AbXLTS0n (ORCPT ); Thu, 20 Dec 2007 13:26:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759073AbXLTS03 (ORCPT ); Thu, 20 Dec 2007 13:26:29 -0500 Received: from pasmtpb.tele.dk ([80.160.77.98]:48970 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753245AbXLTS02 (ORCPT ); Thu, 20 Dec 2007 13:26:28 -0500 Date: Thu, 20 Dec 2007 19:28:15 +0100 From: Sam Ravnborg To: "linux-os (Dick Johnson)" Cc: Lennart Sorensen , Linux kernel Subject: Re: Trying to convert old modules to newer kernels Message-ID: <20071220182815.GA5438@uranus.ravnborg.org> References: <20071219202323.GH2310@csclub.uwaterloo.ca> <20071220150255.GE2308@csclub.uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 20 > > 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! How did you build the module. It reads like you failed to use kbuild to build your module which is why you did not pass correct options to gcc - correct? If you did not use kbuild - why not? Is there anything missing you need? Sam -- 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/