Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 09:44:31 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: USB-related problem
Message-ID:  <CAJ-Vmo=fPSi7yZO5Xjodg8HPtTLd44Y9Y_8qg4EgTGwEpHO10A@mail.gmail.com>
In-Reply-To: <563F6F6F.1010807@grosbein.net>
References:  <56348063.3090508@grosbein.net> <56348239.3050701@grosbein.net> <CAJ-Vmok%2BgKXcpzpxNCBhxX8sYSh%2BQO7OaeojB4MCufO%2BA4zceg@mail.gmail.com> <563500FC.8020201@grosbein.net> <CAJ-Vmo=EpmG6OJxq_v_mqKMF48h_B3K7vKqnnaKAi3x1s-uaWQ@mail.gmail.com> <5635148B.2070307@grosbein.net> <CAJ-VmomzkG8ZB0h1Qc=Oeny2ZOzQg1UirUprM_gmMy64F5ZRYw@mail.gmail.com> <56351AA6.80903@grosbein.net> <CAJ-VmomLen5p7ELejU7QtC5CO2j8hydb_CvdOqQsfaaMAtmdkA@mail.gmail.com> <563523CA.3040207@grosbein.net> <CAJ-Vmonpd8R5C%2BNvhOGFD1okkkit990DV8c4Dm%2BLmpZ2uFfVkA@mail.gmail.com> <56367686.4090801@grosbein.net> <CAJ-VmomtJ9eKfAJYfn4e2S1xWN8-YHo0M0KH-9V=VjNBf6vVVA@mail.gmail.com> <563707A0.3040700@grosbein.net> <CANCZdfrB0hkjmTU-9NzimBv=X_h-=bF0D2azBxg=9B=kmitv7Q@mail.gmail.com> <56370E1D.3040801@grosbein.net> <CAJ-Vmo=0vOAq8db_GeLWmdXr7xJdzUh44ZZJrQ9vVdpvzT9hiQ@mail.gmail.com> <563F5630.2000407@grosbein.net> <563F6F6F.1010807@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hiya,

try updating. I committed a workaround fix yesterday.



-adrian


On 8 November 2015 at 07:51, Eugene Grosbein <eugen@grosbein.net> wrote:
> On 08.11.2015 21:03, Eugene Grosbein wrote:
>
>>> 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.
>
> Spoke too early... I run several more tests and peproduced the problem.
> The kernel just hangs installing packages to /usr/local mounted async
> using USB pen drive.
>
> I'm building debugging kernel to run more tests with KDB_TRACE and WITNES.
> Btw, mips/trap.c needs the following patch or else kernel with options KDB
> does not build due to missing "debugger_on_panic" declaration:
>
> --- sys/mips/mips/trap.c.orig 2015-11-08 17:05:21.413505000 +0700
> +++ sys/mips/mips/trap.c      2015-11-08 22:14:49.092653000 +0700
> @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD: head/sys/mips/mips/t
>  #include <sys/systm.h>
>  #include <sys/sysent.h>
>  #include <sys/proc.h>
> +#include <sys/kdb.h>
>  #include <sys/kernel.h>
>  #include <sys/signalvar.h>
>  #include <sys/syscall.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=fPSi7yZO5Xjodg8HPtTLd44Y9Y_8qg4EgTGwEpHO10A>