Re: 2.6.11-rc2-mm1: SuperIO scx200 breakage

From: Evgeniy Polyakov
Date: Mon Jan 24 2005 - 14:03:41 EST


On Mon, 24 Jan 2005 19:29:26 +0100
Adrian Bunk <bunk@xxxxxxxxx> 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 <bunk@xxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/