From owner-freebsd-current@FreeBSD.ORG Thu Sep 30 05:55:56 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 84801106564A; Thu, 30 Sep 2010 05:55:56 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A52A48FC15; Thu, 30 Sep 2010 05:55:55 +0000 (UTC) Received: by wyb34 with SMTP id 34so25156wyb.13 for ; Wed, 29 Sep 2010 22:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=6e25+cpgq0F6fXo3P1//g5gwHrEt2dG+Cp4Nf8PIVnc=; b=X5/CO1RZnaRURbL60keHeKbacweB/r/Cujvqg/PlQh3TkGuWs5pKoyjSwi45ndWwZ2 Gmmj08PeHXFv2pd6GtWCYb2pR8CjI5DpxkSBAJ7Ey/jS9iFZGTcVYWzGiFVXaM5SNn7C CjO2hivwS6Ubjmx3xrP0ZaPw80D0uYq1XQCW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=gTPkCmWPgXKrOjd6raQvNaE9NA/eNXvw1iqBE2VqOWQbOq1LIJAtDoQ7bDwJKo3IFY H3MProwoSLJuS9Pkp9HypyfjFkAirqCC51kA/jViIO1MaikLNc1oC2hFJtSyANesUDzE o+Ev8N/bb+tObsWmb9akDvHsltpK31URaLL0w= Received: by 10.216.236.149 with SMTP id w21mr2445018weq.65.1285826154573; Wed, 29 Sep 2010 22:55:54 -0700 (PDT) Received: from dragon.dg (41-132-25-181.dsl.mweb.co.za [41.132.25.181]) by mx.google.com with ESMTPS id v11sm6009289weq.16.2010.09.29.22.55.51 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Sep 2010 22:55:53 -0700 (PDT) From: David Naylor Organization: Private To: Alexander Motin Date: Thu, 30 Sep 2010 07:55:43 +0200 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.4.5; amd64; ; ) References: <201009291207.53146.naylor.b.david@gmail.com> <201009292048.11194.naylor.b.david@gmail.com> <4CA41ED6.5060208@FreeBSD.org> In-Reply-To: <4CA41ED6.5060208@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1652381.9iCLpYTfoM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201009300755.46989.naylor.b.david@gmail.com> Cc: freebsd-current@freebsd.org, Andriy Gapon Subject: Re: Safe-mode on amd64 broken 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, 30 Sep 2010 05:55:56 -0000 --nextPart1652381.9iCLpYTfoM Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Thursday 30 September 2010 07:23:34 Alexander Motin wrote: > David Naylor wrote: > > On Wednesday 29 September 2010 18:25:13 Alexander Motin wrote: > >> David Naylor wrote: > >>> On Wednesday 29 September 2010 16:19:08 Andriy Gapon wrote: > >>>> What do you try to actually achieve? > >>>=20 > >>> I was trying to boot a system and it was panicking due to stray > >>> interrupts. It turned out to be caused by HPET. I found > >>> `hint.hpet.0.clock=3D0' which fixed the problem. > >>>=20 > >>> This means HPET does not work on any of my machines. The other one's > >>> symptoms are hda losing interrupts after a period of up-time. > >>=20 > >> What chipset do you use? Nvidia MCP5x? Could you send me your verbose > >> dmesg? > >=20 > > Yes, the one is a MCP51, the other is a ICH8M. > >=20 > > The desktop is a Gigabyte N650SLI-DS4L. Its symptom is hda losing > > interrupts after a period of time. >=20 > There are too many reports about different lost interrupts problems on > different controllers of MCP5x. I don't know the reason. Attached patch > should disable using regular HPET interrupts on NVidia chipsets. I hope > it will work as workaround. May be it is too aggressive, but better to > be safe then sorry. I assume that legacy_route mode may still work fine > there. It would be nice to test it. I assume you mean hint.hpet.0.legacy_route=3D1? I'll give that a try later= =20 today on both machines. =20 Is your patch the same as hint.hpet.0.clock=3D0? =20 > > The laptop is a Acer 2920. Its symptom for a GENERIC is a panic saying > > stray interrupt (irq7), with a custom kernel booting stalls. >=20 > This is strange, as my Acer with the same ICH8M works fine in all > possible modes. Also IMHO stray interrupts are not a reason to panic. > Could you show what it looks like? See http://markmail.org/message/smxnofrdmmkxyvnd for my previous email that= =20 includes the backtrace from that panic. When I booted in i386 safe mode th= e=20 kernel reported stray interrupts on irq7. vmstat -i shows irq7 as "stray=20 irq7". =20 Is there anything else you are looking for? --nextPart1652381.9iCLpYTfoM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEABECAAYFAkykJmIACgkQUaaFgP9pFrKPlwCfViXeQD1mrdBf1zYv75Qcos+n Q6UAn3nNFCGf6LLKm0h5Ke7ETBqoE9KG =dPhM -----END PGP SIGNATURE----- --nextPart1652381.9iCLpYTfoM--