<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: "'cipe-l,AT,inka,DOT,de'" <cipe-l,AT,inka,DOT,de>
Subject: FC2 install fail -- Long
From: Charles Olds <charolds,AT,ucglink,DOT,net>
Date: Thu, 05 Aug 2004 18:09:27 +0000

Hello all,
        Here is the results of an install on Fedora Core 2.  The segmentation
fault appears to occur in cipecd-cb.

###################### Start Install ###########################
uname -r
2.6.5-1.358
-----------------------------------------------------------
-----------------------------------------------------------
./configure --with-obj=/lib/modules/2.6.5-1.358/build/
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for texinfo... no
checking for tex... tex
checking for makeinfo... makeinfo
checking for gmake... gmake
checking for kernel source tree... /usr/src/linux-2.6.5-1.358
checking for kernel version... 2.6.5-1.358
checking for architecture... i386
checking for SMP... no
checking for crypto API headers... yes
checking for kernel CRC function... yes
checking for assembler parts... bf-i386.o
checking for mlock... yes
checking for mlockall... yes
checking for OpenSSL... includes /usr/include, libs /usr/lib
checking for openssl... /usr/bin/openssl
checking OpenSSL version... 0.9.7a
updating cache ./config.cache
creating ./config.status
creating Makefile
creating 2.6.5-1.358-i386-cb/Makefile
creating lib/Makefile
creating pkcipe/Makefile
creating pkcipe/rsa-keygen
creating 2.6.5-1.358-i386-cb/config.h
creating pkcipe/config.h
-----------------------------------------------------------
-----------------------------------------------------------
make
(cd cipe; perl genoptions.pl options.in)
gmake -C lib all
gmake[1]: Entering directory `/cipe-1.6.0/lib'
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c cipe_syslog.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c debug.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c dsprintf.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c getaddr.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c gethex.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c hex.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c hexdump.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c hexstr.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c parseopt.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c retstatus.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c setsig.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c secchk.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c sighand.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c socks_errlist.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c socks5_open.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c socks5_cmd.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c xread.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c xwrite.c
gcc  -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce
-g  -Wmissing-prototypes -DHAVE_CONFIG_H
 -DLIBRARY   -MD -c xwritev.c
ar rcs libcipe.a cipe_syslog.o debug.o dsprintf.o getaddr.o gethex.o
hex.o hexdump.o hexstr.o parseopt.o retstatu
s.o setsig.o secchk.o sighand.o socks_errlist.o socks5_open.o
socks5_cmd.o xread.o xwrite.o xwritev.o
gmake[1]: Leaving directory `/cipe-1.6.0/lib'
gmake -C 2.6.5-1.358-i386-cb all
gmake[1]: Entering directory `/cipe-1.6.0/2.6.5-1.358-i386-cb'
ln -sf ../cipe/*.[chS] .
ln -sf crc32.c ucrc32.c
gcc -Wp,-MD,.crcgen.o.d  -I/lib/modules/2.6.5-1.358/build/include -I.
-include ./config.h -I/usr/src/linux-2.6.5-
1.358/include -I/lib/modules/2.6.5-1.358/build/include  -I../lib -pipe
-O3 -Wall -Wstrict-prototypes -fomit-frame
-pointer -fno-strength-reduce -g  -o crcgen.o -c crcgen.c
gcc -Wp,-MD,.ucrc32.o.d  -I/lib/modules/2.6.5-1.358/build/include -I.
-include ./config.h -I/usr/src/linux-2.6.5-
1.358/include -I/lib/modules/2.6.5-1.358/build/include  -I../lib -pipe
-O3 -Wall -Wstrict-prototypes -fomit-frame
-pointer -fno-strength-reduce -g  -o ucrc32.o -c ucrc32.c
gcc  -o crcgen crcgen.o ucrc32.o
sed -n '/@api/{n;s,[/*#],,g;s,^,   ,p;}' config.h | ./crcgen -
>version.h
gcc -Wp,-MD,.ciped.o.d  -I/lib/modules/2.6.5-1.358/build/include -I.
-include ./config.h -I/usr/src/linux-2.6.5-1
.358/include -I/lib/modules/2.6.5-1.358/build/include  -I../lib -pipe
-O3 -Wall -Wstrict-prototypes -fomit-frame-
pointer -fno-strength-reduce -g  -o ciped.o -c ciped.c
gcc -Wp,-MD,.options.o.d  -I/lib/modules/2.6.5-1.358/build/include -I.
-include ./config.h -I/usr/src/linux-2.6.5
-1.358/include -I/lib/modules/2.6.5-1.358/build/include  -I../lib -pipe
-O3 -Wall -Wstrict-prototypes -fomit-fram
e-pointer -fno-strength-reduce -g  -o options.o -c options.c
gcc -Wp,-MD,.ioctl.o.d  -I/lib/modules/2.6.5-1.358/build/include -I.
-include ./config.h -I/usr/src/linux-2.6.5-1
.358/include -I/lib/modules/2.6.5-1.358/build/include  -I../lib -pipe
-O3 -Wall -Wstrict-prototypes -fomit-frame-
pointer -fno-strength-reduce -g  -o ioctl.o -c ioctl.c
gcc  -o ciped-cb ciped.o options.o ioctl.o ucrc32.o  -L../lib -lcipe
gmake -C /usr/src/linux-2.6.5-1.358 O=/lib/modules/2.6.5-1.358/build
SUBDIRS=/cipe-1.6.0/2.6.5-1.358-i386-cb modu
les
gmake[2]: Entering directory `/usr/src/linux-2.6.5-1.358'
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/module.o
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/device.o
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/sock.o
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/output.o
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/encaps.o
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/lebf.o
  CC [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/bf.o
  AS [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/bf-i386.o
  LD [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/cipcb.o
  Building modules, stage 2.
  MODPOST
  CC      /cipe-1.6.0/2.6.5-1.358-i386-cb/cipcb.mod.o
  LD [M]  /cipe-1.6.0/2.6.5-1.358-i386-cb/cipcb.ko
gmake[2]: Leaving directory `/usr/src/linux-2.6.5-1.358'
gmake[1]: Leaving directory `/cipe-1.6.0/2.6.5-1.358-i386-cb'
gmake -C pkcipe all
gmake[1]: Entering directory `/cipe-1.6.0/pkcipe'
gcc -I.. -I../lib -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g   -DHAVE_CONFIG_H -DCIPE
D=\"/usr/local/sbin/ciped-cb\"   -MD -c proto.c
gcc -I.. -I../lib -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g   -DHAVE_CONFIG_H -DCIPE
D=\"/usr/local/sbin/ciped-cb\"   -MD -c negotiate.c
gcc -I.. -I../lib -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g   -DHAVE_CONFIG_H -DCIPE
D=\"/usr/local/sbin/ciped-cb\"   -MD -c main.c
gcc -I.. -I../lib -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g   -DHAVE_CONFIG_H -DCIPE
D=\"/usr/local/sbin/ciped-cb\"   -MD -c packet.c
gcc -I.. -I../lib -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g   -DHAVE_CONFIG_H -DCIPE
D=\"/usr/local/sbin/ciped-cb\"   -MD -c lock.c
gcc -I.. -I../lib -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g   -DHAVE_CONFIG_H -DCIPE
D=\"/usr/local/sbin/ciped-cb\"   -MD -c p_sha1.c
gcc  -o pkcipe proto.o negotiate.o main.o packet.o lock.o p_sha1.o
-lcrypto -ldl  -L../lib -lcipe
gmake[1]: Leaving directory `/cipe-1.6.0/pkcipe'
-----------------------------------------------------------
-----------------------------------------------------------
make install
gmake -C lib install
gmake[1]: Entering directory `/cipe-1.6.0/lib'
: Nothing to install here
gmake[1]: Leaving directory `/cipe-1.6.0/lib'
gmake -C 2.6.5-1.358-i386-cb install
gmake[1]: Entering directory `/cipe-1.6.0/2.6.5-1.358-i386-cb'
ln -sf ../cipe/*.[chS] .
ln -sf crc32.c ucrc32.c
gmake -C /usr/src/linux-2.6.5-1.358 O=/lib/modules/2.6.5-1.358/build
SUBDIRS=/cipe-1.6.0/2.6.5-1.358-i386-cb modu
les
gmake[2]: Entering directory `/usr/src/linux-2.6.5-1.358'
  Building modules, stage 2.
  MODPOST
gmake[2]: Leaving directory `/usr/src/linux-2.6.5-1.358'
mkdir -p /lib/modules/2.6.5-1.358/misc /usr/local/sbin
install -m 644 cipcb.ko /lib/modules/2.6.5-1.358/misc
install -m 755 ciped-cb /usr/local/sbin
depmod -a
gmake[1]: Leaving directory `/cipe-1.6.0/2.6.5-1.358-i386-cb'
gmake -C pkcipe install
gmake[1]: Entering directory `/cipe-1.6.0/pkcipe'
mkdir -p /usr/local/bin /usr/local/sbin
install -m 755 rsa-keygen /usr/local/bin
install -m 755 pkcipe /usr/local/sbin
[ -d /etc/cipe/pk ] || mkdir -p /etc/cipe/pk
[ -d /var/run/cipe ] || mkdir -p /var/run/cipe
chmod 700 /etc/cipe /etc/cipe/pk /var/run/cipe
gmake[1]: Leaving directory `/cipe-1.6.0/pkcipe'
makeinfo --no-split cipe.texinfo
mkdir -p /usr/local/info
install -m 644 cipe.info /usr/local/info
-----------------------------------------------------------
-----------------------------------------------------------
modprobe cipcb
-----------------------------------------------------------
-----------------------------------------------------------
lsmod | grep cipcb
cipcb                  34024  0
-----------------------------------------------------------
-----------------------------------------------------------
cat /etc/cipe/options
cttl 64
maxerr -1
key Wep3ft,oPd,T8Gwgttca601091206
ipaddr 172.30.30.12
ptpaddr 172.29.29.12
me 63.228.236.254:9999
peer 63.228.236.253:9999
debug 255
-----------------------------------------------------------
-----------------------------------------------------------
ciped-cb
CIPE daemon vers 1.6.0 (c) Olaf Titz 1996-2003
device=(none)
debug=yes
cipher=(none)
ipaddr=172.30.30.12
ptpaddr=172.29.29.12
mask=
bcast=
mtu=0
metric=0
cttl=64
me=63.228.236.254:9999
peer=63.228.236.253:9999
key=(secret)
nokey=no
socks=
tokxc=0
tokey=0
ipup=(none)
ipdown=(none)
arg=(none)
maxerr=-1
stayalive=no
piddir=(none)
tokxts=0
ping=0
toping=0
dynip=no
hwaddr=(none)
ifconfig=no
checksum=no
ignoredf=no
forcemtu=no
Using cipcb0 index 0
sending CT_CONFREQ
Segmentation fault      ciped-cb
--------------------------------------------------------------
--------------------------------------------------------------
ifconfig
cipcb0    Link encap:IPIP Tunnel  HWaddr
          inet addr:172.30.30.12  P-t-P:172.29.29.12 
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1418  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:50:22:E3:42:49
          inet addr:63.228.236.254  Bcast:63.228.236.255 
Mask:255.255.255.0
          inet6 addr: fe80::250:22ff:fee3:4249/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9100 (8.8 Kb)  TX bytes:1278 (1.2 Kb)
          Interrupt:9 Base address:0x9000

eth1      Link encap:Ethernet  HWaddr 00:50:22:E3:42:4C
          inet addr:172.30.30.12  Bcast:172.30.255.255  Mask:255.255.0.0
          inet6 addr: fe80::250:22ff:fee3:424c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1834 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:172204 (168.1 Kb)  TX bytes:12559 (12.2 Kb)
          Interrupt:9 Base address:0x9400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2699 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2699 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3205467 (3.0 Mb)  TX bytes:3205467 (3.0 Mb)

########################### End Install #######################3

So, what do you think.

Charles Olds


<< | Thread Index | >> ]    [ << | Date Index | >> ]