[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
Tue Jul 16 00:56:56 UTC 2019


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

--- Comment #22 from Dennis Clarke <dclarke at blastwave.org> ---
(In reply to Andriy Gapon from comment #16)

With a small change :

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# 

.
.
.
--------------------------------------------------------------
>>> Installing kernel GENERIC64 completed on Tue Jul 16 00:37:19 GMT 2019
--------------------------------------------------------------
real 5065.02
user 2645.07
sys 2252.04
hydra#

Reboot and tell the boot loader : 

    set kern.smp.disabled=1 

All boots fine.  No ethernet re-order seen either which is excellent.


hydra# 
hydra# uname -a 
FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r350018M: Mon Jul 15
23:32:27 GMT 2019    
root at hydra:/usr/obj/usr/src/r350018/powerpc.powerpc64/sys/GENERIC64  powerpc
hydra# sysctl -a | grep 'smp'
kern.smp.maxid: 3
kern.smp.maxcpus: 256
kern.smp.active: 0
kern.smp.disabled: 1
kern.smp.cpus: 1
kern.smp.threads_per_core: 1
kern.smp.cores: 1
kern.smp.topology: 0
kern.smp.forward_signal_enabled: 1
"devfs","crossmp"
hydra# 

I will try a boot wherein I say nothing to the boot loader.

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


More information about the freebsd-bugs mailing list