From owner-freebsd-mips@freebsd.org Fri Nov 11 14:49:50 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF241C3BE85 for ; Fri, 11 Nov 2016 14:49:50 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FAC61C6A; Fri, 11 Nov 2016 14:49:50 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id g23so102604497wme.1; Fri, 11 Nov 2016 06:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0hb5gn8idf+4tdpMrHlu7FN32ah/ItUfpeVswGB5k/E=; b=NYgQx/Nhu+utr5ZOBKZEuE5D/iOCs/mftb5SwMClCY3CWgRgrU+c4B4Cb11l2Yw6Zy CAKuW+/GWkG+r+ROiNgu54HkULk+uUpD+NOezdUAJ2CTXrHReTM3WeRQERPtV5mvLKL0 +8EFKYSlh41G/xKlw2hJ9s8YSyZeIgbUrg+QqA0L2/OVdQduZaGnCyK+mWDVyx8wuBMc tA4fOe0YRvhKbVirtSiRpskOwpB7oInxU6d7xEHrsgDLSdajljAqr3uz83+lgEAMvCyY 05Q2rUYk3XesJx2uKTl/hSGFbmxOEo77k+QRYeIy2sBU4JBVC96DQU2l0YyYxwT4Ul3n 88cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0hb5gn8idf+4tdpMrHlu7FN32ah/ItUfpeVswGB5k/E=; b=HV2mQY3fe9CjTsnB0N8s6AD4TOiMm6T86egABhXuJmpozyO8ONgZQMx4oaJRJdj++L Jc/Y0EGDdgh8aJXZ1MbKvHOczbV4gDfFCgG/lVL1AmVgWzNxzmkw/plohQ2rd6HjY24I G6+AKUlhZaAHGWxaNKO/2BuV6Byxa6ECvvsts+sFZ+MOtCZ6BBlUOh9DLzk+AEcE0RVs IkQ95Vvww0rv2bprgWa1bFgyPT1sJtauUrnijWlVHYxKR6kCySiyv7B+y9Yv1IZZQZvo Ngy7s5f+bdK73n/dr3LcfMlai48lGelP3jeAD48rq9gey2nRyJsCyVOhRGfXuVoQtfIY /7KA== X-Gm-Message-State: ABUngvcGBzR+p7nFQYWkLCk2MQ4FQMbYiOneyfE6+GFpoaWckn30X7Ib2ZRMkmo+bq8LQ8hlJLnfUnayL1xn6w== X-Received: by 10.194.44.41 with SMTP id b9mr2583899wjm.56.1478875787846; Fri, 11 Nov 2016 06:49:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.152.131 with HTTP; Fri, 11 Nov 2016 06:49:47 -0800 (PST) In-Reply-To: References: From: Michael Zhilin Date: Fri, 11 Nov 2016 17:49:47 +0300 Message-ID: Subject: Re: mips24k (and others?) no longer works To: Adrian Chadd Cc: "freebsd-mips@freebsd.org" , Brooks Davis , Ruslan Bukin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 14:49:50 -0000 Hi Adrian, I see bad fault a bit earlier: just after dozens of cycles of "init": at pc = 0x4001e4, but it cou What found by me: after page fault on file objects the page content is filled with small delay, i.e. it results in race. If you add small piece of work (black-hole-cpu) after fault (or context switch?), then the page is filled with data (magic). I want to find some time this weekend (tomorrow) to trace geom layer (ktrace?). Thanks! On Fri, Nov 11, 2016 at 11:07 AM, Adrian Chadd wrote: > Hiya, > > So mips on the atheros 24kc and 74kc parts is just completely borked. > It varies between "this doesn't even boot" to "all I get are spams of > failure exceptions", and if i back out a variety of hilarity, i end up > with a userland that just plainly hangs after userland runs for a > little while. No CTRL-T, nothing obvious in ddb. But hey, 'cont' in > ddb now works. > > The working release for me is 304552, which is when I finished > updating the atheros config files to use std.XXXX instead of > ARXXXX_BASE. > > It's going to take some time to find the first point where things > broke. It's likely going to be a combination of everyone's recent mips > platform changes (most of the exceptions, the not-booting-at-all) and > other unrelated kernel changes to other areas (likely the hang.) > > I ask that people hold off on the MIPS side of work until I figure out > what's going on here. > > Also - I really do suggest you invest $40 in a carambola 2 so you have > the AR9331 as a reference platform to do MIPS testing on. These > mips24kc, FPU-less cut down SoCs are in a lot of things and having now > heavily broken support for them is kinda sad. :( It's also putting a > cramp on my ability to finish my net80211 and 11ac changes as a whole > lot of it depends upon working AP hardware to test against. > > Thanks, > > > -adrian > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >