View previous topic :: View next topic |
Author |
Message |
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Sat May 03, 2003 5:23 am Post subject: Drive fails when placed in DMA mode |
|
|
I started another thread, based off the information in my dd progress thread, since I feel the conversation has revealed another problem entirely.
When I enable DMA on a Maxtor 120GB drive I recently purchased, I cannot access the drive at all. Any attempts fail.
Code: |
p2c2e root # hdparm -tT /dev/hdc
/dev/hdc
Timing buffer-cache reads: 128MB in 0.66 seconds = 193.94 MB/sec
Timing buffered disk reads: 64MB in 16.79 seconds = 3.81 MB/sec
p2c2e root # hdparm -d1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
using_dma = 1 (on)
p2c2e root # hdparm -tT /dev/hdc
/dev/hdc:
_
|
As you can see, the drive is testable before I enable DMA. Once I do, however, the test simply continues with the blinking cursor (here the underline). It never continues beyond this point. I cannot ctrl+c the hdparm test, nor can I kill it from another root console.
When I shutdown -h now the machine, I am left at:
flushing ide devices: hda hdb hdc _ where, again, the cursor is left blinking, and the system never shuts down properly.
This is a completely new drive, fresh out of the box, with nothing on it. What have I done wrong? _________________ s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi
Don't blame me. I didn't vote for him.
http://john.simplykiwi.com |
|
Back to top |
|
|
antik Apprentice
Joined: 01 Oct 2002 Posts: 212
|
Posted: Sat May 03, 2003 8:10 am Post subject: Re: Drive fails when placed in DMA mode |
|
|
OdinsDream wrote: | I started another thread, based off the information in my dd progress thread, since I feel the conversation has revealed another problem entirely.
When I enable DMA on a Maxtor 120GB drive I recently purchased, I cannot access the drive at all. Any attempts fail.
Code: |
p2c2e root # hdparm -tT /dev/hdc
/dev/hdc
Timing buffer-cache reads: 128MB in 0.66 seconds = 193.94 MB/sec
Timing buffered disk reads: 64MB in 16.79 seconds = 3.81 MB/sec
p2c2e root # hdparm -d1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
using_dma = 1 (on)
p2c2e root # hdparm -tT /dev/hdc
/dev/hdc:
_
|
As you can see, the drive is testable before I enable DMA. Once I do, however, the test simply continues with the blinking cursor (here the underline). It never continues beyond this point. I cannot ctrl+c the hdparm test, nor can I kill it from another root console.
When I shutdown -h now the machine, I am left at:
flushing ide devices: hda hdb hdc _ where, again, the cursor is left blinking, and the system never shuts down properly.
This is a completely new drive, fresh out of the box, with nothing on it. What have I done wrong? |
This is some kind of compatibility problem with your motherboard. Try update bios. Is there dma66 ide-cable installed?
You hdd shows extremely slow buffered disk reads
My hdd 4200rpm 2,5" 20GB hitachi reads about 7MB/s without dma. _________________ "Yes, I know Linux runs faster, but they can do that because they have thrown out the weight of the airbag, collision frame and safety belt." —Poul-Henning Kamp |
|
Back to top |
|
|
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Sat May 03, 2003 7:20 pm Post subject: |
|
|
Alright, I now tested the drive as Primary Slave, and it works as expected. hdparm is able to both set DMA, and then test speeds afterwards:
Code: |
/dev/hdb
Timing buffer-cache reads: 128 MB in 0.69 seconds = 186.59 MB/sec
Timing buffered disk reads: 64 MB in 10.91 seconds = 5.87 MB/sec
|
I am not sure what's wrong with my secondary IDE channel. I am going to try replacing the cable, although the cable is fairly new, and has given me no trouble with my cdrom drives...
... any other options? _________________ s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi
Don't blame me. I didn't vote for him.
http://john.simplykiwi.com |
|
Back to top |
|
|
antik Apprentice
Joined: 01 Oct 2002 Posts: 212
|
Posted: Sat May 03, 2003 10:26 pm Post subject: |
|
|
OdinsDream wrote: | Alright, I now tested the drive as Primary Slave, and it works as expected. hdparm is able to both set DMA, and then test speeds afterwards:
Code: |
/dev/hdb
Timing buffer-cache reads: 128 MB in 0.69 seconds = 186.59 MB/sec
Timing buffered disk reads: 64 MB in 10.91 seconds = 5.87 MB/sec
|
I am not sure what's wrong with my secondary IDE channel. I am going to try replacing the cable, although the cable is fairly new, and has given me no trouble with my cdrom drives...
... any other options? |
Here is my server P!!!-550MHz, Chaintech 6BTM mobo, 256MB ram
Maxtor 40G 7200rpm
Code: | hdparm /dev/hda:
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4982/255/63, sectors = 80043264, start = 0 |
Code: | root@kivi:~# hdparm -tT /dev/hda
Timing buffer-cache reads: 128 MB in 0.97 seconds =131.96 MB/sec
Timing buffered disk reads: 64 MB in 2.34 seconds = 27.35 MB/sec |
And this is udma33 40wire cable!
suggestions:
1. Change to max 40cm long cable.
2. If there is rounded cable throw it away.
3. by some decent motherboard.
4. test with another hdd- maybe yours is defective. _________________ "Yes, I know Linux runs faster, but they can do that because they have thrown out the weight of the airbag, collision frame and safety belt." —Poul-Henning Kamp |
|
Back to top |
|
|
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Sat May 03, 2003 11:01 pm Post subject: |
|
|
antik wrote: | OdinsDream wrote: | Alright, I now tested the drive as Primary Slave, and it works as expected. hdparm is able to both set DMA, and then test speeds afterwards:
Code: |
/dev/hdb
Timing buffer-cache reads: 128 MB in 0.69 seconds = 186.59 MB/sec
Timing buffered disk reads: 64 MB in 10.91 seconds = 5.87 MB/sec
|
I am not sure what's wrong with my secondary IDE channel. I am going to try replacing the cable, although the cable is fairly new, and has given me no trouble with my cdrom drives...
... any other options? |
Here is my server P!!!-550MHz, Chaintech 6BTM mobo, 256MB ram
Maxtor 40G 7200rpm
Code: | hdparm /dev/hda:
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4982/255/63, sectors = 80043264, start = 0 |
Code: | root@kivi:~# hdparm -tT /dev/hda
Timing buffer-cache reads: 128 MB in 0.97 seconds =131.96 MB/sec
Timing buffered disk reads: 64 MB in 2.34 seconds = 27.35 MB/sec |
And this is udma33 40wire cable!
suggestions:
1. Change to max 40cm long cable.
2. If there is rounded cable throw it away.
3. by some decent motherboard.
4. test with another hdd- maybe yours is defective. |
1. My cables are all short, standard ribbon cable. They're the newer kind, with twice as many wires, each wire much thinner.
3. My motherboard is an IWill KA-266Plus, Athlon 1.2GHz, not overclocked. Standard RAM timings in the BIOS.
I flashed the BIOS today, in hopes of fixing the problem. Is there anything I can run to test the drive, to see if it is, indeed, defective? I literally just bought the thing. _________________ s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi
Don't blame me. I didn't vote for him.
http://john.simplykiwi.com |
|
Back to top |
|
|
antik Apprentice
Joined: 01 Oct 2002 Posts: 212
|
Posted: Sat May 03, 2003 11:18 pm Post subject: |
|
|
OdinsDream wrote: |
I flashed the BIOS today, in hopes of fixing the problem. Is there anything I can run to test the drive, to see if it is, indeed, defective? I literally just bought the thing. |
Check drive manufacturer site for test software- almost all of them uses Ontrack soft. _________________ "Yes, I know Linux runs faster, but they can do that because they have thrown out the weight of the airbag, collision frame and safety belt." —Poul-Henning Kamp |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Sun May 04, 2003 8:01 pm Post subject: |
|
|
Moved from Portage & Programming. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|