From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 24 13:00:50 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EE03106564A for ; Fri, 24 Aug 2012 13:00:50 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF4E48FC17 for ; Fri, 24 Aug 2012 13:00:49 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so2614823vcb.13 for ; Fri, 24 Aug 2012 06:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qtug/4lh5x46gsqRCIP9vqnswa21HeTVwY/5fWBBskE=; b=IBVxLIh91F6W+moZYGeIBgpJIFN4rJE4b6Ur6XhNG8OtNjqnsVh3SwJ7iQHiE9a//+ 9u88RkXwwRcEv//1VahOg1a+IvPOfen9RWeN8W5sGeGkM8pH6mmIKlHxvxa1U0s+LdL7 njPZdV0nDDtMOa5CHxNAqveGx9Qy4VLJ07JkiqdMykNt6MQpXIFmYykP/pvRZhDsFNVC gHE/770iWN+ub4qkP9WsCYQAQnnRo8XtX+0MpiZk0skl3EcAl7UnVxZagUlG9elMMGbd cpVSPlyAIuusSQfgrR92xAQlxU9zN9w22cdKFR7pytAi68xLsPhA7QK5alvyz6KJ8nIl 0jMw== MIME-Version: 1.0 Received: by 10.220.247.137 with SMTP id mc9mr4401637vcb.52.1345813243211; Fri, 24 Aug 2012 06:00:43 -0700 (PDT) Received: by 10.58.203.136 with HTTP; Fri, 24 Aug 2012 06:00:42 -0700 (PDT) Received: by 10.58.203.136 with HTTP; Fri, 24 Aug 2012 06:00:42 -0700 (PDT) In-Reply-To: <503779b1.c2ccd80a.1843.7e46SMTPIN_ADDED@mx.google.com> References: <5034ef79.445fb40a.4768.ffffd54cSMTPIN_ADDED@mx.google.com> <20120822193831.37280629@narn.knownspace> <503779b1.c2ccd80a.1843.7e46SMTPIN_ADDED@mx.google.com> Date: Fri, 24 Aug 2012 09:00:42 -0400 Message-ID: From: Justin Hibbits To: Mathias Breuninger , FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: Powermac G5 won't boot after adding a PCI Ethernet Card X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 13:00:50 -0000 On Aug 24, 2012 8:55 AM, "Mathias Breuninger" < mathias.breuninger@espace29.asso.fr> wrote: > > Hi, > > I investigated the problem a bit. > > First, the error appears when the WITNESS option is enable in kernel (as with the GENERIC64 kernel) (However, this option is disable in the 32bit GENERIC kernel, hence the fact that the G4 boots) > > Then, I enabled WITNESS_KDB to have the backtrace (I did not succeed with DCONS but I will retry) and here is the hand copy: > > ... > pcib1: 4 HT IRQs on device 2.0 > acquiring duplicate lock of same type "rman" > 1st rman @ /usr/src/sys/kern/subr_rman.c:176 > 2nd rman @ /usr/src/sys/kern/subr_rman.c:176 > KDB: stack backtrace: > 0x000000000003f60: at .kdb_backtrace+0x5c > 0x000000000004090: at ._witness_debugger+0x3c > 0x000000000004120: at .witness_checkorder+0x43c > 0x000000000004200: at .mtx_lock_flags+0x40 > 0x0000000000042a0: at .rman_manage_region+0xb8 > 0x000000000004340: at .cpcht_attach+0x338 > 0x000000000004550: at .device_attach+0x340 > 0x000000000004600: at .device_probe_and_attach+0x3c > 0x000000000004680: at .bus_generic_attach+0x28 > 0x000000000004700: at .nexus_attach+0x1cc > 0x0000000000047d0: at .device_attach+0x340 > 0x000000000004880: at .device_probe_and_attach+0x3c > 0x000000000004900: at .bus_generic_new_pass+0x12c > 0x000000000004990: at .bus_set_pass+0xc0 > 0x000000000004a20: at .root_bus_configure+0x1c > 0x000000000004aa0: at .configure+0x14 > 0x000000000004b20: at .mi_startup+0x10c > 0x000000000004ba0: at btext+0xb8 > KDB: enter: witness_checkorder > [ thread pid 0 tid 100000 ] > Stopped at 0x432b74: ld r2, r1, 0x28 > db> > > Lastly without the WITNESS, INVARIANTS, etc... options the G5 boots fine and the Dlink DGE-528T is recognized and seems to work normally. > > I don't know what to do next but I can help if you want to investigate further. > > Thank you for your support. > > - Mathias > Forwarding to list. Someone else might better help you. I don't know the rman system too well, but will also look at it. - Justin