[Bug 238730] r349985 on ppc64 IBM 970MP PowerMac G5 possible panic in bus_generic_new_pass

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 15 23:24:02 UTC 2019


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

--- Comment #19 from Dennis Clarke <dclarke at blastwave.org> ---
(In reply to Francis Little from comment #18)

I will give it a whirl on r350018 :

hydra# uname -a 
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 = device_get_parent(dev);
                if (device_get_devclass(dev) != pcib)
                        break;
+               if (device_get_devclass(bus) != pci)
+                       break;
                for (i = 0; i < nitems(mbox_reorder_lists); i++) {
                        if (pci_get_vendor(dev) ==
                            mbox_reorder_lists[i].vendor &&
@@ -3287,8 +3289,6 @@
                                return (1);
                        }
                }
-               if (device_get_devclass(bus) != pci)
-                       break;
        }
        return (0);
 }
hydra# 


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

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=1".  However this is deemed to be fixed : 

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

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


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

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

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


More information about the freebsd-bugs mailing list