From owner-freebsd-mips@freebsd.org Tue Nov 10 15:39:48 2015 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 D513EA2B0E2 for ; Tue, 10 Nov 2015 15:39:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 987F01BF0 for ; Tue, 10 Nov 2015 15:39:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igvg19 with SMTP id g19so51167394igv.1 for ; Tue, 10 Nov 2015 07:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wrbE5yD89CWzdPyFcsZidvz/fL4lfoSHrShDvQ0iDJ8=; b=qpYD5pgcu5sUOGv+BmVIHWO9TcMaSDRdrJbXkJuk4K3KvQr97yDFQFxW4UUcnBtkJh JCSh1tltm5pHmsF8MYazPjiffVJDNUv0oHZZpKcR0T9zY5iUhWFLIlIcHvBLTlbNP3vg yvghfMzrAHMQGVYbZGt3dlD7GX2hAZ7TB8FHJykJmlaCueNPmxJK+XQanI2cACXQM2+c x4FiKWNyxv6LsriXCD65dPWUqU7Uob1MM1ftVu0JVrOZpVpPZZpFo0rYMRxlRqBjMUWY ASK4XVqhe0VpjI5sPojKvZddzDI+pI20fDPB2/gDwBYPFMeOMLIRetM90DLoBy4SD3wc V7gQ== MIME-Version: 1.0 X-Received: by 10.50.73.228 with SMTP id o4mr27205808igv.37.1447169987987; Tue, 10 Nov 2015 07:39:47 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.217.196 with HTTP; Tue, 10 Nov 2015 07:39:47 -0800 (PST) In-Reply-To: <5641A130.30703@grosbein.net> References: <56348063.3090508@grosbein.net> <563707A0.3040700@grosbein.net> <56370E1D.3040801@grosbein.net> <563F5630.2000407@grosbein.net> <563F6F6F.1010807@grosbein.net> <563F91A8.9080702@grosbein.net> <5640C0FD.2040803@grosbein.net> <5640F315.5020303@grosbein.net> <56410214.3070901@grosbein.net> <5641A130.30703@grosbein.net> Date: Tue, 10 Nov 2015 07:39:47 -0800 X-Google-Sender-Auth: jLaSu7EjbTB80cnzk4svtRtjZwY Message-ID: Subject: Re: USB-related problem From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 15:39:48 -0000 On 9 November 2015 at 23:48, Eugene Grosbein wrote: > On 10.11.2015 04:43, Adrian Chadd wrote: >> Hi, >> >> How much C do you know? Are you able to add some debugging to >> sched_sync() (which IIRC is the syncer thread) and work out where it's >> getting stuck and spinning? >> >> (The MIPS debugger implementation unfortunately doesn't unwind through >> the serial break, so "syncer" in backtrace looks like it started at >> the hardware interrupt that triggered it..) > > I've found that "continue" ddb command does nothing for MIPS32. Why? Someone broke it :( I've asked on freebsd-mips@ for help figuring it out. -adrian