From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 15:19:23 2008 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 200281065675 for ; Sun, 26 Oct 2008 15:19:23 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 65A378FC34 for ; Sun, 26 Oct 2008 15:19:22 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1562009rvf.43 for ; Sun, 26 Oct 2008 08:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=M4fFZRF6rrQp9v3MV1ypujh5miSdWpZHGuGM4l13auo=; b=ePA3DQv65EDwrtaoSBL2F3tPH0FUHcv95g1//NYImLQxmaDReDwjB0SCk4Uqig1z1f n0VjXRht4wM9mFCysYOJ0ZvePyxYRd1Wj0sOo+Mmt1hXn/LP3ByxTLIGv0BuZX4pZnWx ExYTpii1rc1M1asFKhspry1cPhVhMHeXtd8lM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QnQpm0/35etuK8mcMLL/LJ0sho12CYj+lFP05FYmD6atz4Tkz90afxdcTxQXK1IIhQ eA/ShDVBan2qdXvNDvmjf1PtAajBcf+h9tCmVq/m2E2UafUWYjZBOdg7Dq8MXuS4iGIv 9EVOhZUc3J/XaYCn0VH+1xlxys1BJAJg0sJ+I= Received: by 10.142.212.19 with SMTP id k19mr2127473wfg.155.1225034361782; Sun, 26 Oct 2008 08:19:21 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sun, 26 Oct 2008 08:19:21 -0700 (PDT) Message-ID: Date: Sun, 26 Oct 2008 16:19:21 +0100 From: "Marco Trillo" To: "FreeBSD PowerPC ML" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: ATA DMA problems with recent -current 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: Sun, 26 Oct 2008 15:19:23 -0000 Hi, On Sun, Oct 26, 2008 at 1:47 PM, Marco Trillo wrote: > On Sun, Oct 26, 2008 at 1:17 PM, Marco Trillo wrote: >> Here is a full dmesg of the new kernel. In both this kernel and the >> working Oct 11 kernel, my "aoa" driver for sound is enabled. This is >> the only modification with respect to a CVS GENERIC kernel. > > Hmm... I forgot to mention the changes to the 'ldscript.powerpc' file, > which are required to get the kernel to boot in this machine. > > > I think it's possible that I have a messed up source tree. Or a messed > up "compile/" object directory. > > I'm going to remove the "compile/GENERIC" directory and get a fresh > source tree from CVS, without any modifications (except the > 'ldscript.powerpc' file which I mentioned above); and see if the > problems persist. Done that; cleaned the object directory and compiled a new kernel from scratch, without 'aoa' driver or other modifications, but it didn't make a difference - I still get the DMA timeouts. Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #0: Sun Oct 26 13:16:40 UTC 2008 mtrillo@emac6:/usr/src/sys/powerpc/compile/GENERIC ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=30824128 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=30824128 ad0: FAILURE - READ_DMA timed out LBA=30824128 g_vfs_done():ad0s4[READ(offset=15504572416, length=114688)]error = 5 Thanks, Marco