Hi; I got a VERY weird problem. My system:

PIII 600/128 RAM, 20 Gb HD, SBLive!, NVidia TNT2 (M64), Booktree Bt878 TV
card with FM tuner and remote control. RH7.

Out-of-the-box, all works except the 3D acceleration (for obvious reasons,
with a little tweaking it gets perfect), and the TV card (no sound; the
bttv driver in the kernel is WAY too old).

My modem velocity was (as always) great (4.85 Kb/s average, with a US
Robotics 56k message modem, extern).

So, I recompile my kernel (2.2.17, vanilla). I have no usb (nor 4 GB of
memory), so I have little care about most of the zillion patches that came
with the 2.2.16 shipped with RH7.

I just apply the i2c-2.5.2 (from lm_sensors) patch (bttv 0.7.43 needs it).

I recompile, recompile and install the modules, all right and clean. All
the other modules compiled with no problem at all (bttv 0.7.43, NVidia
0.9-5, and LIRC 0.6.2, for my remote control). All seems to be great.

BUT, when I connect, I realize that the conection speed drops horrible
(about 1.5 Kb/s). I've no idea why (I changed back to the 2.2.16-22 shipped
and the velocity gets normal again, so it's the kernel or some of the
modules). And the options for net, ppp etc. are the same (I checked one by
one).

So, I try to compile all the modules for 2.2.16-22. I apply the i2c-2.5.2
patch over all the other patches (I download the kernel-source-rpm),
recompile the modules and put all the i2c-xxx.o in the right place (bttv
needs the new i2c stack). It works.

I compiled again bttv. It works (whit not a single problem). Same with my
NVidia.

But when I try to compile lirc-0.6.2, kgcc complains:

================================================================================
make  all-recursive
make[1]: Entering directory `/home/canek/lirc-0.6.2'
Making all in drivers
make[2]: Entering directory `/home/canek/lirc-0.6.2/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/canek/lirc-0.6.2/drivers/lirc_dev'
DIR=`pwd`; (cd /home/canek/linux; make SUBDIRS=$DIR modules)
make[4]: Entering directory `/home/canek/linux'
make -C  /home/canek/lirc-0.6.2/drivers/lirc_dev CFLAGS="-Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -DMODVERSIONS 
-include /home/canek/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
make[5]: Entering directory `/home/canek/lirc-0.6.2/drivers/lirc_dev'
kgcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe 
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -DMODULE -DMODVERSIONS -include 
/home/canek/linux/include/linux/modversions.h -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB 
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/linux/include  -c -o lirc_dev.o lirc_dev.c
In file included from /usr/src/linux/include/linux/sched.h:74,
                 from lirc_dev.c:23:
