From owner-freebsd-mips@freebsd.org Sun Nov 8 17:43:27 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 DD012A296D2 for ; Sun, 8 Nov 2015 17:43:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 A0099112A for ; Sun, 8 Nov 2015 17:43:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iody8 with SMTP id y8so165986981iod.1 for ; Sun, 08 Nov 2015 09:43:27 -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=hi+yh75qspifZOgYUKJG63q500bGyec4at73zWMO26I=; b=aDIrYrqz2MHGeS0r7ObVUNjiHz+lS90sVOgQ9lIa6Vys+ZFVOVtNZTba2gW7Z3Z9Pn 6ehKR7PCEMOFyUX20MBBefTIwOJiT4n2qK3Rn/hUhEsCzhkQ2FgeikihuljNJRGY7oYF lMFCR4Ri3AhPYBynfSA423ajOIBXN+g2T+/xPtmT42ONt6cM5CRyBnwRrcpUzbja3Iko l/YCkg2di0DAZHjq7E95AIpbJWXSp4ENYD/cRgevbEVZ6YtDGASPjclhokIF7fOgdrLa veIQ1p8yUDPNCJ4CZ3J1hyYrL+aGfn7DjACqqo8wpxetVs4SQrTRYCiSrDNdCMTCzoat Q1wg== MIME-Version: 1.0 X-Received: by 10.107.152.2 with SMTP id a2mr22133170ioe.123.1447004607062; Sun, 08 Nov 2015 09:43:27 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.217.196 with HTTP; Sun, 8 Nov 2015 09:43:26 -0800 (PST) In-Reply-To: <563F5630.2000407@grosbein.net> References: <56348063.3090508@grosbein.net> <56348239.3050701@grosbein.net> <563500FC.8020201@grosbein.net> <5635148B.2070307@grosbein.net> <56351AA6.80903@grosbein.net> <563523CA.3040207@grosbein.net> <56367686.4090801@grosbein.net> <563707A0.3040700@grosbein.net> <56370E1D.3040801@grosbein.net> <563F5630.2000407@grosbein.net> Date: Sun, 8 Nov 2015 09:43:26 -0800 X-Google-Sender-Auth: iD_mKKWhiWIeqDdLkataPSaRuqI Message-ID: Subject: Re: CPU underload From: Adrian Chadd To: Eugene Grosbein Cc: Warner Losh , "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: Sun, 08 Nov 2015 17:43:28 -0000 Which MIPS kernel config doesn't have USB_HOST_ALIGN=64 ? -a On 8 November 2015 at 06:03, Eugene Grosbein wrote: > On 07.11.2015 10:57, Adrian Chadd wrote: >> On 1 November 2015 at 23:17, Eugene Grosbein wrote: >>> On 02.11.2015 14:04, Warner Losh wrote: >>> >>>> Next, USB flash support is not very stable as I have written before, >>>> lots of USB i/o can easily panic the kernel. >>>> >>>> Does your flash device support trim / delete? >>> >>> Not sure. How do I know? It is just USB pen flash. >> >> hiya, >> >> ok, this is next . What's the deal with this? can you panic it and >> report it please? :) > > I did earlier in my letter with subject "jemalloc aborts: lloc_arena.c:363: Failed assertion: "p[i] == 0": > >> Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode) >> panic: trap >> Uptime: 3m7s >> panic: bufwrite: buffer is not busy??? >> Uptime: 3m7s > > However, I cannot reproduce the problem anymore using recent HEAD > compiled without -Os and with kernel having "options USB_HOST_ALIGN=64" > as Warner Losh suggested. > > >