linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
@ 2002-06-29  1:54 Nick Evgeniev
  2002-06-29  2:32 ` Alan Cox
  0 siblings, 1 reply; 11+ messages in thread
From: Nick Evgeniev @ 2002-06-29  1:54 UTC (permalink / raw)
  To: linux-kernel

Hi,

I wrote here about my problems with promise pdc controller in smp
configuration, and I was told that I'm using bad hardware (VIA chipset)
and blah-blah-blah...

Well, I've changed hardware to UP P4 box based on i845e chipset...
Now I've got the following messages on kernel boot, and of cause no DMA
on ide channels (even with hdparm):


Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller on PCI bus 00 dev f9
PCI: Device 00:1f.1 not available because of resource collisions
ICH4: (ide_setup_pci_device:) Could not enable device.

here is lspci output:

00:1f.1 IDE interface: Intel Corp.: Unknown device 24cb (rev 01) (prog-if 8a
+[Master SecP PriP])
        Subsystem: Micro-star International Co Ltd: Unknown device 5661
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
+Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
+<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at <unassigned> [size=8]
        Region 1: I/O ports at <unassigned> [size=4]
        Region 2: I/O ports at <unassigned> [size=8]
        Region 3: I/O ports at <unassigned> [size=4]
        Region 4: I/O ports at fc00 [size=16]
        Region 5: Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

What should I do with my hardware? Through it away? round and around?!




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-06-29  1:54 linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work Nick Evgeniev
@ 2002-06-29  2:32 ` Alan Cox
  2002-06-29 17:45   ` linux 2.4.19-rc1 i845e workaround udma fix Gunther Mayer
  2002-07-01 11:49   ` linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work Nick Evgeniev
  0 siblings, 2 replies; 11+ messages in thread
From: Alan Cox @ 2002-06-29  2:32 UTC (permalink / raw)
  To: Nick Evgeniev; +Cc: linux-kernel

Complain to your BIOS vendor

A workaround for this BIOS flaw will be in the -ac tree in a week or so

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux 2.4.19-rc1 i845e workaround udma fix
  2002-06-29  2:32 ` Alan Cox
@ 2002-06-29 17:45   ` Gunther Mayer
  2002-06-29 19:59     ` Andre Hedrick
  2002-07-01 11:49   ` linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work Nick Evgeniev
  1 sibling, 1 reply; 11+ messages in thread
From: Gunther Mayer @ 2002-06-29 17:45 UTC (permalink / raw)
  To: Alan Cox; +Cc: Nick Evgeniev, linux-kernel

Alan Cox wrote:

> Complain to your BIOS vendor
>
> A workaround for this BIOS flaw will be in the -ac tree in a week or so

Or try this patch today:

--- linux-2.4.19-rc1/arch/i386/kernel/pci-i386.c        Sat Jun 29 20:39:05
2002
+++ linux/arch/i386/kernel/pci-i386.c   Sat Jun 29 20:37:25 2002
@@ -314,8 +314,8 @@
        for(idx=0; idx<6; idx++) {
                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 "PCI: Device %s not available because
of resource collisions on idx=%d %x %x\n",
dev->slot_name,idx,r->start,r->end);
+                       printk("Temporary Workaround for 845E/845G:
ignoring.\n");
                }
                if (r->flags & IORESOURCE_IO)
                        cmd |= PCI_COMMAND_IO;

This increases hdparm -t from 3MB/sec to 41MB/sec.
-
Gunther


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux 2.4.19-rc1 i845e workaround udma fix
  2002-06-29 17:45   ` linux 2.4.19-rc1 i845e workaround udma fix Gunther Mayer
@ 2002-06-29 19:59     ` Andre Hedrick
  0 siblings, 0 replies; 11+ messages in thread
From: Andre Hedrick @ 2002-06-29 19:59 UTC (permalink / raw)
  To: Gunther Mayer; +Cc: Alan Cox, Nick Evgeniev, linux-kernel


Hi Gunther,

