LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2001, 01:21 AM   #1
Stimm
Member
 
Registered: Sep 2000
Location: I live in Williamsville NY, I'm from Lasvegas
Posts: 45

Rep: Reputation: 15

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
 
Old 06-02-2001, 08:16 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 06-02-2001, 11:20 AM   #3
Stimm
Member
 
Registered: Sep 2000
Location: I live in Williamsville NY, I'm from Lasvegas
Posts: 45

Original Poster
Rep: Reputation: 15
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
 
Old 06-02-2001, 11:24 AM   #4
Stimm
Member
 
Registered: Sep 2000
Location: I live in Williamsville NY, I'm from Lasvegas
Posts: 45

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB 2.0 external Harddrive Problems Lars09002 Linux - Hardware 0 05-05-2005 08:45 AM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
Problems with harddrive-installation of SUSE 8.2 Player2 Linux - Newbie 1 09-29-2003 04:09 PM
harddrive detection problems flump Linux - Hardware 10 06-02-2003 11:35 AM
WD Harddrive Problems Allen614 Linux - Hardware 2 04-24-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration