From owner-freebsd-bugs Thu Jul 11 8:10:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A41037B400 for ; Thu, 11 Jul 2002 08:10:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BD0543E09 for ; Thu, 11 Jul 2002 08:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6BFA3JU039655 for ; Thu, 11 Jul 2002 08:10:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6BFA3eF039654; Thu, 11 Jul 2002 08:10:03 -0700 (PDT) Date: Thu, 11 Jul 2002 08:10:03 -0700 (PDT) Message-Id: <200207111510.g6BFA3eF039654@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Henri Hennebert" Subject: Re: i386/39234: SMP 4.6-RC freezes during boot (Fujitsu-Siemens C200) Reply-To: "Henri Hennebert" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/39234; it has been noted by GNATS. From: "Henri Hennebert" To: Cc: Subject: Re: i386/39234: SMP 4.6-RC freezes during boot (Fujitsu-Siemens C200) Date: Thu, 11 Jul 2002 17:01:16 +0200 After many tests and comparisons with other case, I found that the main difference was that in my case, the mptable show that the entry of the isa bus with pin# 0 has an int type of INT instread of ExtINT (in my case entry 0). Just to try, to put i386/isa/clock.c on the right track, I patch i386/i386/mp_machdep.c to force this entry (0) with int type ExtINT (at the end of function mptable_pass2). make buildkernel && make installkernel give me a running SMP kernel. Just to be sure my dream come true, I make buildwold and all was running smoothly :-) I'm sure that this patch is just ad hoc for my case but maybe a smp guru may find a better way to correct the problem. Anyway, tt can be usefull to someone else: --- mp_machdep.c.orig Sun Apr 28 20:18:17 2002 +++ mp_machdep.c Thu Jul 11 16:34:28 2002 @@ -977,6 +977,8 @@ panic("NO BSP found!"); /* report fact that its NOT a default configuration */ + /*---- patch for Fujitsu Siemens C200 ---*/ + io_apic_ints[0].int_type =3D 3; return 0; } Henri To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message