From owner-freebsd-current Mon Sep 2 7:49:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6F4437B47E; Mon, 2 Sep 2002 07:49:27 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A86B43E42; Mon, 2 Sep 2002 07:49:26 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.10) id 17lsW1-0001RK-00; Mon, 02 Sep 2002 16:49:21 +0200 Date: Mon, 2 Sep 2002 16:49:21 +0200 From: Sheldon Hearn To: Marc Fonvieille Cc: freebsd-current@FreeBSD.org Subject: Re: hw.pci.enable_io_modes default value. Message-ID: <20020902144921.GG849@starjuice.net> Mail-Followup-To: Marc Fonvieille , freebsd-current@FreeBSD.org References: <20020901171238.GB238@marduk.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020901171238.GB238@marduk.blackend.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On (2002/09/01 19:12), Marc Fonvieille wrote: > I had "freeze at boot" problem with my laptop and -CURRENT: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=42262 > > I found the solution: setting hw.pci.enable_io_modes to 0. > So I have a question: that sysctl has to be =1 by default? I mean if I > have that issue with it and my laptop, maybe I'll not be the only one > with that problem. > > Well I'm sure there is a good reason for that default setting. Perhaps > we could write somewhere that setting may lead to hangs with some > hardware :) Don't be too sure. :-) revision 1.194 date: 2002/07/26 07:58:16; author: imp; state: Exp; lines: +36 -21 Make PCI_ENABLE_IO_MODES a sysctl hw.pci.enable_io_modes. It can also be set at boot time. It defaults to 1 now since it can be set in the boot loader. If this proves unwise, we can reset it to defaulting to 0. If enough people have trouble with this default, we might want to set it to 0, since 1) We can't please everyone. 2) We should try to please people with working hardware first. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message