From owner-freebsd-arm@FreeBSD.ORG Thu Nov 27 19:48:33 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 77DAD937; Thu, 27 Nov 2014 19:48:33 +0000 (UTC) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1BC2369; Thu, 27 Nov 2014 19:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1417117687; l=4421; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:Cc:To:From:Date; bh=2SXWRvdQv4I2Hn17K1AL2tZDXfA=; b=V/QBpLe5mq2uHdNaCSNdoVOQICjsSZbKewfmLwGUgtV7T0hNPGSAySBwOXowSlWs0nz RKqe6exPnA9jQUqpq3EPZV06ZkSdEShk1MKDWxIT4OmoeLBbeHnyLdr82eGeb1bqT6RXb eAOfcivhTnwnkqszRRm4sdSHnzf7bcFCTBA= X-RZG-AUTH: :OX8Be0W8W+pMC3rDLL/lo2xV/LZTbZkYhOcjg8suic3iYr/B8J9Lzp3TJg49uMv/iwf9 X-RZG-CLASS-ID: mo00 Received: from bbu (p548696C0.dip0.t-ipconnect.de [84.134.150.192]) by smtp.strato.de (RZmta 36.2 DYNA|AUTH) with ESMTPSA id j02188qARJm62xP (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate); Thu, 27 Nov 2014 20:48:06 +0100 (CET) Date: Thu, 27 Nov 2014 20:48:05 +0100 From: Ulrich Grey To: Ulrich Grey Subject: Re: Another Test Run with Alternative pmap Implementation Message-Id: <20141127204805.5c2aa62c957fa1984717b592@ulrich-grey.de> In-Reply-To: <20141127133908.532e7963aade036f67d49a1d@ulrich-grey.de> References: <20141113125236.b16cd4e5f0e339eac0494cd4@ulrich-grey.de> <20141115143444.5ad037548e06f289d2532fb7@ulrich-grey.de> <20141119225903.81fbbc7809093a0e6e0de9d5@ulrich-grey.de> <20141120151900.a68c6d8316b96a62cb65d17a@ulrich-grey.de> <20141121115941.54d4e36b103341c3adf7eb36@ulrich-grey.de> <20141124132733.4e96b906f0d1ab69969dddd9@ulrich-grey.de> <1416840814.1147.380.camel@revolution.hippie.lan> <20141125225451.924a5df4bdb4753db273b8c5@ulrich-grey.de> <20141127133908.532e7963aade036f67d49a1d@ulrich-grey.de> Organization: - X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; armv6-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, Ian Lepore 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: Thu, 27 Nov 2014 19:48:33 -0000 The USB-Drives I use are USB-Harddrives, connected by an active USB-Hub. Root mount waiting for: usbus1 usbus0 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered ugen1.2: at usbus1 uhub2: on usbus1 Root mount waiting for: usbus1 uhub2: 4 ports with 3 removable, self powered Root mount waiting for: usbus1 ugen1.3: at usbus1 umass0: on usbus1 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: Serial Number 100 da0: 40.000MB/s transfers da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C) da0: quirks=0x2 ugen1.4: at usbus1 uhub3: on usbus1 uhub3: 4 ports with 4 removable, self powered Root mount waiting for: usbus1 Root mount waiting for: usbus1 ugen1.5: at usbus1 umass1: on usbus1 Trying to mount root from ufs:/dev/mmcsd1s2a [rw,noatime]... da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: Fixed Direct Access SCSI-4 device da1: Serial Number 2HB50SN0 da1: 40.000MB/s transfers da1:w a1r5n2i6n2g7:M Bn o( 3t1i2m5e8-1o8f0-8d a5y1 2c lboyctke rseegcitsotresr:e d2,5 5sHy s6t3eSm/ Tt i1m9e4 5w7iCl)l ndoat1 :b eq usiertk sa=c0cxu2r wrote: > I have built a new kernel with debugging options and ARM_NEW_PMAP. > I have modified the file /src/sys/arm/include/vm.h: > > /* #define VM_MEMATTR_UNCACHEABLE VM_MEMATTR_NOCACHE XXname is misused by DMA */ > #define VM_MEMATTR_UNCACHEABLE VM_MEMATTR_SO /*name is misused by DMA */ > > my crashtest make -j20 buildworld hung after about 8 - 9 hours at the usual place: > > --- cpp_helpers --- > > c++ -O -pipe -I/usr/local/DEVEL/STREJDA/freebsd/contrib/atf -Qunused-arguments -Wno-c > + +11-extensions -L/usr/obj/usr/local/DEVEL/STREJDA/freebsd/tmp/usr/lib/private > -rpath /usr/lib/private -o cpp_helpers > cpp_helpers.o /usr/obj/usr/local/DEVEL/STREJDA/freebsd/lib/atf/libatf-c++/libatf-c+ > +.so /usr/obj/usr/local/DEVEL/STREJDA/freebsd/lib/atf/libatf-c/libatf-c.so > > Something went wrong and I lost connection to the serial console, so I could not break > to debugger. > > Here some explanation about my "test system". It was not set up to test something. I > only wanted to build some ports which depend on qt4-* (lyx, texworks which depens on > texlive). > > The device has 2 SD-Cards. > On /dev/mmcsd1s2a lives root, > on /dev/mmcsd0 lives /usr/local. > > I use USB-Drives, as far as I know there is no SATA-Driver yet for FreeBSD. > > On /dev/da1 are the portstree and the working directories for compiling ports and the > source tree and the obj tree for compiling the system (via symbolic links from /usr). > > On /dev/da0s1b I have a swap partition (4 GB). As far as I have watched, the system uses > no swap, the RAM seems to be big enough. If "top" shows high load (20 or more) there is > enough free RAM. It is for precaution only because with my Raspberry I had some crashes > during compilation due to tight RAM. Here is an example from the last test: > > last pid: 65435; load averages: 19.90, 19.41, 19.60 up 0+06:16:00 23:09:00 > 102 processes: 19 running, 83 sleeping > CPU 0: 97.3% user, 0.0% nice, 2.3% system, 0.4% interrupt, 0.0% idle > CPU 1: 98.4% user, 0.0% nice, 1.6% system, 0.0% interrupt, 0.0% idle > CPU 2: 92.6% user, 0.0% nice, 7.4% system, 0.0% interrupt, 0.0% idle > CPU 3: 23.8% user, 0.0% nice, 76.2% system, 0.0% interrupt, 0.0% idle > Mem: 499M Active, 849M Inact, 176M Wired, 5824K Cache, 112M Buf, 470M Free > Swap: 4095M Total, 4095M Free > > As a terminal (serial console) I use the Raspberry and a TV Set (HDMI-Interface). > > root@quad:/usr/src/sys/arm/include # mount > /dev/mmcsd1s2a on / (ufs, local, noatime, journaled soft-updates, nfsv4acls) > devfs on /dev (devfs, local) > /dev/mmcsd1s1 on /boot/msdos (msdosfs, local, noatime) > /dev/mmcsd0 on /usr/local (ufs, local, noatime) > /dev/da1 on /usr/local/DEVEL (ufs, local) > > /tmp is not mounted on tmpfs > > Regards > > Ulrich