From owner-freebsd-arm@FreeBSD.ORG Sun May 20 20:00:32 2012 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B9BC1065675 for ; Sun, 20 May 2012 20:00:32 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE6BE8FC16 for ; Sun, 20 May 2012 20:00:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4KK0Boo066509 for ; Sun, 20 May 2012 20:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4KK0BCA066508; Sun, 20 May 2012 20:00:11 GMT (envelope-from gnats) Date: Sun, 20 May 2012 20:00:11 GMT Message-Id: <201205202000.q4KK0BCA066508@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org From: Kristof Provost Cc: Subject: arm/149288: mail/dovecot causes panic during configure on Sheevaplug (ARM) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kristof Provost List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2012 20:00:32 -0000 The following reply was made to PR arm/149288; it has been noted by GNATS. From: Kristof Provost To: bug-followup@FreeBSD.org, root@cooltrainer.org Cc: Subject: arm/149288: mail/dovecot causes panic during configure on Sheevaplug (ARM) Date: Sun, 20 May 2012 21:54:12 +0200 Hi, I can reproduce this problem on an OpenRD (Marvell Kirkwood, just like the Sheevaplug) on version r235647. The problem appears to be triggered by the test for shared mmaps: #include #include #include #include #include #include int main() { /* return 0 if we're signed */ int f = open("conftest.mmap", O_RDWR|O_CREAT|O_TRUNC, 0600); void *mem; if (f == -1) { perror("open()"); return 1; } unlink("conftest.mmap"); write(f, "1", 2); mem = mmap(NULL, 2, PROT_READ|PROT_WRITE, MAP_SHARED, f, 0); if (mem == MAP_FAILED) { perror("mmap()"); return 1; } strcpy(mem, "2"); msync(mem, 2, MS_SYNC); lseek(f, 0, SEEK_SET); write(f, "3", 2); return strcmp(mem, "3") == 0 ? 0 : 1; } Regards, Kristof