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/>
References:  <bug-238730-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238730

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

Will do :=20

# 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 =3D sc->bge_dev;
        bus =3D device_get_parent(dev);
        for (;;) {
!               dev =3D device_get_parent(bus);
                bus =3D device_get_parent(dev);
                if (device_get_devclass(dev) !=3D pcib)
                        break;
                for (i =3D 0; i < nitems(mbox_reorder_lists); i++) {
--- 3272,3282 ----
        dev =3D sc->bge_dev;
        bus =3D device_get_parent(dev);
        for (;;) {
!               /* [Bug 238730] suggestion from Andriy Gapon <avg@FreeBSD.o=
rg>=20
!                * is to move dev =3D device_get_parent(bus) just after the
!                  * call to device_get_devclass(dev) */
                bus =3D device_get_parent(dev);
+               dev =3D device_get_parent(bus);
                if (device_get_devclass(dev) !=3D pcib)
                        break;
                for (i =3D 0; i < nitems(mbox_reorder_lists); i++) {
# (In reply to Andriy Gapon from comment #12)

Let's see what that does.=20

Dennis

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



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