[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 14:46:27 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238730
--- Comment #13 from Dennis Clarke <dclarke at blastwave.org> ---
Will do :
# diff -c if_bge.c.orig if_bge.c
*** if_bge.c.orig Sun Jul 14 12:00:04 2019
--- if_bge.c Mon Jul 15 14:45:26 2019
***************
*** 3272,3279 ****
dev = sc->bge_dev;
bus = device_get_parent(dev);
for (;;) {
! dev = device_get_parent(bus);
bus = device_get_parent(dev);
if (device_get_devclass(dev) != pcib)
break;
for (i = 0; i < nitems(mbox_reorder_lists); i++) {
--- 3272,3282 ----
dev = sc->bge_dev;
bus = device_get_parent(dev);
for (;;) {
! /* [Bug 238730] suggestion from Andriy Gapon <avg at FreeBSD.org>
! * is to move dev = device_get_parent(bus) just after the
! * call to device_get_devclass(dev) */
bus = device_get_parent(dev);
+ dev = device_get_parent(bus);
if (device_get_devclass(dev) != pcib)
break;
for (i = 0; i < nitems(mbox_reorder_lists); i++) {
# (In reply to Andriy Gapon from comment #12)
Let's see what that does.
Dennis
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list