intermezzo fixes for 2.5.50

intermezzo fixes for 2.5.50

Post by Peter Braa » Thu, 12 Dec 2002 21:30:16



Hello,

Please find attached relatively straightforward fixes for intermezzo
problems in 2.5.50.  I think all of them related to:
 - two missing headers
 - use of timespec instead of time_t.

- Peter -

  intermezzo.patch
35K Download
 
 
 

intermezzo fixes for 2.5.50

Post by Randy.Dunla » Thu, 12 Dec 2002 22:00:12


| Hello,
|
| Please find attached relatively straightforward fixes for intermezzo
| problems in 2.5.50.  I think all of them related to:
|  - two missing headers
|  - use of timespec instead of time_t.
|
| - Peter -

Patch doesn't apply cleanly to 2.5.51.
File include/linux/fsfilter.h is already in 2.5.51.

After ingoring above:  intermezzo doesn't build.
Makefile still contains io_daemon.o, but that should be deleted.

Patch for that is below.

--
~Randy

--- ./fs/intermezzo/Makefile%IMZ        Mon Dec  9 18:46:14 2002

 obj-$(CONFIG_INTERMEZZO_FS) += intermezzo.o

 intermezzo-objs := cache.o dcache.o dir.o ext_attr.o file.o fileset.o \
-                  inode.o io_daemon.o journal.o journal_ext2.o journal_ext3.o \
+                  inode.o journal.o journal_ext2.o journal_ext3.o \
                   journal_obdfs.o journal_reiserfs.o journal_tmpfs.o journal_xfs.o \
                   kml_reint.o kml_unpack.o methods.o presto.o psdev.o replicator.o \
                   super.o sysctl.o upcall.o vfs.o

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

intermezzo fixes for 2.5.50

Post by system_li.. » Thu, 12 Dec 2002 22:20:12


My gcc compiler:

server01:/usr/src/linux-2.4.20# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2 20021202 (Debian prerelease)

------- the fail --------