That is a nice start to enable the HBA; however, the issue needs to add
full loading of the BARS.  Regardless of the old kludge to only load the
buffered resource values in the kernel, they were never committed to the
hardware.  This is one of the classic cases where Linux diverges from the
direction MicroSoft has pushed hardware to go under the rules of WHQL, and
ends up sucking wind.

The real need is to add in clean Native/Compatablity mode and not leave it
in voodoo land as we (me also) in the past have done.

Cheers,


Andre Hedrick
LAD Storage Consulting Group

On Sat, 29 Jun 2002, Gunther Mayer wrote:

> Alan Cox wrote:
> 
> > Complain to your BIOS vendor
> >
> > A workaround for this BIOS flaw will be in the -ac tree in a week or so
> 
> Or try this patch today:
> 
> --- linux-2.4.19-rc1/arch/i386/kernel/pci-i386.c        Sat Jun 29 20:39:05
> 2002
> +++ linux/arch/i386/kernel/pci-i386.c   Sat Jun 29 20:37:25 2002
> @@ -314,8 +314,8 @@
>         for(idx=0; idx<6; idx++) {
>                 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 "PCI: Device %s not available because
> of resource collisions on idx=%d %x %x\n",
> dev->slot_name,idx,r->start,r->end);
> +                       printk("Temporary Workaround for 845E/845G:
> ignoring.\n");
>                 }
>                 if (r->flags & IORESOURCE_IO)
>                         cmd |= PCI_COMMAND_IO;
> 
> This increases hdparm -t from 3MB/sec to 41MB/sec.
> -
> Gunther
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-06-29  2:32 ` Alan Cox
  2002-06-29 17:45   ` linux 2.4.19-rc1 i845e workaround udma fix Gunther Mayer
@ 2002-07-01 11:49   ` Nick Evgeniev
  2002-07-03 15:28     ` Dave Jones
  1 sibling, 1 reply; 11+ messages in thread
From: Nick Evgeniev @ 2002-07-01 11:49 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

Hi,

    Why are you so assure? It's "msi 845e Max" with LAN on-board mb with
_latest_ BIOS installed....
Just FYI 2.4.18 was even unable to run eepro100 driver on it while intels
e100 driver was working perfectly.

----- Original Message -----
From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
To: "Nick Evgeniev" <nick@octet.spb.ru>
Cc: <linux-kernel@vger.kernel.org>
Sent: Saturday, June 29, 2002 6:32 AM
Subject: Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work


> Complain to your BIOS vendor
>
> A workaround for this BIOS flaw will be in the -ac tree in a week or so
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-07-01 11:49   ` linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work Nick Evgeniev
@ 2002-07-03 15:28     ` Dave Jones
  2002-07-03 19:17       ` Andre Hedrick
  0 siblings, 1 reply; 11+ messages in thread
From: Dave Jones @ 2002-07-03 15:28 UTC (permalink / raw)
  To: Nick Evgeniev; +Cc: Alan Cox, linux-kernel

On Mon, Jul 01, 2002 at 03:49:43PM +0400, Nick Evgeniev wrote:

 >     Why are you so assure? It's "msi 845e Max" with LAN on-board mb with
 > _latest_ BIOS installed....
 > Just FYI 2.4.18 was even unable to run eepro100 driver on it while intels
 > e100 driver was working perfectly.

Could this be related to the pci id clash I pointed out last week?
That id was for an intel IDE device iirc.

(Recap: Two id's don't tally between 2.4/2.5)

        Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-07-03 15:28     ` Dave Jones
@ 2002-07-03 19:17       ` Andre Hedrick
  2002-07-04 13:14         ` Nick Evgeniev
  0 siblings, 1 reply; 11+ messages in thread
From: Andre Hedrick @ 2002-07-03 19:17 UTC (permalink / raw)
  To: Dave Jones; +Cc: Nick Evgeniev, Alan Cox, linux-kernel


No it has everything to do with determining if the HBA is in compatablity
or native mode and if the device is properly enabled.

On Wed, 3 Jul 2002, Dave Jones wrote:

