Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Sander Stokman" <stokman2@yahoo.com>
Subject: Re: recent kernel on XL 300
Date: Wed, 17 Jul 2002 21:01:27 GMT	[thread overview]
Message-ID: <HWkZ8.192549$Im2.9684941@bin2.nnrp.aus1.giganews.com> (raw)
In-Reply-To: 3d3597bc$0$31227$e4fe514c@dreader1.news.xs4all.nl

> > > > Has anybody had any luck in compiling a recent kernel (>2.4.12) on
an
> > > > XL300?
> > > >
> > > > Mine is running 2.4.12 just fine, but when I try anything newer it
> > > > fails when trying to initialize the SYM810a SCSI controller. (DMA
> > > > error, cache incorrectly configured.)
> > > >
> > > > Any insights would be appreciated. Thanks!
> > >
> > >
> > > Yep, source for XLT-300 is broken... But there is a temporary
solution.
> > > I have it found working to make 2.4.18 for my XLT-300
> > >
> > > It has to do with the 21171 chip. So patch the source-file core_cia.c
> > >
> > > This is what you have to do: (with obligation to Jay Estabrook and
> Donald
> > > Spoon)
> > >
> > > @@ -380,10 +382,10 @@
> > >         for (i = 0; i < CIA_BROKEN_TBIA_SIZE / sizeof(unsigned long);
> ++i)
> > >                 ppte[i] = pte;
> > >
> > >
> > > -       *(vip)CIA_IOC_PCI_W3_BASE = CIA_BROKEN_TBIA_BASE | 3;
> > > -       *(vip)CIA_IOC_PCI_W3_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
> > > +       *(vip)CIA_IOC_PCI_W1_BASE = CIA_BROKEN_TBIA_BASE | 3;
> > > +       *(vip)CIA_IOC_PCI_W1_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
> > >                                     & 0xfff00000;
> > > -       *(vip)CIA_IOC_PCI_T3_BASE = virt_to_phys(ppte) >> 2;
> > > +       *(vip)CIA_IOC_PCI_T1_BASE = virt_to_phys(ppte) >> 2;
> > >  }
> > >
> > >
> > >  static void __init
> > > @@ -396,6 +398,7 @@
> > >
> >
> > Do you mean to back out this patch?
>
> Well, the line which is indicated +, should be included
> and the - should out.  At least for the XLT-300.
> Basically it means you have to convert a 3 to a 1
>
> > The code is already there in the plain vanilla 2.4.18 source. Based on
the
> > individual patch files it seems to have been introduced when we went
from
> > 2.4.12 to 13.
>
> If it is already there, then your problem is related to something else.


I tried backing out the patch, and it seems to work! I have not built a full
fledged kernel yet, but things are looking a lot better. It gets past the
initialisation, reports the disks attached, etc. Maybe later this evening.

Might I inquire where you got this information.




  reply	other threads:[~2002-07-17 21:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-16  1:31 recent kernel on XL 300 Alexander Stokman
2002-07-16  7:39 ` Måns Rullgård
2002-07-16 20:36   ` Alexander Stokman
2002-07-16 20:57 ` Harm Damsma
2002-07-17  1:01   ` Sander Stokman
2002-07-17 16:13     ` Harm Damsma
2002-07-17 21:01       ` Sander Stokman [this message]
2002-07-17 21:43         ` Harm Damsma
2002-07-18  1:21           ` Sander Stokman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox