Subject: NetBSD/sparc64 and squid - is it possible?
To: None <port-sparc64@NetBSD.org>
From: Ing. Pavel Hroza <freebsd@centrum.cz>
List: port-sparc64
Date: 05/04/2004 15:53:46
Hello,
I have NetBSD/sparc64 machine (don't know, what exactly is it, because i
have only ssh access, but dmesg is available) on which I need to install
and setup squid. NetBSD version is 1.6.2, squid is 2.5.STABLE5.
I tried to compile Squid by obvious configure;make;make install. make
was warning about fd_mask, but compilation finished successfully. I
created cache direcotries with squid -z (successfully) and tried to
start squid daemon, but it failed with signal 4 (alignment error -
syslog message:
-------------/var/log/messages ----------------------------------
May 3 18:33:52 comp3 squid[18136]: Squid Parent: child process 18146
started
May 3 18:33:57 comp3 /netbsd: Alignment error: pid=18146 comm=squid
dsfsr=00000000:0011001f dsfar=0:7ae147ae isfsr=00000000:00000000 pc=12c56
50
May 3 18:33:57 comp3 squid[18136]: Squid Parent: child process 18146
exited due to signal 4
May 3 18:33:57 comp3 squid[18136]: Exiting due to repeated, frequent
failures
-------------/var/log/messages ----------------------------------
then I installed squid from ports (as there is no binary package), but
squid fails on squid -z with:
-------------------- console ---------------------------------
FATAL: Bungled Default Configuration line 8: cache_mem 8 MB
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.039 seconds = 0.026 user + 0.013 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Abort trap - core dumped
------------------- console -----------------------------------
Does anybody run squid on NetBSD/sparc64? Is it possible? How to compile
and install it?
Thanks in advance...
Pavel