server01:/usr/src/linux-2.4.20# make
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=main -c
-o init/main.o init/main.c
. scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686  -DUTS_MACHINE='"i386"'
-DKBUILD_BASENAME=version -c -o init/version.o init/version.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2
-march=i686   -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o
init/do_mounts.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 "
-C  kernel
make[1]: Entering directory `/usr/src/linux-2.4.20/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.20/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/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=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
In file included from /usr/src/linux-2.4.20/include/linux/wait.h:13,
                  from /usr/src/linux-2.4.20/include/linux/fs.h:12,
                  from /usr/src/linux-2.4.20/include/linux/capability.h:17,
                  from /usr/src/linux-2.4.20/include/linux/binfmts.h:5,
                  from /usr/src/linux-2.4.20/include/linux/sched.h:9,
                  from /usr/src/linux-2.4.20/include/linux/mm.h:4,
                  from sched.c:23:
/usr/src/linux-2.4.20/include/linux/kernel.h:10:20: stdarg.h: No such file
or directory
In file included from /usr/src/linux-2.4.20/include/linux/wait.h:13,
                  from /usr/src/linux-2.4.20/include/linux/fs.h:12,
                  from /usr/src/linux-2.4.20/include/linux/capability.h:17,
                  from /usr/src/linux-2.4.20/include/linux/binfmts.h:5,
                  from /usr/src/linux-2.4.20/include/linux/sched.h:9,
                  from /usr/src/linux-2.4.20/include/linux/mm.h:4,
                  from sched.c:23:
/usr/src/linux-2.4.20/include/linux/kernel.h:74: parse error before "va_list"
/usr/src/linux-2.4.20/include/linux/kernel.h:74: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20/include/linux/kernel.h:77: parse error before "va_list"
/usr/src/linux-2.4.20/include/linux/kernel.h:77: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20/include/linux/kernel.h:81: parse error before "va_list"
/usr/src/linux-2.4.20/include/linux/kernel.h:81: warning: function
declaration isn't a prototype
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/kernel'
make: *** [_dir_kernel] Error 2
server01:/usr/src/linux-2.4.20#

???????

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

intermezzo fixes for 2.5.50

Post by system_li.. » Thu, 12 Dec 2002 23:40:09


Same problem with Linux 2.4.20-ac2

I think its not a kernel code problem. Have any some idea about the real one?
Any compatibility problem with gcc3.2.2 in variable use?

BTW: special warning with:
-> /usr/src/linux-2.4.20/include/linux/kernel.h:10:20: stdarg.h: No such
file or directory


>My gcc compiler:

>server01:/usr/src/linux-2.4.20# gcc -v
>Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
>Configured with: ../src/configure -v
>--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
>--mandir=/usr/share/man --infodir=/usr/share/info
>--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
>--with-system-zlib --enable-nls --without-included-gettext
>--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
>--enable-objc-gc i386-linux
>Thread model: posix
>gcc version 3.2.2 20021202 (Debian prerelease)

>------- the fail --------

>server01:/usr/src/linux-2.4.20# make
>gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
>-pipe -mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=main -c
>-o init/main.o init/main.c
>. scripts/mkversion > .tmpversion
>gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
>-pipe -mpreferred-stack-boundary=2 -march=i686  -DUTS_MACHINE='"i386"'
>-DKBUILD_BASENAME=version -c -o init/version.o init/version.c
>gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
>-pipe -mpreferred-stack-boundary=2
>-march=i686   -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o
>init/do_mounts.c
>make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
>-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
>-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 "
>-C  kernel
>make[1]: Entering directory `/usr/src/linux-2.4.20/kernel'
>make all_targets
>make[2]: Entering directory `/usr/src/linux-2.4.20/kernel'
>gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/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=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
>In file included from /usr/src/linux-2.4.20/include/linux/wait.h:13,
>                  from /usr/src/linux-2.4.20/include/linux/fs.h:12,
>                  from /usr/src/linux-2.4.20/include/linux/capability.h:17,
>                  from /usr/src/linux-2.4.20/include/linux/binfmts.h:5,
>                  from /usr/src/linux-2.4.20/include/linux/sched.h:9,
>                  from /usr/src/linux-2.4.20/include/linux/mm.h:4,
>                  from sched.c:23:
>/usr/src/linux-2.4.20/include/linux/kernel.h:10:20: stdarg.h: No such file
>or directory
>In file included from /usr/src/linux-2.4.20/include/linux/wait.h:13,
>                  from /usr/src/linux-2.4.20/include/linux/fs.h:12,
>                  from /usr/src/linux-2.4.20/include/linux/capability.h:17,
>                  from /usr/src/linux-2.4.20/include/linux/binfmts.h:5,
>                  from /usr/src/linux-2.4.20/include/linux/sched.h:9,
>                  from /usr/src/linux-2.4.20/include/linux/mm.h:4,
>                  from sched.c:23:
>/usr/src/linux-2.4.20/include/linux/kernel.h:74: parse error before "va_list"
>/usr/src/linux-2.4.20/include/linux/kernel.h:74: warning: function
>declaration isn't a prototype
>/usr/src/linux-2.4.20/include/linux/kernel.h:77: parse error before "va_list"
>/usr/src/linux-2.4.20/include/linux/kernel.h:77: warning: function
>declaration isn't a prototype
>/usr/src/linux-2.4.20/include/linux/kernel.h:81: parse error before "va_list"
>/usr/src/linux-2.4.20/include/linux/kernel.h:81: warning: function
>declaration isn't a prototype
>make[2]: *** [sched.o] Error 1
>make[2]: Leaving directory `/usr/src/linux-2.4.20/kernel'
>make[1]: *** [first_rule] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.4.20/kernel'
>make: *** [_dir_kernel] Error 2
>server01:/usr/src/linux-2.4.20#

