public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Rolf Eike Beer <eike-kernel@sf-tec.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-scsi@vger.kernel.org, Andreas Barth <aba@not.so.argh.org>
Subject: Re: Fw: gdth SCSI driver(?) fails with more than 4GB of memory
Date: Tue, 18 Jul 2006 08:40:11 +0200	[thread overview]
Message-ID: <200607180840.11877.eike-kernel@sf-tec.de> (raw)
In-Reply-To: <20060717184659.04ae83e7.akpm@osdl.org>

Andreas Barth wrote:

> [please Cc me, I'm currently not subscribed.]

> I have noticed that one of my boxes stopped to boot correctly after
> adding more memory (in total 6 GB) and loading an adjusted kernel for
> that.  After some testing around, we noticed that it is enough for the
> kernel to boot correctly if we limit the kernel to use 4GB of memory.
>
> If the kernel has 6GB, I directly get error messages like:
> SCSI device sda: 143299800 512-byte hdwr sectors (73369 MB)
> sda: Write Protect is off
> sda: got wrong page
> sda: assuming drive cache: write through
> SCSI device sda: 143299800 512-byte hdwr sectors (73369 MB)
> sda: Write Protect is off
> sda: got wrong page

This is from sd.c::sd_read_cache_type

> Any hints for me how I can use the full 6 GB of memory (and/or what I
> should try out to find the bug)?

Please change the printk in sd.c around 1482 that is

printk(KERN_ERR "%s: got wrong page\n", diskname);

to

printk(KERN_ERR "%s: got wrong page (expect: 0x%x, got 0x%x)\n",
diskname, modepage, buffer[offset]);

so we can see at least the reason that made it finally fail.

Eike

  reply	other threads:[~2006-07-18  6:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-18  1:46 Fw: gdth SCSI driver(?) fails with more than 4GB of memory Andrew Morton
2006-07-18  6:40 ` Rolf Eike Beer [this message]
2006-08-07 15:26   ` Andreas Barth
2006-08-08  8:49     ` Rolf Eike Beer
2006-07-18 13:30 ` James Bottomley
2006-08-07 15:27   ` Andreas Barth

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=200607180840.11877.eike-kernel@sf-tec.de \
    --to=eike-kernel@sf-tec.de \
    --cc=aba@not.so.argh.org \
    --cc=akpm@osdl.org \
    --cc=linux-scsi@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