Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68165 - Apache2 crashes on startup when using mod_rewrite on Via C3 Ezra
Summary: Apache2 crashes on startup when using mod_rewrite on Via C3 Ezra
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 08:52 UTC by Ole Christian Tvedt
Modified: 2005-09-17 17:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Christian Tvedt 2004-10-19 08:52:45 UTC
Running apache2 on a via c3 processor with mod_rewrite enabled. This is what I get:

This is what happens:
---------------------
root@s105a oc # /etc/init.d/apache2 start
 * Starting apache2...                                          [ !! ]

root@s105a oc # cat /var/log/apache2/error_200410.log 
[Mon Oct 18 07:26:31 2004] [crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
---------------------

If I remove the mod_rewrite from the configuration files, apache2 seems to start ([OK] instead of [!!]), but it actually crashes, after logging:
[Tue Oct 19 17:44:56 2004] [notice] Digest: generating secret for digest authentication ...

I googled, and this is the only reference I can find:
http://qa.mandrakesoft.com/show_bug.cgi?id=9167 (Mandrake bugzilla)
Their "solution" is to use a certain rpm.

It should be noted that everything else I have compiled on that box seems to work just fine so far.

I'm going to compile it as 486 without mmx and 3dnow to see if it helps. If your wondering why I use 586+mmx+3dnow instead of 686, when C3 Ezra is a 686, it's because gcc assumes the optional cmove instruction to be present in any 686.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.
8-gentoo-r10)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 VIA Ezra
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -mcpu=i586 -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i586 -mcpu=i586 -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow acpi apache2 avi berkdb bitmap-fonts bzlib crypt dedicated 
divxforlinux doc dvd emacs encode ethereal exif f77 flac ftp gdbm ggi gif gpm 
gstreamer hardened hardenedphp imlib ipv6 jpeg libg++ libwww lirc mad memlimit 
mikmod mime mmx mpeg mysql mysqli nas ncurses nls nocd oggvorbis pam pdflib perl 
php pic png python quicktime readline samba sasl session slang spell ssl svga 
tcpd tiff tokenizer truetype unicode usb vhosts x86 xml2 xprint xv xvid zlib"
Comment 1 Ole Christian Tvedt 2004-10-19 09:01:36 UTC
Oh, and the apache version is 2.0.52.
Comment 2 Ole Christian Tvedt 2004-10-19 11:24:34 UTC
Recompiling for 486 didn't work. I'm going to put this aside now. I don't have time to check it out.
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-17 17:30:49 UTC
See if the problems occur with 2.0.54-r30 or above.

Please reopen when you have a chance to test this.