FW: PS/2 mouse lagging

2002-03-27 Thread Panuganty, Ramesh
If you don't find your brand in the kernel configuration, download the
appropriate kernel patches for DMA acceleration written by Andre
Hedrick, from http://www.kernel.org/pub/linux/kernel/people/hedrick/.

Luckily, your kernel version 2.4.17 has a patch available.

-Ramesh

| 
|  blacktop:/home/mandingo# for i in a b; do hdparm -d 1 
|  It won't let me. Do I have to enable something in the kernel?
| 
| Possibly. I had to on my wife's computer. To a dmesg and 
| look for your brand of IDE controller. Make sure said 
| controller is turned on in the kernel. That's what I had to 
| do to get DMA working. 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



PS/2 mouse lagging

2002-03-21 Thread Patrick Lane
Any time there is any hard drive activity, my mouse will freeze up until
the hard drive stops being accessed. This has only happened since I've
downgraded to woody (reformatted). I do not have a slow computer. I'm
running a Athlon 1200, 1 GB of RAM, and UDMA 100 HDDs. I'm also using
kernel 2.4.17. Any ideas?

--Patrick



Re: PS/2 mouse lagging

2002-03-21 Thread Crispin Wellington
On Thu, 2002-03-21 at 15:57, Patrick Lane wrote:
 Any time there is any hard drive activity, my mouse will freeze up until
 the hard drive stops being accessed. This has only happened since I've
 downgraded to woody (reformatted). I do not have a slow computer. I'm
 running a Athlon 1200, 1 GB of RAM, and UDMA 100 HDDs. I'm also using
 kernel 2.4.17. Any ideas?

Try switching on DMA access on your ide bus.

for i in a b c d; do hdparm -d 1 /dev/hd$i; done

Kind Regards
Crispin Wellington



Re: PS/2 mouse lagging

2002-03-21 Thread Patrick Lane

blacktop:/home/mandingo# for i in a b; do hdparm -d 1 /dev/hd$i; done

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

/dev/hdb:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)
blacktop:/home/mandingo# 

It won't let me. Do I have to enable something in the kernel?

On Thu, 2002-03-21 at 00:09, Crispin Wellington wrote:
 On Thu, 2002-03-21 at 15:57, Patrick Lane wrote:
  Any time there is any hard drive activity, my mouse will freeze up until
  the hard drive stops being accessed. This has only happened since I've
  downgraded to woody (reformatted). I do not have a slow computer. I'm
  running a Athlon 1200, 1 GB of RAM, and UDMA 100 HDDs. I'm also using
  kernel 2.4.17. Any ideas?
 
 Try switching on DMA access on your ide bus.
 
 for i in a b c d; do hdparm -d 1 /dev/hd$i; done
 
 Kind Regards
 Crispin Wellington
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 




[Fwd: Re: PS/2 mouse lagging]

2002-03-21 Thread Crispin Wellington
On Thu, 2002-03-21 at 16:38, Patrick Lane wrote:
 
 blacktop:/home/mandingo# for i in a b; do hdparm -d 1 /dev/hd$i; done
 
 /dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)
 
 /dev/hdb:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)
 blacktop:/home/mandingo# 
 
 It won't let me. Do I have to enable something in the kernel?

Um. Generic PCI bus master DMA support should be Y, and to save you
issuing the hdparm you can set Use PCI DMA by default when available.

CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y

Kind Regards
Crispin Wellington




Re: PS/2 mouse lagging

2002-03-21 Thread Simon Hepburn
Patrick Lane wrote:

 blacktop:/home/mandingo# for i in a b; do hdparm -d 1 /dev/hd$i; done

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

 /dev/hdb:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)
 blacktop:/home/mandingo#

 It won't let me. Do I have to enable something in the kernel?

What ATA speed does your mobo support ? What ATA speed is your HDD ? If your 
mobo runs at a lower speed than your disk you may need to go to your disk 
manufacturers website and grab a utility that you can use to force your disk 
to run at the lower speed. I know in theory all these ATA standards are 
supposed to be backwards compatible, but my own experiences tell me otherwise.

Simon Hepburn.



Re: PS/2 mouse lagging

2002-03-21 Thread Michael P. Soulier
On 21/03/02 Patrick Lane did speaketh:

 blacktop:/home/mandingo# for i in a b; do hdparm -d 1 /dev/hd$i; done
 
 /dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)
 
 /dev/hdb:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)
 blacktop:/home/mandingo# 
 
 It won't let me. Do I have to enable something in the kernel?

Possibly. I had to on my wife's computer. To a dmesg and look for your
brand of IDE controller. Make sure said controller is turned on in the kernel.
That's what I had to do to get DMA working. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08
...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort.  -Harley Hahn, A Student's Guide to Unix


pgpYX5m2ZoJu2.pgp
Description: PGP signature