Date: Thu, 22 Nov 2001 18:25:58 +0100 (CET) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@free.fr> To: David O'Brien <obrien@NUXI.com> Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, <tmm@freebsd.org>, <sparc@freebsd.org>, <groudier@freebsd.org> Subject: Re: main-sym.gz Message-ID: <20011122182034.R2022-100000@gerard> In-Reply-To: <20011121201701.X2045-100000@gerard>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi David, I donnot seem to get news about the below message I posted yesterday. I would be glad to get some feedback, if possible. Thanks in advance, G=E9rard. Here is the tiny patch I suggested: --- sym_hipd.c.ORIG=09Wed Nov 21 20:29:36 2001 +++ sym_hipd.c=09Wed Nov 21 20:30:05 2001 @@ -9371,7 +9371,7 @@ =09np->targtbl =3D (u32 *) sym_calloc_dma(256, "TARGTBL"); =09if (!np->targtbl) =09=09goto attach_failed; -=09np->targtbl_ba =3D cpu_to_scr(vtobus(np->targtbl)); +=09np->targtbl_ba =3D vtobus(np->targtbl); =09/* =09 * Allocate SCRIPTS areas. On Wed, 21 Nov 2001, G=E9rard Roudier wrote: > On Tue, 20 Nov 2001, David O'Brien wrote: > > > On Tue, Nov 20, 2001 at 11:42:26PM -0500, Garrett Wollman wrote: > > > I noticed that tmm put a new Symbios kernel up on his Web area, so I > > > tried booting that, and it doesn't seem to work quite right, but does > > > at least get to the mountroot prompt: > > > > Tmm, Jake, and I worked on this for quite a while this afternoon. > > > > > > > I tried to tell it to mount da0a as root, which made it very unhappy: > > > > > > Mounting root from ufs:/dev/da0a > > > (da0:sym0:0:0:0): Retrying Command > > > sym0:0: ERROR (a0:0) (0-a7-80) (10/9d) @ (scripta 400:f3100000). > > > sym0: script cmd =3D 9f030000 > > > sym0: regdump: da 10 80 9d 47 10 00 0f 80 00 80 a7 80 00 07 02 00 00 = 40 00 08 ff ff ff. > > > sym0: PCI STATUS =3D 0x2000 > > > (noperiph:sym0:0:-1:-1): SCSI BUS reset detected. > > > (da0:sym0:0:0:0): Retrying Command > > > > I got the same results. I've emailed the sym author to see if he can > > give some insight. > > I just looked into the problem. Not have that much time this evening, btw= =2E > For now, I just see that the PCI device is getting a PCI BUS fault when > trying to read from BUS the SCSI TARGET control block from memory on > reselection. > > The physical memory address as seen from the PCI BUS that gets fault is > the value of the DSA register (offset 0x10 of the register dump, little > endian ordering) -> 0x00400000. > > The code seems to endianyze some address twice. The below minute patch > should be tried. If it doesn't fix, I will try to find more time to-morro= w > evening for working on this problem. > > --- sym_hipd.c.ORIG=09Wed Nov 21 20:29:36 2001 > +++ sym_hipd.c=09Wed Nov 21 20:30:05 2001 > @@ -9371,7 +9371,7 @@ > =09np->targtbl =3D (u32 *) sym_calloc_dma(256, "TARGTBL"); > =09if (!np->targtbl) > =09=09goto attach_failed; > -=09np->targtbl_ba =3D cpu_to_scr(vtobus(np->targtbl)); > +=09np->targtbl_ba =3D vtobus(np->targtbl); > > =09/* > =09 * Allocate SCRIPTS areas. > > > > > It's possible that there are hardware problems with this machine or > > > the SCSI card; > > > > I don't believe so. > > You are very probably right. > > G=E9rard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011122182034.R2022-100000>