From owner-freebsd-stable@FreeBSD.ORG Mon Mar 13 09:59:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167D916A423 for ; Mon, 13 Mar 2006 09:59:19 +0000 (UTC) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8769D43D49 for ; Mon, 13 Mar 2006 09:59:18 +0000 (GMT) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from [10.236.150.4] (hollewijn.internal [10.236.150.4]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 8A6117DB5 for ; Mon, 13 Mar 2006 11:10:27 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v746.2) To: freebsd-stable@freebsd.org Message-Id: <74B9D1C5-5786-475B-99E6-18384B071EFB@solfertje.student.utwente.nl> Content-Type: multipart/mixed; boundary=Apple-Mail-8-727997417 From: Alban Date: Mon, 13 Mar 2006 10:59:14 +0100 X-Mailer: Apple Mail (2.746.2) Subject: Segfaults from gcc, awk and Zend; advice needed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 09:59:23 -0000 --Apple-Mail-8-727997417 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed For some reason I'm getting more or less random segfaults compiling kernels, world or PHP5 on BETA-3 (Python and perl went ok). So far I haven't succeeded building a fresh kernel or world. This system is an Athlon XP with 1MB RAM and 4GB swap, compiling is done in the usual places in /usr, which is a set of two gstriped partitions. Dmesg attached. Previously this system has been running 5-STABLE w/o any such problems (uptime before installing 6 was about 80 days, started from an installworld). This machine doesn't regularly see load yet, except for the few build(world/kernel)/install(&)s. I haven't seen any other messages of this kind, so I suspect a local problem. So far I think I need to look at: - memory; run memtestx86 and cross fingers - I recollect seeing mention of problems with large amounts of swap on this list in the past; turn one of the swap partitions off or something like that - Optimization flags; I've tried setting CPUTYPE?=athlon-xp and CLFAGS=, CFLAGS=-O -pipe, CFLAGS=-O2 -pipe so far. All w/o avail... - gcc 3.4.4, awk, PHP are all borken (all were built using gcc 3.4.4, I suppose) I'm a bit low on spare time, so I'd like to tackle this problem efficiently. Anything I forgot or to help me find the culprit? Regards, --Apple-Mail-8-727997417 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="dmesg.out" Content-Disposition: attachment; filename=dmesg.out Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-BETA3 #0: Thu Mar 2 11:03:41 UTC 2006 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP 2000+ (1666.74-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0400800 real memory = 1073659904 (1023 MB) avail memory = 1041723392 (993 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0xe000-0xe003 mem 0xf0000000-0xf7ffffff,0xef800000-0xef800fff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 4.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xb400-0xb41f irq 10 at device 4.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb000-0xb01f irq 10 at device 4.3 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 4.4 (no driver attached) pci0: at device 9.0 (no driver attached) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9400-0x947f mem 0xdd800000-0xdd80007f at device 13.0 on pci0 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:0f:59:c2 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcbfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1666739708 Hz quality 800 Timecounters tick every 1.000 msec ad0: 190782MB at ata0-master UDMA100 ad1: 190782MB at ata0-slave UDMA100 acd0: CDRW at ata1-slave UDMA33 GEOM_MIRROR: Device root created (id=179367146). GEOM_MIRROR: Device root: provider ad0s1a detected. GEOM_MIRROR: Device var created (id=4294490537). GEOM_MIRROR: Device var: provider ad0s1d detected. GEOM_STRIPE: Device tmp created (id=1982480573). GEOM_STRIPE: Disk ad0s1e attached to tmp. GEOM_STRIPE: Device usr created (id=1752489598). GEOM_STRIPE: Disk ad0s1f attached to usr. GEOM_MIRROR: Device home created (id=2722179877). GEOM_MIRROR: Device home: provider ad0s1g detected. GEOM_MIRROR: Device root: provider ad1s1a detected. GEOM_MIRROR: Device root: provider ad1s1a activated. GEOM_MIRROR: Device root: provider ad0s1a activated. GEOM_MIRROR: Device root: provider mirror/root launched. GEOM_MIRROR: Device var: provider ad1s1d detected. GEOM_MIRROR: Device var: provider ad1s1d activated. GEOM_MIRROR: Device var: provider ad0s1d activated. GEOM_MIRROR: Device var: provider mirror/var launched. GEOM_STRIPE: Disk ad1s1e attached to tmp. GEOM_STRIPE: Device tmp activated. GEOM_STRIPE: Disk ad1s1f attached to usr. GEOM_STRIPE: Device usr activated. GEOM_MIRROR: Device home: provider ad1s1g detected. GEOM_MIRROR: Device home: provider ad1s1g activated. GEOM_MIRROR: Device home: provider ad0s1g activated. GEOM_MIRROR: Device home: provider mirror/home launched. WARNING: Expected rawoffset 0, found 63 Trying to mount root from ufs:/dev/mirror/root WARNING: Expected rawoffset 0, found 63 pid 41926 (conftest), uid 0: exited on signal 12 (core dumped) pid 90788 (httpd), uid 80: exited on signal 11 pid 90789 (httpd), uid 80: exited on signal 11 pid 90790 (httpd), uid 80: exited on signal 11 pid 90791 (httpd), uid 80: exited on signal 11 pid 90792 (httpd), uid 80: exited on signal 11 pid 10208 (ld), uid 0: exited on signal 11 (core dumped) pid 17113 (make), uid 0: exited on signal 11 (core dumped) pid 30256 (cc), uid 0: exited on signal 11 (core dumped) pid 48031 (as), uid 0: exited on signal 11 (core dumped) --Apple-Mail-8-727997417 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed -- Alban Hertroys Sometimes you wake up and you think: "Galileo was right, The world does rotate" --Apple-Mail-8-727997417--