From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 3 09:24:31 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2F578D0C; Mon, 3 Jun 2013 09:24:31 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 07CBC1FBC; Mon, 3 Jun 2013 09:24:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r539OUUG094486; Mon, 3 Jun 2013 09:24:30 GMT (envelope-from danfe@freefall.freebsd.org) Received: (from danfe@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r539OUBt094485; Mon, 3 Jun 2013 09:24:30 GMT (envelope-from danfe) Date: Mon, 3 Jun 2013 09:24:30 GMT Message-Id: <201306030924.r539OUBt094485@freefall.freebsd.org> To: danfe@FreeBSD.org, freebsd-ppc@FreeBSD.org, danfe@FreeBSD.org From: danfe@FreeBSD.org Subject: Re: ports/178858: www/qupzilla update to 1.4.3 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 09:24:31 -0000 Old Synopsis: [maintainer update] www/qupzilla update to 1.4.3 New Synopsis: www/qupzilla update to 1.4.3 Responsible-Changed-From-To: freebsd-ppc->danfe Responsible-Changed-By: danfe Responsible-Changed-When: Mon Jun 3 09:23:55 UTC 2013 Responsible-Changed-Why: Fix synopsis and reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=178858 From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 3 11:06:50 2013 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 87AD65DD for ; Mon, 3 Jun 2013 11:06:50 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7947113BE for ; Mon, 3 Jun 2013 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r53B6ol8015127 for ; Mon, 3 Jun 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r53B6oEM015125 for freebsd-ppc@FreeBSD.org; Mon, 3 Jun 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Jun 2013 11:06:50 GMT Message-Id: <201306031106.r53B6oEM015125@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 11:06:50 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/178038 ppc clang++ fails to produce a binary in powerpc64 o power/175151 ppc Loader fails to load modules on PPC64 o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 11 problems total. From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 5 03:35:11 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72BDC99F for ; Wed, 5 Jun 2013 03:35:11 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x232.google.com (mail-bk0-x232.google.com [IPv6:2a00:1450:4008:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 0B2151FC5 for ; Wed, 5 Jun 2013 03:35:10 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id ik5so560718bkc.9 for ; Tue, 04 Jun 2013 20:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=FBZI+cKDpr3JIk+2SOZosduYjur4yB+v6TRsljYJPkE=; b=q+2WAQCG9t7sqb97aygsObk38nR9NfZZ+SgPOILWBPn8u3yIdApmHrEvxfr8FW8RRF eqRl0ea6SoHRRnHX2B1oo0i829wSfLNX6+jGC0dtO02DYvHG5Yq42CpX56VibiFWPpyK Arkk7uY3HtZPC1chUDdqcvSdxUE67Popc4Ydr/LslhIH0ySjhx3WT+f41ntW7Qepru10 8OERondZcxwxMDTLx0/0iU7KknOHScnGR5awtJWfolP083RxjUOaz5kxjxgrMEO6Pw3J gKxPxoMQIe77n5tjdIZbnr+hmPQswOMBQfJOmZ2Vs1oBy8XREQpL33HN50BHFFY0VncI uN2g== MIME-Version: 1.0 X-Received: by 10.205.36.138 with SMTP id ta10mr8947605bkb.4.1370403310091; Tue, 04 Jun 2013 20:35:10 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.236.132 with HTTP; Tue, 4 Jun 2013 20:35:10 -0700 (PDT) Date: Tue, 4 Jun 2013 20:35:10 -0700 X-Google-Sender-Auth: OTafgm8ACn_gBMcleceGWauC1hs Message-ID: Subject: Strange panic on ppc64 From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 03:35:11 -0000 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 ... 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 From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 5 16:46:58 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 239267B; Wed, 5 Jun 2013 16:46:58 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id F3CE512AB; Wed, 5 Jun 2013 16:46:56 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 0426858389; Wed, 5 Jun 2013 11:25:06 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id wZCXTUOmiJ0j; Wed, 5 Jun 2013 11:25:05 -0500 (CDT) Received: from terminus.icecube.wisc.edu (terminus.icecube.wisc.edu [172.16.223.97]) by mail.icecube.wisc.edu (Postfix) with ESMTP id D1FDD58386; Wed, 5 Jun 2013 11:25:05 -0500 (CDT) Message-ID: <51AF6661.3060007@freebsd.org> Date: Wed, 05 Jun 2013 11:25:05 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Justin Hibbits Subject: Re: Strange panic on ppc64 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 16:46:58 -0000 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 > > ... > 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 mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "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 From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 5 16:47:57 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9737BC7; Wed, 5 Jun 2013 16:47:57 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id F34D512B0; Wed, 5 Jun 2013 16:47:56 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id jg1so844441bkc.6 for ; Wed, 05 Jun 2013 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=6KDc3fdHRgsK4QdiypFX13uElIYPKjfaqjjAi0prKNY=; b=n9J4nxaIMWGnRDBLa4v1gkcN0R7HtAX2wipFv1IwsaU8rQjAA/x2VRamuWJ11IAnTZ Ts/vDYBs3HUy0g5Yhx4v8jTkhliBtZ8ng1qgoKQmJfRY+nT8wMA/j7tZKlS00hG0tw0R uIQ+AEWVV+FQY8fRBMQGVngB+rXj64NSx7NLBQiyXdWPjid9SN9r2gTS5U+zG6jltr8s YU12jgMMwMKSWFmGZMn+ttaqW4sj2woFs+DIaac6jRbTTyvf0tBf34QYWY5F4FjqTDKG SsUMPsRqTIAso2sKzWe6GR+THs0lkM5OQPOPAkafBOS3qkeaCbHkSfxLUvYnSXfhV6Oy DUCw== MIME-Version: 1.0 X-Received: by 10.204.56.72 with SMTP id x8mr10049836bkg.177.1370450875782; Wed, 05 Jun 2013 09:47:55 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.236.132 with HTTP; Wed, 5 Jun 2013 09:47:55 -0700 (PDT) Received: by 10.204.236.132 with HTTP; Wed, 5 Jun 2013 09:47:55 -0700 (PDT) In-Reply-To: <51AF6661.3060007@freebsd.org> References: <51AF6661.3060007@freebsd.org> Date: Wed, 5 Jun 2013 09:47:55 -0700 X-Google-Sender-Auth: lAKy-kq-1Dnt610zMemYvC7Fj2U Message-ID: Subject: Re: Strange panic on ppc64 From: Justin Hibbits To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 16:47:57 -0000 Will do, when I get it panicking again. - Justin On Jun 5, 2013 9:46 AM, "Nathan Whitehorn" 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 >> >> ... >> 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 mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "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 > From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 6 14:22:53 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 700592DE; Thu, 6 Jun 2013 14:22:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2106516A4; Thu, 6 Jun 2013 14:22:52 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r56EMq4e033730; Thu, 6 Jun 2013 10:22:52 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r56EMqfW033729; Thu, 6 Jun 2013 14:22:52 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 6 Jun 2013 14:22:52 GMT Message-Id: <201306061422.r56EMqfW033729@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 14:22:53 -0000 TB --- 2013-06-06 11:57:36 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-06 11:57:36 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-06-06 11:57:36 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2013-06-06 11:57:36 - cleaning the object tree TB --- 2013-06-06 11:57:36 - /usr/local/bin/svn stat /src TB --- 2013-06-06 11:57:44 - At svn revision 251452 TB --- 2013-06-06 11:57:45 - building world TB --- 2013-06-06 11:57:45 - CROSS_BUILD_TESTING=YES TB --- 2013-06-06 11:57:45 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-06 11:57:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-06 11:57:45 - SRCCONF=/dev/null TB --- 2013-06-06 11:57:45 - TARGET=powerpc TB --- 2013-06-06 11:57:45 - TARGET_ARCH=powerpc TB --- 2013-06-06 11:57:45 - TZ=UTC TB --- 2013-06-06 11:57:45 - __MAKE_CONF=/dev/null TB --- 2013-06-06 11:57:45 - cd /src TB --- 2013-06-06 11:57:45 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Thu Jun 6 11:57:52 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-06-06 14:22:52 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-06 14:22:52 - ERROR: failed to build world TB --- 2013-06-06 14:22:52 - 7561.48 user 984.68 system 8715.45 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 6 23:20:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7BD0F1DB for ; Thu, 6 Jun 2013 23:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 622341B23 for ; Thu, 6 Jun 2013 23:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r56NK145053630 for ; Thu, 6 Jun 2013 23:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r56NK1Bb053629; Thu, 6 Jun 2013 23:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 6 Jun 2013 23:20:01 GMT Resent-Message-Id: <201306062320.r56NK1Bb053629@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Leo Vandewoestijne Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B22F01B7 for ; Thu, 6 Jun 2013 23:17:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id A3CCA1B0F for ; Thu, 6 Jun 2013 23:17:26 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r56NHQtJ017651 for ; Thu, 6 Jun 2013 23:17:26 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r56NHQcQ017650; Thu, 6 Jun 2013 23:17:26 GMT (envelope-from nobody) Message-Id: <201306062317.r56NHQcQ017650@oldred.freebsd.org> Date: Thu, 6 Jun 2013 23:17:26 GMT From: Leo Vandewoestijne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: powerpc/179380: New port: dns/yadifa authoritive nameserver by EURid (.eu) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 23:20:01 -0000 >Number: 179380 >Category: powerpc >Synopsis: New port: dns/yadifa authoritive nameserver by EURid (.eu) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jun 06 23:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Leo Vandewoestijne >Release: >Organization: DNS-Lab >Environment: >Description: EURid has released YADIFA since a long while now. I'm surprised there wasn't a port for yet. So I took a little while to make one. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # yadifa # yadifa/Makefile # yadifa/distinfo # yadifa/pkg-descr # yadifa/files # yadifa/files/pkg-message.in # yadifa/files/yadifad.in # yadifa/pkg-plist # echo c - yadifa mkdir -p yadifa > /dev/null 2>&1 echo x - yadifa/Makefile sed 's/^X//' >yadifa/Makefile << 'd8e4e610c0ab58025a42aaf1b07ce55a' X# Created by: Leo Vandewoestijne X# $FreeBSD: $ X XPORTNAME= yadifa XDISTVERSION= 1.0.2 XDISTVERSIONSUFFIX= -2237 XCATEGORIES= dns ipv6 XMASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/ \ X http://www.dns-lab.com/downloads/yadifa/ X XMAINTAINER= freebsd@dns-lab.com XCOMMENT= YADIFA is a name server implementation developed from scratch by .eu X XLICENSE= BSD X XCONFIGURE_ARGS= --prefix=${ETCDIR} XGNU_CONFIGURE= yes X XMAKE_JOBS_SAFE= yes XUSE_AUTOTOOLS= libtool XUSE_OPENSSL= yes X X.include X XSUB_FILES= pkg-message X XUSE_RC_SUBR= ${PORTNAME}d X XMAN5= yadifad.conf.5 XMAN1= yadifad.1 X XPORTDOCS= AUTHORS COPYING ChangeLog \ X INSTALL NEWS README TODO VERSION X Xpost-install: X @${MKDIR} ${ETCDIR} X @${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example ${ETCDIR} X.if ${PORT_OPTIONS:MDOCS} X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ X.endif X @${CAT} ${WRKDIR}/pkg-message X X.include d8e4e610c0ab58025a42aaf1b07ce55a echo x - yadifa/distinfo sed 's/^X//' >yadifa/distinfo << 'c735ce8d7208c6bcea7ff19e24e4994d' XSHA256 (yadifa-1.0.2-2237.tar.gz) = bed2f81a35fc08ad54ccb3b48b926976f8270ade8b256b20efd77a5236ac0c0d XSIZE (yadifa-1.0.2-2237.tar.gz) = 2292703 c735ce8d7208c6bcea7ff19e24e4994d echo x - yadifa/pkg-descr sed 's/^X//' >yadifa/pkg-descr << '791986f0d1efff70d7d39c44b3f36a68' XA name server implementation developed from scratch by EURid (.eu) X XClean, small, light and RFC compliant. X XDesigned specifically for the efficient management of large Internet Xzones and uses dynamic updates to instantly change domain name records. XIt is equally optimised to handle multiple Internet zones. XOur benchmark tests show how we measure up to the competition. X XWWW: http://www.yadifa.eu/ 791986f0d1efff70d7d39c44b3f36a68 echo c - yadifa/files mkdir -p yadifa/files > /dev/null 2>&1 echo x - yadifa/files/pkg-message.in sed 's/^X//' >yadifa/files/pkg-message.in << 'cbf213218112126eeb9084e7b18274de' X####################################################################### X XBy default the config file for Yadifa is expected on your system at: X%%PREFIX%%/etc/yadifad.conf X XTo configure it, please read the manual, chapter "server installation": Xhttp://www.yadifa.eu/sites/default/files/yadifa-reference-manual.pdf X X####################################################################### cbf213218112126eeb9084e7b18274de echo x - yadifa/files/yadifad.in sed 's/^X//' >yadifa/files/yadifad.in << 'dc57fbf651169101e035cb33ec8853f2' X#!/bin/sh X# X# $FreeBSD: $ X# X# PROVIDE: yadifa X# REQUIRE: SERVERS cleanvar X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf to enable yadifa: X# X# yadifa_enable="YES": Set to NO by default. X# Set it to YES to enable yadifa. X# yadifa_config="": Set to %%PREFIX%%/etc/yadifad.conf X# by default. X X. /etc/rc.subr X Xname=yadifa Xrcvar=yadifa_enable X Xstop_cmd="${name}_stop" X Xload_rc_config ${name} X X: ${yadifa_enable:="NO"} X: ${yadifa_config="%%ETCDIR%%/yadifad.conf"} X Xcommand=%%PREFIX%%/sbin/${name}d Xprocname=%%PREFIX%%/sbin/${name}d Xpidfile=/var/run/${name}.pid X Xcommand_args="-c ${yadifa_config} -d" Xrequired_files=${yadifa_config} X Xyadifa_stop() { X echo "Stopping ${name}." X killall -SIGTERM ${name}d X } X Xrun_rc_command "$1" dc57fbf651169101e035cb33ec8853f2 echo x - yadifa/pkg-plist sed 's/^X//' >yadifa/pkg-plist << '66b540a3b746bb9aa33d0bdafa18ba27' X@stopdaemon yadifad X%%ETCDIR%%/yadifad.conf.example Xsbin/yadifad X@dirrmtry %%ETCDIR%% X%%DOCSDIR%%/yadifad-master.conf.example X%%DOCSDIR%%/yadifad-slave.conf.example X%%DOCSDIR%%/yadifad.conf.example Xvar/zones/masters/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.zone Xvar/zones/masters/0.0.127.in-addr.arpa.zone Xvar/zones/masters/localhost.zone Xvar/zones/masters/localhost6.zone Xvar/zones/masters/somedomain.eu.zone X@dirrmtry var/zones/keys X@dirrmtry var/zones/masters X@dirrmtry var/zones/slaves X@dirrmtry var/zones/xfr X@dirrmtry var/zones 66b540a3b746bb9aa33d0bdafa18ba27 exit >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 7 07:37:11 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5400D11C; Fri, 7 Jun 2013 07:37:11 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9DA1DE7; Fri, 7 Jun 2013 07:37:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r577bBbL058272; Fri, 7 Jun 2013 07:37:11 GMT (envelope-from danfe@freefall.freebsd.org) Received: (from danfe@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r577bA6j058271; Fri, 7 Jun 2013 07:37:10 GMT (envelope-from danfe) Date: Fri, 7 Jun 2013 07:37:10 GMT Message-Id: <201306070737.r577bA6j058271@freefall.freebsd.org> To: danfe@FreeBSD.org, freebsd-ppc@FreeBSD.org, danfe@FreeBSD.org From: danfe@FreeBSD.org Subject: Re: ports/179380: New port: dns/yadifa authoritive nameserver by EURid (.eu) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 07:37:11 -0000 Synopsis: New port: dns/yadifa authoritive nameserver by EURid (.eu) Responsible-Changed-From-To: freebsd-ppc->danfe Responsible-Changed-By: danfe Responsible-Changed-When: Fri Jun 7 07:36:31 UTC 2013 Responsible-Changed-Why: Fix category and reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=179380 From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 8 14:21:36 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C2143878; Sat, 8 Jun 2013 14:21:36 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x232.google.com (mail-bk0-x232.google.com [IPv6:2a00:1450:4008:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 2C02A1DAA; Sat, 8 Jun 2013 14:21:36 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id ik8so790463bkc.9 for ; Sat, 08 Jun 2013 07:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=RnL+iuZAGV5yFgjXc7Zm6voBw6yWmmckO6AmLtLeSZU=; b=BOfoOAoSnCUTaN8Riy/pApddoZO6+8mvFw+EQsoHR3HocPpvxAMqDlNGtRl/5EsNGO bMkTV9sLoEXhJhQI/6Zd2DrXew3boPFp0HWDDIuMsuhC3lCMIp7BHKbnshP0DIFDNuvp qsEduqte+5VFs9dJTVLJr/G8gQzcCRaVWUfh2rFdnhYrQYAdtrLJvr27Lb2sKwcEQNhr 3WS7IOFNvmkg3hXVoqqOUAehP5E/Z+2bddHIBxdHVdoOaiLY2d/aVa8ICnfLzY69Puii JkDZ7LspGPG6ttpqH3gfWGqGMi+f1sPlUlxS23trnic7clNC8sMl4OXGnQaHSXl6pl8A SINQ== MIME-Version: 1.0 X-Received: by 10.204.66.133 with SMTP id n5mr446144bki.38.1370701293700; Sat, 08 Jun 2013 07:21:33 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.236.132 with HTTP; Sat, 8 Jun 2013 07:21:33 -0700 (PDT) In-Reply-To: References: <51AF6661.3060007@freebsd.org> Date: Sat, 8 Jun 2013 07:21:33 -0700 X-Google-Sender-Auth: jchcy_hgmEEe3tkNbKfg0bb4e3o Message-ID: Subject: Re: Strange panic on ppc64 From: Justin Hibbits To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 14:21:36 -0000 On Wed, Jun 5, 2013 at 9:47 AM, Justin Hibbits wrote: > Will do, when I get it panicking again. > > - Justin > On Jun 5, 2013 9:46 AM, "Nathan Whitehorn" 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 >>> >>> ... >>> 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 mailing list >>> http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to "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: Stopped at 0x102ca4: stdu r31, r1, 0xfd60, db> panic: mutex ohci1 owned at /usr/home/chmeee/freebsd/head/sys/dev/usb/usb_transfer.c:2280 cpuid = 0 KDB: stack backtrace: 0x0000000000a79c70: at .kdb_backtrace+0x5c 0x0000000000a79da0: at .vpanic+0x13c 0x0000000000a79e40: at .panic+0x38 0x0000000000a79ed0: at .__mtx_assert+0xdc 0x0000000000a79f50: at .usbd_callback_wrapper+0xd4 0x0000000000a79ff0: at .usb_command_wrapper+0x110 0x0000000000a7a070: at .usb_callback_proc+0x80 0x0000000000a7a100: at .usbd_transfer_poll+0x260 0x0000000000a7a1c0: at .ukbd_do_poll+0xd0 0x0000000000a7a250: at .ukbd_check+0x84 0x0000000000a7a2e0: at .ukbd_check_char+0xb4 0x0000000000a7a380: at .kbdmux_read_char+0x130 0x0000000000a7a420: at .scgetc+0xac 0x0000000000a7a4e0: at .sc_cngetc+0x7c 0x0000000000a7a580: at .cncheckc+0x74 0x0000000000a7a600: at .cngetc+0x28 0x0000000000a7a680: at .db_readline+0x88 0x0000000000a7a710: at .db_read_line+0x2c 0x0000000000a7a7a0: at .db_command_loop+0x58 0x0000000000a7a830: at .db_trap+0x148 0x0000000000a7ac00: at .kdb_trap+0x108 0x0000000000a7acb0: at .db_trap_glue+0x6c 0x0000000000a7ad30: at dbtrap+0x128 Uptime: 3d8h9m13s - Justin From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 8 14:55:04 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7FF621712; Sat, 8 Jun 2013 14:55:03 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) by mx1.freebsd.org (Postfix) with ESMTP id 573511F3C; Sat, 8 Jun 2013 14:55:03 +0000 (UTC) MIME-version: 1.0 Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MO200100X0ZVX00@smtpauth4.wiscmail.wisc.edu>; Sat, 08 Jun 2013 09:54:56 -0500 (CDT) X-Spam-PmxInfo: Server=avs-4, Version=6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.6.8.144516, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (adsl-76-208-69-84.dsl.mdsnwi.sbcglobal.net [76.208.69.84]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MO200DJ5XFJLL20@smtpauth4.wiscmail.wisc.edu>; Sat, 08 Jun 2013 09:54:56 -0500 (CDT) Date: Sat, 08 Jun 2013 09:54:54 -0500 From: Nathan Whitehorn Subject: Re: Strange panic on ppc64 In-reply-to: To: Justin Hibbits Message-id: <51B345BE.5030905@freebsd.org> References: <51AF6661.3060007@freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130420 Thunderbird/17.0.5 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 14:55:04 -0000 On 06/08/13 09:21, Justin Hibbits wrote: > > > > On Wed, Jun 5, 2013 at 9:47 AM, Justin Hibbits > wrote: > > Will do, when I get it panicking again. > > - Justin > > On Jun 5, 2013 9:46 AM, "Nathan Whitehorn" > 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 > > ... > 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 > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to > "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 From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 8 22:33:08 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7EAF159C; Sat, 8 Jun 2013 22:33:08 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id C88A41746; Sat, 8 Jun 2013 22:33:07 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id d7so2365190bkh.25 for ; Sat, 08 Jun 2013 15:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=kzujvHpxLgan0DGpsXb1yOmdVZ/Y7qb+uOikDkpIAQI=; b=flZVVu7mjb1U0QAH6K9WC1K0T1aix8KH1YNs5li6FuzWiMSAuaYxCerxwZ+ZYYGFq7 OGgZTBezEb5Ber7dEeyVMNUK1sZUn6NQV3g9Frv3cVEnWeHP1JIMXekTwq9EPAKM2n4W pLyQYK8k0aL3wBNdlXSS4klKKgruIOpRFov5sw11aDKV5nVfIbWf7BgzOdFpazbOIgiB AnymxySPXMRHugNoMv1xHEf8yKnRX1m15Sg1oRw4ACYCtRwlatt3nHte02GAi8FnfNxH gynBTd+da5pkW8I5u77wau2rcGdKH+ShZt1IH3pPQCJ4ODYxXJhijb0XQP1avzt4aN3o DTSQ== MIME-Version: 1.0 X-Received: by 10.204.173.9 with SMTP id n9mr629938bkz.47.1370730786845; Sat, 08 Jun 2013 15:33:06 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.236.132 with HTTP; Sat, 8 Jun 2013 15:33:06 -0700 (PDT) In-Reply-To: <51B345BE.5030905@freebsd.org> References: <51AF6661.3060007@freebsd.org> <51B345BE.5030905@freebsd.org> Date: Sat, 8 Jun 2013 15:33:06 -0700 X-Google-Sender-Auth: -rU2VwBS7Jq0myO5nADPfjCX_oI Message-ID: Subject: Re: Strange panic on ppc64 From: Justin Hibbits To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 22:33:08 -0000 On Sat, Jun 8, 2013 at 7:54 AM, Nathan Whitehorn wrote: > On 06/08/13 09:21, Justin Hibbits wrote: > > > > > On Wed, Jun 5, 2013 at 9:47 AM, Justin Hibbits wrote: > >> Will do, when I get it panicking again. >> >> - Justin >> On Jun 5, 2013 9:46 AM, "Nathan Whitehorn" >> 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 >>>> >>>> ... >>>> 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 mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>>> To unsubscribe, send any mail to "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 > Here you go: [ thread pid -1 tid 1006665719 ] Stopped at 0: illegal instruction 0 db:0:kdb.enter.default> show reg r0 0 r1 0 r2 0xab63d0 M_MACTEMP r3 0xbb12e0 r4 0x741f18 .ofwcall+0xa8 r5 0 r6 0xa4f1a8 r7 0x1 r8 0x1 r9 0xc10500 __pcpu r10 0x1c35ec0 r11 0 r12 0x2000d032 r13 0x342eb000 r14 0x10014200 r15 0xffffffffffffcb58 r16 0x2 r17 0x2 r18 0xffffffffffffcb50 r19 0 r20 0xc000000013231478 r21 0xc00000014c0ce200 r22 0 r23 0x64 dbsize+0x10 r24 0xc00000014c0cdf70 r25 0xb62cb8 smp_no_rendevous_barrier r26 0 r27 0x741f18 .ofwcall+0xa8 r28 0x741f18 .ofwcall+0xa8 r29 0x2000d032 r30 0x9000000000001032 r31 0xc0cad8 mac_labeled srr0 0x102ca4 k_trap+0x28 srr1 0x9000000000001032 lr 0x102c74 u_trap+0x10 ctr 0xff846d78 cr 0x2000f1b0 xer 0 dar 0xfffffffffffffd60 dsisr 0x42000000 0: illegal instruction 0 db:0:kdb.enter.default> bt Tracing pid -1 tid 1006665719 td 0 (nothing) - Justin