LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2003, 10:51 AM   #1
Elf needs Food
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Unhappy Cannot use modules in 2.4.20


Ever since deciding to upgrade my kernel to 2.4.20, I've been having problems with unresolved symbols in the modules. It seems that I've been unable to use any module that had dependencies on another part of the kernel unless it too was built as a module.
(e.g.: CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PARPORT_1284=y CONFIG_PRINTER=m would give me a working parallel port but undesolved symbols in lp.o).

Since I'd been getting this with handfuls of modules since upgrading using the debian package, I decided to dump the packages and get the source directly from kernel.org. Now it's even worse. I cannot probe a single module. I've no printer, no sound, no ide-scsi. Everything compiles with no problem (make dep && make bzImage && make install && make modules && make modules_install) but I'm only getting the functionality I've compiled directly into the kernel.

2.4.19 never gave me this much trouble. Is there something radically different about 2.4.20, or have I just gotten somehting radically wrong in my notes and research (taking advice from LinuxChix, the kernel-HOWTO, CDROM HOWTO and USB-storage HOWTO)?


=====
from /usr/src/linux-2.4.20/.config
-----
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

=====
$ sudo depmod -a
-----
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/block/loop.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/block/rd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/ide/ide-cd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/input/evdev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/videodev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/net/8390.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/net/dummy.odepmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/net/pcmcia/pcnet_cs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/net/pcmcia/ray_cs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/net/plip.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/pcmcia/ds.odepmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/pcmcia/pcmcia_core.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/pcmcia/yenta_socket.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/sound/v_midi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/usb/printer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/usb/usbdnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/video/NVdriver
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/fs/affs/affs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/fs/hfs/hfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/fs/msdos/msdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/lib/zlib_deflate/zlib_deflate.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/net/appletalk/appletalk.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/net/ipv4/ipip.o

=====
sudo modprobe ide-scsi
-----
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol scsi_unregister_module
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol scsi_register
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: unresolved symbol scsi_register_module
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: insmod /lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o failed
/lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o: insmod ide-scsi failed
 
Old 02-17-2003, 12:37 PM   #2
Elf needs Food
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
just to followup with .conofig....

# grep -v "^#" /usr/src/linux/.config
CONFIG_X86=y
CONFIG_UID16=y

CONFIG_EXPERIMENTAL=y

CONFIG_MODULES=y
CONFIG_KMOD=y

CONFIG_MK7=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_HAS_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_F00F_WORKS_OK=y
CONFIG_X86_MCE=y
CONFIG_NOHIGHMEM=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y

CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_ISA=y
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y

CONFIG_PCMCIA=m
CONFIG_CARDBUS=y

CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y

CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
CONFIG_PARPORT_1284=y

CONFIG_PNP=y
CONFIG_ISAPNP=y

CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE=4096

CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_NET_IPIP=m

CONFIG_ATALK=m

CONFIG_IDE=y

CONFIG_BLK_DEV_IDE=y

CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDESCSI=m

CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_ADMA=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_PIIX_TUNING=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y

CONFIG_SCSI=y

CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y

CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

CONFIG_SCSI_IMM=y

CONFIG_NETDEVICES=y

CONFIG_DUMMY=m

CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
CONFIG_TULIP=y

CONFIG_PLIP=m

CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_PCNET=m
CONFIG_NET_PCMCIA_RADIO=y
CONFIG_PCMCIA_RAYCS=m

CONFIG_INPUT=y
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=m

CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=y

CONFIG_MOUSE=y
CONFIG_PSMOUSE=y

CONFIG_AGP=y
CONFIG_AGP_VIA=y
CONFIG_AGP_AMD=y

CONFIG_VIDEO_DEV=m

CONFIG_VIDEO_PROC_FS=y

CONFIG_AUTOFS4_FS=y
CONFIG_AFFS_FS=m
CONFIG_HFS_FS=m
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y

CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_ZISOFS_FS=y

CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y

CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_932=y

CONFIG_VGA_CONSOLE=y

CONFIG_SOUND=y
CONFIG_SOUND_EMU10K1=y
CONFIG_MIDI_EMU10K1=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_VMIDI=m

CONFIG_USB=y

CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y

CONFIG_USB_UHCI_ALT=y

CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_PRINTER=m

CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y

CONFIG_USB_USBDNET=m
CONFIG_USB_USBDNET_VENDOR=04dd
CONFIG_USB_USBDNET_PRODUCT=8004
CONFIG_USB_USBDNET_CLASS=0000
CONFIG_USB_USBDNET_SUBCLASS=0000

CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 07:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 03:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM


All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration