View previous topic :: View next topic |
Author |
Message |
aka.bugle n00b
Joined: 11 Dec 2006 Posts: 57
|
Posted: Thu May 03, 2007 2:33 pm Post subject: hdparm set on compact flash card |
|
|
hello all,
I'm trying to turn off DMA on a 4 gig compact flash card thats installed in a IDE/CF adapter...
The adapter is plugged in to the ribbon cable that normally goes to the CD reader and power from the cable that normally powers the 1.44 floppy. The PC's bios recognizes the card fine and I can see the card at /dev/hdc.
I need to turn off DMA for a special write to the drive w/ DD, but I get the following error when issueing command
hdparm -d0 /dev/hdc
Code: | hdparm -d0 /dev/hdc
/dev/hdc:
setting using_dma to 0 (off)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
|
does this mean that DMA was never on? or... that it failed to turn it off?
IS there a kernel option I should set? or should I set a DMA command in grub to turn DMA off on this drive?
This is only a temporary set up to write an image to the compact flash card. |
|
Back to top |
|
|
tboloo Guru
Joined: 20 Jan 2006 Posts: 403 Location: Grodzisq, Poland
|
Posted: Thu May 03, 2007 2:42 pm Post subject: |
|
|
CF cards only supports PIO mode AFAIK, see hdparm -I /dev/hdc to check details. _________________ The clock is ticking, brothers and sisters, counting down to Armageddon. |
|
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
|
|