LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problems with harddrive and xfree86 (https://www.linuxquestions.org/questions/linux-general-1/problems-with-harddrive-and-xfree86-3020/)

Stimm 06-02-2001 01:21 AM

Hello,
I have two questions....
the first problem im having is with my harddrive, I have a ATA100 15gb harddrive. In the past when i would run hdparm -t /dev/hda I would get 64 MB in 1.83 seconds = 34.97 MB/sec, when i had DMA enabled.(hdparm -d1 -X68 /dev/hda).
now when I run hdparm -d1 -X68 /dev/hda i get a weird error
"hdparm -d1 -X68 /dev/hda

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

in the past it would work perfectly
and now when i run hdparm -t i get
hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 64 MB in 21.82 seconds = 2.93 MB/sec


THIS IS A HUGE DIFFERENCE!!

I am running redhat 6.2 and using kernel 2.4.5.
Also everyonce in a while my computer will freeze and I will get this weird error:

ide2 reset timed-out, status=0x80
hda: status timeout status=0x80 {busy}

and I would have to shut down my computer,
then it would make me run fsck...


Does anyone know why this is happening?
Also:
My second question is:
I have xfree86 4.0.3
I want to set my monitor for a res of 1600x1200
how do I do this? everytime I run xf86config I have problems, is there another way to set this? thanks
Stimm

mcleodnine 06-02-2001 08:16 AM

Did you rebuild a kernel recently?
Did you include the directives for your drive controller?

Something is flakey somewhere if you are getting block device errors like these.
ide2 reset timed-out, status=0x80
hda: status timeout status=0x80 {busy}
What hardware do you have attached to the IDE bus?

Solve your IDE timed-out problems before you even think about starting up DMA.

As far as xfree86 goes... you need to get to know your hardware first. Video card/monitor scan rates are kinda key to setting up nice. A description of the problems can help mere mortals diagnose your setup.

Stimm 06-02-2001 11:20 AM

hey ,
I did rebuild my kernel, I have done it before and it worked fine in the past, even after rebuilding it everything worked fine, it just started happening. I have a HPT370 highpoint controler, and when i rebuilt the kernel I selected the correct module.

I cant figure it out.

(This even happens when I boot into the default kernel)

Also I know my video card and Monitor like the back of my hand:)

Stimm

Stimm 06-02-2001 11:24 AM

hdparm -i /dev/hda

/dev/hda:

Model=IBM-DTLA-307015, FwRev=TX2OA60A, SerialNo=YFEYFMK4504
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
BuffType=3(DualPortCache), BuffSize=1916kB, MaxMultSect=16, MultSect=off
DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=30003120
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 mode2 mode3 mode4 *mode5

I have two of these harddrives but only one is being used, the other one is Unplugged. I dont have anything else on my IDE bus.


All times are GMT -5. The time now is 08:19 AM.