mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alain Tesio <alain@onesite.org>
To: linux-kernel@vger.kernel.org
Subject: Re: Asus P4B533 and resource conflict on IDE
Date: Fri, 29 Nov 2002 01:44:16 +0100	[thread overview]
Message-ID: <20021129014416.54940079.alain@onesite.org> (raw)

Replying to an old thread:

On Thu Jul 18 2002 - 06:12:02 Alan Cox wrote :
 
> On Thu, 2002-07-18 at 13:45, Andrew Halliwell wrote: 
> > The P4B533 has the intel 801DB IDE controller (stated as supported in rc1) 
> > but in every 2.4 kernel I've seen so far, this appears in the bootup. 
> > 
> > Uniform Multi-Platform E-IDE driver Revision: 6.31 
> > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx 
> > PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=24cb 
> > PCI: Device 00:1f.1 not available because of resource collisions 
> > PCI_IDE: (ide_setup_pci_device:) Could not enable device 
> 
> Blame your BIOS vendor 
> The -ac tree has workarounds for the BIOS forgetting to set up the chip. 
> Let me know if rc1-ac7 works for you 

Hi, I have this motherboard and the same problem, I've naively looked for the string
in the kernel sources and commented the line, and it works fine (hdparm can make
the driver use DMA again, no corruption after applying this patch on successive
kernels for months)

The test must be here for a reason, I'm just saying it works in my case if some
people need a workaround.

Alain



--- linux-2.4.20-rc3/arch/i386/kernel/pci-i386.c.orig   2002-11-28 20:42:57.000000000 +0100
+++ linux-2.4.20-rc3/arch/i386/kernel/pci-i386.c        2002-11-28 20:44:05.000000000 +0100
@@ -315,7 +315,8 @@
                r = &dev->resource[idx];
                if (!r->start && r->end) {
                        printk(KERN_ERR "PCI: Device %s not available because of resource collisions
\n", dev->slot_name);
-                       return -EINVAL;
+                       printk(KERN_ERR "  MY FIX : IGNORE PREVIOUS ERROR\n");
+                       //                      return -EINVAL;
                }
                if (r->flags & IORESOURCE_IO)
                        cmd |= PCI_COMMAND_IO;


The exact warning is :

kernel: PCI: Device 00:1f.1 not available because of resource collisions

And the lspci output in case you're interested :

:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corp.: Unknown device 24c2 (rev 01)
00:1d.1 USB Controller: Intel Corp.: Unknown device 24c4 (rev 01)
00:1d.2 USB Controller: Intel Corp.: Unknown device 24c7 (rev 01)
00:1d.7 USB Controller: Intel Corp.: Unknown device 24cd (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 24c0 (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01)         <----------------------------
01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti500] (rev a3)
02:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
02:0a.0 SCSI storage controller: LSI Logic / Symbios Logic (formerly NCR) 53c810 (rev 11)
02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)

             reply	other threads:[~2002-11-29  0:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29  0:44 Alain Tesio [this message]
2002-11-28 22:17 ` Marcelo Tosatti
2002-11-29  4:09 ` Asus P4B533 and resource conflict on IDE (P4PE also) Ian Morgan
2002-11-29 14:43   ` Alan Cox
2002-11-29 14:15     ` Ian Morgan
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 12:45 Asus P4B533 and resource conflict on IDE Andrew Halliwell
2002-07-18 14:12 ` Alan Cox

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=20021129014416.54940079.alain@onesite.org \
    --to=alain@onesite.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

all inboxes | Powered by JetHome®