From: Jeff Garzik <jeff@garzik.org>
To: David Fries <david@fries.net>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: 2.6.34-rc2 breaks via82cxxx Host Protected Area
Date: Fri, 26 Mar 2010 20:12:26 -0400 [thread overview]
Message-ID: <4BAD4D6A.3010004@garzik.org> (raw)
In-Reply-To: <20100326232104.GA10769@spacedout.fries.net>
On 03/26/2010 07:21 PM, David Fries wrote:
> The kernel fails to see the entire disk with 2.6.34-rc2 with VIA
> vt82c586b chipset. I tracked it down to commit
> f931a5d5785d7b7c44871bd7ad2762e29dfddf29 "via82cxxx: workaround h/w
> bugs" and reverting just that one solves the problem, or just
> commenting out just one outb write in that change.
>
> via82cxxx 0000:00:07.1: VIA vt82c586b (rev 41) IDE UDMA33
> via82cxxx 0000:00:07.1: IDE controller (0x1106:0x0571 rev 0x06)
> via82cxxx 0000:00:07.1: not 100% native mode: will probe irqs later
>
> Note the kernel panic is intentional as I'm given the test kernel an
> invalid root device, so that I can suspend to disk, try a kernel,
> resume and pick up where I left off. It does have a side benefit of
> dumping the size of all partitions.
>
> 2.6.34-rc2 unmodified, fails and sees 30985416 KiB for the last
> partition.
> ide-gd driver 1.18
> hda: max request size: 128KiB
> hda: 66055248 sectors (33820 MB) w/7936KiB Cache, CHS=65531/16/63
> hda: cache flushes supported
> hda: hda1 hda2 hda3
> hda: p3 size 236037312 exceeds device capacity, enabling native capacity
> hda: p3 size 236037312 exceeds device capacity, limited to end of disk
> ide-cd driver 5.00
> ...
> Please append a correct "root=" boot option; here are the available partitions:
> 0300 33027624 hda driver: ide-gd
> 0301 49391 hda1
> 0302 1992816 hda2
> 0303 30985416 hda3
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(22,2)
>
> 2.6.34-rc2 with patch revered, correct size 118018656
> ide-gd driver 1.18
> hda: max request size: 128KiB
> hda: Host Protected Area detected.
> current capacity is 66055248 sectors (33820 MB)
> native capacity is 240121728 sectors (122942 MB)
> hda: 66055248 sectors (33820 MB) w/7936KiB Cache, CHS=65531/16/63
> hda: cache flushes supported
> hda: hda1 hda2 hda3
> hda: p3 size 236037312 exceeds device capacity, enabling native capacity
> hda: detected capacity change from 33820286976 to 122942324736
> ide-cd driver 5.00
> 0300 120060864 hda driver: ide-gd
> 0301 49391 hda1
> 0302 1992816 hda2
> 0303 118018656 hda3
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(22,2)
>
> Here are two debug patches, the first adds debug prints and the second
> disables the problematic write, I have the output of both included.
>
>> From dac7d14ce1f227d8a084c3ec218ea1430bffdc57 Mon Sep 17 00:00:00 2001
> From: David Fries<david@fries.net>
> Date: Thu, 25 Mar 2010 19:51:31 -0500
> Subject: [PATCH 1/2] fails: add print messages
>
> add print messages for debugging
> ---
> drivers/ide/via82cxxx.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
Does libata + pata_via work, if you pass ignore_hpa=1 module option to
libata?
Jeff
next prev parent reply other threads:[~2010-03-27 0:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 23:21 2.6.34-rc2 breaks via82cxxx Host Protected Area David Fries
2010-03-27 0:12 ` Jeff Garzik [this message]
2010-03-27 0:36 ` David Fries
2010-03-27 0:42 ` Jeff Garzik
2010-03-27 2:09 ` David Fries
2010-03-27 10:19 ` Bartlomiej Zolnierkiewicz
2010-03-27 14:44 ` David Miller
2010-03-27 15:34 ` Bartlomiej Zolnierkiewicz
2010-03-28 3:01 ` Stephen Rothwell
2010-03-28 11:48 ` Bartlomiej Zolnierkiewicz
2010-03-27 14:57 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BAD4D6A.3010004@garzik.org \
--to=jeff@garzik.org \
--cc=bzolnier@gmail.com \
--cc=david@fries.net \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox