On Thu, Feb 07, 2008 at 10:13:42PM +0100, Bart Champagne wrote:
> Backporting the fix for 2.6.23 to the Debian 2.6.18 kernel hasn't
> succeeded yet, my C has gone very rusty it seems.
> In attachment a dmesg log for this drive. When/if I get a working
> patch I'll let you know.
I think this shou
for 2.6.24 to go.
>From 4a8b40c53d2e539bad3f93996f599d69a16af94b Mon Sep 17 00:00:00 2001
From: Mikko Rapeli <[EMAIL PROTECTED]>
Date: Wed, 6 Feb 2008 09:41:14 +0200
Subject: [PATCH] ST310211A has buggy HPA too.
Signed-off-by: Mikko Rapeli <[EMAIL PROTECTED]>
---
drivers/ata/libata-core.c |1 +
driv
On Wed, Aug 08, 2007 at 02:25:05PM +0100, Alan Cox wrote:
> Ok this is a different approach to handling it - knowing it is an off by
> one so we can handle the drive if clipped
Patch works with 2.6.23-rc2 after the boot problem was solved.
-Mikko
-
To unsubscribe from this list: send the line "un
Hello again,
Had some time to play with libata and this ST340823A drive. I had some
problems with 2.6.23-rc2 setup failing at early boot so I kept on
going with 2.6.22.1.
First, vanilla 2.6.22.1 which works as HPA is not disabled by default:
http://bugzilla.kernel.org/attachment.cgi?id=12251&act
On Fri, Aug 03, 2007 at 12:34:13AM +0200, Bartlomiej Zolnierkiewicz wrote:
> Mikko, please verify that the following patch fixes the issue.
A few oopses later and this actually works with vanilla 2.6.22.1 and Debian
2.6.18 (2.6.18.dfsg.1-12etch2), latter without EXPORT_SYMBOL_GPL since
it's there
On Thu, Aug 02, 2007 at 01:17:58AM +0200, Bartlomiej Zolnierkiewicz wrote:
> Mikko, could you please revert any patches that you have applied, uncomment
> #define DEBUG in ide-disk.c, recompile and note the sectors count in the
>
> "hdd: reading: block=78165360 sectors=..."
>
> debug message?
Fu
On Wed, Aug 01, 2007 at 02:05:56PM +0100, Alan Cox wrote:
> You've got an odd sized disk. If you have that, old IDE, and you also have
> anything which tries to read the last sector (eg GPT partitioning) it'll
> break as it tries to read 1K block sizes.
>
> Vendors normally clip the drive to an eve
On Wed, Aug 01, 2007 at 10:34:03PM +0200, Bartlomiej Zolnierkiewicz wrote:
> Could you try attached patch?
>
> [PATCH] ide-disk: workaround for buggy HPA support on ST340823A
Umh, it's getting late but some makefile magic maybe missing, or I
should do a clean build?
$ make drivers/ide/ide-disk.k
Hello,
(More details at http://bugzilla.kernel.org/show_bug.cgi?id=8816 )
My home server disk doesn't work with latest kernels since its size is
reported or probed correctly. With 2.6.22.1 I get:
Probing IDE interface ide1...
hdd: ST340823A, ATA DISK drive
hdd: selected mode 0x42
...
hdd: max r