From owner-freebsd-current@FreeBSD.ORG Tue Mar 18 23:08:05 2008 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 A74C7106564A for ; Tue, 18 Mar 2008 23:08:05 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7238FC1A for ; Tue, 18 Mar 2008 23:08:05 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jbkua-0003pw-3s for freebsd-current@freebsd.org; Tue, 18 Mar 2008 23:08:04 +0000 Received: from 78-1-99-185.adsl.net.t-com.hr ([78.1.99.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Mar 2008 23:08:04 +0000 Received: from ivoras by 78-1-99-185.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Mar 2008 23:08:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Wed, 19 Mar 2008 00:07:54 +0100 Lines: 70 Message-ID: References: <20080318124019.O910@desktop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig208DCAEF9C34C47EC19185EC" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-99-185.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <20080318124019.O910@desktop> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Panic of 8-CURRENT in VMWare 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: Tue, 18 Mar 2008 23:08:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig208DCAEF9C34C47EC19185EC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Jeff Roberson wrote: >=20 > On Tue, 18 Mar 2008, Ivan Voras wrote: >=20 >> Ivan Voras wrote: >>> Hi, >>> I cannot boot a very recent build (minutes ago) of 8-CURRENT on=20 >>> VMWare Server. Panic ("integer divide fault" - is this division by=20 >>> zero?) is in sched_rr_interval(). >>> >>> More info here: >>> http://ivoras.sharanet.org/stuff/panic/ >>> >>> It might be because I'm trying to run without WITNESS+INVARIANTS. >> >> No, building a GENERIC kernel doesn't change anything. It's also not a= =20 >> cvsup glitch - todays sources panic in exactly the same way. >> >> > Can you tell me what the values of: >=20 > sysctl kern.sched.slice >=20 > and >=20 > sysctl kern.clockrate >=20 > are? The machine doesn't finish booting the kernel (i.e. init isn't executed) = and fetching sysctls apparently isn't supported by the kernel debugger=20 (though it would be nice if it did work, at least for simple variables). The only old kernel I have is 7.0RC1, and in it I can only access=20 kern.clockrate, which is { hz=3D50, tick=3D20000, profhz=3D33, stathz=3D6= }. Since you brought up the issue of clocks, I removed the tuning of=20 kern.hz (it was present there practically forever) and the panic's gone. = I use low values for kern.hz in VMWare to (noticably) reduce problems=20 with clock drift and context switches, so it would be nice to not have=20 the kernel panic with it :) Apparently lowering kern.hz works upto about 75 - anything lower=20 triggers the integer divide fault. --------------enig208DCAEF9C34C47EC19185EC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH4EtLldnAQVacBcgRAqR8AKDbbHRU5R1RvDjA6Ei/01hoxLMJUgCg5d1A FhrBbesPw4XIFdAR8E6upaE= =G0pZ -----END PGP SIGNATURE----- --------------enig208DCAEF9C34C47EC19185EC--