Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2019 01:07:42 +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-nB6Yp07pva@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 #23 from Dennis Clarke <dclarke@blastwave.org> ---

With the slight patch to sys/dev/bge/if_bge.c all is working and that
includes smp and there is no network interface re-order seen : 

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# 
hydra# 
hydra# uptime 
 1:04AM  up 2 mins, 1 user, load averages: 0.45, 0.40, 0.17
hydra# uname -a 
FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r350018M: Mon Jul 15
23:32:27 GMT 2019    
root@hydra:/usr/obj/usr/src/r350018/powerpc.powerpc64/sys/GENERIC64  powerpc
hydra# 
hydra# sysctl -a | grep 'smp'
kern.smp.maxid: 3
kern.smp.maxcpus: 256
kern.smp.active: 1
kern.smp.disabled: 0
kern.smp.cpus: 4
kern.smp.threads_per_core: 1
kern.smp.cores: 4
kern.smp.topology: 0
kern.smp.forward_signal_enabled: 1
"devfs","crossmp"
hydra# 

This is excellent. 

I will now stress the machine and try ports building as well as 
a buildworld. 

-- 
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.

home | help

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