linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hyper-V and IDE disks > 128GB
@ 2010-11-02 18:52 David Shaw
  2010-11-02 19:27 ` Alan Cox
  2010-11-03 11:15 ` Tim Small
  0 siblings, 2 replies; 4+ messages in thread
From: David Shaw @ 2010-11-02 18:52 UTC (permalink / raw)
  To: linux-ide

Hello,

I am seeing some rather odd behavior when using Linux (I've tried 2.6.30.10, 2.6.34.7, and 2.6.35.6, all with the same results) under the Hyper-V virtualization platform.  Specifically, the virtual IDE disks probe as "ATA-0", which seems to turn off 48-bit LBA, thus capping the disk size at 128GB.

This seems to have worked properly (at least in the sense that the full size of the disk was visible) on kernel 2.6.27.41.  See http://www.serverphorums.com/read.php?12,79638

In any event, this is how the virtual disk shows up at boot:

Oct 15 11:06:06 localhost kernel: ata1.01: ATA-0: Virtual HD, 1.1.0, max MWDMA2
Oct 15 11:06:06 localhost kernel: ata1.01: 267382800 sectors, multi 128: LBA

hdparm -I /dev/sdb says:

/dev/sdb:

ATA device, with non-removable media
	Model Number:       Virtual HD                              
	Serial Number:      
	Firmware Revision:  1.1.0   
Standards:
	Likely used: 2
Configuration:
	Logical		max	current
	cylinders	16383	65535
	heads		16	16
	sectors/track	63	255
	--
	bytes/track: 65024	bytes/sector: 512
	CHS current addressable sectors:  267382800
	LBA    user addressable sectors:  267382800
	Logical/Physical Sector size:           512 bytes
	device size with M = 1024*1024:      130558 MBytes
	device size with M = 1000*1000:      136899 MBytes (136 GB)
	cache/buffer size  = 64 KBytes (type=DualPortCache)
Capabilities:
	LBA, IORDY(can be disabled)
	Buffer size: 64.0kB
	Standby timer values: spec'd by Vendor
	R/W multiple sector transfer: Max = 128	Current = 128
	DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=333ns  IORDY flow control=120ns

Can someone suggest a direction to go in next?

Thanks very much,

David


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-01 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 18:52 Hyper-V and IDE disks > 128GB David Shaw
2010-11-02 19:27 ` Alan Cox
2010-12-01 15:53   ` David Shaw
2010-11-03 11:15 ` Tim Small

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).