Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
SuSE 2.4.2 kernel: Associated tpctl package?
  • From: Steven Augart <steve@xxxxxxxxxxx>
  • Date: Wed, 9 May 2001 01:49:55 -0700 (PDT)
  • Message-id: <20010509084955.547E3E8AE@xxxxxxxxxxxxxxxxxxx>
I've been running 7.1 with the SuSE packaged 2.4.2 kernel update
on my machines.

Ran into trouble with the IBM Thinkpad 600:

The ``tpctl'' package only provides modules in /lib/modules/2.4.0.
This is not the modules directory used by any of the 7.1 releases or
updates of the k_deflt* package(s). The CD's k_deflt_24.rpm uses
/lib/modules/2.4.0-4GB. The CD's k_deflt.rpm uses
/lib/modules/2.2.18.
The SuSE-Updated updated k_deflt_24.rpm uses
/lib/modules/2.4.2-4GB.


I tried just copying the tpctl modules from /lib/modules/2.4.0 to the
other directories; of course, it didn't work because the kernels
were compiled with different symbol tables. Then I tried doing
a build from the tpctl source RPM, with ``rpm -bc''. Another miserable
failure; get the error message

make[1]: Entering directory `/usr/src/packages/BUILD/tpctl_1.0/tpctl'
gcc -L../lib -I../include -Wall -Wcast-align -Wstrict-prototypes -O2 -Wno-uninitialized -DLINUX -DVIAGRA -o tpctl.o -c tpctl.c
tpctl.c:46: term.h: No such file or directory
make[1]: *** [tpctl.o] Error 1

Has anybody built modules for the stock SuSE 2.4.0-4GB, 2.2.18,
or 2.4.2-4GB?

By the way, I thought I would provide such myself. So I tried to
build the SuSE 2.4.2-4GB directly from the sources installed by
SuSE-Update/7.1/d2/lx_sus24-2.4.2.SuSE-5.i386.rpm. I did not get
quite the same kernel out as the SuSE-Update k_deflt24 one; here
is an extract from the differences in the System.map:

--- System.map-2.4.2-4GB-distrpm Fri Mar 2 04:14:14 2001
+++ System.map-2.4.2-rebuilt-4GB Sat Apr 7 19:53:41 2001
@@ -175,62 +175,62 @@
c010a9c0 t mark_screen_rdonly
c010aa28 T sys_vm86old
c010ab0c T sys_vm86
-c010ac08 t do_sys_vm86
+c010ac14 t do_sys_vm86
c010acfc t do_int
c010ae18 T handle_vm86_trap
c010aef0 T handle_vm86_fault
c010b644 t irq_handler
c010b694 t do_vm86_irq_handling
-c010b910 t putreg
+c010b900 t putreg
+c010b9b0 t getreg
+c010ba04 T sys_ptrace

So, I'm willing to build the proper RPMs for others, but I don't
want to do that if I can't even reproduce the distributed kernel.

Any help?

--Steve Augart

< Previous Next >
Follow Ups