public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ishan Oshadi Jayawardena <ioshadi@sltnet.lk>
To: Mark Hahn <hahn@physics.mcmaster.ca>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: IDE-DMA woes
Date: Sat, 08 Dec 2001 13:47:19 -0600	[thread overview]
Message-ID: <3C126E47.1DEB8D39@sltnet.lk> (raw)
In-Reply-To: <Pine.LNX.4.33.0112071247050.6985-100000@coffee.psychology.mcmaster.ca>

Mark Hahn wrote:

> > _sometimes_ I get the following message from the kernel
> > after resuming from APM standby mode:
> 
> right, no big surprise there - the bios fails to properly
> restore the ide controller's state.

	Hmmm... I had had some trouble with the BIOS previously;
Specifically, the machine would hang whenever I wanted it to
power-off _or_ reboot (kernel 2.2.16 - 2.2.14 probably had a workaround
which later got dropped). But a BIOS upgrade from IBM fixed that and
some other irrelevent problems; The documentation with the flash didn't
mention anything about DMA (specifically - it may have been hidden in
some fixes said to be necessary for WinNT 5 beta).

> > ide_dmaproc: chipset supported ide_dma_timeout func only: 14
> 
> are you sure this happens near in time to the following?

Yes. and this too:
hda: timeout waiting for DMA
	Just before the message from ide_dmaproc()

> > hda: drive not ready for command
> 
> that's not good.

What does this mean?
 
> > IBM machine detected. Enabling interrupts during APM calls.
> 
> have you tried without this feature?
Not exactly; Some docs I found at the IBM site recommended the user
to configure the kernel to:
(1) Enable APM
(2) Enable PM at boot-time
(3) Enable interrupts during APM BIOS calls.
	It seems that 2.4 kernels detects this and enables interrupts
automatically... I've yet to see what would break if I enable
apm_idled...

Thanks.
		-ioj

       reply	other threads:[~2001-12-08  7:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.33.0112071247050.6985-100000@coffee.psychology.mcmaster.ca>
2001-12-08 19:47 ` Ishan Oshadi Jayawardena [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C126E47.1DEB8D39@sltnet.lk \
    --to=ioshadi@sltnet.lk \
    --cc=hahn@physics.mcmaster.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox