All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Flory <sflory@rackable.com>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: 2.4.19pres and IDE DMA
Date: Thu, 02 May 2002 13:41:13 -0700	[thread overview]
Message-ID: <3CD1A469.9040605@rackable.com> (raw)

  I'm having issues with a Tyan 2720 and post 2.4.18 boards with a 
Maxtor 4G120J6.  Under 2.4.18 I can turn on dma via "hdparm -d 1". 
 Under 2.4.19pre7 I get "HDIO_SET_DMA fail ed: Operation not permitted". 
 On a side note the same thing occurs with the RH 2.4.18-0.13 kernel. 
 It appears both kernels merged an ide update from the ac kernel line.

PS-There is also some issue with a resource conflict that occurs under 
every kernel I've tried.


2.4.18:
bash-2.05# hdparm -d 1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 using_dma    =  1 (on)
bash-2.05# hdparm -d /dev/hda

/dev/hda:
 using_dma    =  1 (on)
bash-2.05#

2.4.19pre7

root@dev30> /sbin/hdparm /dev/hda

/dev/hda:
multcount    = 16 (on)
I/O support  =  0 (default 16-bit)
unmaskirq    =  0 (off)
using_dma    =  0 (off)
keepsettings =  0 (off)
nowerr       =  0 (off)
readonly     =  0 (off)
readahead    =  8 (on)
geometry     = 238216/255/63, sectors = 240121728, start = 0
busstate     =  1 (on)

root@dev30> /sbin/hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA fail ed: Operation not permitted
using_dma    =  0 (off)


lspci strangeness: (both 2.4.19pre7, and 2.4.18)

00:1f.1 IDE interface: Intel Corporation: Unknown device 248b (rev 02) 
(prog-if
8a [Master SecP PriP])
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at <unassigned> [size=8]
        I/O ports at <unassigned> [size=4]
        I/O ports at <unassigned> [size=8]
        I/O ports at <unassigned> [size=4]
        I/O ports at ffa0 [size=16]
        Memory at 40000000 (32-bit, non-prefetchable) [disabled] [size=1K]

IDE intialization error: (both 2.4.19pre7, and 2.4.18)

PCI_IDE: unknown IDE controller on PCI bus 00 device f9,VID=8086,DID=248b
PCI: Device 00:1f.1 not available because of resource collision
PCI_IDE: (ide_setup_pci_device:) Could not enable device.






             reply	other threads:[~2002-05-02 20:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-02 20:41 Samuel Flory [this message]
2002-05-02 21:21 ` 2.4.19pres and IDE DMA Kjartan Maraas
2002-05-03  0:02   ` Andre Hedrick
2002-05-03  5:52     ` Kjartan Maraas
2002-05-03  6:59       ` Andre Hedrick
2002-05-02 21:25 ` Alan Cox
2002-05-03  0:00   ` 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=3CD1A469.9040605@rackable.com \
    --to=sflory@rackable.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.