Skip to contentSkip to conversation

2.4.19pres and IDE DMA

DISCUSSION Samuel Flory 4 participants 7 messages May 2, 2002 – May 3, 2002

lore
Share & tools
lore
#0 lore 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.

#1 lore raw
Quoted 3 lines

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

Quoted 2 lines

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

Yep. Your BIOS didnt assign them.

#2 lore raw

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

Quoted 16 lines · Alan Cox
Quoted 3 lines

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

Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Samuel Flory

tor, 2002-05-02 kl. 22:41 skrev Samuel Flory:

Quoted 8 lines

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

#4 lore raw

Kjartan,

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

Quoted 14 lines · Kjartan Maraas

tor, 2002-05-02 kl. 22:41 skrev Samuel Flory:

Quoted 8 lines

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/

Quoted 9 lines

Cheers
Kjartan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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

#5 lore raw

fre, 2002-05-03 kl. 02:02 skrev Andre Hedrick:

Quoted 4 lines

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

#6 lore raw

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

Cheers,

Quoted 9 lines · Kjartan Maraas

fre, 2002-05-03 kl. 02:02 skrev Andre Hedrick:

Quoted 4 lines

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. :)

Quoted 9 lines

Cheers
Kjartan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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