From owner-freebsd-apache@FreeBSD.ORG Sun Jun 25 11:41:32 2006 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FA9716A40D; Sun, 25 Jun 2006 11:41:32 +0000 (UTC) (envelope-from lars@socruel.nu) Received: from gone.xs4all.nl (gone.xs4all.nl [213.84.247.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id D91CD43D58; Sun, 25 Jun 2006 11:41:22 +0000 (GMT) (envelope-from lars@socruel.nu) Received: from saturnus.intra.socruel.nu (saturnus.intra.socruel.nu [172.16.0.12]) by gone.xs4all.nl (Postfix) with ESMTP id 0B3B233C5F; Sun, 25 Jun 2006 13:41:20 +0200 (CEST) MIME-Version: 1.0 Content-class: urn:content-classes:message Date: Sun, 25 Jun 2006 13:41:20 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <302F75DC2739FB43B236373398A8C5992950@saturnus.intra.socruel.nu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question about Apache2 Port and FreeBSD 6 kernel options Thread-Index: AcaYTCgOyRhjhpl3TS2W2Ihz9c9Pnw== From: "FreeBSD-Ports" Sender: "Lars Wittebrood" To: , Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Question about Apache2 Port and FreeBSD 6 kernel options X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 11:41:32 -0000 Hi, Today I installed a custom kernel from 6.1-RELEASE-p1 source and after that Apache2 will not start anymore. It segfaults when starting. After making and installing a GENERIC kernel Apache does start and runs fine! The Apache errors I got are: - in httpd_error.log: Sun Jun 25 12:21:44 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run? - in /var/log/messages: Jun 25 12:21:44 lambda.socruel.nu pid 2608 (httpd), uid 0: exited on signal 12 (core dumped) Uname info of this system: root@lambda log # uname -a FreeBSD lambda.socruel.nu 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #0: Sun Jun 25 12:49:10 CEST 2006 root@lambda.socruel.nu:/usr/obj/usr/src/sys/GENERIC i386 The Apache2 port is build with: MAKE_ARGS =3D { 'www/apache20' =3D> [ 'WITH_AUTH_MODULES=3Dyes', 'WITH_DAV_MODULES=3Dyes', 'WITH_MISC_MODULES=3Dyes', 'WITH_SSL_MODULES=3Dyes', 'WITH_SUEXEC_MODULES=3Dyes', 'WITH_THREAD_MODULES=3Dyes', 'WITH_PROXY_MODULES=3Dyes', 'WITH_ALL_STATIC_MODULES=3Dyes', 'SUEXEC_DOCROOT=3D"/var/www/cgi-bin"', 'SUEXEC_USERDIR=3D"public_html"', 'SUEXEC_SAFEPATH=3D"/usr/local/bin:/usr/bin:/bin"', 'SUEXEC_LOGFILE=3D"/var/log/httpd-suexec.log"', 'SUEXEC_UIDMIN=3D1000', 'SUEXEC_GIDMIN=3D1000', 'SUEXEC_CALLER=3D"www"', ], It also uses PHP: 'lang/php4' =3D> [ 'WITH_APACHE=3Dyes', 'WITH_OPENSSL=3Dyes', ], The differences between the GENERIC kernel conf and the customer kernel conf are: root@lambda log # cd /sys/i386/conf root@lambda conf # diff GENERIC LAMBDA 2c2 < # GENERIC -- Generic kernel configuration file for FreeBSD/i386 --- > # LAMBDA -- Generic kernel configuration file for FreeBSD/i386 19c19 < # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01 00:15:12 scottl Exp $ --- > # $FreeBSD: src/sys/i386/conf/LAMBDA,v 1.429.2.3.2.1 2005/10/28 19:22:41 jhb Exp $ 22c22 < cpu I486_CPU --- > #cpu I486_CPU 25c25 < ident GENERIC --- > ident LAMBDA 30c30 < makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols --- > #makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols 36c36 < options INET6 # IPv6 communications protocols --- > #options INET6 # IPv6 communications protocols 41,46c41,46 < options MD_ROOT # MD is a potential root device < options NFSCLIENT # Network Filesystem Client < options NFSSERVER # Network Filesystem Server < options NFS_ROOT # NFS usable as /, requires NFSCLIENT < options MSDOSFS # MSDOS Filesystem < options CD9660 # ISO 9660 Filesystem --- > #options MD_ROOT # MD is a potential root device > #options NFSCLIENT # Network Filesystem Client > #options NFSSERVER # Network Filesystem Server > #options NFS_ROOT # NFS usable as /, requires NFSCLIENT > #options MSDOSFS # MSDOS Filesystem > #options CD9660 # ISO 9660 Filesystem 53c53 < options SCSI_DELAY=3D5000 # Delay (in ms) before probing SCSI --- > #options SCSI_DELAY=3D5000 # Delay (in ms) before probing SCSI 55,57c55,57 < options SYSVSHM # SYSV-style shared memory < options SYSVMSG # SYSV-style message queues < options SYSVSEM # SYSV-style semaphores --- > #options SYSVSHM # SYSV-style shared memory > #options SYSVMSG # SYSV-style message queues > #options SYSVSEM # SYSV-style semaphores 66c66 < device apic # I/O APIC --- > #device apic # I/O APIC 69c69 < device eisa --- > #device eisa 85,89c85,89 < device ahb # EISA AHA1742 family < device ahc # AHA2940 and onboard AIC7xxx devices < device ahd # AHA39320/29320 and onboard AIC79xx devices < device amd # AMD 53C974 (Tekram DC-390(T)) < device isp # Qlogic family --- > #device ahb # EISA AHA1742 family > #device ahc # AHA2940 and onboard AIC7xxx devices > #device ahd # AHA39320/29320 and onboard AIC79xx devices > #device amd # AMD 53C974 (Tekram DC-390(T)) > #device isp # Qlogic family 91c91 < device mpt # LSI-Logic MPT-Fusion --- > #device mpt # LSI-Logic MPT-Fusion 93,94c93,94 < device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') < device trm # Tekram DC395U/UW/F DC315U adapters --- > #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') > #device trm # Tekram DC395U/UW/F DC315U adapters 96,104c96,104 < device adv # Advansys SCSI adapters < device adw # Advansys wide SCSI adapters < device aha # Adaptec 154x SCSI adapters < device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. < device bt # Buslogic/Mylex MultiMaster SCSI adapters < < device ncv # NCR 53C500 < device nsp # Workbit Ninja SCSI-3 < device stg # TMC 18C30/18C50 --- > #device adv # Advansys SCSI adapters > #device adw # Advansys wide SCSI adapters > #device aha # Adaptec 154x SCSI adapters > #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. > #device bt # Buslogic/Mylex MultiMaster SCSI adapters > > #device ncv # NCR 53C500 > #device nsp # Workbit Ninja SCSI-3 > #device stg # TMC 18C30/18C50 107,113c107,113 < device scbus # SCSI bus (required for SCSI) < device ch # SCSI media changers < device da # Direct Access (disks) < device sa # Sequential Access (tape etc) < device cd # CD < device pass # Passthrough device (direct SCSI access) < device ses # SCSI Environmental Services (and SAF-TE) --- > #device scbus # SCSI bus (required for SCSI) > #device ch # SCSI media changers > #device da # Direct Access (disks) > #device sa # Sequential Access (tape etc) > #device cd # CD > #device pass # Passthrough device (direct SCSI access) > #device ses # SCSI Environmental Services (and SAF-TE) 116,126c116,125 < device amr # AMI MegaRAID < device arcmsr # Areca SATA II RAID < device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID < device ciss # Compaq Smart RAID 5* < device dpt # DPT Smartcache III, IV - See NOTES for options < device hptmv # Highpoint RocketRAID 182x < device rr232x # Highpoint RocketRAID 232x < device iir # Intel Integrated RAID < device ips # IBM (Adaptec) ServeRAID < device mly # Mylex AcceleRAID/eXtremeRAID < device twa # 3ware 9000 series PATA/SATA RAID --- > #device amr # AMI MegaRAID > #device arcmsr # Areca SATA II RAID > #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID > #device ciss # Compaq Smart RAID 5* > #device dpt # DPT Smartcache III, IV - See NOTES for options > #device hptmv # Highpoint RocketRAID 182x > #device iir # Intel Integrated RAID > #device ips # IBM (Adaptec) ServeRAID > #device mly # Mylex AcceleRAID/eXtremeRAID > #device twa # 3ware 9000 series PATA/SATA RAID 129,135c128,133 < device aac # Adaptec FSA RAID < device aacp # SCSI passthrough for aac (requires CAM) < device ida # Compaq Smart RAID < device mfi # LSI MegaRAID SAS < device mlx # Mylex DAC960 family < device pst # Promise Supertrak SX6000 < device twe # 3ware ATA RAID --- > #device aac # Adaptec FSA RAID > #device aacp # SCSI passthrough for aac (requires CAM) > #device ida # Compaq Smart RAID > #device mlx # Mylex DAC960 family > #device pst # Promise Supertrak SX6000 > #device twe # 3ware ATA RAID 142,143d139 < device kbdmux # keyboard multiplexer < 165,167c161,163 < device cbb # cardbus (yenta) bridge < device pccard # PC Card (16-bit) bus < device cardbus # CardBus (32-bit) bus --- > #device cbb # cardbus (yenta) bridge > #device pccard # PC Card (16-bit) bus > #device cardbus # CardBus (32-bit) bus 186,190c182,186 < device de # DEC/Intel DC21x4x (``Tulip'') < device em # Intel PRO/1000 adapter Gigabit Ethernet Card < device ixgb # Intel PRO/10GbE Ethernet Card < device txp # 3Com 3cR990 (``Typhoon'') < device vx # 3Com 3c590, 3c595 (``Vortex'') --- > #device de # DEC/Intel DC21x4x (``Tulip'') > #device em # Intel PRO/1000 adapter Gigabit Ethernet Card > #device ixgb # Intel PRO/10GbE Ethernet Card > #device txp # 3Com 3cR990 (``Typhoon'') > #device vx # 3Com 3c590, 3c595 (``Vortex'') 195,198c191,193 < device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet < device bfe # Broadcom BCM440x 10/100 Ethernet < device bge # Broadcom BCM570xx Gigabit Ethernet < device dc # DEC/Intel 21143 and various workalikes --- > #device bfe # Broadcom BCM440x 10/100 Ethernet > #device bge # Broadcom BCM570xx Gigabit Ethernet > #device dc # DEC/Intel 21143 and various workalikes 200,216c195,211 < device lge # Level 1 LXT1001 gigabit Ethernet < device nge # NatSemi DP83820 gigabit Ethernet < device nve # nVidia nForce MCP on-board Ethernet Networking < device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc') < device re # RealTek 8139C+/8169/8169S/8110S < device rl # RealTek 8129/8139 < device sf # Adaptec AIC-6915 (``Starfire'') < device sis # Silicon Integrated Systems SiS 900/SiS 7016 < device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet < device ste # Sundance ST201 (D-Link DFE-550TX) < device ti # Alteon Networks Tigon I/II gigabit Ethernet < device tl # Texas Instruments ThunderLAN < device tx # SMC EtherPower II (83c170 ``EPIC'') < device vge # VIA VT612x gigabit Ethernet < device vr # VIA Rhine, Rhine II < device wb # Winbond W89C840F < device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') --- > #device lge # Level 1 LXT1001 gigabit Ethernet > #device nge # NatSemi DP83820 gigabit Ethernet > #device nve # nVidia nForce MCP on-board Ethernet Networking > #device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc') > #device re # RealTek 8139C+/8169/8169S/8110S > #device rl # RealTek 8129/8139 > #device sf # Adaptec AIC-6915 (``Starfire'') > #device sis # Silicon Integrated Systems SiS 900/SiS 7016 > #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet > #device ste # Sundance ST201 (D-Link DFE-550TX) > #device ti # Alteon Networks Tigon I/II gigabit Ethernet > #device tl # Texas Instruments ThunderLAN > #device tx # SMC EtherPower II (83c170 ``EPIC'') > #device vge # VIA VT612x gigabit Ethernet > #device vr # VIA Rhine, Rhine II > #device wb # Winbond W89C840F > #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 219c214 < device cs # Crystal Semiconductor CS89x0 NIC --- > #device cs # Crystal Semiconductor CS89x0 NIC 221,228c216,226 < device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards < device ex # Intel EtherExpress Pro/10 and Pro/10+ < device ep # Etherlink III based cards < device fe # Fujitsu MB8696x based cards < device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. < device lnc # NE2100, NE32-VL Lance Ethernet cards < device sn # SMC's 9000 series of Ethernet chips < device xe # Xircom pccard Ethernet --- > #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards > #device ex # Intel EtherExpress Pro/10 and Pro/10+ > #device ep # Etherlink III based cards > #device fe # Fujitsu MB8696x based cards > #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. > #device lnc # NE2100, NE32-VL Lance Ethernet cards > #device sn # SMC's 9000 series of Ethernet chips > #device xe # Xircom pccard Ethernet > > # ISA devices that use the old ISA shims > #device le 231,235c229,233 < device wlan # 802.11 support < device an # Aironet 4500/4800 802.11 wireless NICs. < device awi # BayStack 660 and others < device ral # Ralink Technology RT2500 wireless NICs. < device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. --- > #device wlan # 802.11 support > #device an # Aironet 4500/4800 802.11 wireless NICs. > #device awi # BayStack 660 and others > #device ral # Ralink Technology RT2500 wireless NICs. > #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. 242,244c240,242 < device sl # Kernel SLIP < device ppp # Kernel PPP < device tun # Packet tunnel. --- > #device sl # Kernel SLIP > #device ppp # Kernel PPP > #device tun # Packet tunnel. 247,248c245,246 < device gif # IPv6 and IPv4 tunneling < device faith # IPv6-to-IPv4 relaying (translation) --- > #device gif # IPv6 and IPv4 tunneling > #device faith # IPv6-to-IPv4 relaying (translation) 256,259c254,257 < device uhci # UHCI PCI->USB interface < device ohci # OHCI PCI->USB interface < device ehci # EHCI PCI->USB interface (USB 2.0) < device usb # USB Bus (required) --- > #device uhci # UHCI PCI->USB interface > #device ohci # OHCI PCI->USB interface > #device ehci # EHCI PCI->USB interface (USB 2.0) > #device usb # USB Bus (required) 261,269c259,267 < device ugen # Generic < device uhid # "Human Interface Devices" < device ukbd # Keyboard < device ulpt # Printer < device umass # Disks/Mass storage - Requires scbus and da < device ums # Mouse < device ural # Ralink Technology RT2500USB wireless NICs < device urio # Diamond Rio 500 MP3 player < device uscanner # Scanners --- > #device ugen # Generic > #device uhid # "Human Interface Devices" > #device ukbd # Keyboard > #device ulpt # Printer > #device umass # Disks/Mass storage - Requires scbus and da > #device ums # Mouse > #device ural # Ralink Technology RT2500USB wireless NICs > #device urio # Diamond Rio 500 MP3 player > #device uscanner # Scanners 271,276c269,274 < device aue # ADMtek USB Ethernet < device axe # ASIX Electronics USB Ethernet < device cdce # Generic USB over Ethernet < device cue # CATC USB Ethernet < device kue # Kawasaki LSI USB Ethernet < device rue # RealTek RTL8150 USB Ethernet --- > #device aue # ADMtek USB Ethernet > #device axe # ASIX Electronics USB Ethernet > #device cdce # Generic USB over Ethernet > #device cue # CATC USB Ethernet > #device kue # Kawasaki LSI USB Ethernet > #device rue # RealTek RTL8150 USB Ethernet 279,281c277,282 < device firewire # FireWire bus code < device sbp # SCSI over FireWire (Requires scbus and da) < device fwe # Ethernet over FireWire (non-standard!) --- > #device firewire # FireWire bus code > #device sbp # SCSI over FireWire (Requires scbus and da) > #device fwe # Ethernet over FireWire (non-standard!) > > # Security options > options SC_DISABLE_REBOOT # Disable Ctrl+Alt+Del I basically only commented out some SCSI stuff and network cards I don't use. Anyone any idea which kernel conf configuration item is causing the trouble? Do I need to keep IPv6 or the SYSV memory stuff or something else? Thanx in advance! Regards, Lars Wittebrood.