Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jun 2013 09:54:54 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Justin Hibbits <jhibbits@freebsd.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Strange panic on ppc64
Message-ID:  <51B345BE.5030905@freebsd.org>
In-Reply-To: <CAHSQbTCvFXDZPsOnmogc0FkZeMXwOP6h40F2kFUu2s6UmffyPw@mail.gmail.com>
References:  <CAHSQbTAZTc9puGaH0rbhyY11s0%2BL0xGjSabK1kj65UMm1t7j3w@mail.gmail.com> <51AF6661.3060007@freebsd.org> <CAHSQbTBjza0u7nZf4z%2BxpTCcWj-TW-ZigV2-CZexuBOYQX5=3A@mail.gmail.com> <CAHSQbTCvFXDZPsOnmogc0FkZeMXwOP6h40F2kFUu2s6UmffyPw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/08/13 09:21, Justin Hibbits wrote:
>
>
>
> On Wed, Jun 5, 2013 at 9:47 AM, Justin Hibbits <jhibbits@freebsd.org
> <mailto:jhibbits@freebsd.org>> wrote:
>
>     Will do, when I get it panicking again.
>
>     - Justin
>
>     On Jun 5, 2013 9:46 AM, "Nathan Whitehorn" <nwhitehorn@freebsd.org
>     <mailto:nwhitehorn@freebsd.org>> wrote:
>
>         On 06/04/13 22:35, Justin Hibbits wrote:
>
>             After a string of seemingly random hangs, I added
>             invariants (but not
>             witness) to my custom kernel config, and I get the
>             following panic,
>             recreated from a fuzzy cell phone picture:
>
>
>             [thread pid -1 tid 1006665719 ]
>             Stopped at 0: illegal instruction 0
>             db> panic: mutex ohci1 owned at
>             /usr/home/chmeee/freebsd/head/sys/dev/usb/usb_transfer.c:2280
>             cpuid = 0
>             Uptime: 9h8m1s
>             <my dump code>
>             ...
>             panic: msleep1
>             cpu = 0
>             KDB: enter: panic
>             [ thread pid -1 tid 100665719 ]
>             ....
>
>             The first question I have is how the hell it got such a
>             strange PID/TID,
>             memory corruption my guess, something is stomping on the
>             pcpu or something,
>             and I think these hangs have only happened since I added a
>             lot more memory
>             (up to 12G from 4G, Andreas Tobler was seeing hangs as
>             well), so it might
>             be something in the moea64 pmap code, but that's pure
>             speculation on my
>             part.  Then the other panic messages, owned mutex and
>             panic in msleep1.  I
>             enabled more trace code, so hopefully the next time it
>             panics I can collect
>             better data.
>
>             - Justin
>             _______________________________________________
>             freebsd-ppc@freebsd.org <mailto:freebsd-ppc@freebsd.org>
>             mailing list
>             http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>             To unsubscribe, send any mail to
>             "freebsd-ppc-unsubscribe@freebsd.org
>             <mailto:freebsd-ppc-unsubscribe@freebsd.org>"
>
>
>         Could you post the output from show reg? It looks like it
>         tried to jump to a null pointer there.
>         -Nathan
>
>
> Well, it's hard to do get that output, because I just hit that 'mutex
> owned' panic, and here's the backtrace:


The mutex thing is spurious -- it was already panicing and then paniced
again trying to panic. Can you get the backtrace for the original panic
(it should be different) and the values of the registers?
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51B345BE.5030905>