From owner-freebsd-current@FreeBSD.ORG Tue May 18 21:32:45 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B017106566B for ; Tue, 18 May 2010 21:32:45 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id E64238FC15 for ; Tue, 18 May 2010 21:32:44 +0000 (UTC) Received: by ewy1 with SMTP id 1so193919ewy.13 for ; Tue, 18 May 2010 14:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=nZTRKIeUYErHgY/DJ9nggWYSLSUncMEA34y6jZ4CbfU=; b=MyjqNwz26zE3500ELwKUo/Vb1xp67UvXM9aXXRCwRVwjWdTHtB75AGFF46TX5QEpCj /EoJ10dUpYlEiinb4VoeOU9wgp9ZEvduTf5yUZymdP0VqTyTU3Ru4hV4Iyylgbv5nSoe cXKYt3CLVahLiL91trFiDAfRpRJk8XjlU9g1Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Is0Y8pPT385VMd1Ht4ajGaZVmD4zub0b0OZmhb0Hr+OpJAXlzxyeq8UmrJmb0Ndgs/ CZS/5b45C4bxqNWd6kyb+u11+WPhxDm1kiIpz+vJby0URdVi2IuS5JAxcsnxLVhDERVd ELgeYa2LI95cVY1WW9GoVjq51WANMVRjYYdpE= MIME-Version: 1.0 Received: by 10.213.3.9 with SMTP id 9mr3387378ebl.20.1274218363890; Tue, 18 May 2010 14:32:43 -0700 (PDT) Received: by 10.213.16.138 with HTTP; Tue, 18 May 2010 14:32:43 -0700 (PDT) Date: Tue, 18 May 2010 17:32:43 -0400 Message-ID: From: Ryan Stone To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Subject: HEAD can't bring up APs on Intel LC5528(Jasper Forest) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 21:32:45 -0000 I'm trying to bring up a new board based on Intel's Jasper Forest x86 processor. I can boot a kernel without SMP without any problems, but FreeBSD is not able to start up the Application Processors if I enable SMP. The error message that I get is: AP #2 (PHY# 2) failed! panic y/n? [y] This was a i386 kernel built from HEAD as May 2nd or so. It's not always PHY#2. Some number of APs manage to start up correctly, but one usually fails. I have observed one instance where all of the APs came up properly, so it seems as though there's some kind of race that I stand a very good chance of losing at least one time in seven tries. If I disable all but one AP through device.hints I stand a pretty good chance of successfully starting that AP and booting correctly. I've been banging my head against the wall for a while now and all indications are that the AP never starts at all. I enabled the CHECK_POINTS compile-time option and and nothing ever gets written to the CMOS for the AP that fails to start. Writing to the CMOS is the second thing that the AP does after doing a cli so it's a good bet that the AP never hits that code. Linux (version 2.6.28-11) is able to boot and start the APs just fine. My suspicion is that Linux is explicitly configuring something that FreeBSD is trusting the BIOS to do. We do have the reference board around, but we're having trouble getting the original Intel BIOS programmed into it. If we can get that working again I'll let you know whether FreeBSD can boot on it. If anybody can offer any hints or ideas for debugging this it'd be greatly appreciated, as right now I'm reduced to grasping at straws.