[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 25 09:19:08 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450
mail at rubenvos.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mail at rubenvos.com
--- Comment #21 from mail at rubenvos.com ---
(In reply to John Baldwin from comment #20)
I've followed the steps below in an attempt to test your patch:
Index: x86/x86/delay.c
===================================================================
--- delay.c (revision 329004)
+++ delay.c (working copy)
@@ -72,7 +72,7 @@
func = get_tsc;
mask = ~0u;
} else {
- if (tc->tc_quality <= 0)
+ if (tc->tc_quality <= 0 || cold
return (0);
func = tc->tc_get_timecount;
mask = tc->tc_counter_mask;
(I do not have any C skills at all, sorry if I've misinterpreted your last
comment)
1 :
rm -rvf /usr/src ; mkdir /usr/src ; svnlite checkout
https://svn.freebsd.org/base/stable/11/ /usr/src
2:
cd /usr/src/sys ; patch < /root/patch_c16.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: x86/x86/delay.c
|===================================================================
|--- delay.c (revision 329004)
|+++ delay.c (working copy)
--------------------------
File to patch: x86/x86/delay.c
Patching file x86/x86/delay.c using Plan A...
Hunk #1 failed at 72.
1 out of 1 hunks failed--saving rejects to x86/x86/delay.c.rej
done
Which tree or src code should the patches mentioned in this PR be applied
against exactly?
Regards,
Ruben
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list