Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 23:03:26 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-hackers <freebsd-hackers@FreeBSD.org>
Subject:   [clang] NMI while trying to read acpi timer register
Message-ID:  <51098A9E.1080100@FreeBSD.org>
In-Reply-To: <51068B74.2070808@FreeBSD.org>
References:  <51068B74.2070808@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 28/01/2013 16:30 Andriy Gapon said the following:
> is there any reasonable explanation for getting an NMI while trying to read acpi
> timer register?
> Note: this happens only after ACPI suspend/resume.

An update.
This happens only with clang compiled kernel, gcc compiled kernel is OK.
Also, this happens only in the depth of fwohci driver (where it calls DELAY).
If firewire is not loaded, then there is no problem.

I suspect that perhaps there is some miscompilation that results in some
incorrect I/O access that later leads to NMI.  Too many unknowns and guesses
here, obviously.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51098A9E.1080100>