> On Mon, Jul 01, 2002 at 03:49:43PM +0400, Nick Evgeniev wrote:
> 
>  >     Why are you so assure? It's "msi 845e Max" with LAN on-board mb with
>  > _latest_ BIOS installed....
>  > Just FYI 2.4.18 was even unable to run eepro100 driver on it while intels
>  > e100 driver was working perfectly.
> 
> Could this be related to the pci id clash I pointed out last week?
> That id was for an intel IDE device iirc.
> 
> (Recap: Two id's don't tally between 2.4/2.5)
> 
>         Dave
> 
> -- 
> | Dave Jones.        http://www.codemonkey.org.uk
> | SuSE Labs
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

Andre Hedrick
LAD Storage Consulting Group


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-07-03 19:17       ` Andre Hedrick
@ 2002-07-04 13:14         ` Nick Evgeniev
  2002-07-06  0:25           ` Andre Hedrick
  0 siblings, 1 reply; 11+ messages in thread
From: Nick Evgeniev @ 2002-07-04 13:14 UTC (permalink / raw)
  To: Andre Hedrick, Dave Jones; +Cc: Alan Cox, linux-kernel

Well, anyway, 2.4.19-pre10-ac2 works for me :)

> No it has everything to do with determining if the HBA is in compatablity
> or native mode and if the device is properly enabled.
>
> On Wed, 3 Jul 2002, Dave Jones wrote:
>
> > On Mon, Jul 01, 2002 at 03:49:43PM +0400, Nick Evgeniev wrote:
> >
> >  >     Why are you so assure? It's "msi 845e Max" with LAN on-board mb
with
> >  > _latest_ BIOS installed....
> >  > Just FYI 2.4.18 was even unable to run eepro100 driver on it while
intels
> >  > e100 driver was working perfectly.
> >
> > Could this be related to the pci id clash I pointed out last week?
> > That id was for an intel IDE device iirc.
> >
> > (Recap: Two id's don't tally between 2.4/2.5)
> >
> >         Dave
> >
> > --
> > | Dave Jones.        http://www.codemonkey.org.uk
> > | SuSE Labs
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> >
>
> Andre Hedrick
> LAD Storage Consulting Group
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-07-04 13:14         ` Nick Evgeniev
@ 2002-07-06  0:25           ` Andre Hedrick
  2002-07-06 12:41             ` Nick Evgeniev
  0 siblings, 1 reply; 11+ messages in thread
From: Andre Hedrick @ 2002-07-06  0:25 UTC (permalink / raw)
  To: Nick Evgeniev; +Cc: Dave Jones, Alan Cox, linux-kernel


Does it work in 2.5 ?


On Thu, 4 Jul 2002, Nick Evgeniev wrote:

> Well, anyway, 2.4.19-pre10-ac2 works for me :)
> 
> > No it has everything to do with determining if the HBA is in compatablity
> > or native mode and if the device is properly enabled.
> >
> > On Wed, 3 Jul 2002, Dave Jones wrote:
> >
> > > On Mon, Jul 01, 2002 at 03:49:43PM +0400, Nick Evgeniev wrote:
> > >
> > >  >     Why are you so assure? It's "msi 845e Max" with LAN on-board mb
> with
> > >  > _latest_ BIOS installed....
> > >  > Just FYI 2.4.18 was even unable to run eepro100 driver on it while
> intels
> > >  > e100 driver was working perfectly.
> > >
> > > Could this be related to the pci id clash I pointed out last week?
> > > That id was for an intel IDE device iirc.
> > >
> > > (Recap: Two id's don't tally between 2.4/2.5)
> > >
> > >         Dave
> > >
> > > --
> > > | Dave Jones.        http://www.codemonkey.org.uk
> > > | SuSE Labs
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > Please read the FAQ at  http://www.tux.org/lkml/
> > >
> >
> > Andre Hedrick
> > LAD Storage Consulting Group
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> >
> 

Andre Hedrick
LAD Storage Consulting Group


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
  2002-07-06  0:25           ` Andre Hedrick
@ 2002-07-06 12:41             ` Nick Evgeniev
  0 siblings, 0 replies; 11+ messages in thread
