From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261568AbVAXTAX (ORCPT ); Mon, 24 Jan 2005 14:00:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261570AbVAXTAW (ORCPT ); Mon, 24 Jan 2005 14:00:22 -0500 Received: from relay.2ka.mipt.ru ([194.85.82.65]:57803 "EHLO 2ka.mipt.ru") by vger.kernel.org with ESMTP id S261568AbVAXS74 (ORCPT ); Mon, 24 Jan 2005 13:59:56 -0500 Date: Mon, 24 Jan 2005 22:19:29 +0300 From: Evgeniy Polyakov To: Adrian Bunk Cc: Andrew Morton , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage Message-ID: <20050124221929.590418e2@zanzibar.2ka.mipt.ru> In-Reply-To: <20050124182926.GM3515@stusta.de> References: <20050124021516.5d1ee686.akpm@osdl.org> <20050124175449.GK3515@stusta.de> <20050124214336.2c555b53@zanzibar.2ka.mipt.ru> <20050124182926.GM3515@stusta.de> Reply-To: johnpol@2ka.mipt.ru Organization: MIPT X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Jan 2005 19:29:26 +0100 Adrian Bunk wrote: > On Mon, Jan 24, 2005 at 09:43:36PM +0300, Evgeniy Polyakov wrote: > > On Mon, 24 Jan 2005 18:54:49 +0100 > > Adrian Bunk wrote: > > > > > It seems noone who reviewed the SuperIO patches noticed that there are > > > now two modules "scx200" in the kernel... > > > > They are almost mutually exlusive(SuperIO contains more advanced), > > so I do not see any problem here. > > The Kconfig files allow building both modular at the same time. > > > Only one of them can be loaded in a time. > > You are assuming the module support was in able to correctly handle two > modules with the same name... > > > So what does exactly bother you? > > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.11-rc2-mm1; fi > WARNING: /lib/modules/2.6.11-rc2-mm1/kernel/drivers/i2c/busses/scx200_i2c.ko needs unknown symbol scx200_gpio_base > WARNING: /lib/modules/2.6.11-rc2-mm1/kernel/drivers/i2c/busses/scx200_i2c.ko needs unknown symbol scx200_gpio_configure > WARNING: /lib/modules/2.6.11-rc2-mm1/kernel/drivers/i2c/busses/scx200_i2c.ko needs unknown symbol scx200_gpio_shadow > WARNING: /lib/modules/2.6.11-rc2-mm1/kernel/drivers/char/scx200_gpio.ko needs unknown symbol scx200_gpio_base > WARNING: /lib/modules/2.6.11-rc2-mm1/kernel/drivers/char/scx200_gpio.ko needs unknown symbol scx200_gpio_configure > WARNING: /lib/modules/2.6.11-rc2-mm1/kernel/drivers/char/scx200_gpio.ko needs unknown symbol scx200_gpio_shadow Sorry, I can not buy it. Above symbols are defined in old scx200 driver, and I it is depmod who tries to get them from superio. I definitely sure that it must be solved on the other layers. But nevertheless, obviously it is much easier to change superio's scx200 name and I will do it. > > cu > Adrian > > -- > > "Is there not promise of rain?" Ling Tan asked suddenly out > of the darkness. There had been need of rain for many days. > "Only a promise," Lao Er said. > Pearl S. Buck - Dragon Seed Evgeniy Polyakov Only failure makes us experts. -- Theo de Raadt