Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 09:00:42 -0400
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Mathias Breuninger <mathias.breuninger@espace29.asso.fr>,  FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   RE: Powermac G5 won't boot after adding a PCI Ethernet Card
Message-ID:  <CAHSQbTB0jgd=9N7iUhdrdNrbdZzu=zK%2B2fgHDKRXabU%2BiaXJ7g@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTB0jgd=9N7iUhdrdNrbdZzu=zK%2B2fgHDKRXabU%2BiaXJ7g>