From owner-freebsd-arm@FreeBSD.ORG Wed Nov 19 17:40:24 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10DF1EB7 for ; Wed, 19 Nov 2014 17:40:24 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C70649C1 for ; Wed, 19 Nov 2014 17:40:23 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Xr9Ee-0002P8-UJ for freebsd-arm@freebsd.org; Wed, 19 Nov 2014 18:40:15 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Subject: Re: dovecot panic References: <20141119110624.95dbkcz1y98o0gws@webmail.FoxValley.net> Date: Wed, 19 Nov 2014 18:40:07 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20141119110624.95dbkcz1y98o0gws@webmail.FoxValley.net> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: -- X-Spam-Score: -2.9 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=disabled version=3.3.1 X-Scan-Signature: c09395f469c52153b963e4ff2d10f427 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 17:40:24 -0000 On Wed, 19 Nov 2014 18:06:24 +0100, wrote: > I tried compiling the port of dovecot (/usr/ports/mail/dovecot) on my > Raspberry Pi. Getting it running was more work than most other ports: > > vi /usr/local/etc/dovecot.conf > > protocols = imap pop3 imaps pop3s > > cd /usr/local/share/examples/dovecot > vi dovecot-openssl.cnf > > (fill out fields) > > mkdir /etc/ssl/certs > mkdir /etc/ssl/private > ./mkcert.sh > echo 'dovecot_enable="YES"' >> /etc/rc.conf > /usr/local/etc/rc.d/dovecot start > > While I was testing it (manual telnet into port 110 and checking mail) > dovecot panicked and brought down the system. I rebooted and tried > again and got the same result: > > panic: pmap_zero_page_gen: page has mappings > KDB: enter: panic > [ thread pid 13779 tid 100095 ] > Stopped at $d: ldrb r15, [r15, r15, ror r15]! > db> > > Has anyone else had success with dovecot on ARMv6? Is there a more > stable choice for a basic POP3/IMAP daemon? > Funny coincidence. I just compiled dovecot2 on my ARM Sheevaplug system. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195168 But, your panic should not have to do with dovecot. Applications are not supposed to make the kernel panic. It normally is the kernel itself which makes it panic. Does disabling superpages help? Put vm.pmap.sp_enabled=0 in loader.conf or sysctl.conf. Other people mentioned a problem with that the previous days. NB: what version of FreeBSD are you running? Regards, Ronald.