From owner-freebsd-alpha Sun Sep 10 17:29:56 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 71A9637B423; Sun, 10 Sep 2000 17:29:54 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id RAA28533; Sun, 10 Sep 2000 17:29:38 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009110029.RAA28533@pike.osd.bsdi.com> Subject: Re: cvs commit: src/sys/pci pcisupport.c (fwd) In-Reply-To: <20000909172204.A17373@cicely5.cicely.de> from Bernd Walter at "Sep 9, 2000 05:22:04 pm" To: Bernd Walter Date: Sun, 10 Sep 2000 17:29:38 -0700 (PDT) Cc: Matthew Jacob , dfr@FreeBSD.ORG, Christian Weisgerber , freebsd-alpha@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bernd Walter wrote: > On Sat, Sep 09, 2000 at 02:17:49PM +0200, Bernd Walter wrote: > > On Fri, Sep 08, 2000 at 02:55:56PM -0700, Matthew Jacob wrote: > > > > > > This is what is broken for me too. I have not been able to really trace it > > > down yet. I don't have the halt switch set up. > > > > If I hardcode cia_pcib_read_config() and cia_pcib_write_config() to > > use bwx the machine boots at least into singleuser - not tested more yet. > > What is the special deal with the swiz stuff? > > As far As I understood it hangs on the first width 2 read access which is the > > second acces to the first available device. While the width 4 acces to probe > > for existence succeded. > > > > > > > pci0: physical bus=0 > > > > > cia_pcib_read_config: b=0, s=0, f=0, reg=0, width=4 > > > > > cia_pcib_read_config: b=0, s=1, f=0, reg=0, width=4 > > > > > cia_pcib_read_config: b=0, s=2, f=0, reg=0, width=4 > > > > > cia_pcib_read_config: b=0, s=3, f=0, reg=0, width=4 > > > > > cia_pcib_read_config: b=0, s=4, f=0, reg=0, width=4 > > > > > cia_pcib_read_config: b=0, s=5, f=0, reg=0, width=4 > > > > > cia_pcib_read_config: b=0, s=5, f=0, reg=0, width=2 > > I was able to use it but got a panic after starting cvsup: > fatal kernel trap: > > trap entry = 0x2 (memory management fault) > a0 = 0x0 > a1 = 0x1 > a2 = 0x0 > pc = 0xfffffc00005168c8 > ra = 0xfffffc0000516f70 > curproc = 0xfffffe000a39c440 > pid = 2476, comm = cvsup > > Stopped at mtx_exit_hard+0x108: ldq t1,0(s1) <0x0> > db> trace > mtx_exit_hard() at mtx_exit_hard+0x108 > userret() at userret+0x1d0 > trap() at trap+0x828 > XentMM() at XentMM+0x20 > (null)() at 0x120270038 > > I don't know if it is because of my changes, the SMPng code or > something else. > I would asume it's because of SMPng Yes, I'm trying to work on this one, but I'm still trying to get kgdb working. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message