[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200912171433.39135.bzolnier@gmail.com>
Date: Thu, 17 Dec 2009 14:33:39 +0100
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To: Jeff Garzik <jeff@...zik.org>
Cc: Romain Kubany <rkubany@...ula.com>,
Mikael Pettersson <mikpe@...uu.se>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-ide@...r.kernel.org" <linux-ide@...r.kernel.org>
Subject: Re: Possible regression of LBA48 support for piix
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists