Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23903 - when using evms2, "make bzImage" on pfeifer-sources-2.4.21.1_pre2 fails with (undefined reference to `DQUOT_SYNC')
Summary: when using evms2, "make bzImage" on pfeifer-sources-2.4.21.1_pre2 fails with ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-03 00:04 UTC by Frederic Soulier
Modified: 2003-07-03 10:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The .config file use to compile the kernel (.config,28.97 KB, text/plain)
2003-07-03 00:06 UTC, Frederic Soulier
Details
fix for evms2 DQUOT_SYNC (bug23903.diff,866 bytes, patch)
2003-07-03 10:01 UTC, Jay Pfeifer (RETIRED)
Details | Diff
bug reporter's config with proper CAPI support selected (config.23903.capi,31.59 KB, text/plain)
2003-07-03 10:02 UTC, Jay Pfeifer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Soulier 2003-07-03 00:04:58 UTC
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.
Comment 1 Frederic Soulier 2003-07-03 00:06:52 UTC
Created attachment 14136 [details]
The .config file use to compile the kernel
Comment 2 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-03 10:00:04 UTC
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 
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-03 10:01:14 UTC
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
Comment 4 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-03 10:02:35 UTC
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
Comment 5 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-03 10:03:29 UTC
Closing.