FS#12949 - `hdparm -I' fails in VMware
Attached to Project:
Release Engineering
Opened by Evangelos Foutras (foutrelis) - Saturday, 24 January 2009, 23:20 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Saturday, 14 February 2009, 18:37 GMT
Opened by Evangelos Foutras (foutrelis) - Saturday, 24 January 2009, 23:20 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Saturday, 14 February 2009, 18:37 GMT
|
Details
`hdparm -I' is used during the partitioning as a way to get
the disk's capacity. The error I'm getting is:
"HDIO_DRIVE_CMD(identify) failed: Invalid exchange" I'm not sure whether this is specific to VMware or could also occur in a normal computer. |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Saturday, 14 February 2009, 18:37 GMT
Reason for closing: Fixed
Additional comments about closing: Confirmed by Alexander @ http://www.archlinux.org/pipermail/arch- releng/2009-February/000342.html
Saturday, 14 February 2009, 18:37 GMT
Reason for closing: Fixed
Additional comments about closing: Confirmed by Alexander @ http://www.archlinux.org/pipermail/arch- releng/2009-February/000342.html
Review and corrections are welcome.
http://www.archlinux.org/pipermail/arch-releng/2009-January/000195.html
Your patch looks good. If would add a '2>/dev/null' after the fdisk call though (eg i got a stderr message saying 'invalid partition table', cluttering my output)
Can you update your patch to be the one from the ML, but with the adaption above? then we can apply it
although I don't really understand the math:
df uses powers of 1024 by default, so the numbers should be the same (MiB is also powers of 1024), but there is a difference.
in installer <-> df -m
100MiB 99M
10000MiB 9845M
Also can you explain me the math question above? thanks :)