lkml.org 
[lkml]   [2009]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Possible regression of LBA48 support for piix
Date
On Thursday 17 December 2009 01:22:22 pm Jeff Garzik wrote:
> On 12/17/2009 07:07 AM, Romain Kubany wrote:
> > Here it is under the 2.6.28 :
> >
> > # hdparm -I /dev/sda
> >
> > /dev/sda:
> >
> > 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
> > device size with M = 1024*1024: 130558 MBytes
> > device size with M = 1000*1000: 136899 MBytes (136 GB)
>
> Yeah, that info is straight from the virtual disk, without any sort of
> massaging. The disk is reporting 136GB max, so I would poke around
> Windows to see if a setting changed somewhere... maybe there is an "old
> IDE compatible" setting that got turned on, for the virtual hd?

It is also possible that this virtual disk has never worked with ata_piix
driver and worked with piix driver in the older kernels because of pure luck.

In 2.6.28 I've fixed LBA48 checks in IDE to match libata (see commit 942dcd8
for details) so it would be worth to try:

- simulating the older buggy IDE behavior with 2.6.32 kernel

or

- staring long enough at 'hdparm --Istdout /dev/sda' output

first.

--
Bartlomiej Zolnierkiewicz


\
 
 \ /
  Last update: 2009-12-17 14:37    [W:0.048 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site