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/>
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 #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 :=20

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
hydra#=20
hydra# uptime=20
 1:04AM  up 2 mins, 1 user, load averages: 0.45, 0.40, 0.17
hydra# uname -a=20
FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r350018M: Mon Jul 15
23:32:27 GMT 2019=20=20=20=20
root@hydra:/usr/obj/usr/src/r350018/powerpc.powerpc64/sys/GENERIC64  powerpc
hydra#=20
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#=20

This is excellent.=20

I will now stress the machine and try ports building as well as=20
a buildworld.=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-nB6Yp07pva>