public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: Phillip Ezolt <ezolt@perf.zko.dec.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Andrea Arcangeli <andrea@suse.de>,
	rth@twiddle.net, linux-kernel@vger.kernel.org,
	wcarr@perf.zko.dec.com
Subject: Re: Alpha SCSI error on 2.4.0-test11
Date: Tue, 5 Dec 2000 19:06:53 -0500	[thread overview]
Message-ID: <20001205190653.A1031@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <20001202011104.A2089@jurassic.park.msu.ru> <Pine.OSF.3.96.1001204134014.11945C-100000@perf.zko.dec.com>
In-Reply-To: <Pine.OSF.3.96.1001204134014.11945C-100000@perf.zko.dec.com>; from ezolt@perf.zko.dec.com on Mon, Dec 04, 2000 at 01:53:42PM -0500

On Mon, Dec 04, 2000 at 01:53:42PM -0500, Phillip Ezolt wrote:
>
> 	I've recompiled as you have suggested.  Any ideas? 

Compile again with the following patches (these are against 2.4.0-test12,
but those in arch/alpha/kernel/core_cia.c should work against test10/11
as well). 

Something got lost between 2.2 and 2.4, but it's most likely that
MIATA (because it has 6 DIMM slots) is one of the few CIA and PYXIS
machines that could actually get over 1GB of memory; that's why we
haven't seen this before...

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------

diff -urN old/arch/alpha/kernel/core_cia.c new/arch/alpha/kernel/core_cia.c
--- old/arch/alpha/kernel/core_cia.c    Tue Dec  5 10:09:01 2000
+++ new/arch/alpha/kernel/core_cia.c    Tue Dec  5 18:45:12 2000
@@ -700,11 +700,11 @@
 
        *(vip)CIA_IOC_PCI_W1_BASE = 0x40000000 | 1;
        *(vip)CIA_IOC_PCI_W1_MASK = (0x40000000 - 1) & 0xfff00000;
-       *(vip)CIA_IOC_PCI_T1_BASE = 0;
+       *(vip)CIA_IOC_PCI_T1_BASE = 0 >> 2;
 
        *(vip)CIA_IOC_PCI_W2_BASE = 0x80000000 | 1;
        *(vip)CIA_IOC_PCI_W2_MASK = (0x40000000 - 1) & 0xfff00000;
-       *(vip)CIA_IOC_PCI_T2_BASE = 0x40000000;
+       *(vip)CIA_IOC_PCI_T2_BASE = 0x40000000 >> 2;
 
        *(vip)CIA_IOC_PCI_W3_BASE = 0;
 }
diff -urN old/arch/alpha/kernel/pci.c new/arch/alpha/kernel/pci.c
--- old/arch/alpha/kernel/pci.c Tue Dec  5 10:09:01 2000
+++ new/arch/alpha/kernel/pci.c Tue Dec  5 10:20:01 2000
@@ -91,9 +91,15 @@
        if (dev->class >> 8 != PCI_CLASS_STORAGE_IDE)
                return;
        dev->resource[1].start |= 2;
-       dev->resource[1].end = dev->resource[1].start;
+       dev->resource[1].end = dev->resource[1].start + 1;
+#ifndef CONFIG_BLK_DEV_IDEPCI
+       /* already claimed by "standard" (ie junk) resources */
+       dev->resource[0].flags &= ~IORESOURCE_IO;
+       dev->resource[1].flags &= ~IORESOURCE_IO;
+#else
        pci_claim_resource(dev, 0);
        pci_claim_resource(dev, 1);
+#endif
 }
 
 static void __init
diff -urN old/drivers/pci/pci.c new/drivers/pci/pci.c
--- old/drivers/pci/pci.c       Tue Dec  5 10:09:02 2000
+++ new/drivers/pci/pci.c       Tue Dec  5 10:17:32 2000
@@ -540,7 +540,7 @@
 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom)
 {
        unsigned int pos, reg, next;
-       u32 l, sz;
+       u32 l, sz, tmp;
        struct resource *res;
 
        for(pos=0; pos<howmany; pos = next) {
-----------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-06  0:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-30 20:02 Alpha SCSI error on 2.4.0-test11 Phillip Ezolt
2000-11-30 20:37 ` Peter Rival
2000-11-30 21:40 ` Ivan Kokshaysky
2000-11-30 22:26   ` Phillip Ezolt
2000-11-30 22:37     ` Andrea Arcangeli
2000-12-01 11:56       ` Ivan Kokshaysky
2000-12-01 14:18         ` mm->context[NR_CPUS] and pci fix check [was Re: Alpha SCSI error on 2.4.0-test11] Andrea Arcangeli
2000-12-01 18:19           ` David S. Miller
2000-12-01 19:14             ` Andrea Arcangeli
2000-12-15 15:46               ` Andrea Arcangeli
2000-12-15 17:11                 ` David S. Miller
2000-12-15 17:55                   ` Andrea Arcangeli
2000-12-15 17:44                     ` David S. Miller
2000-12-01 18:30         ` Alpha SCSI error on 2.4.0-test11 Phillip Ezolt
2000-12-01 19:35           ` Andrea Arcangeli
2000-12-01 19:56             ` Phillip Ezolt
2000-12-01 20:26               ` Andrea Arcangeli
2000-12-05 15:52                 ` Phillip Ezolt
2000-12-01 22:11               ` Ivan Kokshaysky
2000-12-04 18:53                 ` Phillip Ezolt
2000-12-06  0:06                   ` Jay Estabrook [this message]
2000-12-06 14:51                     ` Phillip Ezolt
  -- strict thread matches above, loose matches on Subject: below --
2000-11-30 21:42 Mathiasen, Torben

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=20001205190653.A1031@linux04.mro.cpqcorp.net \
    --to=jay.estabrook@compaq.com \
    --cc=andrea@suse.de \
    --cc=ezolt@perf.zko.dec.com \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    --cc=wcarr@perf.zko.dec.com \
    /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