public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IDE-DMA woes
@ 2001-12-07 23:30 Ishan Oshadi Jayawardena
  2001-12-07 16:31 ` Gerald Britton
  0 siblings, 1 reply; 10+ messages in thread
From: Ishan Oshadi Jayawardena @ 2001-12-07 23:30 UTC (permalink / raw)
  To: lkml

Greetings.
	I run Linux on an IBM PC300GL with Intel's
82371AB PIIX4 chipset. With DMA enabled (by doing a
hdparm -d1 /dev/hda) on the hdd, I
_sometimes_ get the following message from the kernel
after resuming from APM standby mode:

ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: status error: status=0x59 { DriveReady SeekComplete DataRequest
Error }
hda: status error: error=0x84 { DriveStatusError BadCRC }
hda: drive not ready for command

then the drive stalls for a few seconds, and the driver
disables DMA. This behaviour doesn't seem to depend on the
kernel version (current: 2.4.14; error seen with 2.2 series also.)
The weird thing is that this is not reliably reproducable; most of
the time the system goes to apm standby (not suspend) and resumes fine.

Other (possibly relevent) boot-time messages (in order
of appearance):

IBM machine detected. Enabling interrupts during APM calls.
kernel: PIIX4: IDE controller on PCI bus 00 dev 11
PIIX4: chipset revision 1
PIIX4: not 100%% native mode: will probe irqs later
ide0: BM-DMA at 0xfff0-0xfff7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfff8-0xffff, BIOS settings: hdc:DMA, hdd:pio
hda: QUANTUM FIREBALL EX3.2A, ATA DISK drive
hdc: SONY CD-ROM CDU5221, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <Pine.LNX.4.33.0112071247050.6985-100000@coffee.psychology.mcmaster.ca>]

end of thread, other threads:[~2001-12-10  8:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-07 23:30 IDE-DMA woes Ishan Oshadi Jayawardena
2001-12-07 16:31 ` Gerald Britton
2001-12-08 19:47   ` Ishan Oshadi Jayawardena
2001-12-08 21:09   ` Andre Hedrick
2001-12-08 21:56     ` Jacob Luna Lundberg
2001-12-08 22:11       ` François Cami
2001-12-08 22:25         ` J Sloan
2001-12-09  1:08           ` Simon Turvey
2001-12-10  8:31             ` Andre Hedrick
     [not found] <Pine.LNX.4.33.0112071247050.6985-100000@coffee.psychology.mcmaster.ca>
2001-12-08 19:47 ` Ishan Oshadi Jayawardena

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