linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
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?!
Complain to your BIOS vendor
A workaround for this BIOS flaw will be in the -ac tree in a week or so
Re: linux 2.4.19-rc1 i845e workaround udma fix
Quoted 3 lines · Alan Cox
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
Re: linux 2.4.19-rc1 i845e workaround udma fix
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
Quoted 37 lines · Gunther Mayer
Quoted 3 lines · Alan Cox
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.cSat Jun 29 20:39:05
2002
+++linux/arch/i386/kernel/pci-i386.cSat Jun 29 20:37:25 2002(quoted diff) +2
-2@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
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" <[email protected]>
To: "Nick Evgeniev" <[email protected]>
Cc: <[email protected]>
Sent: Saturday, June 29, 2002 6:32 AM
Subject: Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
Quoted 5 lines
Complain to your BIOS vendor
A workaround for this BIOS flaw will be in the -ac tree in a week or so
Quoted 4 lines · Nick Evgeniev
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
Signature · 2 lines
| Dave Jones. http://www.codemonkey.org.uk | SuSE Labs
No it has everything to do with determining if the HBA is in compatablity or native mode and if the device is properly enabled.
Quoted 7 lines · Dave Jones
Quoted 4 lines · Nick Evgeniev
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.
Quoted 16 lines
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
Signature · 7 lines
| 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 [email protected] 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
Well, anyway, 2.4.19-pre10-ac2 works for me :)
Quoted 8 lines
No it has everything to do with determining if the HBA is in compatablity or native mode and if the device is properly enabled.
Quoted 3 lines · Dave Jones
Quoted 1 line · Nick Evgeniev
Why are you so assure? It's "msi 845e Max" with LAN on-board mb
with
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
_latest_ BIOS installed....
Just FYI 2.4.18 was even unable to run eepro100 driver on it while
intels
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
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)
Quoted 7 lines
Quoted 7 lines
Dave
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
Quoted 14 lines
Quoted 4 lines
the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Does it work in 2.5 ?
Quoted 21 lines · Nick Evgeniev
Well, anyway, 2.4.19-pre10-ac2 works for me :)
Quoted 8 lines
No it has everything to do with determining if the HBA is in compatablity or native mode and if the device is properly enabled.
Quoted 3 lines · Dave Jones
Quoted 1 line · Nick Evgeniev
Why are you so assure? It's "msi 845e Max" with LAN on-board mb
with
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
_latest_ BIOS installed....
Just FYI 2.4.18 was even unable to run eepro100 driver on it whileintels
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
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)
Quoted 23 lines
Quoted 7 lines
Quoted 7 lines
Dave
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"in
Quoted 14 lines
Quoted 4 lines
the body of a message to [email protected]
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 [email protected]
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
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" <[email protected]>
To: "Nick Evgeniev" <[email protected]>
Cc: "Dave Jones" <[email protected]>; "Alan Cox" <[email protected]>; <[email protected]>
Sent: Saturday, July 06, 2002 4:25 AM
Subject: Re: linnux 2.4.19-rc1 i845e ide not detected. dma doesn't work
Quoted 9 lines
Does it work in 2.5 ?
Quoted 3 lines · Nick Evgeniev
Well, anyway, 2.4.19-pre10-ac2 works for me :)
Quoted 1 line
No it has everything to do with determining if the HBA is in
compatablity
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
or native mode and if the device is properly enabled.
Quoted 3 lines · Dave Jones
Quoted 1 line · Nick Evgeniev
Why are you so assure? It's "msi 845e Max" with LAN on-board
mb
Quoted 3 lines
Quoted 3 lines
with
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
_latest_ BIOS installed....
Just FYI 2.4.18 was even unable to run eepro100 driver on it
while
Quoted 8 lines
Quoted 8 lines
intels
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
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)
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Dave
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe
linux-kernel"
Quoted 11 lines
Quoted 11 lines
in
Quoted 10 lines
Quoted 4 lines
the body of a message to [email protected]
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
Quoted 10 lines
Quoted 5 lines
Quoted 4 lines
the body of a message to [email protected]
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