From owner-freebsd-arm@FreeBSD.ORG Sun Mar 24 18:34:02 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3B83A2F for ; Sun, 24 Mar 2013 18:34:02 +0000 (UTC) (envelope-from magnus.nilsson@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9B2AEE12 for ; Sun, 24 Mar 2013 18:34:02 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UJpjw-0004Y6-Cz for freebsd-arm@freebsd.org; Sun, 24 Mar 2013 11:33:56 -0700 Date: Sun, 24 Mar 2013 11:33:56 -0700 (PDT) From: MagnusNilsson To: freebsd-arm@freebsd.org Message-ID: <1364150036396-5798701.post@n5.nabble.com> In-Reply-To: <1364063575.1157.155.camel@revolution.hippie.lan> References: <1364062508310-5798411.post@n5.nabble.com> <1364063575.1157.155.camel@revolution.hippie.lan> Subject: Re: Preemption on MV78100 (ARMv5TE)? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 18:34:02 -0000 > Can you provide any information about the crashes? Sorry, "crash" is misleading. Rather, it hangs, almost always during boot. The latest hangs I saw where at "Entropy harvesting:[hang]" and "Trying to mount root from ufs:/dev/ad0s1[hang]" I have tried both SCHED_4BSD and SCHED_ULE, but I don't see any difference. > something to try that may give you most of the same benefits would be to > compile with HZ=1000 Thanks, HZ=2000 already. I mainly want to ensure that the crash isn't caused by some other instability that is tickled by preemption. Basically I want it working - or I want to know why it doesn't. These two patches are applied, but with no improvement: http://www.freebsd.org/cgi/query-pr.cgi?pr=arm/160431 http://www.freebsd.org/cgi/query-pr.cgi?pr=arm/161498 I'll see if I can backport later fixes to 8.2 and see if that helps. My conf (without "options PREEMPTION") is as follows: ident DEV include "../mv/discovery/std.db78xxx" options SOC_MV_DISCOVERY makeoptions MODULES_OVERRIDE="" makeoptions WERROR="-Werror" options SCHED_ULE #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options NFSCLIENT #Network Filesystem Client options NFSLOCKD #Network Lock Manager options NFS_ROOT #NFS usable as /, requires NFSCLIENT options GEOM_PART_BSD options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options MUTEX_NOINLINE options RWLOCK_NOINLINE options NO_FFS_SNAPSHOT options NO_SWAPPING options ROOTDEVNAME=\"ufs:/dev/ad0s1\" options HZ=2000 device pci device loop device md device pty device random device uart device ether device mge # Marvell Gigabit Ethernet controller device mii device e1000phy device bpf options USB_DEBUG # enable debug msgs device usb device ehci device umass device scbus device pass device da device iic device iicbus device ds133x device ata device atadisk -- View this message in context: http://freebsd.1045724.n5.nabble.com/Preemption-on-MV78100-ARMv5TE-tp5798411p5798701.html Sent from the freebsd-arm mailing list archive at Nabble.com.