[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061025201341.GH21200@miggy.org>
Date: Wed, 25 Oct 2006 21:13:41 +0100
From: Athanasius <link@...gy.org>
To: Linus Torvalds <torvalds@...l.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Cc: David Brownell <dbrownell@...rs.sourceforge.net>,
Roman Zippel <zippel@...ux-m68k.org>
Subject: Linux 2.6.19-rc3: !CONFIG_NET_ETHERNET unsets CONFIG_PHYLIB, but CONFIG_USB_USBNET also needs CONFIG_PHYLIB
1) It's possible in Device Drivers -> Network device support to go from
having both:
PHY device support
Ethernet (10 or 100Mbit)
set, to turning off the latter option, which automatically turns off the
prior option, but still being able to get into
the "PHY device support" option, although the options area is blank, and
trying to cursor up/down just prints a ^@ (NUL ?).
If an option is disabled in this way it really needs to be clearer as
to what's happened to it.
2) With both those sections off it's possible to configure in "Device
Drivers -> USB Support -> USB Network Adapters" options and modules, but
then not have usbnet.ko successfully build because it now tries to use
mii_* symbols which aren't available, cf:
make bzImage
...
<completes successfully>
make V=1 modules
...
make -f scripts/Makefile.build obj=lib/zlib_deflate
make -f scripts/Makefile.build obj=lib/zlib_inflate
make -f scripts/Makefile.build obj=arch/i386/lib
Building modules, stage 2.
make -f /usr/local/src/kernels/linux-2.6.19-rc3/scripts/Makefile.modpost
scripts/mod/modpost -m -a -o /usr/local/src/kernels/linux-2.6.19-rc3/Module.symvers vmlinux arch/i386/crypto/aes-i586.o arch/i386/crypto/twofish-i586.o crypto/aes.o crypto/anubis.o crypto/arc4.o crypto/blowfish.o crypto/cast5.o crypto/cast6.o crypto/crc32c.o crypto/crypto_null.o crypto/ecb.o crypto/khazad.o crypto/md4.o crypto/michael_mic.o crypto/serpent.o crypto/sha256.o crypto/sha512.o crypto/tcrypt.o crypto/tea.o crypto/tgr192.o crypto/twofish.o crypto/twofish_common.o crypto/wp512.o drivers/ata/ahci.o drivers/ata/sata_promise.o drivers/ata/sata_sx4.o drivers/ata/sata_via.o drivers/base/firmware_class.o drivers/block/cryptoloop.o drivers/block/loop.o drivers/block/nbd.o drivers/block/rd.o drivers/bluetooth/bcm203x.o drivers/bluetooth/bfusb.o drivers/bluetooth/bpa10x.o drivers/bluetooth/hci_uart.o drivers/bluetooth/hci_usb.o drivers/bluetooth/hci_vhci.o drivers/char/ipmi/ipmi_devintf.o drivers/char/ipmi/ipmi_msghandler.o drivers/char/ipmi/ipmi_poweroff.o drivers/char/ipmi/ipmi_si.o drivers/char/ipmi/ipmi_watchdog.o drivers/char/lp.o drivers/connector/cn.o drivers/crypto/padlock-sha.o drivers/hwmon/hwmon-vid.o drivers/hwmon/hwmon.o drivers/hwmon/k8temp.o drivers/hwmon/lm75.o drivers/hwmon/w83627hf.o drivers/i2c/busses/i2c-isa.o drivers/i2c/busses/i2c-via.o drivers/i2c/busses/i2c-viapro.o drivers/i2c/chips/eeprom.o drivers/ide/ide-cd.o drivers/ieee1394/dv1394.o drivers/ieee1394/eth1394.o drivers/ieee1394/ieee1394.o drivers/ieee1394/ohci1394.o drivers/ieee1394/raw1394.o drivers/ieee1394/sbp2.o drivers/ieee1394/video1394.o drivers/input/evbug.o drivers/input/evdev.o drivers/input/gameport/gameport.o drivers/input/gameport/ns558.o drivers/input/joydev.o drivers/input/joystick/analog.o drivers/input/joystick/joydump.o drivers/input/misc/pcspkr.o drivers/input/misc/uinput.o drivers/input/mouse/psmouse.o drivers/media/video/c-qcam.o drivers/media/video/compat_ioctl32.o drivers/media/video/v4l1-compat.o drivers/media/video/v4l2-common.o drivers/media/video/video-buf.o drivers/media/video/videodev.o drivers/media/video/vivi.o drivers/misc/tifm_7xx1.o drivers/misc/tifm_core.o drivers/mmc/mmc_block.o drivers/mmc/mmc_core.o drivers/mmc/sdhci.o drivers/mmc/tifm_sd.o drivers/mmc/wbsd.o drivers/net/bsd_comp.o drivers/net/dummy.o drivers/net/ppp_async.o drivers/net/ppp_deflate.o drivers/net/ppp_generic.o drivers/net/ppp_mppe.o drivers/net/ppp_synctty.o drivers/net/pppoe.o drivers/net/pppox.o drivers/net/sk98lin/sk98lin.o drivers/net/slhc.o drivers/net/slip.o drivers/net/tun.o drivers/parport/parport.o drivers/parport/parport_pc.o drivers/scsi/ide-scsi.o drivers/scsi/scsi_transport_fc.o drivers/scsi/scsi_transport_iscsi.o drivers/scsi/scsi_transport_sas.o drivers/scsi/scsi_transport_spi.o drivers/scsi/sd_mod.o drivers/scsi/sg.o drivers/scsi/sr_mod.o drivers/serial/8250.o drivers/serial/8250_pci.o drivers/serial/8250_pnp.o drivers/serial/serial_core.o drivers/usb/class/cdc-acm.o drivers/usb/class/usblp.o drivers/usb/host/ehci-hcd.o drivers/usb/host/uhci-hcd.o drivers/usb/input/usbhid.o drivers/usb/net/cdc_ether.o drivers/usb/net/cdc_subset.o drivers/usb/net/net1080.o drivers/usb/net/usbnet.o drivers/usb/net/zaurus.o drivers/usb/serial/aircable.o drivers/usb/serial/option.o drivers/usb/serial/usbserial.o drivers/usb/storage/usb-storage.o drivers/video/cfbcopyarea.o drivers/video/cfbfillrect.o drivers/video/cfbimgblt.o drivers/video/console/bitblit.o drivers/video/console/fbcon.o drivers/video/console/font.o drivers/video/console/softcursor.o drivers/video/console/tileblit.o drivers/video/fb.o drivers/video/nvidia/nvidiafb.o fs/autofs/autofs.o fs/autofs4/autofs4.o fs/binfmt_aout.o fs/binfmt_misc.o fs/cifs/cifs.o fs/dlm/dlm.o fs/exportfs/exportfs.o fs/minix/minix.o fs/msdos/msdos.o fs/nfsd/nfsd.o fs/nls/nls_ascii.o fs/smbfs/smbfs.o lib/crc-ccitt.o lib/crc16.o lib/crc32.o lib/libcrc32c.o net/bluetooth/bluetooth.o net/bluetooth/bnep/bnep.o net/bluetooth/hidp/hidp.o net/bluetooth/l2cap.o net/bluetooth/rfcomm/rfcomm.o net/bluetooth/sco.o net/core/pktgen.o net/dccp/ccids/dccp_ccid2.o net/dccp/ccids/dccp_ccid3.o net/dccp/ccids/lib/dccp_tfrc_lib.o net/dccp/dccp.o net/dccp/dccp_diag.o net/dccp/dccp_ipv4.o net/ipv6/ip6_tunnel.o net/ipv6/netfilter/ip6_queue.o net/key/af_key.o net/sched/sch_netem.o net/sctp/sctp.o net/sunrpc/auth_gss/rpcsec_gss_spkm3.o sound/core/oss/snd-mixer-oss.o sound/core/oss/snd-pcm-oss.o sound/core/seq/oss/snd-seq-oss.o sound/core/seq/snd-seq-device.o sound/core/seq/snd-seq-dummy.o sound/core/seq/snd-seq-midi-event.o sound/core/seq/snd-seq-midi.o sound/core/seq/snd-seq-virmidi.o sound/core/seq/snd-seq.o sound/core/snd-page-alloc.o sound/core/snd-pcm.o sound/core/snd-rawmidi.o sound/core/snd-rtctimer.o sound/core/snd-timer.o sound/core/snd.o sound/drivers/mpu401/snd-mpu401-uart.o sound/drivers/mpu401/snd-mpu401.o sound/drivers/snd-dummy.o sound/drivers/snd-serial-u16550.o sound/drivers/snd-virmidi.o sound/pci/ac97/snd-ac97-bus.o sound/pci/ac97/snd-ac97-codec.o sound/pci/snd-via82xx-modem.o sound/pci/snd-via82xx.o sound/soundcore.o
WARNING: "mii_ethtool_gset" [drivers/usb/net/usbnet.ko] undefined!
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!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
My example .config is attached. This worked fine with 2.6.19-rc2 before
usbnet started referencing mii_* symbols.
-Ath
--
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
Finger athan(at)fysh.org for PGP key
"And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME
View attachment "emelia-2.6.19-rc3" of type "text/plain" (52678 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists