With the .config file attached, "make bzImage" fails all the time with: fs/fs.o(.text+0x40c8): In function `fsync_dev_lockfs': : undefined reference to `DQUOT_SYNC' make: *** [vmlinux] Error 1 Reproducible: Always Steps to Reproduce: 1. # ACCEPT_KEYWORDS='~x86' emerge pfeifer-sources (to get pfeifer-sources-2.4.21.1_pre2) 2. # cd /usr/src/linux-2.4.21-pfeifer-r1_pre2 3. # make xconfig (find .config attached) 4. # make dep && make clean bzImage (<- fails) Actual Results: ... rm -f mm.o ld -m elf_i386 -r -o mm.o init.o fault.o ioremap.o extable.o pageattr.o pgtable.o make[2]: Leaving directory `/usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/mm' make[1]: Leaving directory `/usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/mm' make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C arch/i386/lib make[1]: Entering directory `/usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/lib' gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -c checksum.S -o checksum.o gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=old_checksum -c -o old-checksum.o old-checksum.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=delay -c -o delay.o delay.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=usercopy -c -o usercopy.o usercopy.c gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -c getuser.S -o getuser.o gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=memcpy -c -o memcpy.o memcpy.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=strstr -c -o strstr.o strstr.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=dec_and_lock -c -o dec_and_lock.o dec_and_lock.c rm -f lib.a ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o dec_and_lock.o make[2]: Leaving directory `/usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/lib' make[1]: Leaving directory `/usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/lib' gcc -E -C -P -I/usr/src/linux-2.4.21-pfeifer-r1_pre2/include -imacros /usr/src/linux-2.4.21-pfeifer-r1_pre2/include/linux/config.h -imacros /usr/src/linux-2.4.21-pfeifer-r1_pre2/include/asm-i386/segment.h -imacros /usr/src/linux-2.4.21-pfeifer-r1_pre2/include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds ld -m elf_i386 -T /usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/net/appletalk/appletalk.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o drivers/media/media.o drivers/input/inputdrv.o drivers/md/mddev.o \ net/network.o \ grsecurity/grsec.o \ crypto/crypto.o \ /usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/lib/lib.a /usr/src/linux-2.4.21-pfeifer-r1_pre2/lib/lib.a /usr/src/linux-2.4.21-pfeifer-r1_pre2/arch/i386/lib/lib.a \ --end-group \ -o vmlinux fs/fs.o(.text+0x40c8): In function `fsync_dev_lockfs': : undefined reference to `DQUOT_SYNC' make: *** [vmlinux] Error 1 Expected Results: "make bzImage" succeeds.
Created attachment 14136 [details] The .config file use to compile the kernel
ok, first off - this bug *only* happens with USE="evms2". therefore, i am changing the Summary to reflect this. See the attached diff for the evms2 fix. Also, there is an issue with your config: You are using CMTP protocol support under bluetooth. This is great, however this requires CAPI support. You need to enable the following: # ISDN subsystem CONFIG_ISDN=m CONFIG_ISDN_BOOL=y # Active ISDN cards CONFIG_ISDN_CAPI=m CONFIG_ISDN_CAPI_MIDDLEWARE=y CONFIG_ISDN_CAPI_CAPI20=m CONFIG_ISDN_CAPI_CAPIFS_BOOL=y CONFIG_ISDN_CAPI_CAPIFS=m For some insight on this, go here: http://www.holtmann.org/linux/bluetooth/isdn.html It is in German, but it is pretty clear and can be translated with various utilities (ie. babelfish) if you cannot not read German. Regards, Jay
Created attachment 14144 [details, diff] fix for evms2 DQUOT_SYNC Please patch as follows: patch -p1 -s -N -E -d /usr/src/linux-2.4.21-pfeifer-r1_pre2/ < bug23903.diff
Created attachment 14145 [details] bug reporter's config with proper CAPI support selected I am attaching the .config with proper CAPI support for your reference. Jay
Closing.