Date: Mon, 4 Feb 2013 11:11:54 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Andriy Gapon <avg@freebsd.org> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: [clang] NMI while trying to read acpi timer register Message-ID: <CAJ-VmokD-iiSwb8eqxFq97HQ6Y2Ed__7gHqFyLus=KGGrC9ntA@mail.gmail.com> In-Reply-To: <51098A9E.1080100@FreeBSD.org> References: <51068B74.2070808@FreeBSD.org> <51098A9E.1080100@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 January 2013 13:03, Andriy Gapon <avg@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. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokD-iiSwb8eqxFq97HQ6Y2Ed__7gHqFyLus=KGGrC9ntA>