From owner-freebsd-current Mon Sep 2 11:32:56 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 37C6D37B400; Mon, 2 Sep 2002 11:32:52 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 179BC43E3B; Mon, 2 Sep 2002 11:32:51 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g82IWmHu009745; Mon, 2 Sep 2002 12:32:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 02 Sep 2002 12:32:28 -0600 (MDT) Message-Id: <20020902.123228.35194402.imp@bsdimp.com> To: sheldonh@starjuice.net Cc: blackend@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: hw.pci.enable_io_modes default value. From: "M. Warner Losh" In-Reply-To: <20020902144921.GG849@starjuice.net> References: <20020901171238.GB238@marduk.blackend.org> <20020902144921.GG849@starjuice.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <20020902144921.GG849@starjuice.net> Sheldon Hearn writes: : 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. I made it 1 because I wanted to get feedback on what hardware is broken. So far only two people have complained. Hundreds complained when the default was 0. Seems like the choice was good to me still. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message