From owner-freebsd-mips@freebsd.org Mon Nov 9 15:53:13 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 B706AA296FF for ; Mon, 9 Nov 2015 15:53:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 7A35A129C; Mon, 9 Nov 2015 15:53:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igvi2 with SMTP id i2so77842117igv.0; Mon, 09 Nov 2015 07:53:13 -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=NJ39FsjE0DD8UHT72ofj9KO2n4ZSyFIwgHxvTJD/nx4=; b=AGacHM3yrME3hO5HNTh12N3D7SBxD7KFa1rH7JNGs04SVjFw7BxruTxKPEYFfDpenU fdoYlKmacTubnj5s+6Hu+gGSHwZpo4SUy6leBRiKDVFo7yanleBd+TAdhxn2X+OzCT3p gdkIh2bRZVasZed2l8aIOT1lx/D77ShJqtXi6nBMZqB2vjIScPHOVODNq59LFQRb99I6 vdb8QtSsqvGPW/n1qGOxESme1MsavvkvMBOCiLFeCXBQ/6ODzRuSIA8elnhY+uVHHACS 1BR+PTTn6NUTo3F+vHKaHt623Zh7nDZ9f8PSzz9ETeEUrMWPDtZEb4zDyIGWY89qeAxn ohYQ== MIME-Version: 1.0 X-Received: by 10.50.164.196 with SMTP id ys4mr21743809igb.37.1447084392716; Mon, 09 Nov 2015 07:53:12 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.217.196 with HTTP; Mon, 9 Nov 2015 07:53:12 -0800 (PST) In-Reply-To: <5640C0FD.2040803@grosbein.net> References: <56348063.3090508@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> <563F6F6F.1010807@grosbein.net> <563F91A8.9080702@grosbein.net> <5640C0FD.2040803@grosbein.net> Date: Mon, 9 Nov 2015 07:53:12 -0800 X-Google-Sender-Auth: jdI_-canL9F6eJpA7jOvGsFxvPM Message-ID: Subject: Re: USB-related problem From: Adrian Chadd To: Eugene Grosbein Cc: Jeff Roberson , Konstantin Belousov , benno , "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: Mon, 09 Nov 2015 15:53:13 -0000 ok, let's get it to hang, then break into ddb and do 'show allthreads', 'show alllocks', 'bufvars' with my vfs_bio.c patch, etc. Thanks, -a On 9 November 2015 at 07:51, Eugene Grosbein wrote: > On 09.11.2015 08:10, Adrian Chadd wrote: >> Ok, I'm adding some debugging at the moment. >> >> Eugene, what are you doing and on what platform? I'd like to try and >> reproduce it here. > > I use USB pen drive. I've created MBR on it and freebsd slice: > > gpart create -s MBR da0 > gpart add -t freebsd da0 > > Then I've create BSD label and file system: > > gpart create -s BSD da0s1 > gpart add -t freebsd-ufs -i 4 da0s1 > newfs -O1 -L 64k -b 65536 /dev/da0s1d # default parameters are suitable too > > Then I mount this file system as /usr/local without using soft-updates > and without atime updates: > > mount -o async,noatime /dev/ufs/64k /usr/local > > Then I just use pkg-static to install a bunch of pre-built packages to the system > having /var resides in the RAM (/dev/md1): > > pkg-static install -yU *.txz > > Package files *.txz reside on another RAM "disk" (/dev/md2). > There are "good" chances that pkg-static reproduces the problem, > e.g. system hang or trap. > > Here is my set of packages I'm trying to install: > > New packages to be INSTALLED: > dialog4ports: 0.1.5_2 > gettext-runtime: 0.19.6 > gettext-tools: 0.19.6 > glib: 2.44.1_1 > gmake: 4.1_2 > gmake-lite: 4.1_1 > indexinfo: 0.2.3 > libiconv: 1.14_9 > libslang2: 2.3.0 > libssh2: 1.6.0_1,2 > mc: 4.8.14_1 > mpd5: 5.7_3 > pcre: 8.37_4 > perl5: 5.20.3_8 > pkg: 1.6.1 > screen: 4.3.1_2 > texinfo: 6.0.20151013 >