Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2019 23:24:00 +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-wpAC8GtyFk@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 #19 from Dennis Clarke <dclarke@blastwave.org> ---
(In reply to Francis Little from comment #18)

I will give it a whirl on r350018 :

hydra# uname -a=20
FreeBSD hydra 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  powerpc

hydra# pwd
/usr/src/r350018

hydra# diff -u sys/dev/bge/if_bge.c.orig sys/dev/bge/if_bge.c
--- sys/dev/bge/if_bge.c.orig   2019-07-15 19:02:10.169287000 +0000
+++ sys/dev/bge/if_bge.c        2019-07-15 23:10:50.382654000 +0000
@@ -3276,6 +3276,8 @@
                bus =3D device_get_parent(dev);
                if (device_get_devclass(dev) !=3D pcib)
                        break;
+               if (device_get_devclass(bus) !=3D pci)
+                       break;
                for (i =3D 0; i < nitems(mbox_reorder_lists); i++) {
                        if (pci_get_vendor(dev) =3D=3D
                            mbox_reorder_lists[i].vendor &&
@@ -3287,8 +3289,6 @@
                                return (1);
                        }
                }
-               if (device_get_devclass(bus) !=3D pci)
-                       break;
        }
        return (0);
 }
hydra#=20


Fairly sure one must interrupt the boot loader and utter the following :
    "set kern.smp.disabled=3D1"=20

Surely ye old PowerMac G5 quad will just panic instantly. I have not
seen mine boot reliably in a while unless I restrict it to a single cpu
core. Also for a long long while I was also using a flat device tree
with "set usefdt=3D1".  However this is deemed to be fixed :=20

    Bug 233863 - Various PowerMac G5 models may require kern.smp.disabled=
=3D1 and
must set usefdt=3D1 which causes net interface reorder

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


Well clearly the net interface re-order is still here.=20

--=20
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

--=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-wpAC8GtyFk>