mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.4.19-pre9] DMA not available
@ 2002-05-30 15:24 Pawel Kot
  2002-05-31 14:38 ` Kjartan Maraas
  0 siblings, 1 reply; 3+ messages in thread
From: Pawel Kot @ 2002-05-30 15:24 UTC (permalink / raw)
  To: linux-kernel

Hi,

I can't enable DMA with 2.4.19-pre9 with my Dell laptop:
root@bzzzt:~# hdparm -d 1 /dev/hda

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

dmesg shows the following error:
PIIX4: (ide_setup_pci_device:) Could not enable device.

There were no problems regarding it with 2.4.18 kernel.

Information about the harddisk:
root@bzzzt:~# hdparm -i /dev/hda

/dev/hda:

 Model=HITACHI_DK23CA-30, FwRev=00H0A0G1, SerialNo=11GMEC
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=36477, SectSize=579, ECCbytes=4
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=58605120
 IORDY=yes, tPIO={min:400,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3:  1 2 3 4 5

Other info (all commands executed on 2.4.19-pre9):
kernel config:	http://tfuj.pl/info/.config
lspci -vvv:	http://tfuj.pl/info/lspci
dmesg:		http://tfuj.pl/info/dmesg
/proc/pci:	http://tfuj.pl/info/procpci

Any other info needed?

pkot
-- 
Pawel Kot <pkot@linuxnews.pl>
http://www.gnokii.org/ :: http://www.slackware.pl/
http://kt.linuxnews.pl/ -- Kernel Traffic po polsku


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

* Re: [2.4.19-pre9] DMA not available
  2002-05-30 15:24 [2.4.19-pre9] DMA not available Pawel Kot
@ 2002-05-31 14:38 ` Kjartan Maraas
  2002-05-31 17:10   ` Pawel Kot
  0 siblings, 1 reply; 3+ messages in thread
From: Kjartan Maraas @ 2002-05-31 14:38 UTC (permalink / raw)
  To: linux-kernel

tor, 2002-05-30 kl. 17:24 skrev Pawel Kot:
> Hi,
> 
> I can't enable DMA with 2.4.19-pre9 with my Dell laptop:
> root@bzzzt:~# hdparm -d 1 /dev/hda
> 
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)

This looks like the same problems I had a while back with my Compaq Evo
N600. It was fixed for me by using the patches from
http://linuxdiskcert.org/

Cheers
Kjartan


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

* Re: [2.4.19-pre9] DMA not available
  2002-05-31 14:38 ` Kjartan Maraas
@ 2002-05-31 17:10   ` Pawel Kot
  0 siblings, 0 replies; 3+ messages in thread
From: Pawel Kot @ 2002-05-31 17:10 UTC (permalink / raw)
  To: Kjartan Maraas; +Cc: linux-kernel

On 31 May 2002, Kjartan Maraas wrote:

> tor, 2002-05-30 kl. 17:24 skrev Pawel Kot:
> > Hi,
> >
> > I can't enable DMA with 2.4.19-pre9 with my Dell laptop:
> > root@bzzzt:~# hdparm -d 1 /dev/hda
> >
> > /dev/hda:
> >  setting using_dma to 1 (on)
> >  HDIO_SET_DMA failed: Operation not permitted
> >  using_dma    =  0 (off)
>
> This looks like the same problems I had a while back with my Compaq Evo
> N600. It was fixed for me by using the patches from
> http://linuxdiskcert.org/

Indeed. I applied the patch (with a few modifications to apply against
pre9) and it seems to work correctly so far (at least DMA works). Thanks
for the hint.

pkot
-- 
mailto:pkot@linuxnews.pl :: mailto:pkot@slackware.pl
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku


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

end of thread, other threads:[~2002-05-31 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-30 15:24 [2.4.19-pre9] DMA not available Pawel Kot
2002-05-31 14:38 ` Kjartan Maraas
2002-05-31 17:10   ` Pawel Kot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®