[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.19 modules_install failed



OK,  my another SID box successfully make-kpkg a kernel image for me.
It hasn't been updated for a couple of days so some packages are under
suspicion:

The following NEW packages will be installed:
  symlinks 
The following packages have been kept back
  libdps1 
The following packages will be upgraded
   afio avifile-player bash binutils cpp cpp-3.1 debconf debconf-utils
   debhelper docbook-xml filerunner g++ g77 gcc gcc-3.1 gcc-3.1-base gnome-pim
   gphoto2 libavifile0.7 libgcc1 libreadline4 libstdc++4 libungif4-dev 
   libungif4g tkmixer 


Thanks,
Jack


On Mon, Aug 05, 2002 at 12:15:49AM +1000, Jonathan Wheelhouse wrote:
> On Sun, Aug 04, 2002 at 09:59:35AM +0200, Bostjan Muller wrote:
> > On sob, 2002-08-03 at 19:50, Jack wrote:
> > > Hi,
> > > 
> > > "make bzImage modules" is OK,  "make modules_install" failed:
> > > 
> > > Errors like these:
> > > 
> > > depmod:         register_sysctl_table_Rab92f33e
> > <snip>
> > 
> > I have the same error, I am using Debian unstable/sid and was trying to
> > create the kernel debs with make-kpkg and failed at the same point.
> 
> Me too, me too.
> 
> I downloaded the new 2.4.19 kernel for my sid|unstable box but it
> breaks on depmod with unresolved symbols.
> 
> Commands I used:
> $ cd /usr/src/linux-2.4.19
> $ cp /boot/config.* .config
> $ make oldconfig
> $ fakeroot make-kpkg --revision ... kernel-image
> 
> I've always managed to muddle through before but this one stumps me.
> 
> Seeing as how others are reporting breakage with make-kpkg I may raise
> a bug on this tomorrow and possibly attempt to compile the longer way.
> 
> Here's some snipped output of the attempt; maybe it will help somebody
> debug this.
> 
> Jonathan
> ------------------------------------------------------------------------
> Script started on Sun Aug  4 15:20:08 2002
> ]2;/usr/src/linux-2.4.19$ cp /boot/config-2.4.17 ./ config
> ]2;/usr/src/linux-2.4.19$ make oldconfig
> rm -f include/asm
> 
> [snip]
> 
> objcopy -O binary -R .note -R .comment -S compressed/bvmlinux compressed/bvmlinux.out
> tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
> Root device is (3, 5)
> Boot sector 512 bytes.
> Setup is 4651 bytes.
> System is 787 kB
> make[2]: Leaving directory `/usr/src/linux-2.4.19/arch/i386/boot'
> make[1]: Leaving directory `/usr/src/linux-2.4.19'
> /usr/bin/make    ARCH=i386 \
>                      modules
> make[1]: Entering directory `/usr/src/linux-2.4.19'
> /usr/bin/make -C  kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.19/include/linux/modversions.h" MAKING_MODULES=1 modules
> make[2]: Entering directory `/usr/src/linux-2.4.19/kernel'
> make[2]: Nothing to be done for `modules'.
> make[2]: Leaving directory `/usr/src/linux-2.4.19/kernel'
> /usr/bin/make -C  drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.19/include/linux/modversions.h" MAKING_MODULES=1 modules
> make[2]: Entering directory `/usr/src/linux-2.4.19/drivers'
> 
> [snip]
> 
> make[4]: Entering directory `/usr/src/linux-2.4.19/drivers/char/agp'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.19/include/linux/modversions.h  -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=agpgart_fe  -c -o agpgart_fe.o agpgart_fe.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.19/include/linux/modversions.h  -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=agpgart_be  -DEXPORT_SYMTAB -c agpgart_be.c
> agpgart_be.c: In function `agp_generic_agp_enable':
> agpgart_be.c:400: warning: unused variable `cap_id'
> agpgart_be.c: In function `agp_find_supported_device':
> agpgart_be.c:4298: warning: unused variable `scratch'
> agpgart_be.c:4298: warning: unused variable `cap_id'
> ld -m elf_i386  -r -o agpgart.o agpgart_fe.o agpgart_be.o
> make[4]: Leaving directory `/usr/src/linux-2.4.19/drivers/char/agp'
> 
> [snip]
> 
> touch stamp-build
> make[1]: Entering directory `/usr/src/linux-2.4.19'
> rm -f -r ./debian/tmp-image ./debian/tmp-image.deb
> test -f stamp-configure     || /usr/bin/make -f /usr/share/kernel-package/rules configure
> test -f stamp-build         || /usr/bin/make -f /usr/share/kernel-package/rules build
> install -p -d -o root -g root -m 755 debian/tmp-image/DEBIAN
> install -p -d -o root -g root -m 755 debian/tmp-image//boot
> install -p -d -o root -g root -m 755 debian/tmp-image/usr/share/doc/kernel-image-2.4.19
> 
> [snip]
> 
> /usr/bin/make -C ipv4/netfilter modules_install
> make[4]: Entering directory `/usr/src/linux-2.4.19/net/ipv4/netfilter'
> mkdir -p /usr/src/linux-2.4.19/debian/tmp-image/lib/modules/2.4.19/kernel/net/ipv4/netfilter/
> cp ip_conntrack.o ip_conntrack_ftp.o ip_nat_ftp.o ip_tables.o ipt_LOG.o ipt_MARK.o ipt_MASQUERADE.o ipt_REDIRECT.o ipt_REJECT.o ipt_TCPMSS.o ipt_TOS.o ipt_length.o ipt_limit.o ipt_mac.o ipt_mark.o ipt_multiport.o ipt_state.o ipt_tcpmss.o ipt_tos.o ipt_ttl.o iptable_filter.o iptable_mangle.o iptable_nat.o /usr/src/linux-2.4.19/debian/tmp-image/lib/modules/2.4.19/kernel/net/ipv4/netfilter/
> make[4]: Leaving directory `/usr/src/linux-2.4.19/net/ipv4/netfilter'
> /usr/bin/make -C netlink modules_install
> 
> [snip]
> 
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux-2.4.19/debian/tmp-image -r 2.4.19; fi
> depmod: *** Unresolved symbols in /usr/src/linux-2.4.19/debian/tmp-image/lib/modules/2.4.19/kernel/drivers/char/agp/agpgart.o
> depmod: 	__ioremap_R9eac042a
> depmod: 	__free_pages_R6c90edb0
> depmod: 	pci_find_class_Rbee3c2c6
> depmod: 	kmalloc_R93d4cfe6
> 
> [snip]
> 
> depmod: 	ether_setup_R7940ef23
> depmod: *** Unresolved symbols in /usr/src/linux-2.4.19/debian/tmp-image/lib/modules/2.4.19/kernel/net/ipv4/netfilter/ip_conntrack.o
> depmod: 	nf_register_hook_Rfc55803d
> depmod: 	register_sysctl_table_Rab92f33e
> depmod: 	ip_fragment_R300f4d71
> depmod: 	ip_send_check_Ra37b7441
> depmod: 	ip_ct_attach_R96ea3e52
> depmod: 	kmem_cache_free_R891f2686
> 
> [snip]
> 
> make[2]: *** [_modinst_post] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.19'
> make[1]: *** [real_stamp_image] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.19'
> ]2;/usr/src/linux-2.4.19$ 
> Script done on Sun Aug  4 15:36:13 2002
> ------------------------------------------------------------------------
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
> 



Reply to: