Re: Fw: gdth SCSI driver(?) fails with more than 4GB of memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux