From owner-freebsd-ppc@FreeBSD.ORG Wed Aug 22 23:38:36 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F254D106564A for ; Wed, 22 Aug 2012 23:38:35 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id A35B38FC0C for ; Wed, 22 Aug 2012 23:38:35 +0000 (UTC) Received: by qadc11 with SMTP id c11so271939qad.13 for ; Wed, 22 Aug 2012 16:38:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=NLX+7F+JGXbTJwKXGLuunyotJ1GwHnBQKgUIsW68/iw=; b=f6wOS3qJoP3gglK65sWsKlefDoAbpRb6Q0lqeChZIwXjbZb1gqj6CKt/DrsdQFhcwk ATUyfcoSHVyeobC+yHCGe4WeKrUii7sh+EnTo+UGSJZjhXc4A9fH4tVRmJMXuKDLLX7r N6ECPUjHYkGY4TmVOs2Hubj2eKsC5AVf+jRTkWv2Cjheaomqt2qTL/wu0LGvvEBU6CMY UW+vjzzIbybLQIgSJFGEzClsKqEY46eG0niwmSU3WAso/AHUEHtXa/i55CzPw2MqZnPk B/D0L8XVQ6lQLPCMDQIOemMz5nTqy5OsoX0EosdhlNEvfyQn6JHCgr48afjFVzpmPMeH mTPw== Received: by 10.224.200.130 with SMTP id ew2mr18488006qab.92.1345678714768; Wed, 22 Aug 2012 16:38:34 -0700 (PDT) Received: from narn.knownspace (pool-71-163-84-156.washdc.fios.verizon.net. [71.163.84.156]) by mx.google.com with ESMTPS id fx5sm4168591qab.14.2012.08.22.16.38.34 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Aug 2012 16:38:34 -0700 (PDT) Date: Wed, 22 Aug 2012 19:38:31 -0400 From: Justin Hibbits To: "Mathias Breuninger" Message-ID: <20120822193831.37280629@narn.knownspace> In-Reply-To: <5034ef79.445fb40a.4768.ffffd54cSMTPIN_ADDED@mx.google.com> References: <5034ef79.445fb40a.4768.ffffd54cSMTPIN_ADDED@mx.google.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Powermac G5 won't boot after adding a PCI Ethernet Card X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 23:38:36 -0000 On Wed, 22 Aug 2012 15:56:35 +0200 "Mathias Breuninger" wrote: > Hi all, > > My Freebsd-9.0-RELEASE (GENERIC64 kernel) Powermac G5 won't boot > after adding a PCI Ethernet Card. > > It's the early dual processor at 2GHz with PCI-X > (http://www.everymac.com/systems/apple/powermac_g5/specs/powermac_g5_2.0_dp.html) > The Ethernet card is a brand new the D-link DGE-528T > (http://www.dlink.fr/cs/Satellite?c=Product_C&childpagename=DLinkEurope-FR%2FDLProductCarouselMultiple&cid=1197319325191&p=1197318961527&packedargs=ProductParentID%3D1197318721588%26category%3DQuickProductFinder%26locale%3D1195806373344%26term%3DDGE-528T&pagename=DLinkEurope-FR%2FDLWrapper) > It's a PCI card. > > The card is visible in OpenFirmware device tree. > > I can't see much of the error when the kernel loads: the screen keeps > scrolling. But it seems to be something related > to /usr/src/sys/kern/subr_rman.c: line 176. > > I settled the same card in a FreeBSD-9.0-RELEASE (GENERIC) Powermac > G4 (Digital Audio: > http://www.everymac.com/systems/apple/powermac_g4/specs/powermac_g4_466.html) > without any problem (re(4) driver as a module) > > I try to put another PCI card (Adaptec 2940U2 SCSI) in the G5 and got > the same error. > > I try to boot in debug mode but the apple keyboard is inactive in ddb. > > I try to boot the 9.1BETA CD but I didn't succeed (LOAD BASE error) > > Do you have any clue? > > Thanks, > > Mathias > subr_rman.c line 176 is locking a mutex. Unfortunately, without a backtrace I can't be any more help. If you can connect a firewire cable between your two PowerMacs you can use ddb over dcons. You will have to load dcons.ko and dcons_crom.ko from the loader on the G5, then use dconschat from your G4 to connect to ddb. I use this method to debug on my machines all the time. More info on this method can be found at http://wiki.freebsd.org/DebugWithDcons - Justin