2003-07-13 07:21:53

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: 2.5.75 : cannot set dma mode on ide disks

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


2003-07-13 16:03:11

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: ReĀ : 2.5.75 : cannot set dma mode on ide disks

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

On 13.07.2003 16:38, Bartlomiej Zolnierkiewicz wrote:
>
>
> You've forgot to compile in driver for your IDE chipset.
>
> --
> Bartlomiej
>
> On Sun, 13 Jul 2003, Jean-Luc wrote:
>
> > 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
>
> -
> 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/
>

Subject: Re: 2.5.75 : cannot set dma mode on ide disks



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

--
Bartlomiej

On Sun, 13 Jul 2003, Jean-Luc wrote:

> 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