From owner-freebsd-current@FreeBSD.ORG Thu Apr 5 08:40:32 2012 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 7442A106566C; Thu, 5 Apr 2012 08:40:32 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 92EFE8FC0A; Thu, 5 Apr 2012 08:40:31 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1050496wgb.31 for ; Thu, 05 Apr 2012 01:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=fmo+0HzvnKIOxiOn7+HijEuIluv0Wctr2Nwo1r1Awyg=; b=Fc2Z3UnxGT2SmwR6sLM9rjt/tHCjlPYBcHDx+ylM8RCBgl+eixmcjcOHd0am/VP6Wk saQMxQtPfcboukATaCh2moELOz+neSmgObgWEgPB2xTDviG/kHZ4FZJAgZdaTP53rG1o exKyuQjMNwrjp5TU1Rih5+OvgAx3kXZakA6VREwE0DdHj1BfuZcOzSC9FSk8evwVsJ5D P7TJ78xHERRoWVkLdtladEqmXen1S7WIJjI5kMUmxQPvJg+II9USn/4lvWG0T29qWfJK iOnRwmAin88J44j75GsqEIChRjZrGD5LEbvw3RHdA71I4dpbGMIkagaFYYIZrOe34Gcw BR5w== Received: by 10.180.24.35 with SMTP id r3mr10872086wif.7.1333615230404; Thu, 05 Apr 2012 01:40:30 -0700 (PDT) Received: from dragon.dg (41-135-11-171.dsl.mweb.co.za. [41.135.11.171]) by mx.google.com with ESMTPS id gg2sm14264672wib.7.2012.04.05.01.40.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 01:40:28 -0700 (PDT) From: David Naylor To: John Baldwin Date: Thu, 5 Apr 2012 10:40:32 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.1; amd64; ; ) References: <201105092024.41588.naylor.b.david@gmail.com> <201203281437.35746.jhb@freebsd.org> In-Reply-To: <201203281437.35746.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13473285.JGPzsrg3Au"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201204051040.35808.naylor.b.david@gmail.com> Cc: Alexander Motin , FreeBSD-Current Subject: Re: [regression] unable to boot: no GEOM devices found. 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: Thu, 05 Apr 2012 08:40:32 -0000 --nextPart13473285.JGPzsrg3Au Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday, 28 March 2012 20:37:35 John Baldwin wrote: > On Monday, May 09, 2011 2:24:37 pm David Naylor wrote: > > On Friday 15 April 2011 23:29:55 David Naylor wrote: > > > On Friday 15 April 2011 18:28:06 John Baldwin wrote: > > > > On Wednesday, April 13, 2011 1:07:06 pm David Naylor wrote: > > > > > On Tuesday 12 April 2011 22:12:55 Alexander Motin wrote: > > > > > > David Naylor wrote: > > > > > > > On Tuesday 12 April 2011 08:17:51 Alexander Motin wrote: > > > > > > >> David Naylor wrote: > > > > > > >>> I am running -current and since a few days ago (at least > > > > > > >>> 2011/04/11) I am unable to boot. > > > > > > >>>=20 > > > > > > >>> The boot process stops when it looks to find a bootable > > > > > > >>> device. The prompt (when pressing '?') does not display any > > > > > > >>> device and yielding > > > >=20 > > > > one > > > >=20 > > > > > > >>> second (or more) to the kernel (by pressing '.') does not > > > > > > >>> improve the situation. > > > > > > >>>=20 > > > > > > >>> A known working date is 2011/02/20. > > > > > > >>>=20 > > > > > > >>> I am running amd64 on a nVidia MCP51 chipset. > > > > > > >>=20 > > > > > > >> MCP51... again... > > > > > >=20 > > > > > > +ata2: reiniting channel .. > > > > > > +ata2: SATA connect time=3D0ms status=3D00000113 > > > > > > +ata2: reset tp1 mask=3D01 ostat0=3D58 ostat1=3D00 > > > > > > +ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 > > > > > > +ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 > > > > > > +ata2: reinit done .. > > > > > > +unknown: FAILURE - ATA_IDENTIFY timed out LBA=3D0 > > > > > >=20 > > > > > > As soon as all devices detected but not responding to commands,= I > > > > > > would suppose that there is something wrong with ATA interrupts. > > > > > > There is a long chain of interrupt problems in this chipset. I > > > > > > have already tried to debug one case where ATA wasn't generating > > > > > > interrupts at all. Unfortunately, without success -- requests > > > > > > were executing, but not generating interrupts, it wasn't looked > > > > > > like ATA driver problem. > > > > > >=20 > > > > > > What's about possible candidate to revision triggering your > > > > > > problem, I would look on this message: > > > > > > +pcib0: Enabling MSI window for HyperTransport slave at > > > > > > pci0:0:9:0 > > > > > >=20 > > > > > > At least it is recent (SVN revs 219737,219740 on 2011-03-18 by > > > > > > jhb) and it is interrupt related. > > > > >=20 > > > > > I reverted those two revs and everything works again. > > > >=20 > > > > Hmm, can you provide a full boot verbose dmesg? Alternatively, can > > > > you see if the device at pci0:0:9:0 is a PCI-PCI bridge? > > >=20 > > > I can provide a verbose dmesg if the following is not enough: > > >=20 > > > none17@pci0:0:9:0: class=3D0x050000 card=3D0x50011458 chip=3D0x0= 27010de > > > rev=3D0xa2 hdr=3D0x00 > > >=20 > > > vendor =3D 'NVIDIA Corporation' > > > device =3D 'MCP51 Host Bridge' > > > class =3D memory > > > subclass =3D RAM > > >=20 > > > I see two PCI-PCI bridges at pci0:0:3:0 and pci0:0:16:0. I've attach= ed > > > the full `pciconf -lv` output. > >=20 > > FYI, this issue is still present on current (~24 hours old). Reverting > > the above mentioned revisions still fixes the problem. >=20 > I finally had an idea about a way to solve this (at least when using ACPI) > that doesn't involve a whole bunch of quirks, etc. Please try > http://www.FreeBSD.org/~jhb/patches/hostb_htmsi.patch I am no longer able to test on that machine. Booting of a USB stick doesn'= t=20 work, the kernel says: WARNING WITNESS ENABLED then the computer restarts. = =20 This is with -current after you committed the patch and with stable-9. =20 I have verified that the USB stick does boot off other computers. =20 --nextPart13473285.JGPzsrg3Au Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEABECAAYFAk99WoMACgkQUaaFgP9pFrLYCwCfRrWwNiyicx5z9R69oiQqa2PW qBIAn3a1zCxjCut8YAF+gMlB5ANzIXNS =ETbg -----END PGP SIGNATURE----- --nextPart13473285.JGPzsrg3Au--