/usr/src/linux/include/asm/processor.h:285: warning: `struct task_struct' declared 
inside parameter list
/usr/src/linux/include/asm/processor.h:285: warning: its scope is only this definition 
or declaration,
/usr/src/linux/include/asm/processor.h:285: warning: which is probably not what you 
want.
/usr/src/linux/include/asm/processor.h:289: warning: `struct task_struct' declared 
inside parameter list
/usr/src/linux/include/asm/uaccess.h: In function `verify_area':
In file included from lirc_dev.c:32:
/usr/src/linux/include/asm/uaccess.h:63: `current' undeclared (first use in this 
function)
/usr/src/linux/include/asm/uaccess.h:63: (Each undeclared identifier is reported only 
once
/usr/src/linux/include/asm/uaccess.h:63: for each function it appears in.)
/usr/src/linux/include/asm/uaccess.h: In function `__constant_copy_to_user':
/usr/src/linux/include/asm/uaccess.h:547: `current' undeclared (first use in this 
function)
/usr/src/linux/include/asm/uaccess.h: In function `__constant_copy_from_user':
/usr/src/linux/include/asm/uaccess.h:555: `current' undeclared (first use in this 
function)
lirc_dev.c: In function `add_to_buf':
lirc_dev.c:130: warning: implicit declaration of function `printk_R1b7d4074'
lirc_dev.c: In function `lirc_thread':
lirc_dev.c:165: warning: implicit declaration of function `exit_mm_R976dfcb3'
lirc_dev.c:165: `current' undeclared (first use in this function)
lirc_dev.c:166: warning: implicit declaration of function `exit_files_Ref94b656'
lirc_dev.c:167: warning: implicit declaration of function `exit_fs_R2924569e'
lirc_dev.c:172: warning: implicit declaration of function `sigfillset'
lirc_dev.c:188: warning: implicit declaration of function `schedule_timeout_R17d59d01'
lirc_dev.c:190: warning: implicit declaration of function 
`interruptible_sleep_on_R7d192578'
lirc_dev.c:192: warning: implicit declaration of function `signal_pending'
lirc_dev.c:196: warning: implicit declaration of function `wake_up_interruptible'
lirc_dev.c: At top level:
lirc_dev.c:397: warning: `struct file' declared inside parameter list
lirc_dev.c:397: warning: `struct inode' declared inside parameter list
lirc_dev.c: In function `irctl_open':
lirc_dev.c:401: dereferencing pointer to incomplete type
lirc_dev.c:403: dereferencing pointer to incomplete type
lirc_dev.c:407: dereferencing pointer to incomplete type
lirc_dev.c: At top level:
lirc_dev.c:446: warning: `struct file' declared inside parameter list
lirc_dev.c:446: warning: `struct inode' declared inside parameter list
lirc_dev.c: In function `irctl_close':
lirc_dev.c:448: dereferencing pointer to incomplete type
lirc_dev.c: At top level:
lirc_dev.c:465: parse error before `poll_table'
lirc_dev.c:465: warning: `struct file' declared inside parameter list
lirc_dev.c:466: warning: function declaration isn't a prototype
lirc_dev.c: In function `irctl_poll':
lirc_dev.c:467: `file' undeclared (first use in this function)
lirc_dev.c:472: warning: implicit declaration of function `poll_wait'
lirc_dev.c: At top level:
lirc_dev.c:486: warning: `struct file' declared inside parameter list
lirc_dev.c:486: warning: `struct inode' declared inside parameter list
lirc_dev.c: In function `irctl_ioctl':
lirc_dev.c:490: dereferencing pointer to incomplete type
lirc_dev.c:521: `ENOIOCTLCMD' undeclared (first use in this function)
lirc_dev.c: At top level:
lirc_dev.c:536: warning: `struct file' declared inside parameter list
lirc_dev.c: In function `irctl_read':
lirc_dev.c:539: dereferencing pointer to incomplete type
lirc_dev.c:541: variable `wait' has initializer but incomplete type
lirc_dev.c:541: `current' undeclared (first use in this function)
lirc_dev.c:541: warning: excess elements in struct initializer after `wait'
lirc_dev.c:541: warning: excess elements in struct initializer after `wait'
lirc_dev.c:541: storage size of `wait' isn't known
lirc_dev.c:555: warning: implicit declaration of function `add_wait_queue'
lirc_dev.c:562: dereferencing pointer to incomplete type
lirc_dev.c:562: `O_NONBLOCK' undeclared (first use in this function)
lirc_dev.c:565: warning: implicit declaration of function `remove_wait_queue'
lirc_dev.c:574: `ERESTARTSYS' undeclared (first use in this function)
lirc_dev.c:576: warning: implicit declaration of function `schedule_R4292364c'
lirc_dev.c:541: warning: unused variable `wait'
lirc_dev.c: At top level:
lirc_dev.c:602: variable `fops' has initializer but incomplete type
lirc_dev.c:603: unknown field `read' specified in initializer
lirc_dev.c:603: warning: excess elements in struct initializer after `fops'
lirc_dev.c:604: unknown field `poll' specified in initializer
lirc_dev.c:604: warning: excess elements in struct initializer after `fops'
lirc_dev.c:605: unknown field `ioctl' specified in initializer
lirc_dev.c:605: warning: excess elements in struct initializer after `fops'
lirc_dev.c:606: unknown field `open' specified in initializer
lirc_dev.c:606: warning: excess elements in struct initializer after `fops'
lirc_dev.c:607: unknown field `release' specified in initializer
lirc_dev.c:608: warning: excess elements in struct initializer after `fops'
lirc_dev.c: In function `lirc_dev_init':
lirc_dev.c:629: warning: implicit declaration of function `register_chrdev_Re0728195'
lirc_dev.c: In function `cleanup_module':
lirc_dev.c:672: warning: implicit declaration of function `unregister_chrdev_Rc192d491'
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for .modinfo
make[5]: *** [lirc_dev.o] Error 1
make[5]: Leaving directory `/home/canek/lirc-0.6.2/drivers/lirc_dev'
make[4]: *** [_mod_/home/canek/lirc-0.6.2/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/home/canek/linux'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/home/canek/lirc-0.6.2/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/canek/lirc-0.6.2/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/canek/lirc-0.6.2'
make: *** [all-recursive-am] Error 2
================================================================================

(BTW; why you guys ship the 2.4.0 headers in the second CD, and install the
same with a 2.2.16 kernel? (yes, there is two kernel-headers-2.4.0 rpms in
the distribution).

So, my question:

You put some optimization in pppd, or something that another kernel build
smash the velocity of the conection?

Because I don't understand what happen, and I really like my remote control
(it's the coolest thing in earth :)

So, please answer this.

(Or you can make a
kernel-with-latest-i2c-and-latest-bttv-2.2.18-prewhatever RPM... 

Canek



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to