From owner-freebsd-current@FreeBSD.ORG Fri Oct 30 07:18:10 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F8091065670 for ; Fri, 30 Oct 2009 07:18:10 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from mail-iw0-f189.google.com (mail-iw0-f189.google.com [209.85.223.189]) by mx1.freebsd.org (Postfix) with ESMTP id 086958FC12 for ; Fri, 30 Oct 2009 07:18:09 +0000 (UTC) Received: by iwn27 with SMTP id 27so1926681iwn.7 for ; Fri, 30 Oct 2009 00:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=XYWNlKOV96kNECLUNbm+rePut0eTjkggmBCOVbWYPhU=; b=R03nCc61r9OmVAe3yTnogq8cT/tQ2LTRwGLK7XCTgLbQsmxoC7851X1GB2ztm/5jNj y2N4aClq3+u46FuqidNpISAZb/Vmo1V2uc93ddfoSrwg8FodG3LsRLL54B8IVlBisajt pokqDVV75w9her0wB5N0h7mubFE1odsKvWiw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pr+FKL0+WtmpLIt/8cxO8vfa4Zqt4ZKW+oqhnlSyruI87WI5KKaEYsB/l6b3kM2f7K HtMsYKruSEedLLjU1k/DcUlz/sR254GCpGVBCLSHGCJxYH2zxHnHUFAy5xzzrT7Lfzvy Fir2hoJNv1TivOd59koowTl+qDWBIvEk6iMEI= MIME-Version: 1.0 Received: by 10.231.122.208 with SMTP id m16mr3458094ibr.16.1256887089213; Fri, 30 Oct 2009 00:18:09 -0700 (PDT) Date: Fri, 30 Oct 2009 00:18:09 -0700 Message-ID: <6e0e5340910300018j58a631e1r9d6d72d223621a00@mail.gmail.com> From: David Ehrmann To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Strange issue with Samba and csup on 8.0rc1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 30 Oct 2009 07:18:10 -0000 I finally got around to restarting my machine and trying the live CD. First, with the current installation, I took vge0 down to make sure everything was going through vr0. I had the same problem, so I changed the configuration on my openwrt box, put tcpdump on it, and watched. Running csup (which regularly gave me problems), I saw two sets of packets going to the csup server, but never a reply, so each set was just four packets with the usual TCP retry falloff. It worked fine with the live cd on vr0. I rebooted, but kept the CD in. I mounted it, created some ram-backed filesystems on /cdrom/usr/src, /cdrom/tmp, and /cdrom/var/db, chrooted into /cdrom, and did the csup again. It failed, again. I diffed the csups and the libraries csup depends on; only /lib/libthr.so.3 /lib/libc.so.7 differed. They could be bad, or they could have been updated between the live CD being built and me updating. I didn't have any zfs stuff mounted, yet, so it should have been off. Here's loader.conf: padlock_load="YES" vm.kmem_size="1024M" I have seen geli and padlock (Via's on-CPU cryptographic accelerator) have issues where it decrypts wrong. Maybe csup uses FreeBSD crypto, and that takes advantage of padlock (but Samba, too?) Here's how my kernel differs from GENERIC: 79,81d78 < # for zfs < options KVA_PAGES=512 It's worth mentioning that my internet connection isn't quite stable, but I was able to get other machines to csup just fine, so unless my timing was extremely unlucky, there's something up, here. The OS is installed on flash, so I made a few changes. Here's my fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /usr ufs rw 2 2 # var setup /dev/ad0s1e /var ufs rw 2 2 md /var/log mfs rw,-s32M md /var/run mfs rw,-s8M md /var/msgs mfs rw,-s8M md /var/spool/clientmqueue mfs rw,-s16M # tmp md /tmp mfs rw,-s128M I have 2GB of memory, so I didn't bother with swap. I mount /var, but then put things that don't seem to be all that important (and change a lot) in mds so they don't wear the flash too much. None of them seemed *that* important, but I'm listing every weird thing about my system. Memtest said my memory is fine. Ideas?