[clang] NMI while trying to read acpi timer register

Andriy Gapon avg at FreeBSD.org
Mon Feb 4 21:00:14 UTC 2013


on 04/02/2013 21:11 Adrian Chadd said the following:
> On 30 January 2013 13:03, Andriy Gapon <avg at freebsd.org> wrote:
>> 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.
> 
> Do you have stack traces showing where it's happening?
> 
> Posting that and the disassembly from those areas may shed a clue.

The information should be available from a user who got this issue.
Are you willing to take a look?  I'll connect you.

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list