USB-related problem
Eugene Grosbein
eugen at grosbein.net
Sun Nov 8 15:51:33 UTC 2015
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>
More information about the freebsd-mips
mailing list