From owner-freebsd-mobile Tue Apr 18 4:50:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 449E137B651 for ; Tue, 18 Apr 2000 04:50:28 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn18.imasy.or.jp [202.227.24.210]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.04) with ESMTP id UAA94278; Tue, 18 Apr 2000 20:50:22 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004181150.UAA94278@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.FreeBSD.org, FreeBSD-mobile@FreeBSD.org Subject: Re: [NEWCARD] patch against panics (Re: cvs commit: src/sys/dev/pcic i82365.c i82365_isa.c i82365var.h src/sys/dev/pccard card_if.m pccard.c pccard_cis.c pccardvar.h) In-Reply-To: Your message of "Sun, 16 Apr 2000 17:13:52 -0600" <200004162313.RAA22858@billy-club.village.org> References: <200004162313.RAA22858@billy-club.village.org> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 18 Apr 2000 20:50:19 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 32 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Warner-san, I got it! > : I've just tried the latest NEWCARD, and noticed that someting wrong with > : bus_space stuff. Here is the patch to avoid panics, not for the solution :-) > : > : # I'm going to bed...zzz > > OK. Thanks! I'll look into this. Tomorrow the Federal and State > Taxes are due, so I've been busy this weekend putting the finishing > touches on my Tax Return. The problem was the initialization of tuple.ptr. it seems that we have garbage in it and this bug originally came from NetBSD. There're still panics but now that we can read the tuple, can go to the next step! Index: pccard_cis.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pccard/pccard_cis.c,v retrieving revision 1.8 diff -u -r1.8 pccard_cis.c --- pccard_cis.c 2000/04/13 06:42:57 1.8 +++ pccard_cis.c 2000/04/18 11:39:36 @@ -139,6 +139,7 @@ DPRINTF(("cis mem map %x\n", (unsigned int) tuple.memh)); tuple.mult = 2; + tuple.ptr = 0; longlink_present = 1; longlink_common = 1; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message