public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: INTEL 845G Chipset IDE Quandry
@ 2002-06-02  1:58 Bartlomiej Zolnierkiewicz
  2002-06-02  5:30 ` FUD or FACTS ?? but a new FLAME! Andre Hedrick
  2002-06-02  6:01 ` INTEL 845G Chipset IDE Quandry Martin Dalecki
  0 siblings, 2 replies; 35+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2002-06-02  1:58 UTC (permalink / raw)
  To: Andre Hedrick; +Cc: Alan Cox, Anthony Spinillo, linux-kernel


> Alan,
>
> This is one of the versions of INTEL which has extra bandwidth if you
> want
> wanted to the async IO.  Meaning the device could be set faster than the
> host when reading from the host.  However when writing to the host the
> device "must" be set to match.  The buffer is not capable of safely
> handling the extra push.
>
> So in 2.4 we will properly time the host, unlike 2.5 which has elected
> to overdrive the hardware.

Only in piix driver (Intel & Efar) and user have to explicitly compile
support for it, it have nothing to do with kernel version and everything
with driver version.

> The effect is the following.  "LINUS are you listening?"
				 ^^^^^^^^^^^^^^^^^^^^^^^^
Andre, you forgot to cc Linus ;)

> Ultra DMA 100 uses 4 data clocks to transfer "X" amount of data.
> Ultra DMA 133 uses 3 data clocks to transfer "X" amount of data.
>
> So if a bad host trys to push the limits, it ends up missing a data
> strobe and the DATA goes away quietly without warning.  NICE!
>
> Maybe now people will understand why 2.5 is falling apart and it is not
> Martin's fault.  He is just getting bad information and bad patches.

Poor Marcin, he is so misinformed by bad people trying to spoil ATA stuff.

Bad patches? Who is the bad guy making the bad patches?
Let me guess, it is Vojtech removing others people copyrighted "sick
timing tables". Or maybe it is Jens doing at least TCQ?
Or maybe it is me... etc.

> He actual has nearly the same model I was working on to use fucntion

It is really funny... but some people read code and know facts...

> pointers in the style of "MiniPort (tm)".  I will explain why this is
> desired later.

in Q4 I guess

> Cheers,

Greets...

> Andre Hedrick
> LAD Storage Consulting Group
>
> PS AntonA, my promise to you to inform Linus of one of the major design
> flaws of 2.5 is now met.

What a nice FUD.
What is this major design flaw? Experimental (on demand) code in piix
driver? Or you no longer being ATA maintainer?

Ok, I really wanted to be quiet, but this time it is too much...
sorry for bad words/irony but that is how things look like...

Some people (me included) are putting much effort in cleaning/improving
all this mess, and you keep spreading FUD and discrediting them.

--
Bartlomiej



^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: INTEL 845G Chipset IDE Quandry
@ 2002-06-03 23:35 Anthony Spinillo
  0 siblings, 0 replies; 35+ messages in thread
From: Anthony Spinillo @ 2002-06-03 23:35 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

I just tried Andre's patch. I applied it on top of 2.4.19pre9-ac3.(Patch attached below.) It pulled me up to DMA. I tested by setting hdparm -d1 /dev/hdc
(my DVD drive) and played a DVD with Xine. It played great!

I do not have an IDE hard drive to test, since my HD is SCSI.

I will try Vojtech's patch next, and report in.

Thanks for all your help! (Andre, Vojtech, JeffN and everyone else.)

Tony


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


Powered by Outblaze

