Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2019 14:46:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238730] r349985 on ppc64 IBM 970MP PowerMac G5 possible panic in bus_generic_new_pass
Message-ID:  <bug-238730-227-i9A8Qbz3lq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238730-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238730

--- Comment #13 from Dennis Clarke <dclarke@blastwave.org> ---

Will do : 

# diff -c if_bge.c.orig if_bge.c
*** if_bge.c.orig       Sun Jul 14 12:00:04 2019
--- if_bge.c    Mon Jul 15 14:45:26 2019
***************
*** 3272,3279 ****
        dev = sc->bge_dev;
        bus = device_get_parent(dev);
        for (;;) {
!               dev = device_get_parent(bus);
                bus = device_get_parent(dev);
                if (device_get_devclass(dev) != pcib)
                        break;
                for (i = 0; i < nitems(mbox_reorder_lists); i++) {
--- 3272,3282 ----
        dev = sc->bge_dev;
        bus = device_get_parent(dev);
        for (;;) {
!               /* [Bug 238730] suggestion from Andriy Gapon <avg@FreeBSD.org> 
!                * is to move dev = device_get_parent(bus) just after the
!                  * call to device_get_devclass(dev) */
                bus = device_get_parent(dev);
+               dev = device_get_parent(bus);
                if (device_get_devclass(dev) != pcib)
                        break;
                for (i = 0; i < nitems(mbox_reorder_lists); i++) {
# (In reply to Andriy Gapon from comment #12)

Let's see what that does. 

Dennis

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238730-227-i9A8Qbz3lq>