All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Bjorn Helgaas <bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
Cc: Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]
Date: Thu, 12 Jun 2008 23:10:04 +0200	[thread overview]
Message-ID: <485190AC.3060107@gmail.com> (raw)
In-Reply-To: <200806111303.39267.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>

On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
> On Wednesday 11 June 2008 12:08:53 pm Jiri Slaby wrote:
>> On 06/10/2008 07:31 AM, Andrew Morton wrote:
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>> I face problems after some of the pnp changes. If this is not known, I may 
>> bisect it, it's 100% reproducible. I have no real logs, It panics prior to 
>> network is woken up to see something on netconsole, I just captured a function 
>> name and an offset of place where it oopses.
>>
>> pnpacpi_encode_resources, ACPI_RESOURCE_TYPE_DMA case, pnp_get_resource(dev, 
>> IORESOURCE_DMA, dma) returns NULL, which is dereferenced at pnpacpi_encode_dma 
>> at p->flags.
>>
>> It happens on resume after mem > /sys/power/state.
> 
> Thanks for the report, I hadn't heard about this.
> 
> We used to always have a resource from the static table to encode
> (assuming the table was big enough), even if that resource was
> disabled or unassigned.  But now we don't keep those around, so
> we can end up with null pointers like you're seeing.
> 
> Before you go to all the trouble of bisecting it, can you turn on
> CONFIG_PNP_DEBUG and try the following debug patch?  I think this
> will prevent the oops, but it's just papering over the real problem,
> so please capture the complete dmesg log.

ACPI: PCI interrupt for device 0000:00:02.0 disabled
serial 00:07: disabled
serial 00:06: disabled
ACPI handle has no context!
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
...
serial 00:06:   no dma resource to encode!
serial 00:06: activated
serial 00:07:   no dma resource to encode!
serial 00:07: activated
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16

--
To unsubscribe from this list: send the line "unsubscribe kernel-testers" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Jiri Slaby <jirislaby@gmail.com>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]
Date: Thu, 12 Jun 2008 23:10:04 +0200	[thread overview]
Message-ID: <485190AC.3060107@gmail.com> (raw)
In-Reply-To: <200806111303.39267.bjorn.helgaas@hp.com>

On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
> On Wednesday 11 June 2008 12:08:53 pm Jiri Slaby wrote:
>> On 06/10/2008 07:31 AM, Andrew Morton wrote:
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>> I face problems after some of the pnp changes. If this is not known, I may 
>> bisect it, it's 100% reproducible. I have no real logs, It panics prior to 
>> network is woken up to see something on netconsole, I just captured a function 
>> name and an offset of place where it oopses.
>>
>> pnpacpi_encode_resources, ACPI_RESOURCE_TYPE_DMA case, pnp_get_resource(dev, 
>> IORESOURCE_DMA, dma) returns NULL, which is dereferenced at pnpacpi_encode_dma 
>> at p->flags.
>>
>> It happens on resume after mem > /sys/power/state.
> 
> Thanks for the report, I hadn't heard about this.
> 
> We used to always have a resource from the static table to encode
> (assuming the table was big enough), even if that resource was
> disabled or unassigned.  But now we don't keep those around, so
> we can end up with null pointers like you're seeing.
> 
> Before you go to all the trouble of bisecting it, can you turn on
> CONFIG_PNP_DEBUG and try the following debug patch?  I think this
> will prevent the oops, but it's just papering over the real problem,
> so please capture the complete dmesg log.

ACPI: PCI interrupt for device 0000:00:02.0 disabled
serial 00:07: disabled
serial 00:06: disabled
ACPI handle has no context!
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
...
serial 00:06:   no dma resource to encode!
serial 00:06: activated
serial 00:07:   no dma resource to encode!
serial 00:07: activated
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16


  parent reply	other threads:[~2008-06-12 21:10 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10  5:31 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  5:31 ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  5:31 ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  7:28 ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-10  7:28   ` 2.6.26-rc5-mm2 Nick Piggin
     [not found]   ` <200806101728.27486.nickpiggin-/E1597aS9LT0CCvOHzKKcA@public.gmane.org>
2008-06-10  8:34     ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  8:34       ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  8:34       ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  8:48       ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-10  8:48         ` 2.6.26-rc5-mm2 Nick Piggin
     [not found]         ` <200806101848.22237.nickpiggin-/E1597aS9LT0CCvOHzKKcA@public.gmane.org>
2008-06-10  9:15           ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  9:15             ` 2.6.26-rc5-mm2 Andrew Morton
2008-06-10  9:15             ` 2.6.26-rc5-mm2 Andrew Morton
     [not found]             ` <20080610021519.52af66f5.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-06-10 12:34               ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-10 12:34                 ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-10 12:34                 ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-11 18:09           ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-11 18:09             ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-11 18:09             ` 2.6.26-rc5-mm2 Rik van Riel
     [not found]             ` <20080611140902.544e59ec-Fuq27k0DHcCSkoNiqTzCLQ@public.gmane.org>
2008-06-11 23:58               ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-11 23:58                 ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-11 23:58                 ` 2.6.26-rc5-mm2 Nick Piggin
     [not found]                 ` <200806120958.38545.nickpiggin-/E1597aS9LT0CCvOHzKKcA@public.gmane.org>
2008-06-12 19:29                   ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-12 19:29                     ` 2.6.26-rc5-mm2 Rik van Riel
2008-06-12 19:29                     ` 2.6.26-rc5-mm2 Rik van Riel
     [not found]                     ` <20080612152905.6cb294ae-jofViKCuYcf1wF9wiOj0lkEOCMrvLtNR@public.gmane.org>
2008-06-12 21:15                       ` 2.6.26-rc5-mm2 (swap_state.c:77) Hugh Dickins
2008-06-12 21:15                         ` Hugh Dickins
2008-06-12 21:15                         ` Hugh Dickins
     [not found]                         ` <Pine.LNX.4.64.0806122131330.10415-popGQ1T0qN76K7/ahGyk6A@public.gmane.org>
2008-06-13 17:45                           ` Rik van Riel
2008-06-13 17:45                             ` Rik van Riel
2008-06-13 17:45                             ` Rik van Riel
     [not found]                             ` <20080613134507.3f08820e-jofViKCuYcf1wF9wiOj0lkEOCMrvLtNR@public.gmane.org>
2008-06-13 21:15                               ` Hugh Dickins
2008-06-13 21:15                                 ` Hugh Dickins
2008-06-13 21:15                                 ` Hugh Dickins
     [not found]                                 ` <Pine.LNX.4.64.0806132135460.10183-popGQ1T0qN76K7/ahGyk6A@public.gmane.org>
2008-06-13 22:03                                   ` Rik van Riel
2008-06-13 22:03                                     ` Rik van Riel
2008-06-13 22:03                                     ` Rik van Riel
2008-06-10 15:34     ` 2.6.26-rc5-mm2 Lee Schermerhorn
2008-06-10 15:34       ` 2.6.26-rc5-mm2 Lee Schermerhorn
2008-06-10 15:34       ` 2.6.26-rc5-mm2 Lee Schermerhorn
2008-06-10 16:50       ` 2.6.26-rc5-mm2 Hugh Dickins
2008-06-10 16:50         ` 2.6.26-rc5-mm2 Hugh Dickins
2008-06-10 16:50         ` 2.6.26-rc5-mm2 Hugh Dickins
     [not found] ` <20080609223145.5c9a2878.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-06-10  6:12   ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-10  6:12     ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-10  6:12     ` 2.6.26-rc5-mm2 Nick Piggin
2008-06-10 10:20   ` 2.6.26-rc5-mm2 lockup up on Intel G33+ICH9R+Core2Duo, -mm1 okay Grant Coady
2008-06-10 10:20     ` Grant Coady
2008-06-10 10:20     ` Grant Coady
     [not found]     ` <73ls44tntnv8ro57chp1on2crsqkoilmkj-e09XROE/p8c@public.gmane.org>
2008-06-10 18:18       ` Andrew Morton
2008-06-10 18:18         ` Andrew Morton
2008-06-10 18:18         ` Andrew Morton
     [not found]         ` <20080610111832.736519d2.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-06-10 21:48           ` Grant Coady
2008-06-10 21:48             ` Grant Coady
2008-06-10 21:48             ` Grant Coady
2008-06-10 11:50   ` 2.6.26-rc5-mm2 compile error in vmscan.c Helge Hafting
2008-06-10 11:50     ` Helge Hafting
2008-06-10 11:50     ` Helge Hafting
     [not found]     ` <484E6A68.4060203-i5bjtSbraLbLX0NG8FE4ug@public.gmane.org>
2008-06-10 12:23       ` Johannes Weiner
2008-06-10 12:23         ` Johannes Weiner
2008-06-10 12:23         ` Johannes Weiner
2008-06-10 18:37       ` Andrew Morton
2008-06-10 18:37         ` Andrew Morton
2008-06-10 18:37         ` Andrew Morton
     [not found]         ` <20080610113733.8d924c0e.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-06-12  8:13           ` Helge Hafting
2008-06-12  8:13             ` Helge Hafting
2008-06-12  8:13             ` Helge Hafting
2008-06-11  2:26   ` 2.6.26-rc5-mm2 (compile error in mm/memory_hotplug.c) Yasunori Goto
2008-06-11  2:26     ` Yasunori Goto
2008-06-11  2:26     ` Yasunori Goto
2008-06-11 18:08   ` pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2] Jiri Slaby
2008-06-11 18:08     ` Jiri Slaby
     [not found]     ` <485014B5.7080305-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-06-11 19:03       ` Bjorn Helgaas
2008-06-11 19:03         ` Bjorn Helgaas
     [not found]         ` <200806111303.39267.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2008-06-12 21:10           ` Jiri Slaby [this message]
2008-06-12 21:10             ` Jiri Slaby
     [not found]             ` <485190AC.3060107-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-06-12 21:22               ` Bjorn Helgaas
2008-06-12 21:22                 ` Bjorn Helgaas
     [not found]                 ` <200806121522.44199.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2008-06-12 21:39                   ` Jiri Slaby
2008-06-12 21:39                     ` Jiri Slaby
     [not found]                     ` <48519782.9070306-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-06-12 21:57                       ` Bjorn Helgaas
2008-06-12 21:57                         ` Bjorn Helgaas
     [not found]                         ` <200806121557.28505.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2008-06-12 21:57                           ` Jiri Slaby
2008-06-12 21:57                             ` Jiri Slaby
2008-06-13 16:05                         ` Jiri Slaby
     [not found]                           ` <48529AAC.3030008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-06-13 17:23                             ` Bjorn Helgaas
2008-06-13 17:23                               ` Bjorn Helgaas
2008-06-16 10:43                               ` Jiri Slaby
2008-06-11  6:00 ` 2.6.26-rc5-mm2: OOM with 1G free swap Alexey Dobriyan
2008-06-11  6:00   ` Alexey Dobriyan
     [not found]   ` <20080611060029.GA5011-QDJVlCTZ4KWTKS93B3g+7KFoa47nwP16@public.gmane.org>
2008-06-11  6:11     ` Nick Piggin
2008-06-11  6:11       ` Nick Piggin
2008-06-11  6:11       ` Nick Piggin
2008-06-11  6:15     ` Nick Piggin
2008-06-11  6:15       ` Nick Piggin
2008-06-11  6:15       ` Nick Piggin
2008-06-11  6:27     ` Andrew Morton
2008-06-11  6:27       ` Andrew Morton
2008-06-11  6:27       ` Andrew Morton
     [not found]       ` <20080610232705.3aaf5c06.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-06-11  6:31         ` Nick Piggin
2008-06-11  6:31           ` Nick Piggin
2008-06-11  6:31           ` Nick Piggin
2008-06-11  6:36         ` KOSAKI Motohiro
2008-06-11  6:36           ` KOSAKI Motohiro
2008-06-11  6:36           ` KOSAKI Motohiro
2008-06-11  7:31           ` Frederik Deweerdt
2008-06-11  7:31             ` Frederik Deweerdt
2008-06-11 12:57         ` Rik van Riel
2008-06-11 12:57           ` Rik van Riel
2008-06-11 12:57           ` Rik van Riel
2008-06-11 13:44           ` Nick Piggin
2008-06-11 17:56 ` [BUG] 2.6.26-rc5-mm2 - kernel BUG at arch/x86/kernel/setup.c:388! Kamalesh Babulal
     [not found]   ` <485011DF.9050606-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-06-11 18:28     ` Dave Hansen
2008-06-11 18:28       ` Dave Hansen
2008-06-11 18:28       ` Dave Hansen
2008-06-11 18:37       ` Vegard Nossum
2008-06-11 18:37         ` Vegard Nossum
2008-06-11 18:37         ` Vegard Nossum
     [not found]         ` <19f34abd0806111137t4291b9fkb66951aa8f4d456f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-06-12  6:55           ` Kamalesh Babulal
2008-06-12  6:55             ` Kamalesh Babulal
2008-06-12  6:55             ` Kamalesh Babulal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=485190AC.3060107@gmail.com \
    --to=jirislaby-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=bjorn.helgaas-VXdhtT5mjnY@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.