[-- Attachment #2: andre.patch --]
[-- Type: application/octet-stream, Size: 3611 bytes --]

diff -urN linux-2.4.19-p9-ac3-pristine/drivers/ide/ide-pci.c
linux-2.4.19-p9-ac3/drivers/ide/ide-pci.c
--- linux-2.4.19-p9-ac3-pristine/drivers/ide/ide-pci.c	Sun Jun  2
16:49:06 2002
+++ linux-2.4.19-p9-ac3/drivers/ide/ide-pci.c	Sun Jun  2 20:52:49 2002
@@ -47,6 +47,7 @@
 #define DEVID_PIIX4U5	((ide_pci_devid_t){PCI_VENDOR_ID_INTEL,  PCI_DEVICE_ID_INTEL_82801CA_10})
 #define DEVID_PIIX4U6	((ide_pci_devid_t){PCI_VENDOR_ID_INTEL,  PCI_DEVICE_ID_INTEL_82801CA_11})
 #define DEVID_PIIX4U7	((ide_pci_devid_t){PCI_VENDOR_ID_INTEL,  PCI_DEVICE_ID_INTEL_82801E_11})
+#define DEVID_PIIX4U8	((ide_pci_devid_t){PCI_VENDOR_ID_INTEL,  PCI_DEVICE_ID_INTEL_82801DB_11})
 #define DEVID_VIA_IDE	((ide_pci_devid_t){PCI_VENDOR_ID_VIA,	 PCI_DEVICE_ID_VIA_82C561})
 #define DEVID_MR_IDE	((ide_pci_devid_t){PCI_VENDOR_ID_VIA,	 PCI_DEVICE_ID_VIA_82C576_1})
 #define DEVID_VP_IDE	((ide_pci_devid_t){PCI_VENDOR_ID_VIA,	 PCI_DEVICE_ID_VIA_82C586_1})
@@ -438,6 +439,7 @@
	{DEVID_PIIX4U5, "PIIX4",	FIXUP_PIIX,	PCI_PIIX,    ATA66_PIIX,	  INIT_PIIX,	  NULL, 	  {{0x41,0x80,0x80},{0x43,0x80,0x80}},   ON_BOARD,	     0 },
	{DEVID_PIIX4U6, "PIIX4",	FIXUP_PIIX,	PCI_PIIX,    ATA66_PIIX,	  INIT_PIIX,	  NULL, 	  {{0x41,0x80,0x80},{0x43,0x80,0x80}},   ON_BOARD,	     0 },
	{DEVID_PIIX4U7, "PIIX4",	FIXUP_PIIX,	PCI_PIIX,    ATA66_PIIX,	  INIT_PIIX,	  NULL, 	  {{0x41,0x80,0x80},{0x43,0x80,0x80}},   ON_BOARD,	     0 },
+	{DEVID_PIIX4U8, "PIIX4",	FIXUP_PIIX,	PCI_PIIX,    ATA66_PIIX,	  INIT_PIIX,	  NULL, 	  {{0x41,0x80,0x80},{0x43,0x80,0x80}},   ON_BOARD,	     0 },
	{DEVID_VIA_IDE, "VIA_IDE",	NULL,		NULL,	     NULL, 	  NULL, 	  NULL, 	  {{0x00,0x00,0x00},{0x00,0x00,0x00}},   ON_BOARD,	     0 },
	{DEVID_MR_IDE,	"VP_IDE",	NULL,	       PCI_VIA82CXXX,	ATA66_VIA82CXXX,INIT_VIA82CXXX, DMA_VIA82CXXX, {{0x40,0x02,0x02}, {0x40,0x01,0x01}},	ON_BOARD,	0 },
	{DEVID_VP_IDE,	"VP_IDE",	NULL,	       PCI_VIA82CXXX,	ATA66_VIA82CXXX,INIT_VIA82CXXX, DMA_VIA82CXXX, {{0x40,0x02,0x02}, {0x40,0x01,0x01}},	ON_BOARD,	0 },
diff -urN linux-2.4.19-p9-ac3-pristine/drivers/ide/piix.c
linux-2.4.19-p9-ac3/drivers/ide/piix.c
--- linux-2.4.19-p9-ac3-pristine/drivers/ide/piix.c	Sun Jun  2
16:49:06 2002
+++ linux-2.4.19-p9-ac3/drivers/ide/piix.c	Sun Jun  2 20:36:23 2002
@@ -94,6 +94,7 @@
 		case PCI_DEVICE_ID_INTEL_82801CA_10:
 		case PCI_DEVICE_ID_INTEL_82801CA_11:
 		case PCI_DEVICE_ID_INTEL_82801E_11:
+		case PCI_DEVICE_ID_INTEL_82801DB_11:
 			p += sprintf(p, "Intel PIIX4 Ultra 100 Chipset.\n");
 			break;
 		case PCI_DEVICE_ID_INTEL_82372FB_1:
@@ -216,6 +217,7 @@
 		case PCI_DEVICE_ID_INTEL_82801CA_10:
 		case PCI_DEVICE_ID_INTEL_82801CA_11:
 		case PCI_DEVICE_ID_INTEL_82801E_11:
+		case PCI_DEVICE_ID_INTEL_82801DB_11:
 			mode |= 0x03;
 			break;
 		case PCI_DEVICE_ID_INTEL_82801AA_1:
@@ -534,6 +536,7 @@
 		case PCI_DEVICE_ID_INTEL_82801CA_10:
 		case PCI_DEVICE_ID_INTEL_82801CA_11:
 		case PCI_DEVICE_ID_INTEL_82801E_11:
+		case PCI_DEVICE_ID_INTEL_82801DB_11:
 		{
 			unsigned int extra = 0;
 			pci_read_config_dword(dev, 0x54, &extra);
diff -urN linux-2.4.19-p9-ac3-pristine/include/linux/pci_ids.h
linux-2.4.19-p9-ac3/include/linux/pci_ids.h
--- linux-2.4.19-p9-ac3-pristine/include/linux/pci_ids.h	Sun
Jun  2 16:49:17 2002
+++ linux-2.4.19-p9-ac3/include/linux/pci_ids.h Sun Jun  2 20:53:53
2002
@@ -1685,6 +1685,7 @@
 #define PCI_DEVICE_ID_INTEL_82801CA_10	0x248a
 #define PCI_DEVICE_ID_INTEL_82801CA_11	0x248b
 #define PCI_DEVICE_ID_INTEL_82801CA_12	0x248c
+#define PCI_DEVICE_ID_INTEL_82801DB_11	0x24cb
 #define PCI_DEVICE_ID_INTEL_80310	0x530d
 #define PCI_DEVICE_ID_INTEL_82810_MC1	0x7120
 #define PCI_DEVICE_ID_INTEL_82810_IG1	0x7121


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: INTEL 845G Chipset IDE Quandry
@ 2002-06-03  1:04 Anthony Spinillo
  2002-06-03  9:22 ` Vojtech Pavlik
  0 siblings, 1 reply; 35+ messages in thread
From: Anthony Spinillo @ 2002-06-03  1:04 UTC (permalink / raw)
  To: linux-kernel

I fired up 2519 as a test, same resource collision problem.

Tony

----- Original Message -----
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: 	03 Jun 2002 02:13:45 +0100
To: Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: INTEL 845G Chipset IDE Quandry


> On Sun, 2002-06-02 at 22:30, Vojtech Pavlik wrote:
> > On Sun, Jun 02, 2002 at 09:36:35PM +0200, Martin Dalecki wrote:
> > > Anthony Spinillo wrote:
> > > > Back to my original problem, will there be a fix before 2010? ;)
> > > 
> > > Well since you have already tyred yourself to poke at it.
> > > Well please just go ahead and atd an entry to the table
> > > at the end of piix.c which encompasses the device.
> > > Do it by copying over the next familiar one and I would
> > > be really geald if you could just test whatever this
> > > worked. If yes well please send me just the patch and
> > > I will include it.
> > 
> > Note it works with 2.5 already. We have the device there.
> 
> If you look at why it fails it fails not because it isnt in the table
> but because the PCI device has not been allocated resources properly by
> the BIOS
> 
> -
> 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/
> 
> 

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


Powered by Outblaze

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: INTEL 845G Chipset IDE Quandry
@ 2002-06-02 10:16 Anthony Spinillo
  2002-06-02 19:36 ` Martin Dalecki
  0 siblings, 1 reply; 35+ messages in thread
From: Anthony Spinillo @ 2002-06-02 10:16 UTC (permalink / raw)
  To: linux-kernel

Back to my original problem, will there be a fix before 2010? ;)

Tony


Martin Dalecki wrote:

> Of year 2010 - remember learning proper C will take him time.
> Becouse I never ever saw any code contributed by him
> despite the fact that I'm still open for patches, as
> I have told him upon request.
> Once exception was a broken patch which even didn't
> compile and couldn't solve the problem it was
> proclaiming to solve.
> 
> 

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


Powered by Outblaze

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: INTEL 845G Chipset IDE Quandry
@ 2002-06-01 21:43 Anthony Spinillo
  0 siblings, 0 replies; 35+ messages in thread
From: Anthony Spinillo @ 2002-06-01 21:43 UTC (permalink / raw)
  To: linux-kernel

That is a relief. ;) Thanks Andre. 

Tony
> 
> 
> I need to add "24cb" to the list of hosts.
> 
> On Sat, 1 Jun 2002, Anthony Spinillo wrote:
> 
> > I am having trouble enabling DMA on a recently
> > installed motherboard. (Intel D845GBVL - 845g chipset). I am running a fresh RedHat7.3 install 
> > and have tried the stock RH kernel, and I'm up to 2.4.19-pre9. I have a CD burner and DVD drive 
> > attached which operated with DMA on an older 
> > 845 mobo. If I run hdparm -d1 /dev/hd(a or c),
> > I now get:
> > 
> > HDIO_SET_DMA failed: Operation not permitted
> > 
> > Here is a snippet from dmesg:
> > 

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


Powered by Outblaze

^ permalink raw reply	[flat|nested] 35+ messages in thread
* INTEL 845G Chipset IDE Quandry
@ 2002-06-01 11:03 Anthony Spinillo
  2002-06-01 12:40 ` Alan Cox
  2002-06-01 19:53 ` Andre Hedrick
  0 siblings, 2 replies; 35+ messages in thread
From: Anthony Spinillo @ 2002-06-01 11:03 UTC (permalink / raw)
  To: linux-kernel

I am having trouble enabling DMA on a recently
installed motherboard. (Intel D845GBVL - 845g chipset). I am running a fresh RedHat7.3 install 
and have tried the stock RH kernel, and I'm up to 2.4.19-pre9. I have a CD burner and DVD drive 
attached which operated with DMA on an older 
845 mobo. If I run hdparm -d1 /dev/hd(a or c),
I now get:

HDIO_SET_DMA failed: Operation not permitted

Here is a snippet from dmesg:

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.

Here is some lspci

00:00.0 Host bridge: Intel Corp.: Unknown device 2560 (rev 01)
00:01.0 PCI bridge: Intel Corp.: Unknown device 2561 (rev 01)
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: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.: Unknown device 24cb (rev 01)

I followed some recent threads, and tried fixes to similiar problems but I'm still locked out.

Aside from this glitch everything else seems to run fine. Could someone give my a hand? Am I missing something simple, is my bios borked, or do I need a patch to support the newer chipset?

Thanks,

Tony

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


Powered by Outblaze

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

end of thread, other threads:[~2002-06-03 23:35 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-02  1:58 INTEL 845G Chipset IDE Quandry Bartlomiej Zolnierkiewicz
2002-06-02  5:30 ` FUD or FACTS ?? but a new FLAME! Andre Hedrick
2002-06-02 12:11   ` Bartlomiej Zolnierkiewicz
2002-06-02 14:29     ` Alan Cox
2002-06-02 14:25       ` Bartlomiej Zolnierkiewicz
2002-06-02 16:00         ` Alan Cox
2002-06-02 21:14     ` Andre Hedrick
2002-06-02 21:50       ` Bartlomiej Zolnierkiewicz
2002-06-02 21:55         ` Andre Hedrick
2002-06-03  5:36           ` Martin Dalecki
2002-06-03  9:19             ` Vojtech Pavlik
2002-06-03 13:01             ` Bartlomiej Zolnierkiewicz
2002-06-03 12:10               ` Martin Dalecki
2002-06-02  6:01 ` INTEL 845G Chipset IDE Quandry Martin Dalecki
2002-06-03  8:59   ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2002-06-03 23:35 Anthony Spinillo
2002-06-03  1:04 Anthony Spinillo
2002-06-03  9:22 ` Vojtech Pavlik
2002-06-02 10:16 Anthony Spinillo
2002-06-02 19:36 ` Martin Dalecki
2002-06-02 21:30   ` Vojtech Pavlik
2002-06-03  1:13     ` Alan Cox
2002-06-03  8:43       ` Vojtech Pavlik
2002-06-03 11:49       ` Kjartan Maraas
2002-06-03 10:10         ` Andre Hedrick
2002-06-03  4:46     ` Martin Dalecki
2002-06-03  8:47       ` Vojtech Pavlik
2002-06-03  8:04         ` Martin Dalecki
2002-06-03  9:37           ` Vojtech Pavlik
2002-06-03  9:28             ` Martin Dalecki
2002-06-01 21:43 Anthony Spinillo
2002-06-01 11:03 Anthony Spinillo
2002-06-01 12:40 ` Alan Cox
2002-06-01 20:13   ` Andre Hedrick
2002-06-01 19:53 ` Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox