2006-10-30 07:10:38

by Giacomo Catenazzi

[permalink] [raw]
Subject: compiling error: WARNING: "mii_nway_restart" [drivers/usb/net/usbnet.ko] undefined!

Since the git of yesterday (2.6.19-rc3-g7a20655b, but with changed
config), I have this error:

Kernel: arch/i386/boot/bzImage is ready (#114)
Building modules, stage 2.
MODPOST 98 modules
WARNING: "mii_nway_restart" [drivers/usb/net/usbnet.ko] undefined!
WARNING: "mii_link_ok" [drivers/usb/net/usbnet.ko] undefined!
WARNING: "mii_ethtool_sset" [drivers/usb/net/usbnet.ko] undefined!
WARNING: "mii_ethtool_gset" [drivers/usb/net/usbnet.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

ciao
cate


2006-10-30 15:35:45

by Adrian Bunk

[permalink] [raw]
Subject: Re: compiling error: WARNING: "mii_nway_restart" [drivers/usb/net/usbnet.ko] undefined!

On Mon, Oct 30, 2006 at 08:10:23AM +0100, Giacomo Catenazzi wrote:

> Since the git of yesterday (2.6.19-rc3-g7a20655b, but with changed
> config), I have this error:
>
> Kernel: arch/i386/boot/bzImage is ready (#114)
> Building modules, stage 2.
> MODPOST 98 modules
> WARNING: "mii_nway_restart" [drivers/usb/net/usbnet.ko] undefined!
> WARNING: "mii_link_ok" [drivers/usb/net/usbnet.ko] undefined!
> WARNING: "mii_ethtool_sset" [drivers/usb/net/usbnet.ko] undefined!
> WARNING: "mii_ethtool_gset" [drivers/usb/net/usbnet.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2

Thanks for your report.

That's a known bug that will be fixed soon.

As a workaround, please enable CONFIG_MII.

> ciao
> cate

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