From owner-freebsd-mips@FreeBSD.ORG Sun Aug 18 22:18:44 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C0A8B2AD for ; Sun, 18 Aug 2013 22:18:44 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 293622FE5 for ; Sun, 18 Aug 2013 22:18:43 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id es20so2893502lab.10 for ; Sun, 18 Aug 2013 15:18:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=m/FYlxXNmyKCmMlMsToQNwGSRjGiebjcfUbOKYgm2wQ=; b=E39wnOJDgZajNIVH8fQuuNiunKQOhB2STm3G20BNaOS86pDCSMz7cgd/K6C+Z4WyU4 yDLIm1HV64/ZxNc213YA0PSdv82rT2XRIpJMmUYBurRbRJIAIVrseWBIwgJ1ufebl8RL hN8+ndIiiFvWngOODudaHpwwV58OrOPUs20VCm/a1iACakuM0XpUd6IVF2m49MDlBXOR qNlKw/B83/an9Ho/qn1OLzwY0EoAefQrWMAzs/CmHNMWou+2+9RcMEdX3EG/HjayXx6O tfJjp9I5Dz1skUsCpW2wHbVSdA5bJsjaAPzxhAv+34kFead8c/nfanVn5Qi6m5oehKw3 xYow== X-Gm-Message-State: ALoCoQlDFd7f+DS7eI8lmf0AJPu/PlKRzpMU0FsRG9WhcqEXC1hBgpuSl7MZmv+0VOOhN8FeFvQ3 X-Received: by 10.152.19.1 with SMTP id a1mr8992847lae.8.1376864315615; Sun, 18 Aug 2013 15:18:35 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.152.23.101 with HTTP; Sun, 18 Aug 2013 15:18:15 -0700 (PDT) In-Reply-To: References: <520CC2DC.4060702@rewt.org.uk> <10d401ce9a06$c5016f90$4f044eb0$@rewt.org.uk> <111501ce9a14$b41f59e0$1c5e0da0$@rewt.org.uk> <520DE94E.5050200@rewt.org.uk> <19BE644B-D2A4-42D2-B983-50E90F3D3F8D@bsdimp.com> <149701ce9c3f$7659ea80$630dbf80$@rewt.org.uk> <14bb01ce9c51$c3152530$493f6f90$@rewt.org.uk> <14c801ce9c53$6f19bf20$4d4d3d60$@rewt.org.uk> <14de01ce9c5a$91bc75c0$b5356140$@rewt.org.uk> From: Juli Mallett Date: Sun, 18 Aug 2013 15:18:15 -0700 X-Google-Sender-Auth: eEyVL40zQNzHf4GrBgHKKCzyEBM Message-ID: Subject: Re: Hang after usb on EdgeRouter Lite To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sun, 18 Aug 2013 22:18:44 -0000 I looked at that change recently, and it changed how kstacks are allocated at least, and while it should have preserved the right alignment behaviour, I'm wondering now if there may be some subtler problem in the change there now. There were other changes that could be implicated as part of that commit, but that's the bit that immediately set off some alarm for me, because I know MIPS is an unusual case in that regard. (Requiring kstacks to fill up a whole double-TLB entry.) Thanks for tracking this down, and I'm hopeful that Jeff will have some insight. Thanks to Adrian for following up with him. Juli. On Sun, Aug 18, 2013 at 3:01 PM, Adrian Chadd wrote: > Ok. I just replied to Jeff's commit and CC'ed you. > > Let's see if we can work with Jeff to figure out why the hell it broke and > get it fixed up before 10.0-REL is cut. > > Would you please file a PR with all the relevant information that you've > found? > > Thanks! > > > > -adrian > > > On 18 August 2013 14:33, Joe Holden wrote: > > > Ok so r254025 is definitely the commit that broke it (both SMP *and* > USB) - > > looks like the commit is quite involved so won't be particularly easy to > > unbreak just mips (at least for me) :( > > > > > -----Original Message----- > > > From: owner-freebsd-mips@freebsd.org [mailto:owner-freebsd- > > > mips@freebsd.org] On Behalf Of Joe Holden > > > Sent: 18 August 2013 21:42 > > > To: 'Adrian Chadd' > > > Cc: freebsd-mips@freebsd.org > > > Subject: RE: Hang after usb on EdgeRouter Lite > > > > > > ... and it boot with the second core disabled (usb still broken > though) - > > > something has gone horribly wrong :P > > > > > > > -----Original Message----- > > > > From: owner-freebsd-mips@freebsd.org [mailto:owner-freebsd- > > > > mips@freebsd.org] On Behalf Of Joe Holden > > > > Sent: 18 August 2013 21:30 > > > > To: 'Adrian Chadd' > > > > Cc: freebsd-mips@freebsd.org > > > > Subject: RE: Hang after usb on EdgeRouter Lite > > > > > > > > Sigh. it's actually getting worse - r254025 hangs after ULE setup. > > > > > > > > > > > > > > > > This may take longer than I first thought > > > > > > > > > > > > > > > > From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On > > > Behalf > > > > Of Adrian Chadd > > > > Sent: 18 August 2013 20:27 > > > > To: Joe Holden > > > > Cc: Warner Losh; freebsd-mips@freebsd.org > > > > Subject: Re: Hang after usb on EdgeRouter Lite > > > > > > > > > > > > > > > > .. you can just disable those for now. You're debugging USB hangs, > not > > > > bootp/nfs compile problems. :0 > > > > > > > > > > > > > > > > > > > > > > > > -adiran > > > > > > > > > > > > > > > > > > > > > > > > On 18 August 2013 11:19, Joe Holden > > > > wrote: > > > > > > > > None yet - getting compilation problems when building with BOOTP and > > > > NFS root (undefined references) > > > > > > > > > > > > > -----Original Message----- > > > > > From: Warner Losh [mailto:wlosh@bsdimp.com > > > > ] > > > > > On > > > > Behalf Of Warner Losh > > > > > Sent: 18 August 2013 07:41 > > > > > To: Adrian Chadd > > > > > Cc: Joe Holden; freebsd-mips@freebsd.org > > > > > > > > > > > > > > Subject: Re: Hang after usb on EdgeRouter Lite > > > > > > > > > > > > > > > > > > > On Aug 16, 2013, at 12:12 PM, Adrian Chadd wrote: > > > > > > On 16 August 2013 01:56, Joe Holden > > > > wrote: > > > > > >> Not getting much closer but so far 253367 works, 253845 and > later > > > > > >> don't, I can't see any mips-specific changes that might break it > > > > > >> but I > > > > may > > > > > be wrong! > > > > > > > > > > > > Plenty of non-MIPS stuff does break MIPS. :) > > > > > > > > > > Any new news? > > > > > > > > > > Warner > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 > > " > > > > > > > > > _______________________________________________ > > > 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 > " > > > > > > > _______________________________________________ > 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" >