Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754721AbXLSUue (ORCPT ); Wed, 19 Dec 2007 15:50:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752477AbXLSUu0 (ORCPT ); Wed, 19 Dec 2007 15:50:26 -0500 Received: from pasmtpa.tele.dk ([80.160.77.114]:45149 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752345AbXLSUu0 (ORCPT ); Wed, 19 Dec 2007 15:50:26 -0500 Date: Wed, 19 Dec 2007 21:52:19 +0100 From: Sam Ravnborg To: "linux-os (Dick Johnson)" Cc: Linux kernel Subject: Re: Trying to convert old modules to newer kernels Message-ID: <20071219205219.GA26957@uranus.ravnborg.org> References: 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: 709 Lines: 25 On Wed, Dec 19, 2007 at 03:10:28PM -0500, linux-os (Dick Johnson) wrote: > > > Here is a so-called BUG when trying to insert the following > module into the kernel (2.6.22.1). > > > MODULE_ALIAS("MemDev"); > module_init(startup); > module_exit(quit); Just a wild guess. Your init and exit functions uses some generic names. Have you tried renaming them to usual style like: memdev_init memdev_exit So you have no clashes with existing global symbols. 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/