From owner-freebsd-stable@FreeBSD.ORG Wed Sep 12 17:25:27 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CE151065672; Wed, 12 Sep 2012 17:25:27 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id BE2BD8FC08; Wed, 12 Sep 2012 17:25:26 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id CB34C6A6001; Wed, 12 Sep 2012 19:25:25 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.5/8.14.5) with ESMTP id q8CHPPie057813; Wed, 12 Sep 2012 19:25:25 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.5/8.14.5/Submit) id q8CHPPNL056995; Wed, 12 Sep 2012 19:25:25 +0200 (CEST) (envelope-from lars) Date: Wed, 12 Sep 2012 19:25:25 +0200 From: Lars Engels To: Andriy Gapon Message-ID: <20120912172525.GU20762@e-new.0x20.net> References: <500853DA.8050502@intersonic.se> <201207311632.30938.jhb@freebsd.org> <20120822093317.GW32916@e-new.0x20.net> <5034D4CD.4030301@gibfest.dk> <20120822165239.GX32916@e-new.0x20.net> <50351EA4.4040401@gibfest.dk> <20120912113425.GK20762@e-new.0x20.net> <50508606.4040704@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B2gdd0vZVCwxSorY" Content-Disposition: inline In-Reply-To: <50508606.4040704@FreeBSD.org> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.3-RELEASE-p2 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Thomas Steen Rasmussen , freebsd-stable@FreeBSD.org Subject: Re: Thinkpad X61s cannot boot 9.1-BETA1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 17:25:27 -0000 --B2gdd0vZVCwxSorY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 12, 2012 at 03:54:30PM +0300, Andriy Gapon wrote: > on 12/09/2012 14:34 Lars Engels said the following: > > On Wed, Aug 22, 2012 at 08:02:12PM +0200, Thomas Steen Rasmussen wrote: > >> > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> =20 > >> On 22-08-2012 18:52, Lars Engels wrote: > >>> On Wed, Aug 22, 2012 at 02:47:09PM +0200, Thomas Steen Rasmussen wrot= e: > >>>> > >>>> On 22-08-2012 11:33, Lars Engels wrote: > >>>>> > >>>>> I have a T61 running 9.1-BETA1 (with PC-BSD). In most cases it is > >>>>> booting fine, but from time to time it hangs at boot time but the l= ast > >>>>> lines are uhub0: ... to uhub4 > >>>>> Is that the same or a different issue? > >>>> Hello, > >>>> > >>>> I have that exact issue on an X301 after upgrading from 9.0 to > >>>> 9-STABLE a little while ago. It feels like it happens mostly when > >>>> rebooting from Windows to FreeBSD (dualboot machine), but I've > >>>> seen it from a cold boot as well. I've never seen it twice in > >>>> a row - turning the machine off and on again (by holding the > >>>> power button down) and it boots normally the next time. > >>>> > >>>> I am willing to test patches or enable extra debugging, or > >>>> help out any other way I can :) > >>> > >>> Have you ever seen that with verbose boot enabled? > >> Hello, > >> > >> No, but I can boot verbosely the next times I boot and see if it comes= up ? > >=20 > > Meanwhile I found out what's the cause of it. On 9.x it only hung from > > time to time, but I tried a few weeks old CURRENT and it hung at every > > boot at the same time. > > With enabled verbose boot it looked like this: > > http://bsd-geek.de/FreeBSD/IMAG0190.jpg > >=20 > > Then I removed the AC cable and booted from battery and that worked. So > > it seems to me that some ACPI change in CURRENT made the situation even > > worse. > >=20 >=20 > Could you try to play with different eventtimer settings (preferably in c= urrent) ? > You can use this thread / PR as a guide: > http://thread.gmane.org/gmane.os.freebsd.devel.amd64/14480/focus=3D14495 >=20 > The place where boot stop looks suspiciously close to the place where tim= er > interrupts should start driving the system. Yes, that's it! Setting kern.eventtimer.timer=3D"i8254" let's the Thinkpad boot on CURRENT with the AC cable inserted. --B2gdd0vZVCwxSorY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBQxYUACgkQKc512sD3afi5vACdHmZqfww6p+Y2UsFlzUZxqwKv 5a0AoJ8IVk1HFl5NOSlb5pGwUu/efOPF =Zg3/ -----END PGP SIGNATURE----- --B2gdd0vZVCwxSorY--