All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4.19pres and IDE DMA
@ 2002-05-02 20:41 Samuel Flory
  2002-05-02 21:21 ` Kjartan Maraas
  2002-05-02 21:25 ` Alan Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Samuel Flory @ 2002-05-02 20:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

  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.






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

* Re: 2.4.19pres and IDE DMA
  2002-05-02 20:41 2.4.19pres and IDE DMA Samuel Flory
@ 2002-05-02 21:21 ` Kjartan Maraas
  2002-05-03  0:02   ` Andre Hedrick
  2002-05-02 21:25 ` Alan Cox
  1 sibling, 1 reply; 7+ messages in thread
From: Kjartan Maraas @ 2002-05-02 21:21 UTC (permalink / raw)
  To: Samuel Flory; +Cc: linux-kernel, Alan Cox

tor, 2002-05-02 kl. 22:41 skrev Samuel Flory:
>   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.

I had the exact same problem myself with a brand new Compaq N600c
laptop. It was fixed for me by using Andre's patch from
http://linuxdiskcert.org/

Cheers
Kjartan


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

* Re: 2.4.19pres and IDE DMA
  2002-05-02 20:41 2.4.19pres and IDE DMA Samuel Flory
  2002-05-02 21:21 ` Kjartan Maraas
@ 2002-05-02 21:25 ` Alan Cox
  2002-05-03  0:00   ` Andre Hedrick
  1 sibling, 1 reply; 7+ messages in thread
From: Alan Cox @ 2002-05-02 21:25 UTC (permalink / raw)
  To: Samuel Flory; +Cc: linux-kernel, Alan Cox

>   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". 

The BIOS fails to assign the resources

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

Yep. Your BIOS didnt assign them.

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

* Re: 2.4.19pres and IDE DMA
  2002-05-02 21:25 ` Alan Cox
@ 2002-05-03  0:00   ` Andre Hedrick
  0 siblings, 0 replies; 7+ messages in thread
From: Andre Hedrick @ 2002-05-03  0:00 UTC (permalink / raw)
  To: Alan Cox; +Cc: Samuel Flory, linux-kernel


Sorry but it did assign then the XP way, otherwise you would not be able
to use the legacy address.

Andre Hedrick
LAD Storage Consulting Group

On Thu, 2 May 2002, Alan Cox wrote:

> >   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". 
> 
> The BIOS fails to assign the resources
> 
> > PS-There is also some issue with a resource conflict that occurs under 
> > every kernel I've tried.
> 
> Yep. Your BIOS didnt assign them.
> -
> 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/
> 


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

* Re: 2.4.19pres and IDE DMA
  2002-05-02 21:21 ` Kjartan Maraas
@ 2002-05-03  0:02   ` Andre Hedrick
  2002-05-03  5:52     ` Kjartan Maraas
  0 siblings, 1 reply; 7+ messages in thread
From: Andre Hedrick @ 2002-05-03  0:02 UTC (permalink / raw)
  To: Kjartan Maraas; +Cc: Samuel Flory, linux-kernel, Alan Cox


Kjartan,

You used a beta that has been I made general and not specific, but I broke
it :-(.

On 2 May 2002, Kjartan Maraas wrote:

> tor, 2002-05-02 kl. 22:41 skrev Samuel Flory:
> >   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.
> 
> I had the exact same problem myself with a brand new Compaq N600c
> laptop. It was fixed for me by using Andre's patch from
> http://linuxdiskcert.org/
> 
> Cheers
> Kjartan
> 
> -
> 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/
> 

Andre Hedrick
LAD Storage Consulting Group


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

* Re: 2.4.19pres and IDE DMA
  2002-05-03  0:02   ` Andre Hedrick
@ 2002-05-03  5:52     ` Kjartan Maraas
  2002-05-03  6:59       ` Andre Hedrick
  0 siblings, 1 reply; 7+ messages in thread
From: Kjartan Maraas @ 2002-05-03  5:52 UTC (permalink / raw)
  To: Andre Hedrick; +Cc: linux-kernel

fre, 2002-05-03 kl. 02:02 skrev Andre Hedrick:
> Kjartan,
> 
> You used a beta that has been I made general and not specific, but I broke
> it :-(.

Doesn't matter too much. I'm going to wait for signs of fixes for my
XFree/radeon problems before using it much anyway. :)

Cheers
Kjartan


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

* Re: 2.4.19pres and IDE DMA
  2002-05-03  5:52     ` Kjartan Maraas
@ 2002-05-03  6:59       ` Andre Hedrick
  0 siblings, 0 replies; 7+ messages in thread
From: Andre Hedrick @ 2002-05-03  6:59 UTC (permalink / raw)
  To: Kjartan Maraas; +Cc: linux-kernel


Well #9 is up and this one I did verify and boot in various modes.

Cheers,

On 3 May 2002, Kjartan Maraas wrote:

> fre, 2002-05-03 kl. 02:02 skrev Andre Hedrick:
> > Kjartan,
> > 
> > You used a beta that has been I made general and not specific, but I broke
> > it :-(.
> 
> Doesn't matter too much. I'm going to wait for signs of fixes for my
> XFree/radeon problems before using it much anyway. :)
> 
> Cheers
> Kjartan
> 
> -
> 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/
> 

Andre Hedrick
LAD Storage Consulting Group


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

end of thread, other threads:[~2002-05-03  7:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-02 20:41 2.4.19pres and IDE DMA Samuel Flory
2002-05-02 21:21 ` 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

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.