Hang after usb on EdgeRouter Lite

Juli Mallett jmallett at FreeBSD.org
Sun Aug 18 22:18:44 UTC 2013


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 <adrian at freebsd.org> 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 <lists at rewt.org.uk> 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 at freebsd.org [mailto:owner-freebsd-
> > > mips at freebsd.org] On Behalf Of Joe Holden
> > > Sent: 18 August 2013 21:42
> > > To: 'Adrian Chadd'
> > > Cc: freebsd-mips at 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 at freebsd.org [mailto:owner-freebsd-
> > > > mips at freebsd.org] On Behalf Of Joe Holden
> > > > Sent: 18 August 2013 21:30
> > > > To: 'Adrian Chadd'
> > > > Cc: freebsd-mips at 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 at gmail.com [mailto:adrian.chadd at gmail.com] On
> > > Behalf
> > > > Of Adrian Chadd
> > > > Sent: 18 August 2013 20:27
> > > > To: Joe Holden
> > > > Cc: Warner Losh; freebsd-mips at 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 <lists at rewt.org.uk
> > > > <mailto:lists at rewt.org.uk> > wrote:
> > > >
> > > > None yet - getting compilation problems when building with BOOTP and
> > > > NFS root (undefined references)
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Warner Losh [mailto:wlosh at bsdimp.com
> > > > <mailto:wlosh at bsdimp.com> ]
> > > > > On
> > > > Behalf Of Warner Losh
> > > > > Sent: 18 August 2013 07:41
> > > > > To: Adrian Chadd
> > > > > Cc: Joe Holden; freebsd-mips at freebsd.org
> > > > > <mailto:freebsd-mips at 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 <lists at rewt.org.uk
> > > > <mailto:lists at rewt.org.uk> > 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 at freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> > > > To unsubscribe, send any mail to "
> freebsd-mips-unsubscribe at freebsd.org
> > "
> > >
> > >
> > > _______________________________________________
> > > freebsd-mips at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> > > To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org
> "
> >
> >
> >
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
>


More information about the freebsd-mips mailing list