Running FreeBSD 8.3 -- and updating sources on a daily base and building everything -- I found a new APIC/ACPI problem introduced in the past week. I have a Toshiba Satellite U205 with an Intel Core Duo (not a Core 2). It used to work fine with both cores but then sometime in on the road to BSD 8.0 the machine began hanging. So I added to /boot/loader.conf hint.apic.0.disabled="1" and the machine only had one core but it went back to being reliable. The laptop sits idle a lot, so I also have in /etc/rc.conf performance_cx_lowest="LOW" and the fans stay off unless I am doing a build. Everything was good. I went away on a trip last week for five days, came home, did a csup to RELENG_8 and rebuilt the world, as usual, and now the fans are always running full! If I comment out hint.apic.0.disabled="1" from /boot/loader.conf and reboot, the results are a mixed bag: 1) I get my 2nd core back, and it no longer hangs! Hurray. 2) The fans go back to usually being off and silent. Hurray! 3) I get zillions of error messages streaming saying: CPU0: local APIC error 0x40 CPU1: local APIC error 0x40 No good! I am sitting at a prompt, no X-Windows, no apps running (other than the usual demons), and every few seconds I get another pair of these error messages. 4) The error appears benign other than flooding the console. Everything works, nothing hangs, I can build the OS and everything appears fine. So how do I get rid of these messages? What does error 0x40 mean? Thanks, Dan Allen
On Mon, Jul 23, 2012 at 03:49:37PM -0600, Dan Allen wrote:> Running FreeBSD 8.3 -- and updating sources on a daily base and building everything -- I found a new APIC/ACPI problem introduced in the past week. > > I have a Toshiba Satellite U205 with an Intel Core Duo (not a Core 2). It used to work fine with both cores but then sometime in on the road to BSD 8.0 the machine began hanging. So I added to /boot/loader.conf > > hint.apic.0.disabled="1" > > and the machine only had one core but it went back to being reliable. > > The laptop sits idle a lot, so I also have in /etc/rc.conf > > performance_cx_lowest="LOW" > > and the fans stay off unless I am doing a build. Everything was good. > > I went away on a trip last week for five days, came home, did a csup to RELENG_8 and rebuilt the world, as usual, and now the fans are always running full! > > If I comment out hint.apic.0.disabled="1" from /boot/loader.conf and reboot, the results are a mixed bag: > > 1) I get my 2nd core back, and it no longer hangs! Hurray. > 2) The fans go back to usually being off and silent. Hurray! > 3) I get zillions of error messages streaming saying: > > CPU0: local APIC error 0x40 > CPU1: local APIC error 0x40 > > No good! > > > I am sitting at a prompt, no X-Windows, no apps running (other than the usual demons), and every few seconds I get another pair of these error messages. > > 4) The error appears benign other than flooding the console. Everything works, nothing hangs, I can build the OS and everything appears fine. > > So how do I get rid of these messages? What does error 0x40 mean?Does your system slows down with these messages ? 0x40 means that some code tried to send IPI with interrupt number from the range of assigned CPU faults. I believe that FreeBSD code never does that. Is there a BIOS upgrade for your machine ? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120724/4bae64a6/attachment.pgp
On 24 Jul 2012, at 4:26 AM, Konstantin Belousov <kostikbel@gmail.com> wrote:> Does your system slows down with these messages ? 0x40 means that some > code tried to send IPI with interrupt number from the range of assigned > CPU faults. I believe that FreeBSD code never does that. > > Is there a BIOS upgrade for your machine ?No, the system does not slow down. I am checking on the BIOS upgrade. Dan
On Wednesday, August 01, 2012 6:04:55 pm Dan Allen wrote:> > On Aug 1, 2012, at 10:06 AM, John Baldwin <jhb@freebsd.org> wrote: > > > Can you use a binary search on the date to narrow down which commit breaksit?> > Sadly, I cannot. I upgraded the machine to RELENG_9. The powerd demonappears to control the fan okay now. However I still must use the apic hint in loader.conf to turn off my 2nd core or else I get flooded with that "0x40" error message.> > Today running in 9.1 PRERELEASE I have a quiet fan, only one core, and Ihave got a "stray irc7" message a couple of times. This is all on my Core Duo Toshiba Satellite U205.> > Meanwhile, on a Pentium 4 and a tiny Dell Mini 10 Inspiron with an IntelAtom chip, everything is fine with RELENG_9. It is just this Toshiba, which ran perfectly for years with FreeBSD 6, 7, but things have declined with 8.0 and later. Hummm. Can you get a verbose dmesg? -- John Baldwin