>???????

>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
 
 
 

intermezzo fixes for 2.5.50

Post by Alan Co » Fri, 13 Dec 2002 00:00:20



> Same problem with Linux 2.4.20-ac2

> I think its not a kernel code problem. Have any some idea about the real one?
> Any compatibility problem with gcc3.2.2 in variable use?

> BTW: special warning with:
> -> /usr/src/linux-2.4.20/include/linux/kernel.h:10:20: stdarg.h: No such
> file or directory

You appear to be missing compiler headers from gcc

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

intermezzo fixes for 2.5.50

Post by YW Lian » Fri, 13 Dec 2002 18:32:38


Hi

How Do I apply this patch file?? what is the command ???




> | Hello,
> |
> | Please find attached relatively straightforward fixes for intermezzo
> | problems in 2.5.50.  I think all of them related to:
> |  - two missing headers
> |  - use of timespec instead of time_t.
> |
> | - Peter -

> Patch doesn't apply cleanly to 2.5.51.
> File include/linux/fsfilter.h is already in 2.5.51.

> After ingoring above:  intermezzo doesn't build.
> Makefile still contains io_daemon.o, but that should be deleted.

> Patch for that is below.

> --
> ~Randy

> --- ./fs/intermezzo/Makefile%IMZ Mon Dec  9 18:46:14 2002
> +++ ./fs/intermezzo/Makefile Wed Dec 11 11:40:55 2002

>  obj-$(CONFIG_INTERMEZZO_FS) += intermezzo.o

>  intermezzo-objs := cache.o dcache.o dir.o ext_attr.o file.o fileset.o \
> -            inode.o io_daemon.o journal.o journal_ext2.o journal_ext3.o \
> +            inode.o journal.o journal_ext2.o journal_ext3.o \
>              journal_obdfs.o journal_reiserfs.o journal_tmpfs.o
journal_xfs.o \
>              kml_reint.o kml_unpack.o methods.o presto.o psdev.o
replicator.o \
>              super.o sysctl.o upcall.o vfs.o

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

intermezzo fixes for 2.5.50

Post by Linus Torvald » Sun, 15 Dec 2002 03:40:06


Applied (after fixups), but I also moved the intermezzo header files into
intermezzo's own directory instead of leaving them in <linux/*.h>. I don't
see why anybody else should care about intermezzo-specific stuff.

Btw, the thing still doesn't actually compile, since there is no io_deamon
file checked in, even though the makefile says it wants one.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. mou401.h fix for kernel 2.5.50

In order to compile sound/oss/mpu401.c as it has been changed in kernel
2.5.50 this is needed:

--- linux-2.5.50/sound/oss/mpu401.h.orig        2002-11-29
13:02:01.000000000 +0100
+++ linux-2.5.50/sound/oss/mpu401.h     2002-11-29 13:01:28.000000000

 /*     From mpu401.c */
 int probe_mpu401(struct address_info *hw_config);
-void attach_mpu401(struct address_info * hw_config, struct module *owner);
+int attach_mpu401(struct address_info *hw_config, struct module *owner);
 void unload_mpu401(struct address_info *hw_info);

 int intchk_mpu401(void *dev_id);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. restrict find to the current diectory

3. 2.5.50-ac1 trival compile fix

4. Reading is much more interesting than TV (1093/1708)

5. S3 fixes for 2.5.50

6. ipnat and FTP problems

7. 2.5.50 conglomerate module fixes patch

8. How do I enable the IDE interface on a Creative SB AWE32 PnP in linux 2.4.9?

9. 2.5.50 responsiveness

10. [2.5.50][PnP]: Issue with SBAWE32 Gameport and Serial port & IDE controller conflict

11. 2.5.50 - sound driver issues with i810_audio

12. 2.5.50: unused code in link_path_walk()

13. 2.5.50 mpu401.h compilation error patches