USB-related problem

Adrian Chadd adrian at freebsd.org
Mon Nov 9 15:53:13 UTC 2015


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 <eugen at grosbein.net> 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
>


More information about the freebsd-mips mailing list