Mailing List archive

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

[mpeg2] Re: kfir does not finish to initialize



Hi,

I have recently seen similar problems...

[...]
> 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
> -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.20/include/linux/modversions.h -D__KFIR_PACK__
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=i2c_core  -c -o
> i2c-core.o i2c-core.c
> In file included from i2c-core.c:28:
> /usr/src/linux-2.4.20/include/linux/malloc.h:4: warning: #warning
> linux/malloc.h is deprecated, use linux/slab.h instead.
> i2c-core.c:1170: parse error before
> `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> i2c-core.c:1170: warning: type defaults to `int' in declaration of
> `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> i2c-core.c:1170: warning: data definition has no type or storage class
[...]
If you are using a 2.4.20 kernel, you do not have to recompile i2c: just
comment out MX_OBJS in the makefile, and this problem should be fixed.

[...]
> 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
> -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.20/include/linux/modversions.h -D__KFIR_PACK__
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7113  -c -o
> saa7113.o saa7113.c
> In file included from saa7113.c:33:
> /usr/src/linux-2.4.20/include/linux/malloc.h:4: warning: #warning
> linux/malloc.h is deprecated, use linux/slab.h instead.
Remove #include <malloc.h> and this one should be fixed

> When I run the command 'make insmod', there is a segmentation fault :
> 
> insmod kfir.o debug=1;
> Warning: loading kfir.o will taint the kernel: no license
> make: *** [insmod] Erreur de segmentation
The same thing happened to me too, and I discovered that the oops was
due to the usb drivers (removing all the usb-related modules should
help) and to a corrupted binary microcode (check that your
altera_keb_plx_5e.rbf and MPEG1_6.HLD are ok).

				Luca 
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





Home | Main Index | Thread Index