From owner-freebsd-current@FreeBSD.ORG Sun Feb 10 06:34:25 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D5F6D135 for ; Sun, 10 Feb 2013 06:34:25 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from zcs04.jnb1.cloudseed.co.za (zcs04.jnb1.cloudseed.co.za [41.154.0.161]) by mx1.freebsd.org (Postfix) with ESMTP id 1A11AAF1 for ; Sun, 10 Feb 2013 06:34:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTP id D08EB2A82DE5; Sun, 10 Feb 2013 08:34:13 +0200 (SAST) X-Virus-Scanned: amavisd-new at zcs04.jnb1.cloudseed.co.za Received: from zcs04.jnb1.cloudseed.co.za ([127.0.0.1]) by localhost (zcs04.jnb1.cloudseed.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id atF-U7z1I-lY; Sun, 10 Feb 2013 08:34:12 +0200 (SAST) Received: from clue.co.za (unknown [41.154.88.19]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTPSA id 1762B2A82DE1; Sun, 10 Feb 2013 08:34:12 +0200 (SAST) Received: from [127.0.0.1] (helo=new.clue.co.za) by clue.co.za with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U4QTd-0003BM-7s; Sun, 10 Feb 2013 08:33:25 +0200 To: Steve Kargl From: Ian FREISLICH Subject: Re: 7+ days of dogfood In-Reply-To: <20130210000723.GA73630@troutmask.apl.washington.edu> References: <20130210000723.GA73630@troutmask.apl.washington.edu> X-Attribution: BOFH Date: Sun, 10 Feb 2013 08:33:25 +0200 Message-Id: Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 06:34:25 -0000 Steve Kargl wrote: > Firefox segfaults after ~10 seconds. Chrome gets stuck in a uwait > state and never becomes responsive. Libreoffice displays its splash > screen and immediately segfaults. Xorg does not start because it > cannot load the xf86-video-driver (unless it is explicitly recompiled > with /usr/bin/gcc). Once I got Xorg working, there were a few silent > reboots (ie., nothing in /var/log/message, no core file, etc). > KERNCONF=MOBILE > CPUTYPE?=core2 > > #DISABLE_MAKE_JOBS="YES" > > WITHOUT_CLANG="YES" > WITH_GCC="YES" Shouldn't this be "WITHOUT_CLANG_IS_CC=yes"? I must say that my experience of -CURRENT dogfood has been entirely different. I can't remember the last time I didn't run -CURRENT as my desktop. I also have run -CURRENT in production for the last several years although it's a ruating load, not a compute load. Others might not agree with what I'm about to say. 1. WITHOUT_CLANG_IS_CC=yes I don't think clang is ready for prime time in FreeBSD, or FreeBSD isn't ready to use clang in prime time. I got a new laptop (ASUS UX31A) and found that a lot of the ports I needed to install didn't compile or core dumped. (Sorry I didn't report these to the project). This option sorted that problem out. However you will need to rebuild everything including world and kernel with gcc before you start building ports with gcc or you will still have problems. 2. MALLOC_PRODUCTION=yes Maybe it's the placebo effect. Binaries are smaller in memory and "things seem faster" 3. xorg, firefox18, WITH_NEW_XORG=yes, WITH_KMS=yes I've found that HAL is a waste of time with X. It's hit and miss when it comes to reporting hardware to X, better to just not use it. Xorg has always worked well for me. My new laptop required that I use the new xorg port to get anything resembling decent performance. Getting KMS to work was a bit unsettling and X only seems to work when it's launched by hand from a real terminal. xdm won't start from /etc/ttys with NEW_XORG, but I can live with that. I've just upgraded firefox-18.0 to firefox-18.0.2 without a hitch. I have flash working without a hitch. Even the acroread plugin works for viewing PDFs in browser. 4. Sound. I've had less success with this, but I think my problems would be the same on 8 and 9. It seems common for HDA these days to put the useful sound bits on different devices: pcm0: (play/rec) default pcm1: (play) pcm2: (play) So my headphone jack doesn't work. On my other laptor, the builtin mic doesn't work because it's on pcm1 and there's not a way to make pcm1 the default input device and pcm0 the default output device. I need to spend some time with a verbose boot and see if I can figure out the audio routing. Ian -- Ian Freislich