Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 09:19:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
Message-ID:  <bug-225450-227-zN2zGHNGbq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225450-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225450-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=3D225450

mail@rubenvos.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail@rubenvos.com

--- Comment #21 from mail@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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- delay.c     (revision 329004)
+++ delay.c     (working copy)
@@ -72,7 +72,7 @@
                func =3D get_tsc;
                mask =3D ~0u;
        } else {
-               if (tc->tc_quality <=3D 0)
+               if (tc->tc_quality <=3D 0 || cold
                        return (0);
                func =3D tc->tc_get_timecount;
                mask =3D 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
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- 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

--=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-225450-227-zN2zGHNGbq>