Skip to contentSkip to conversation

2.5.75 : cannot set dma mode on ide disks

DISCUSSION Jean-Luc 2 participants 3 messages Jul 13, 2003

lore
Share & tools
lore

Jean-Luc

author
#0 lore raw

Hi,

This is part of dmesg :
...
Journalled Block Device driver loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: QUANTUM FIREBALLP LM30, ATA DISK drive
hdb: WDC WD400BB-00DEA0, ATA DISK drive
hdc: GoldStar CD-RW CED-8083B, ATAPI CD/DVD-ROM drive
hdd: CREATIVECD3621E, ATAPI CD/DVD-ROM drive anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: host protected area => 1
hda: 58633344 sectors (30020 MB) w/1900KiB Cache, CHS=58168/16/63
hda: hda1 hda2 hda3 hda4
hdb: max request size: 128KiB
hdb: host protected area => 1
hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
hdb: hdb1
...

When I try to set dma on on either of the disks, I get the following:
[root@debian-f5ibh] ~ # hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

[I'm not on the list, please cc to me]

---
Regards
Jean-Luc

#1 lore raw

You've forgot to compile in driver for your IDE chipset.

--
Bartlomiej

Quoted 39 lines · Jean-Luc

Hi,

This is part of dmesg :
...
Journalled Block Device driver loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: QUANTUM FIREBALLP LM30, ATA DISK drive
hdb: WDC WD400BB-00DEA0, ATA DISK drive
hdc: GoldStar CD-RW CED-8083B, ATAPI CD/DVD-ROM drive
hdd: CREATIVECD3621E, ATAPI CD/DVD-ROM drive anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: host protected area => 1
hda: 58633344 sectors (30020 MB) w/1900KiB Cache, CHS=58168/16/63
hda: hda1 hda2 hda3 hda4
hdb: max request size: 128KiB
hdb: host protected area => 1
hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
hdb: hdb1
...

When I try to set dma on on either of the disks, I get the following:
[root@debian-f5ibh] ~ # hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

[I'm not on the list, please cc to me]

---
Regards
Jean-Luc

author
#2 lore raw

Bartlomiej,

Ok, thank you. I had just some difficulties to figure out were was hidden the chipset choice during the configuration process...

---
Regards
Jean-Luc

Quoted 57 lines · Bartlomiej Zolnierkiewicz

You've forgot to compile in driver for your IDE chipset.

--
Bartlomiej

Quoted 25 lines · Jean-Luc

Hi,

This is part of dmesg :
...
Journalled Block Device driver loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: QUANTUM FIREBALLP LM30, ATA DISK drive
hdb: WDC WD400BB-00DEA0, ATA DISK drive
hdc: GoldStar CD-RW CED-8083B, ATAPI CD/DVD-ROM drive
hdd: CREATIVECD3621E, ATAPI CD/DVD-ROM drive anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: host protected area => 1
hda: 58633344 sectors (30020 MB) w/1900KiB Cache, CHS=58168/16/63
hda: hda1 hda2 hda3 hda4
hdb: max request size: 128KiB
hdb: host protected area => 1
hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
hdb: hdb1
...

Quoted 1 line

When I try to set dma on on either of the disks, I get the

following:

Quoted 8 lines

[root@debian-f5ibh] ~ # hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

Quoted 5 lines

[I'm not on the list, please cc to me]

---
Regards
Jean-Luc

-
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/