2002-02-04 15:48:40

by Dave Jones

[permalink] [raw]
Subject: Linux 2.5.3-dj2

Fix up some of the build problems from last time, and trickle in some more
small bits.

Patch against 2.5.3 vanilla is available from:
ftp://ftp.kernel.org/pub/linux/kernel/people/davej/patches/2.5/

-- Davej.

2.5.3-dj2
o More include file shake-ups. (Me)
| Break binfmt out of sched.h
| Divorce fs.h from linux/capability.h
| fs.h fathers err.h
o Fix some include breakage from -dj1. (Jarno Paananen)
o Fix LVM compile. (Dave Gilbert)
o Numerous Lanstreamer fixes. (Kent Yoder)
o Support large numbers of SCSI devices. (Richard Gooch)
o CRC32 late initialisation fix. (Petr Vandrovec)
o qnx4fs update. (Anders Larsen)
o Iforce joystick compile fix. (Vojtech Pavlik)
o Numerous NFS fixes. (Trond Myklebust)
o No CONFIG_PCI compile fix. (Adrian Bunk)
o NBD request size limit fix. (Petr Vandrovec)
o Selectable port/irq for i8042. (James Simmons)
o Improved free page accounting. (Ed Tomlinson)
o Convert various strtok --> strsep. (Ren? Scharfe)


2.5.3-dj1
o Merge 2.5.3final
| Drop NCR5380 changes for now. For reasons why, read
| http://kt.zork.net/kernel-traffic/kt20020121_151.html#4
o MAINTAINERS updates. (Me, Ingo Molnar)
o Move IA64 perfmon init out of init/main.c (Me)
o Several #include linux/malloc.h -> linux/slab.h (Me)
o Remove bogus duplicate dmi_scan() (Me)
o Remove duplicate code in bootsect.S (Rob Landley)
o ScanLogic USB-ATAPI adapter support. (Leif Sawyer)
o Shrink dqcache by priority. (Josh MacDonald)
o Fix up BKL removal breakage in HFS & UFS. (Robert Love, Me)
o Config.help updates for GUID partition support. (Matt Domsch)
o Updated USB driverfs support. (Greg KH)
o Fix modular USB build. (Jim McDonald)
o Handle error case in sys_swapon() (Andrey Panin)
o i810_audio build fix. (Martin Bahlinger)
o text.lock->subsection improvements. (Keith Owens)
o Support an extra mystery rocketport card. (Andi Kleen)
o zlib_inflate build fix. (Andi Kleen)
o Remove inclusion of sched.h for most of fs/ (Me)
| pushes CURRENT_TIME into wait.h
| There's still work to do here.
o Debug trap for vfree. (Arjan van de Ven)
o Make xconfig find help texts again. (Olaf Dietsche)
o Fix nbd breakage. (Petr Vandrovec)
o IBM partition compile fix. (Sergey S. Kostyliov)
o More reiserfs fixes. (Oleg Drokin)


2.5.2-dj7
o Merge 2.5.3pre6
o Remove fs.h inclusion from sched.h again. (Christoph Hellwig)
o Remove some segment.h inclusions that reappeared. (Me)
o Unmangle dl2k crc fix from -dj6 (Jim McDonald)
o Fix tsdev compile. (Me)
o aty128fb & radeonfb compile fixes. (James Simmons)
o Updated Config.help entries for input layer. (Vojtech Pavlik)
o Input layer tweak for old IBM keyboards. (Vojtech Pavlik)
o Fix USB HID feature report output. (Vojtech Pavlik)
o Workaround some broken PS/2 mice. (Vojtech Pavlik)
o Don't filter outgoing fields to HID defined ranges. (Vojtech Pavlik)
o Disable address in scatterlist for sg. (Douglas Gilbert)
o Limit NR_IRQS in no IO-APIC case. (Brian Gerst)
o Sonypi driver update (C1MRX Vaio). (Stelian Pop)
o Remove bogus release_region in eexpress. (Gianluca Anzolin)
o Neofb compile fixes. (James Simmons)
o Reiserfs update. (all@namesys)
o Further reiserfs fixes. (Oleg Drokin)
o Fix keyboard not working with nothing in AUX port. (Vojtech Pavlik)
o Small devfs changes. (Richard Gooch)
o Rage128 Pro TF identification to aty128fb. (James Simmons)




--
Dave Jones. http://www.codemonkey.org.uk
SuSE Labs.


2002-02-04 17:00:20

by Daniel E. Shipton

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

2.5.3dj-1 would make bzimage and then die on the modules.....

this is 2.5.3-dj2 and
make bzImage dies and results in the following below........



gcc -D__KERNEL__ -I/home/kernel/linux-2.5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DKBUILD_BASENAME=ptrace -c -o ptrace.o ptrace.c
In file included from ptrace.c:13:
/home/kernel/linux-2.5/include/linux/highmem.h: In function `bh_kmap':
/home/kernel/linux-2.5/include/linux/highmem.h:21: dereferencing pointer
to incomplete type
/home/kernel/linux-2.5/include/linux/highmem.h:21: warning: implicit
declaration of function `bh_offset'
/home/kernel/linux-2.5/include/linux/highmem.h: In function `bh_kunmap':
/home/kernel/linux-2.5/include/linux/highmem.h:26: dereferencing pointer
to incomplete type
make[2]: *** [ptrace.o] Error 1
make[2]: Leaving directory `/home/kernel/linux-2.5/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/kernel/linux-2.5/kernel'
make: *** [_dir_kernel] Error 2

2002-02-04 17:37:43

by Sebastian Droege

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

Hi,
On 04 Feb 2002 10:54:09 -0600
"Daniel E. Shipton" <[email protected]> wrote:

> 2.5.3dj-1 would make bzimage and then die on the modules.....
>
> this is 2.5.3-dj2 and
> make bzImage dies and results in the following below........
>
>
>
> gcc -D__KERNEL__ -I/home/kernel/linux-2.5/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -DKBUILD_BASENAME=ptrace -c -o ptrace.o ptrace.c
> In file included from ptrace.c:13:
> /home/kernel/linux-2.5/include/linux/highmem.h: In function `bh_kmap':
> /home/kernel/linux-2.5/include/linux/highmem.h:21: dereferencing pointer
> to incomplete type
> /home/kernel/linux-2.5/include/linux/highmem.h:21: warning: implicit
> declaration of function `bh_offset'
> /home/kernel/linux-2.5/include/linux/highmem.h: In function `bh_kunmap':
> /home/kernel/linux-2.5/include/linux/highmem.h:26: dereferencing pointer
> to incomplete type
> make[2]: *** [ptrace.o] Error 1
> make[2]: Leaving directory `/home/kernel/linux-2.5/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/home/kernel/linux-2.5/kernel'
> make: *** [_dir_kernel] Error 2
>
I have the same errors in some other files... such as alsa or the radix tree page cache
Maybe this helps, maybe not ;)

Bye


Attachments:
(No filename) (189.00 B)

2002-02-04 18:47:40

by Dave Jones

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

On Mon, Feb 04, 2002 at 10:54:09AM -0600, Daniel E. Shipton wrote:

> /home/kernel/linux-2.5/include/linux/highmem.h:21: warning: implicit
> declaration of function `bh_offset'

Quick fix: add #include <linux/fs.h> to include/linux/highmem.h
This is horrible though, I think its time to take another close
look at fs.h

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-02-04 20:41:24

by Daniel E. Shipton

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

close......that worked out....how about this one...
keep up the good work...

daniel.e.shipton

gcc -D__KERNEL__ -I/home/kernel/linux-2.5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DKBUILD_BASENAME=iodebug -c -o iodebug.o iodebug.c
rm -f lib.a
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
memcpy.o strstr.o iodebug.o
make[2]: Leaving directory `/home/kernel/linux-2.5/arch/i386/lib'
make[1]: Leaving directory `/home/kernel/linux-2.5/arch/i386/lib'
ld -m elf_i386 -T /home/kernel/linux-2.5/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 \
/home/kernel/linux-2.5/arch/i386/lib/lib.a
/home/kernel/linux-2.5/lib/lib.o
/home/kernel/linux-2.5/arch/i386/lib/lib.a \
drivers/base/base.o drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o drivers/media/media.o
drivers/char/drm/drm.o drivers/net/fc/fc.o
drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.o
drivers/net/wan/wan.o drivers/atm/atm.o drivers/ide/idedriver.o
drivers/cdrom/driver.o drivers/pci/driver.o
drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o
drivers/pnp/pnp.o drivers/video/video.o drivers/md/mddev.o \
net/network.o \
--end-group \
-o vmlinux
fs/fs.o: In function `init_iso9660_fs':
fs/fs.o(.text.init+0xdf1): undefined reference to `zisofs_cleanup'
make: *** [vmlinux] Error 1



2002-02-04 21:06:20

by Dave Jones

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

On Mon, Feb 04, 2002 at 02:34:58PM -0600, Daniel E. Shipton wrote:
> close......that worked out....how about this one...
> fs/fs.o: In function `init_iso9660_fs':
> fs/fs.o(.text.init+0xdf1): undefined reference to `zisofs_cleanup'
> make: *** [vmlinux] Error 1

Hrmm, what are your .config options for ..
CONFIG_ISO9660_FS, CONFIG_ZISOFS and CONFIG_ZISOFS_FS ?

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-02-04 21:11:50

by Daniel E. Shipton

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

On Mon, 2002-02-04 at 15:06, Dave Jones wrote:
> On Mon, Feb 04, 2002 at 02:34:58PM -0600, Daniel E. Shipton wrote:
> > close......that worked out....how about this one...
> > fs/fs.o: In function `init_iso9660_fs':
> > fs/fs.o(.text.init+0xdf1): undefined reference to `zisofs_cleanup'
> > make: *** [vmlinux] Error 1
>
> Hrmm, what are your .config options for ..
> CONFIG_ISO9660_FS, CONFIG_ZISOFS and CONFIG_ZISOFS_FS ?
>

i snagged the .config from redhat's 2.4.17 kernel sources....the i686
one. i attached it for your perusal.....

CONFIG_ISO9660_FS, CONFIG_ZISOFS and CONFIG_ZISOFS_FS = y



Attachments:
.config (34.88 kB)

2002-02-05 11:06:23

by Todor Todorov

[permalink] [raw]
Subject: Re: Linux 2.5.3-dj2

Hi everyone,

hmm, the zisofs again. I think that's caused because the compress.o
module gets included at a pretty late stage in the Makefile (
fs/isofs/Makefile ) for linking. From what I've seen in other Makefiles,
all modules that export symbols are linked into the target object first.
Please query the lkml message list for a previous mail from me with
subject "2.5.3-dj1: fast zisofs compile fix". It has a small patch for
that particular Makefile that moves compress.o at the beginning of the
link list if zisofs is included. Not sure this is the right way, but it
works.

Regards,
Todor