Re: 2.6.24-rc4-mm1: acpi reboots machine... solved

From: Borislav Petkov
Date: Thu Dec 13 2007 - 02:22:50 EST


On Wed, Dec 12, 2007 at 09:21:41AM -0700, Bjorn Helgaas wrote:
> On Wednesday 12 December 2007 03:11:23 am Borislav Petkov wrote:
> > On Tue, Dec 11, 2007 at 05:08:59PM -0700, Bjorn Helgaas wrote:
> > > On Tuesday 11 December 2007 01:52:55 pm Borislav Petkov wrote:
> > > > From what i can roughly tell so far it seems like an resource conflict between acpi and
> > > > the pnp requested regions in your patch which result in the acpi_thermal code
> > > > to read the wrong (0xff) temperature value and halt the machine, but i might be
> > > > wrong on the details since acpi is such a big code chunk to swallow.
> > >
> > > I don't see any obvious conflict from the log you posted. For the sake
> > > of comparison, can you post the corresponding dmesg log after you removed
> > > the patch?
> >
> > The only difference i see is that ACPI finds EC in DSDT in the working kernel
> > and in the broken case something silently fails. Please find attached the 2 bootlogs
> > and a disassembled DSDT.
>
> Thanks very much!
>
> "ACPI: EC: Look up EC in DSDT" appears in the working log, but not
> in the broken one. But I think we *do* find the EC in both cases,
> because we see "ACPI: EC: non-query interrupt received" even before
> acpi_ec_add() (which prints the "ACPI: EC: GPE = 0x1c, ...". Maybe
> the logs were collected with different log levels?

Well, hm, actually no, the only difference is that the broken log was taken over
netconsole so the lines might appear in a different order. I'll capture that
log again on the weekend to see whether something is missing..

> I think Alexey is on the right track with the PCI resource allocation
> failure.

Then it should be the SMBus controller, PCI id 00:1f:3, which is having problems
registering its io ports region 4, AFAICT.

> On your working kernel, can you collect this:
>
> lspci -vv > lspci
> cat /proc/ioports > ioports
> cat /proc/iomem > iomem
> grep . /sys/devices/pnp*/*/resources > pnp
> tar -jcf resources.tar.bz2 lspci ioports iomem pnp

attached.

--
Regards/Gruß,
Boris.

Attachment: resources.tar.bz2
Description: Binary data