How to use hdparm on Feisty's sda?

Asked by Uqbar

In previous versione (Edgy) I used to tune my HD /dev/hda with hdparm.
Now with Feisty my very same HD has been used for SCSI emulation as /dev/sda.
The very same arguments of hdparm don't work anymore on /dev/sda and /dev/hda is not available anymore.
Is there a way to use hdparm in the old way?
Many thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ralph Janke
Solved:
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for your question.

What arguments don't work anymore? What error message do you get?

sudo hdparm -i /dev/sda1

works for me without problems with my IDE drive that is emulated on /etc/sda1

Thanks

Revision history for this message
Uqbar (uqbar) said :
#2

The

sudo hdparm -i /dev/sda

of course works for me as it is supposed to read (inspect) parameters.
What seems not to work anymore is writing new parameters.
Here there are the two cases:

root@v6j:/etc# hdparm -c 1 /dev/sda

/dev/sda:
 setting 32-bit IO_support flag to 1
 HDIO_SET_32BIT failed: Invalid argument
 IO_support = 0 (default 16-bit)

root@v6j:/etc# hdparm -m 16 /dev/sda

/dev/sda:
 setting multcount to 16
 HDIO_SET_MULTCOUNT failed: Inappropriate ioctl for device
 HDIO_GET_MULTCOUNT failed: Inappropriate ioctl for device

Previously I was able to set both on the very same hardware.

Thanks again.

Revision history for this message
Ralph Janke (txwikinger) said :
#3

Am I right that your problem is identical to this bug: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/96693

Revision history for this message
Uqbar (uqbar) said :
#4

It could be the same problem.
I have read the whole thread and there is a post that actually shows my very same problem.
But since the last posting there's no news about the bug. I've "subscribed" to it and will wait.
Thanks for infos. You can mark this request as "closed".

Revision history for this message
Best Ralph Janke (txwikinger) said :
#5

I have linked the question to the bug, however, I cannot close it, you have to mark it solved.

Thanks

Revision history for this message
Uqbar (uqbar) said :
#6

Thanks Ralph Janke, that solved my question.