From owner-freebsd-mips@FreeBSD.ORG Mon Jul 8 11:40:58 2013 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DEFF048B for ; Mon, 8 Jul 2013 11:40:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D171D13A0 for ; Mon, 8 Jul 2013 11:40:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r68BeXdE053981 for ; Mon, 8 Jul 2013 11:40:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r68B6ciw046155 for freebsd-mips@FreeBSD.org; Mon, 8 Jul 2013 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Jul 2013 11:06:38 GMT Message-Id: <201307081106.r68B6ciw046155@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-mips@FreeBSD.org Subject: Current problem reports assigned to freebsd-mips@FreeBSD.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 11:40:58 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/178319 mips [patch] [arge] arge_stop() doesn't clean the tx ring p o kern/178318 mips [patch] [arge] if_arge/bootp race under some circunsta o kern/177876 mips [mips] kernel stack overflow panic on mips64, EdgeRout o kern/177832 mips [mips] [gpio] [patch] GPIO and RF LED do not function o kern/177032 mips [arge] arge1 fails to attach on UBNT Routerstation o kern/165951 mips [ar913x] [ath] DDR flush isn't being done for the WMAC p kern/163670 mips [mips][arge] arge can't allocate ring buffer on multip 7 problems total. From owner-freebsd-mips@FreeBSD.ORG Tue Jul 9 14:35:27 2013 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 36683E77; Tue, 9 Jul 2013 14:35:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 48C021345; Tue, 9 Jul 2013 14:35:25 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r69EZPvi027628; Tue, 9 Jul 2013 10:35:25 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r69EZPZ5027626; Tue, 9 Jul 2013 14:35:25 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 9 Jul 2013 14:35:25 GMT Message-Id: <201307091435.r69EZPZ5027626@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 14:35:27 -0000 TB --- 2013-07-09 13:32:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-09 13:32:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-09 13:32:17 - starting HEAD tinderbox run for mips/mips TB --- 2013-07-09 13:32:17 - cleaning the object tree TB --- 2013-07-09 13:32:17 - /usr/local/bin/svn stat /src TB --- 2013-07-09 13:32:20 - At svn revision 253088 TB --- 2013-07-09 13:32:21 - building world TB --- 2013-07-09 13:32:21 - CROSS_BUILD_TESTING=YES TB --- 2013-07-09 13:32:21 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-09 13:32:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-09 13:32:21 - SRCCONF=/dev/null TB --- 2013-07-09 13:32:21 - TARGET=mips TB --- 2013-07-09 13:32:21 - TARGET_ARCH=mips TB --- 2013-07-09 13:32:21 - TZ=UTC TB --- 2013-07-09 13:32:21 - __MAKE_CONF=/dev/null TB --- 2013-07-09 13:32:21 - cd /src TB --- 2013-07-09 13:32:21 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue Jul 9 13:32:28 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jul 9 14:32:43 UTC 2013 TB --- 2013-07-09 14:32:43 - cd /src/sys/mips/conf TB --- 2013-07-09 14:32:43 - /usr/sbin/config -m ADM5120 TB --- 2013-07-09 14:32:43 - skipping ADM5120 kernel TB --- 2013-07-09 14:32:43 - cd /src/sys/mips/conf TB --- 2013-07-09 14:32:43 - /usr/sbin/config -m ALCHEMY TB --- 2013-07-09 14:32:43 - skipping ALCHEMY kernel TB --- 2013-07-09 14:32:43 - cd /src/sys/mips/conf TB --- 2013-07-09 14:32:43 - /usr/sbin/config -m AP121 TB --- 2013-07-09 14:32:43 - building AP121 kernel TB --- 2013-07-09 14:32:43 - CROSS_BUILD_TESTING=YES TB --- 2013-07-09 14:32:43 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-09 14:32:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-09 14:32:43 - SRCCONF=/dev/null TB --- 2013-07-09 14:32:43 - TARGET=mips TB --- 2013-07-09 14:32:43 - TARGET_ARCH=mips TB --- 2013-07-09 14:32:43 - TZ=UTC TB --- 2013-07-09 14:32:43 - __MAKE_CONF=/dev/null TB --- 2013-07-09 14:32:43 - cd /src TB --- 2013-07-09 14:32:43 - /usr/bin/make -B buildkernel KERNCONF=AP121 >>> Kernel build for AP121 started on Tue Jul 9 14:32:44 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/net80211/ieee80211_superg.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/net80211/ieee80211_tdma.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/net80211/ieee80211_wds.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/net80211/ieee80211_xauth.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/net80211/ieee80211_alq.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/netinet/if_ether.c /src/sys/netinet/if_ether.c: In function 'arpstat_sysctl': /src/sys/netinet/if_ether.c:122: error: size of array '__assert_3' is negative *** Error code 1 Stop. make: stopped in /obj/mips.mips/src/sys/AP121 *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-09 14:35:25 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-09 14:35:25 - ERROR: failed to build AP121 kernel TB --- 2013-07-09 14:35:25 - 2748.83 user 651.13 system 3787.66 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Jul 10 04:51:16 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 764102A3 for ; Wed, 10 Jul 2013 04:51:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) by mx1.freebsd.org (Postfix) with ESMTP id 41E7F1276 for ; Wed, 10 Jul 2013 04:51:16 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id n20so3334965qaj.6 for ; Tue, 09 Jul 2013 21:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=CQEvw6IZwi4+BVoDkfoZmGD6TJqhrA7h1OGGownwC/A=; b=pTdcSxygdkVxsTvb5ubpQq6WcnXzRPsJBZ5AMbLvypMAamyeVAmfjWZOzft7liZBOZ DlterNrhh4GRZzkzxq6FZpOiAaH7Ulo6iN8b2i0+c8mzxE+fmaLQ49u15qh/g6RcpNGm w5KHF+aDT95Ttbd61bWhEV1DK7qN/kygoH1Xgl/yzhHou55FWz32VQgpuWflmVLPFuF6 iG65kQs9NBY4xbBvKrja5KoiVEEOpF9otft2iT9f/iLOA001ogcKoF0fmEph1eeSC196 CcW+Cpq4QmK7DSGbPpxDSiB3oA3RndrP8o4HYNZVLkyGpYfSjAMa2jWebo27orRU4MUJ tg8A== MIME-Version: 1.0 X-Received: by 10.224.13.19 with SMTP id z19mr26597719qaz.12.1373431875470; Tue, 09 Jul 2013 21:51:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Tue, 9 Jul 2013 21:51:15 -0700 (PDT) Date: Tue, 9 Jul 2013 21:51:15 -0700 X-Google-Sender-Auth: V2PrhGc0dQXNgaVqX1EV5qaQTV8 Message-ID: Subject: mips74k and duplicate TLB entries From: Adrian Chadd To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 04:51:16 -0000 Hi all, I've started bringing up FreeBSD-HEAD on the AR9344 which is a MIPS 74k core. It panics shortly after boot, in the invalidation code. We've traced it down thus far to duplicate entries in the TLB. An example TLB list: http://pastebin.ca/2423778 Now, I think it's something in MipsDoTLBMiss or MipsTLBInvalidException in exception.S. I'm out of my depth here. Could I please get some help in figuring out what's going on? Thanks! -adrian From owner-freebsd-mips@FreeBSD.ORG Wed Jul 10 05:58:21 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A33FD9 for ; Wed, 10 Jul 2013 05:58:21 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id D96F31628 for ; Wed, 10 Jul 2013 05:58:20 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id uo1so6306767pbc.31 for ; Tue, 09 Jul 2013 22:58:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=tc+A/f4JXN04ytViz/hChWYd34kJwCq7YDITwGz/i6I=; b=dnckDggdcGGJSEpm8N8CnqNxLxT98zLPVaWCeTw7Y8de4sYz0PCnE28yU488p7iey5 oYoKzJZtFyU6z6tUMh5BfbuhIEfzHPmZA98TK7QG9p3LjvuzMsZrqeNLlnP5ArH2X7Wu kwzkORX0ZvRgNj6cykCJADLVuWXzWag+XX7YUAL8dYyFbdD9msn0JbxRIWMqsm1fflIm 9NU1qjwnPAh1P4TG2m1AJ3Cjwm/ffHniVII7x3w7Mdk7N3mnWBbxyckHJ0kQi8pYQAKr kLJoS8KRxt3YWvmSKJLxNKyEftxqzgn8UyWWnPW9KFVnMNvImPXm2+ST1tyiQrj1kOkB +IDA== X-Received: by 10.68.138.131 with SMTP id qq3mr29936989pbb.10.1373434015958; Tue, 09 Jul 2013 22:26:55 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id ep4sm4316229pbd.35.2013.07.09.22.26.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 22:26:54 -0700 (PDT) Sender: Warner Losh Subject: Re: mips74k and duplicate TLB entries Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 From: Warner Losh In-Reply-To: Date: Tue, 9 Jul 2013 23:26:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlAHwmvwlQmGzPVl6H2iEVfivMTv3HSuOdiVI6X+r2ZfxiH3aCs93aFdK0zAUyudh/fw637 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 05:58:21 -0000 So why are there three entries for things in kseg0? =95 #1 =3D> ffffffff80000000 =95 Lo0 0 (0) =95 Lo1 17747 (0x5dd000) =95 #4 =3D> ffffffff80006000 =95 Lo0 0 (0) =95 Lo1 1 (0) =95 #12 =3D> ffffffff80016000 =95 Lo0 0 (0) =95 Lo1 173c7 (0x5cf000) =95 #14 =3D> ffffffff8001a000 =95 Lo0 0 (0) =95 Lo1 7d087 (0x1f42000) =95 #19 =3D> ffffffff80024000 =95 Lo0 0 (0) =95 Lo1 16947 (0x5a5000) =95 #22 =3D> ffffffff8002a000 =95 Lo0 0 (0) =95 Lo1 17007 (0x5c0000) =95 #31 =3D> ffffffff8003c000 =95 Lo0 0 (0) =95 Lo1 16f87 (0x5be000) and why are there two entries for 0xc0108000? =95 #5 =3D> ffffffffc0108000 =95 Lo0 1b147 (0x6c5000) =95 Lo1 177c7 (0x5df000) =95 #29 =3D> ffffffffc0108000 =95 Lo0 1b147 (0x6c5000) =95 Lo1 16b47 (0x5ad000) to two different PFNs no less, at least for the upper page? Warner On Jul 9, 2013, at 10:51 PM, Adrian Chadd wrote: > Hi all, >=20 > I've started bringing up FreeBSD-HEAD on the AR9344 which is a MIPS > 74k core. It panics shortly after boot, in the invalidation code. > We've traced it down thus far to duplicate entries in the TLB. >=20 > An example TLB list: >=20 > http://pastebin.ca/2423778 >=20 > Now, I think it's something in MipsDoTLBMiss or > MipsTLBInvalidException in exception.S. >=20 > I'm out of my depth here. Could I please get some help in figuring out > what's going on? >=20 > Thanks! >=20 >=20 > -adrian > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to = "freebsd-mips-unsubscribe@freebsd.org" From owner-freebsd-mips@FreeBSD.ORG Fri Jul 12 06:07:51 2013 Return-Path: Delivered-To: mips@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 E2ECDE7D; Fri, 12 Jul 2013 06:07:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id A08BD1BFC; Fri, 12 Jul 2013 06:07:51 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r6C67oNN013212; Fri, 12 Jul 2013 02:07:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r6C67oBn013199; Fri, 12 Jul 2013 06:07:50 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Jul 2013 06:07:50 GMT Message-Id: <201307120607.r6C67oBn013199@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 06:07:52 -0000 TB --- 2013-07-12 05:45:02 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 05:45:02 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-12 05:45:02 - starting HEAD tinderbox run for mips/mips TB --- 2013-07-12 05:45:02 - cleaning the object tree TB --- 2013-07-12 05:45:02 - /usr/local/bin/svn stat /src TB --- 2013-07-12 05:45:05 - At svn revision 253248 TB --- 2013-07-12 05:45:06 - building world TB --- 2013-07-12 05:45:06 - CROSS_BUILD_TESTING=YES TB --- 2013-07-12 05:45:06 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-12 05:45:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-12 05:45:06 - SRCCONF=/dev/null TB --- 2013-07-12 05:45:06 - TARGET=mips TB --- 2013-07-12 05:45:06 - TARGET_ARCH=mips TB --- 2013-07-12 05:45:06 - TZ=UTC TB --- 2013-07-12 05:45:06 - __MAKE_CONF=/dev/null TB --- 2013-07-12 05:45:06 - cd /src TB --- 2013-07-12 05:45:06 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Fri Jul 12 05:45:13 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'long' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'typeof' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'double' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'typeof' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'float' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available *** Error code 1 Stop. make: stopped in /src/gnu/lib/libstdc++ *** Error code 1 Stop. make: stopped in /src/gnu/lib *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-12 06:07:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-12 06:07:50 - ERROR: failed to build world TB --- 2013-07-12 06:07:50 - 1024.16 user 230.43 system 1368.47 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Jul 12 09:06:20 2013 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E48823C; Fri, 12 Jul 2013 09:06:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA171808; Fri, 12 Jul 2013 09:06:20 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r6C96JAQ053230; Fri, 12 Jul 2013 05:06:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r6C96JYN053226; Fri, 12 Jul 2013 09:06:19 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Jul 2013 09:06:19 GMT Message-Id: <201307120906.r6C96JYN053226@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 09:06:20 -0000 TB --- 2013-07-12 08:42:00 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 08:42:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-12 08:42:00 - starting HEAD tinderbox run for mips/mips TB --- 2013-07-12 08:42:00 - cleaning the object tree TB --- 2013-07-12 08:43:11 - /usr/local/bin/svn stat /src TB --- 2013-07-12 08:43:15 - At svn revision 253253 TB --- 2013-07-12 08:43:16 - building world TB --- 2013-07-12 08:43:16 - CROSS_BUILD_TESTING=YES TB --- 2013-07-12 08:43:16 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-12 08:43:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-12 08:43:16 - SRCCONF=/dev/null TB --- 2013-07-12 08:43:16 - TARGET=mips TB --- 2013-07-12 08:43:16 - TARGET_ARCH=mips TB --- 2013-07-12 08:43:16 - TZ=UTC TB --- 2013-07-12 08:43:16 - __MAKE_CONF=/dev/null TB --- 2013-07-12 08:43:16 - cd /src TB --- 2013-07-12 08:43:16 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Fri Jul 12 08:43:23 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'long' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'typeof' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'double' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'typeof' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'float' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available *** Error code 1 Stop. make: stopped in /src/gnu/lib/libstdc++ *** Error code 1 Stop. make: stopped in /src/gnu/lib *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-12 09:06:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-12 09:06:19 - ERROR: failed to build world TB --- 2013-07-12 09:06:19 - 1022.67 user 236.02 system 1459.45 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Jul 12 12:14:48 2013 Return-Path: Delivered-To: mips@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 C94C8813; Fri, 12 Jul 2013 12:14:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9FA1086; Fri, 12 Jul 2013 12:14:48 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r6CCElnF001127; Fri, 12 Jul 2013 08:14:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r6CCEleE001123; Fri, 12 Jul 2013 12:14:47 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Jul 2013 12:14:47 GMT Message-Id: <201307121214.r6CCEleE001123@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 12:14:48 -0000 TB --- 2013-07-12 11:50:54 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 11:50:54 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-12 11:50:54 - starting HEAD tinderbox run for mips/mips TB --- 2013-07-12 11:50:54 - cleaning the object tree TB --- 2013-07-12 11:51:51 - /usr/local/bin/svn stat /src TB --- 2013-07-12 11:51:55 - At svn revision 253259 TB --- 2013-07-12 11:51:56 - building world TB --- 2013-07-12 11:51:56 - CROSS_BUILD_TESTING=YES TB --- 2013-07-12 11:51:56 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-12 11:51:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-12 11:51:56 - SRCCONF=/dev/null TB --- 2013-07-12 11:51:56 - TARGET=mips TB --- 2013-07-12 11:51:56 - TARGET_ARCH=mips TB --- 2013-07-12 11:51:56 - TZ=UTC TB --- 2013-07-12 11:51:56 - __MAKE_CONF=/dev/null TB --- 2013-07-12 11:51:56 - cd /src TB --- 2013-07-12 11:51:56 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Fri Jul 12 11:52:02 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'long' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'typeof' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'double' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'typeof' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: expected primary-expression before 'float' /obj/mips.mips/src/tmp/usr/include/c++/4.2/cmath:488: error: there are no arguments to '__builtin_types_compatible_p' that depend on a template parameter, so a declaration of '__builtin_types_compatible_p' must be available *** Error code 1 Stop. make: stopped in /src/gnu/lib/libstdc++ *** Error code 1 Stop. make: stopped in /src/gnu/lib *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-12 12:14:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-12 12:14:47 - ERROR: failed to build world TB --- 2013-07-12 12:14:47 - 1023.45 user 237.89 system 1433.26 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Jul 12 18:27:18 2013 Return-Path: Delivered-To: freebsd-mips@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 21633349 for ; Fri, 12 Jul 2013 18:27:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by mx1.freebsd.org (Postfix) with ESMTP id B08741772 for ; Fri, 12 Jul 2013 18:27:17 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hq4so997476wib.12 for ; Fri, 12 Jul 2013 11:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2GJOKQBhAdeZi96bmqZ2MPs5Sb7cyip5qaJWzX3Fd7Y=; b=rG5P6Ca5EfrPis8zhpO52teiZJ23CtehHXkM/Pv4uKRz54+Xwe7lPLAcYjnunMjgIc NpyRfrrD+XdoscIwiA6cYEVgj4ldjUVzsLmWeny0ojPNeWSZb6ZQAo7cy+zY/zp8AqT3 4jOcMDo3naXRMhbWfAUoGu10j87FEL3JhIZD7YfkhHk2aBHpUpDd0UhJ2SrzD2cy1xx9 WsMYGwSMmRAIOd8i3tenKqQEMgBup+uf/QwBC3zR6ikz0pB8FAiCnYo0mVNEDI0lzilq KXTRrEkPyH9sIQIYVyNYvNZ/3poPYmT27KmmxRc9o9Eau0MKp4GlkcSOa0JOJZJNdgp0 kCpQ== MIME-Version: 1.0 X-Received: by 10.194.240.201 with SMTP id wc9mr24998372wjc.1.1373653636578; Fri, 12 Jul 2013 11:27:16 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Fri, 12 Jul 2013 11:27:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jul 2013 11:27:16 -0700 X-Google-Sender-Auth: HREjRwkfGtsH3Zg-mbOG6tIp54E Message-ID: Subject: Re: mips74k and duplicate TLB entries From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 18:27:18 -0000 And that's the question. Hence why I shipped you an AR9344 mips74k board. :-) -adrian On 9 July 2013 22:26, Warner Losh wrote: > So why are there three entries for things in kseg0? > > =95 #1 =3D> ffffffff80000000 > =95 Lo0 0 (0) > =95 Lo1 17747 (0x5dd000) > =95 #4 =3D> ffffffff80006000 > =95 Lo0 0 (0) > =95 Lo1 1 (0) > =95 #12 =3D> ffffffff80016000 > =95 Lo0 0 (0) > =95 Lo1 173c7 (0x5cf000) > =95 #14 =3D> ffffffff8001a000 > =95 Lo0 0 (0) > =95 Lo1 7d087 (0x1f42000) > =95 #19 =3D> ffffffff80024000 > =95 Lo0 0 (0) > =95 Lo1 16947 (0x5a5000) > =95 #22 =3D> ffffffff8002a000 > =95 Lo0 0 (0) > =95 Lo1 17007 (0x5c0000) > =95 #31 =3D> ffffffff8003c000 > =95 Lo0 0 (0) > =95 Lo1 16f87 (0x5be000) > > and why are there two entries for 0xc0108000? > > =95 #5 =3D> ffffffffc0108000 > =95 Lo0 1b147 (0x6c5000) > =95 Lo1 177c7 (0x5df000) > =95 #29 =3D> ffffffffc0108000 > =95 Lo0 1b147 (0x6c5000) > =95 Lo1 16b47 (0x5ad000) > > to two different PFNs no less, at least for the upper page? > > Warner > > On Jul 9, 2013, at 10:51 PM, Adrian Chadd wrote: > >> Hi all, >> >> I've started bringing up FreeBSD-HEAD on the AR9344 which is a MIPS >> 74k core. It panics shortly after boot, in the invalidation code. >> We've traced it down thus far to duplicate entries in the TLB. >> >> An example TLB list: >> >> http://pastebin.ca/2423778 >> >> Now, I think it's something in MipsDoTLBMiss or >> MipsTLBInvalidException in exception.S. >> >> I'm out of my depth here. Could I please get some help in figuring out >> what's going on? >> >> Thanks! >> >> >> -adrian >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >