Unresolved symbols since 2.4.5 ?
Hello,
Sorry for this long message but I really need your help. I hope I'm not
off-topic. Maybe am I doing something wrong?
In short, since 2.4.5 I seem not to be able to install a kernel (depmod
says "unresolved symbols"). 2.4.6 shows the same problem but as far as I
remember 2.4.4 did not. The sources I use are downloaded straight from
www.kernel.org and I always use the same .config file.
Relevant data about my machine: PC Pentium III, 320 Mo, UDMA disks, and
the OS is Debian GNU/Linux 2.2r3 ("Potato"). Currently I run a 2.4.1 kernel.
To compile the kernel, I run "make-kpkg buildpackage" (make-kpkg is
provided by Debian to automatically compile and build debian packages out of the kernel source).
If you have any questions please feel free to ask. I'm willing to help
improve Linux, not to bother you.
Thanks from your help,
Cyril
PS- Would you be kind and Cc: to [email protected]? Thanks a lot.
----8<---- (trace)
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/arch/i386/kernel/cpuid.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/arch/i386/kernel/microcode.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/arch/i386/kernel/msr.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/block/loop.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/block/nbd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/atixlmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/busmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/logibusmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/msbusmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/nvram.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/pc110pad.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/qpmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/rtc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/char/serial.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c501.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c503.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c505.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c507.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c509.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c515.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/3c59x.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/8390.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/net/dummy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/parport/parport.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/parport/parport_pc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/pnp/isa-pnp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/scsi/ide-scsi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/scsi/scsi_mod.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/drivers/scsi/sg.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/autofs4/autofs4.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/binfmt_aout.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/binfmt_misc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/coda/coda.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/isofs/isofs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/lockd/lockd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/minix/minix.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/msdos/msdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/nfs/nfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/nfsd/nfsd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/nls/nls_cp437.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/nls/nls_cp850.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/nls/nls_iso8859-1.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/nls/nls_iso8859-15.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/ntfs/ntfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/ramfs/ramfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/reiserfs/reiserfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/smbfs/smbfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/udf/udf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/fs/vfat/vfat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/net/ipv4/ip_gre.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/net/ipv4/ipip.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/net/ipx/ipx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/net/netlink/netlink_dev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/net/packet/af_packet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.6/kernel/net/sunrpc/sunrpc.o ---->8----
----8<---- (grep '=\(y\|m\)' .config)CONFIG_X86=yCONFIG_ISA=yCONFIG_UID16=yCONFIG_EXPERIMENTAL=yCONFIG_MODULES=yCONFIG_MODVERSIONS=yCONFIG_KMOD=yCONFIG_MPENTIUMIII=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_TSC=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_PGE=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_MICROCODE=mCONFIG_X86_MSR=mCONFIG_X86_CPUID=mCONFIG_NOHIGHMEM=yCONFIG_MTRR=yCONFIG_X86_UP_IOAPIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_LOCAL_APIC=yCONFIG_NET=yCONFIG_PCI=yCONFIG_PCI_GODIRECT=yCONFIG_PCI_DIRECT=yCONFIG_PCI_NAMES=yCONFIG_SYSVIPC=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_SYSCTL=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_AOUT=mCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=mCONFIG_PM=yCONFIG_ACPI=yCONFIG_PARPORT=mCONFIG_PARPORT_PC=mCONFIG_PARPORT_PC_FIFO=yCONFIG_PARPORT_1284=yCONFIG_PNP=mCONFIG_ISAPNP=mCONFIG_BLK_DEV_FD=yCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_NBD=mCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_INITRD=yCONFIG_PACKET=mCONFIG_PACKET_MMAP=yCONFIG_NETLINK=yCONFIG_RTNETLINK=yCONFIG_NETLINK_DEV=mCONFIG_NETFILTER=yCONFIG_FILTER=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_NET_IPIP=mCONFIG_NET_IPGRE=mCONFIG_SYN_COOKIES=yCONFIG_IP_NF_COMPAT_IPCHAINS=yCONFIG_IP_NF_NAT_NEEDED=yCONFIG_IPX=mCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_BLK_DEV_IDECD=yCONFIG_BLK_DEV_CMD640=yCONFIG_BLK_DEV_CMD640_ENHANCED=yCONFIG_BLK_DEV_RZ1000=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_IDEDMA_PCI_WIP=yCONFIG_IDEDMA_NEW_DRIVE_LISTINGS=yCONFIG_BLK_DEV_PIIX=yCONFIG_PIIX_TUNING=yCONFIG_IDEDMA_AUTO=yCONFIG_BLK_DEV_IDE_MODES=yCONFIG_SCSI=mCONFIG_CHR_DEV_SG=mCONFIG_SCSI_DEBUG_QUEUES=yCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_NETDEVICES=yCONFIG_DUMMY=mCONFIG_NET_ETHERNET=yCONFIG_NET_VENDOR_3COM=yCONFIG_EL1=mCONFIG_EL2=mCONFIG_ELPLUS=mCONFIG_EL16=mCONFIG_EL3=mCONFIG_3C515=mCONFIG_VORTEX=mCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_SERIAL=mCONFIG_UNIX98_PTYS=yCONFIG_BUSMOUSE=mCONFIG_ATIXL_BUSMOUSE=mCONFIG_LOGIBUSMOUSE=mCONFIG_MS_BUSMOUSE=mCONFIG_MOUSE=mCONFIG_PSMOUSE=yCONFIG_82C710_MOUSE=mCONFIG_PC110_PAD=mCONFIG_INTEL_RNG=yCONFIG_NVRAM=mCONFIG_RTC=mCONFIG_AGP=yCONFIG_AGP_INTEL=yCONFIG_QUOTA=yCONFIG_AUTOFS4_FS=mCONFIG_REISERFS_FS=mCONFIG_FAT_FS=yCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_TMPFS=yCONFIG_RAMFS=mCONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_MINIX_FS=mCONFIG_NTFS_FS=mCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_EXT2_FS=yCONFIG_UDF_FS=mCONFIG_CODA_FS=mCONFIG_NFS_FS=mCONFIG_NFS_V3=yCONFIG_NFSD=mCONFIG_NFSD_V3=yCONFIG_SUNRPC=mCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_SMB_FS=mCONFIG_SMB_NLS_DEFAULT=yCONFIG_MSDOS_PARTITION=yCONFIG_SMB_NLS=yCONFIG_NLS=yCONFIG_NLS_CODEPAGE_437=mCONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_15=mCONFIG_VGA_CONSOLE=yCONFIG_VIDEO_SELECT=y
---->8----
Signature · 4 lines
Cyril ADRIAN ALPLOG F-67400 ILLKIRCH +33 (0)6 70 55 10 60 +33 (0)3 90 40 00 00 mailto:[email protected] mailto:[email protected] http://sourceforge.net/projects/smerge http://www.alplog.fr
Quoted 7 lines · Cyril ADRIAN
In short, since 2.4.5 I seem not to be able to install a kernel (depmod
says "unresolved symbols"). 2.4.6 shows the same problem but as far as I
remember 2.4.4 did not. The sources I use are downloaded straight from
www.kernel.org and I always use the same .config file.Relevant data about my machine: PC Pentium III, 320 Mo, UDMA disks, and
the OS is Debian GNU/Linux 2.2r3 ("Potato"). Currently I run a 2.4.1 kernel.
Looks like your system has an old version of modutils. You need Adrian Bunk's linux-2.4 packages for running linux-2.4.* with Debian potato. Add the following two lines to /etc/apt/sources.list:
deb http://people.debian.org/~bunk/debian potato main deb-src http://people.debian.org/~bunk/debian potato main
Now run 'apt-get update ; apt-get dist-upgrade' and rebuild the kernel.
Erik
[happily running linux-2.4.6-pre8 on potato]
Signature · 5 lines
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [email protected] WWW: http://www-ict.its.tudelft.nl/~erik/
Hello,
Thank you for your fast answer :o)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Erik" == Erik Mouw <[email protected]> writes:
Erik> Looks like your system has an old version of modutils. You need Adrian Erik> Bunk's linux-2.4 packages for running linux-2.4.* with Debian potato. Erik> Add the following two lines to /etc/apt/sources.list:
Erik> deb http://people.debian.org/~bunk/debian potato main Erik> deb-src http://people.debian.org/~bunk/debian potato main
I have just the first line of those. dpkg --list | grep modutils shows:
ii modutils 2.4.6-2.bunk Linux module utilities.
Is it OK?
Cyril
Signature · 4 lines
Cyril ADRIAN ALPLOG F-67400 ILLKIRCH +33 (0)6 70 55 10 60 +33 (0)3 90 40 00 00 mailto:[email protected] mailto:[email protected] http://sourceforge.net/projects/smerge http://www.alplog.fr
Quoted 6 lines · Cyril ADRIAN
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Erik" == Erik Mouw <[email protected]> writes:
Erik> Looks like your system has an old version of modutils. You need Adrian Erik> Bunk's linux-2.4 packages for running linux-2.4.* with Debian potato. Erik> Add the following two lines to
/etc/apt/sources.list:
Quoted 8 lines
Erik> deb http://people.debian.org/~bunk/debian potato main Erik> deb-src http://people.debian.org/~bunk/debian potato main
I have just the first line of those. dpkg --list | grep modutils shows:
ii modutils 2.4.6-2.bunk Linux module utilities.
Is it OK?
Yes, that's the same as I have in my system. The only difference is that I don't use kbuild but build the kernels by hand (done that since linux-1.0.8, hard habit to break :). Or maybe you still have some cruft left in /etc/modutils/paths.
Erik
Signature · 5 lines
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [email protected] WWW: http://www-ict.its.tudelft.nl/~erik/
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Erik" == Erik Mouw <[email protected]> writes:
ii modutils 2.4.6-2.bunk Linux module utilities.
Is it OK?
Erik> Yes, that's the same as I have in my system.
[...]
Erik> Or maybe you still have some cruft left in /etc/modutils/paths.
My /etc/modutils/paths is empty.
It's quite strange because I run a 2.4.1, and it works just fine!
Cyril
Signature · 4 lines
Cyril ADRIAN ALPLOG F-67400 ILLKIRCH +33 (0)6 70 55 10 60 +33 (0)3 90 40 00 00 mailto:[email protected] mailto:[email protected] http://sourceforge.net/projects/smerge http://www.alplog.fr