Re: 53052feb6 (PNP: remove pnp_mem_flags() as an lvalue) breaks myALSA intel8x0 sound card regression

From: Rene Herman
Date: Mon Jun 02 2008 - 15:03:01 EST


On 02-06-08 05:25, Avuton Olrich wrote:

On Sun, Jun 1, 2008 at 9:20 AM, Rene Herman <rene.herman@xxxxxxxxxxxx> wrote:
On 01-06-08 16:42, Avuton Olrich wrote:

My intel8x0 card stops working due to a regression; bisection and
information below.

May have relationship to this thread

http://groups.google.com/group/linux.kernel/browse_thread/thread/d5857287a36e71af/d7ae0a1490b7d142?lnk=st

http://avuton.googlepages.com/intel8x0-config.gz
http://avuton.googlepages.com/intel8x0-cpuinfo
http://avuton.googlepages.com/intel8x0-dmesg
This dmesg seems to be 6-byte file consisting of "dmesg\n" ...

Corrected:
http://avuton.googlepages.com/dmesg.txt

Thanks. Important lines:

[ 0.000000] Linux version 2.6.26-rc4 (sbh@rocket) (gcc version 4.2.4 (Gentoo 4.2.4 p1.0)) #4 SMP PREEMPT Sun Jun 1 17:41:35 PDT 2008

<snip>

[ 0.205750] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.205891] pnp: PnP ACPI init
[ 0.205945] ACPI: bus type pnp registered
[ 0.206968] pnp 00:07: mem resource (0xfebfa000-0xfebfac00) overlaps 0000:00:1b.0 BAR 0 (0xfebf8000-0xfebfbfff), disabling
[ 0.208685] pnp: PnP ACPI: found 13 devices
[ 0.208737] ACPI: ACPI bus type pnp unregistered

<snip>

[ 0.231865] system 00:07: ioport range 0x4d0-0x4d1 has been reserved
[ 0.231923] system 00:07: ioport range 0x800-0x87f has been reserved
[ 0.231990] system 00:07: ioport range 0x480-0x4bf has been reserved
[ 0.232045] system 00:07: iomem range 0xffafe000-0xffb0cbff could not be reserved
[ 0.232114] system 00:07: iomem range 0xffb00000-0xffbfffff could not be reserved
[ 0.232182] system 00:07: iomem range 0xfed1c000-0xfed1ffff has been reserved
[ 0.232188] system 00:07: iomem range 0xfed20000-0xfed3ffff has been reserved
[ 0.232188] system 00:07: iomem range 0xfed45000-0xfed89fff has been reserved
[ 0.232188] system 00:07: iomem range 0xfff00000-0xfffffffe could not be reserved
[ 0.232188] system 00:07: iomem range 0xfebfe000-0xfebfec00 has been reserved
[ 0.232188] system 00:07: iomem range 0xfebfa000-0xfebfac00 has been reserved

(*)

<snip>

[ 7.432374] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 7.432374] PCI: Unable to reserve mem region #1:4000@febf8000 for device 0000:00:1b.0
[ 7.432374] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
[ 7.432374] HDA Intel: probe of 0000:00:1b.0 failed with error -16

So it's first saying it's disabling the region, then grabbing it at (*) anyway.

I suppose/gather this worked at _some_ point, so over to author I guess.

http://avuton.googlepages.com/intel8x0-ioports
7>>> http://avuton.googlepages.com/intel8x0-lspci-vvv
http://avuton.googlepages.com/intel8x0-modules
http://avuton.googlepages.com/intel8x0-ver-linux
http://avuton.googlepages.com/intel8x0-version

commit 53052feb6ddd05cb2b5c6e89fb489bf83bbb6803
Author: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Date: Mon Apr 28 16:34:15 2008 -0600

PNP: remove pnp_mem_flags() as an lvalue

A future change will change pnp_mem_flags() from a "#define that
simplifies to an lvalue" to "an inline function that returns the
flags value."

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Acked-By: Rene Herman <rene.herman@xxxxxxxxx>
Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

I'm probably just really blind but I don't see how that specific commit may
have made any difference. It _is_ in the exact spot which would fix that
overlap problem of yours but this should be an identity change as far as
fuctionality goes. Are you _really_ sure it's this one?

(Is this racing with anything?)

I will confirm in the next 24 hours that the previous revision works.

Rene.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/