Re: TLI failure
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Message-ID | <OF715FD1EE.A1402E1F-ON80256FB2.004FF2A1-80256FB2.004F6E51@lon.sita.aero> |
Hi Brian,
Gets more and more interesting... When I do:-
wendes@coredev ~/cvs/source/dc/tr/LiS-2.16.18-19> rpmverify -v
kernel-smp-2.4.21-17.0.2.EL
package kernel-smp-2.4.21-17.0.2.EL is not installed
rwendes@coredev ~/cvs/source/dc/tr/LiS-2.16.18-19> rpmverify -v
kernel-source-2.4.21-17.0.2.EL
package kernel-source-2.4.21-17.0.2.EL is not installed
rwendes@coredev ~/cvs/source/dc/tr/LiS-2.16.18-19>
you're right they don't stack up... But when I do
root@coredev /usr/src/linux-2.4> ls /usr/src/linux-2.4/configs
kernel-2.4.21-athlon.config kernel-2.4.21-i686.config
kernel-2.4.21-ppc64iseries.config
kernel-2.4.21-athlon-smp.config kernel-2.4.21-i686-hugemem.config
kernel-2.4.21-ppc64pseries.config
kernel-2.4.21-i386-BOOT.config kernel-2.4.21-i686-smp.config
kernel-2.4.21-s390.config
kernel-2.4.21-i386.config kernel-2.4.21-ia32e.config
kernel-2.4.21-s390x.config
kernel-2.4.21-i586.config kernel-2.4.21-ia64.config
kernel-2.4.21-x86_64.config
kernel-2.4.21-i586-smp.config kernel-2.4.21-ppc64.config
kernel-2.4.21-x86_64-smp.config
It puzzles me because I did ask our system admin guy to install the source,
and he still says that its the one from the distro !
regards
Rob
"Brian F. G.
Bidulock" To: [email protected]
<bidulock@openss7 cc: LiS <[email protected]>
.org> Subject: Re: [Linux-streams] TLI failure
24/02/2005 12:49
Please respond to
bidulock
Robert,
Thanks for the configure output...
What have you done to your system? The following are all problems:
> checking for kernel modules directory... /lib/modules/2.4.21-27.0.2.ELsmp
> checking for kernel build directory
/lib/modules/2.4.21-27.0.2.ELsmp/build... no
> checking for kernel build directory
/lib/modules/2.4.21-27.0.2.ELsmp/build... no
> checking for kernel build directory /usr/src/linux-2.4.21-27.0.2.ELsmp...
no
> checking for kernel build directory /usr/src/linux-2.4... yes
> checking for kernel build directory... /usr/src/linux-2.4
A properly installed kernel-smp-2.4.21-27.0.2.EL.i686.rpm has
/lib/modules/2.4.21-27.0.2.ELsmp/build as a symbolic link to
/usr/src/linux-2.4.21-27.0.2.EL
Perhaps you do not have /usr/src/linux-2.4.21-27.0.2.EL because
you do not have kernel-source-2.4.21-17.0.2.EL.i386.rpm installed?
Add the following option to configure:
--with-k-build=/lib/modules/2.4.21-27.0.2.ELsmp/build
> checking for kernel system map
/usr/src/linux-2.4/System.map-2.4.21-27.0.2.ELsmp... no
> checking for kernel system map /usr/src/linux-2.4/System.map... yes
> checking for kernel system map... /usr/src/linux-2.4/System.map
A properly installed kernel-smp-2.4.21-27.0.2.EL.i686.rpm has
/boot/System.map-2.4.21-27.0.2.ELsmp
Add the following option to configure:
--with-k-sysmap=/boot/System.map-2.4.21-27.0.2ELsmp
> checking for kernel headers... /usr/src/linux-2.4/include
Proper kernel headers are /lib/modules/2.4.21-27.0.2.ELsmp/build/include
The k-build option would cure this.
> checking for kernel arch directory... /usr/src/linux-2.4/arch
Proper kernel arch dir is /lib/modules/2.4.21-27.0.2.ELsmp/build/arch
The k-build option would cure this.
> checking for kernel mach directory... /usr/src/linux-2.4/arch/i386
Proper kernel mach dir is /lib/modules/2.4.21-27.0.2.ELsmp/build/arch/i386
The k-build option would cure this.
> configure: final kern CPPFLAGS = -D__KERNEL__ -DLINUX -nostdinc
> -I/usr/src/linux-2.4/include
> -I/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include
> configure: final kern CFLAGS = -Wall -Wno-trigraphs -O2
> -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
> -mpreferred-stack-boundary=2 -march=i686
Things are well messed up by here. And, I don't see -freorder-blocks in
these
flags. Edit resulting Makefile to include -freorder-blocks
======
You do know that you need kernel-smp-2.4.21-17.0.2.EL.i686.rpm correctly
installed as well as kernel-source-2.4.21-17.0.2.EL.i386.rpm correctly
installed?
Do me a favor and run the following two commands on your system:
rpmverify -v kernel-smp-2.4.21-17.0.2.EL
rpmverify -v kernel-source-2.4.21-17.0.2.EL
Any output from these two commands indicates an installation problem that
you need to fix. From the looks of it you are missing the source package.
Qutie frankly, its amazing that the thing runs at all.
--brian
On Thu, 24 Feb 2005, [email protected] wrote:
>
>
> Dear Brian and Christian,
>
> just for completeness,
>
> the following is the output from the test runs, and the configur files
are
> attached:-
>
>
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
[email protected] ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