From: Nick Evgeniev @ 2002-07-06 12:41 UTC (permalink / raw)
  To: Andre Hedrick; +Cc: Dave Jones, Alan Cox, linux-kernel

I don't know. Actually, I'm trying to setup "production" environment :)) &
i845e (or i845pe) is the only one solution (I don't want to try via+promise
anymore)

----- Original Message -----
From: "Andre Hedrick" <andre@linux-ide.org>
To: "Nick Evgeniev" <nick@octet.spb.ru>
Cc: "Dave Jones" <davej@suse.de>; "Alan Cox" <alan@lxorguk.ukuu.org.uk>;
<linux-kernel@vger.kernel.org>
Sent: Saturday, July 06, 2002 4:25 AM
Subject: Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work


>
> Does it work in 2.5 ?
>
>
> On Thu, 4 Jul 2002, Nick Evgeniev wrote:
>
> > Well, anyway, 2.4.19-pre10-ac2 works for me :)
> >
> > > No it has everything to do with determining if the HBA is in
compatablity
> > > or native mode and if the device is properly enabled.
> > >
> > > On Wed, 3 Jul 2002, Dave Jones wrote:
> > >
> > > > On Mon, Jul 01, 2002 at 03:49:43PM +0400, Nick Evgeniev wrote:
> > > >
> > > >  >     Why are you so assure? It's "msi 845e Max" with LAN on-board
mb
> > with
> > > >  > _latest_ BIOS installed....
> > > >  > Just FYI 2.4.18 was even unable to run eepro100 driver on it
while
> > intels
> > > >  > e100 driver was working perfectly.
> > > >
> > > > Could this be related to the pci id clash I pointed out last week?
> > > > That id was for an intel IDE device iirc.
> > > >
> > > > (Recap: Two id's don't tally between 2.4/2.5)
> > > >
> > > >         Dave
> > > >
> > > > --
> > > > | Dave Jones.        http://www.codemonkey.org.uk
> > > > | SuSE Labs
> > > > -
> > > > To unsubscribe from this list: send the line "unsubscribe
linux-kernel"
> > in
> > > > the body of a message to majordomo@vger.kernel.org
> > > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > > Please read the FAQ at  http://www.tux.org/lkml/
> > > >
> > >
> > > Andre Hedrick
> > > LAD Storage Consulting Group
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe
linux-kernel" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > Please read the FAQ at  http://www.tux.org/lkml/
> > >
> >
>
> Andre Hedrick
> LAD Storage Consulting Group
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
@ 2002-07-06  2:33 Anthony Spinillo
  0 siblings, 0 replies; 11+ messages in thread
From: Anthony Spinillo @ 2002-07-06  2:33 UTC (permalink / raw)
  To: linux-kernel

Andre,

I just fired up 2.5.25. DMA was enabled upon boot on 
my DVD drive and burner. (no IDE hard drive - SCSI)

2.4.19pre10ac2 works for me also.

I also turned in a Bugzilla for Limbo the new RedHat
beta.

Intel 845GBVL motherboard - 845G chipset.

Thanks!

Tony

>Does it work in 2.5 ?


On Thu, 4 Jul 2002, Nick Evgeniev wrote:

>> Well, anyway, 2.4.19-pre10-ac2 works for me :)

-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-07-06 12:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-29  1:54 linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work Nick Evgeniev
2002-06-29  2:32 ` Alan Cox
2002-06-29 17:45   ` linux 2.4.19-rc1 i845e workaround udma fix Gunther Mayer
2002-06-29 19:59     ` Andre Hedrick
2002-07-01 11:49   ` linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work Nick Evgeniev
2002-07-03 15:28     ` Dave Jones
2002-07-03 19:17       ` Andre Hedrick
2002-07-04 13:14         ` Nick Evgeniev
2002-07-06  0:25           ` Andre Hedrick
2002-07-06 12:41             ` Nick Evgeniev
2002-07-06  2:33 Anthony Spinillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).