Subject: Re: NetBSD 2.0.x: Raq1 Clock Issues / LCD Shutdown Message
To: None <oschonef@TechFak.Uni-Bielefeld.DE>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: port-cobalt
Date: 06/15/2005 23:16:40
Hi,


From: Oliver Schonefeld <oschonef@TechFak.Uni-Bielefeld.DE>
Date: Wed, 15 Jun 2005 15:30:32 +0200

> > > I tried the binary kernel, and the Raq1 hung hard :(
> >  :
> > > gt0 at mainbus0 addr 0x14000000
> > > [hang-hard here]
> > > 
> > > I could try to build a debugging kernel, but this can take some time.
> > 
> > Well, could you also try kernel without options PCI_NETBSD_CONFIGURE?
> > The patch also includes some other changes.
> 
> The kernel without PCI_NETBSD_CONFIGURE works fine. Clock is not running too
> fast and ntp is able to keep the clock synchronized.
> The kernel with PCI_NETBSD_CONFIGURE also hangs.

How many version of GT?
I guess that the version of GT is old perhaps.  ;-<


linux-2.6.11.9/arch/mips/pci/fixup-cobalt.c ----

        galileo_id &= 0xff;     /* mask off class info */
        if (galileo_id >= 0x10) {
                /* New Galileo, assumes PCI stop line to VIA is connected. */
                GALILEO_OUTL(0x4020, GT_PCI0_TOR_OFS);
        } else if (galileo_id == 0x1 || galileo_id == 0x2) {
                signed int timeo;
                /* XXX WE MUST DO THIS ELSE GALILEO LOCKS UP! -DaveM */
                timeo = GALILEO_INL(GT_PCI0_TOR_OFS);
                /* Old Galileo, assumes PCI STOP line to VIA is disconnected. */
                GALILEO_OUTL(0xffff, GT_PCI0_TOR_OFS);
        }

---- linux-2.6.11.9/arch/mips/pci/fixup-cobalt.c

Regards,
--
kiyohara