The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andy Isaacson <adi@hexapodia.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.17-rc[56]-mm*: pcmcia "I/O resource not free"
Date: Tue, 20 Jun 2006 23:50:36 -0700	[thread overview]
Message-ID: <20060621065036.GR2038@hexapodia.org> (raw)
In-Reply-To: <20060620150317.746372c5.akpm@osdl.org>

On Tue, Jun 20, 2006 at 03:03:17PM -0700, Andrew Morton wrote:
> It's strange (to me) that IDE is requesting a single-byte memory region. 
> Possibly we've broken the resource.c code such that it has some off-by-one
> and is now rejecting single-byte requests.
[snip]
> +++ a/kernel/resource.c
> +			printk("conflict: %s[%Lx->%Lx]\n",
[snip]
> Then again, perhaps IDE is broken (as well?), because you don't have any
> single-byte iomem regions in your 2.6.17-rc6 /proc/iomem.  It would be
> interesting to run this patch in both 2.6.17-rc6 and in 2.6.17-rc6-mm2, see
> what it says:
[snip]
> +++ 25-akpm/drivers/ide/ide.c	Tue Jun 20 15:02:15 2006
> +		printk("%s: single-byte request\n", __FUNCTION__);
> +		dump_stack();

With both patches, rc6-mm2 dumps the following.

[ 2034.052000] pccard: PCMCIA card inserted into slot 0
[ 2034.052000] cs: memory probe 0xf0000000-0xf7ffffff: excluding 0xf0000000-0xf7ffffff
[ 2034.052000] cs: memory probe 0xd0200000-0xdfffffff: excluding 0xd0200000-0xd11fffff 0xd1a00000-0xd41fffff 0xd4a00000-0xd51fffff 0xd5a00000-0xd61fffff 0xd6a00000-0xd71fffff 0xd7a00000-0xd81fffff 0xd8a00000-0xd91fffff 0xd9a00000-0xda1fffff 0xdaa00000-0xdb1fffff 0xdba00000-0xdc1fffff 0xdca00000-0xdd1fffff 0xdda00000-0xde1fffff 0xdea00000-0xdf1fffff 0xdfa00000-0xe01fffff
[ 2034.060000] pcmcia: registering new device pcmcia0.0
[ 2034.060000] PM: Adding info for pcmcia:0.0
[ 2035.976000] conflict: PCI IO[0->ffff]
[ 2035.976000] hwif_request_region: single-byte request for ide2
[ 2035.976000]  [<c0257386>] hwif_request_region+0xa6/0xb0
[ 2035.976000]  [<c02574bf>] ide_hwif_request_regions+0x12f/0x150
[ 2035.976000]  [<c0257177>] init_hwif_default+0x37/0x120
[ 2035.976000]  [<f8b070b0>] idecs_mmio_fixup+0x0/0x30 [ide_cs]
[ 2035.976000]  [<c025e8a9>] probe_hwif+0x29/0x4f0
[ 2035.976000]  [<f8b070b0>] idecs_mmio_fixup+0x0/0x30 [ide_cs]
[ 2035.976000]  [<c025ed85>] probe_hwif_init_with_fixup+0x15/0xa0
[ 2035.976000]  [<c0257ea5>] ide_register_hw_with_fixup+0x165/0x1b0
[ 2035.976000]  [<f8b070b0>] idecs_mmio_fixup+0x0/0x30 [ide_cs]
[ 2035.976000]  [<f8b070b0>] idecs_mmio_fixup+0x0/0x30 [ide_cs]
[ 2035.976000]  [<f8b07163>] idecs_register+0x83/0xd0 [ide_cs]
[ 2035.976000]  [<f8b070b0>] idecs_mmio_fixup+0x0/0x30 [ide_cs]
[ 2035.976000]  [<f8b071c0>] outb_mem+0x0/0x10 [ide_cs]
[ 2035.976000]  [<f8b075e4>] ide_config+0x414/0x790 [ide_cs]
[ 2035.976000]  [<f8b071c0>] outb_mem+0x0/0x10 [ide_cs]
[ 2035.976000]  [<f8b0f4c8>] pcmcia_device_probe+0xa8/0x160 [pcmcia]
[ 2035.976000]  [<c025104c>] driver_probe_device+0xbc/0xe0
[ 2035.976000]  [<c02510f0>] __driver_attach+0x0/0x80
[ 2035.976000]  [<c0251160>] __driver_attach+0x70/0x80
[ 2035.976000]  [<c0250369>] bus_for_each_dev+0x69/0x80
[ 2035.976000]  [<c0251195>] driver_attach+0x25/0x30
[ 2035.976000]  [<c02510f0>] __driver_attach+0x0/0x80
[ 2035.976000]  [<c0250968>] bus_add_driver+0x88/0xd0
[ 2035.976000]  [<f8b0b00f>] init_ide_cs+0xf/0x11 [ide_cs]
[ 2035.976000]  [<c0139f32>] sys_init_module+0xf2/0x190
[ 2035.976000]  [<c02e3105>] sysenter_past_esp+0x56/0x79
[ 2035.976000]  [<c02e007b>] inet6_lookup_listener+0x2b/0x100
[ 2035.976000] ide2: I/O resource 0xF8B0200E-0xF8B0200E not free.
[ 2035.976000] ide2: ports already in use, skipping probe
[ 2035.976000] conflict: PCI IO[0->ffff]
[ 2035.976000] hwif_request_region: single-byte request for ide2
[ 2035.976000]  [<c0257386>] hwif_request_region+0xa6/0xb0
[ 2035.976000]  [<c02574bf>] ide_hwif_request_regions+0x12f/0x150
[ 2035.976000]  [<c0257177>] init_hwif_default+0x37/0x120

[snip 1400 lines more]

-andy

  parent reply	other threads:[~2006-06-21  6:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-15 16:28 2.6.17-rc[56]-mm*: pcmcia "I/O resource not free" Andy Isaacson
2006-06-17 17:03 ` Andrew Morton
2006-06-20 21:17   ` Andy Isaacson
2006-06-20 22:03     ` Andrew Morton
2006-06-20 22:36       ` Randy.Dunlap
2006-06-21  6:50       ` Andy Isaacson [this message]
2006-06-21  7:46         ` Andrew Morton
2006-06-21 17:10           ` Andy Isaacson
2006-06-21 18:31             ` Andy Isaacson
2006-06-22  0:31             ` Vivek Goyal

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=20060621065036.GR2038@hexapodia.org \
    --to=adi@hexapodia.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox