public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.4.9 (and 2.4.8-ac{11,12}) IDE brokenness (and workaround for non-PDC20268R chipsets)
@ 2001-08-27 18:50 Zygo Blaxell
  0 siblings, 0 replies; only message in thread
From: Zygo Blaxell @ 2001-08-27 18:50 UTC (permalink / raw)
  To: linux-kernel

On some machines running 2.4.9 and 2.4.8-ac1[12], I get an unending stream of these:

	Aug 27 14:46:39 kasumi kernel: hdh: status error: status=0x58 { DriveReady SeekComplete DataRequest }
	Aug 27 14:46:39 kasumi kernel: hdh: drive not ready for command
	Aug 27 14:46:45 kasumi kernel: hdf: status error: status=0x58 { DriveReady SeekComplete DataRequest }
	Aug 27 14:46:45 kasumi kernel: hdf: drive not ready for command
	Aug 27 14:46:45 kasumi kernel: hdh: status error: status=0x58 { DriveReady SeekComplete DataRequest }
	Aug 27 14:46:45 kasumi kernel: hdh: drive not ready for command

This only seems to happen to some drives or drive/controller combinations.
For disks on PIIX controllers, sometimes the DMA doesn't get turned on at
startup.  A simple 'hdparm -d1 /dev/hdc' can fix this.

Unfortunately, this is what happens on a Promise Fasttrak 100 TX2 (PCI device
ID 0x6268):

	root@kasumi:~# hdparm -d1 /dev/hde

	/dev/hde:
	 setting using_dma to 1 (on)
	 HDIO_SET_DMA failed: Operation not permitted
	 using_dma    =  0 (off)

	root@kasumi:~# cat /proc/ide/pdc202xx

					PDC202XX Chipset.
	------------------------------- General Status ---------------------------------
	Burst Mode                           : enabled
	Host Mode                            : Tri-Stated
	Bus Clocking                         : 100 External
	IO pad select                        : 10 mA
	Status Polling Period                : 15
	Interrupt Check Status Polling Delay : 15
	--------------- Primary Channel ---------------- Secondary Channel -------------
			enabled                          enabled
	66 Clocking     enabled                          enabled
		   Mode MASTER                      Mode MASTER
			Error                            Error
	--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------
	DMA enabled:    no               no              no                no
	DMA Mode:       PIO---           PIO---          PIO---            PIO---
	PIO Mode:       PIO ?            PIO ?           PIO ?            PIO ?


The drives function perfectly (as far as I can tell, anyway) when I
use a hacked version of 2.4.6 which simply uses the PDC20268 driver
(PCI id 0x4d68) on my PDC20268R card (PCI id 0x6268).

-- 
Zygo Blaxell (Laptop) <zblaxell@feedme.hungrycats.org>
GPG = D13D 6651 F446 9787 600B AD1E CCF3 6F93 2823 44AD

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-27 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27 18:50 Linux 2.4.9 (and 2.4.8-ac{11,12}) IDE brokenness (and workaround for non-PDC20268R chipsets) Zygo Blaxell

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