From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 19:25:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAFBE1065672 for ; Tue, 21 Oct 2008 19:25:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9CAD48FC21 for ; Tue, 21 Oct 2008 19:25:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id VWDj1a00Z1HpZEsA1XRr6Y; Tue, 21 Oct 2008 19:25:51 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id VXRq1a00P2P6wsM8aXRqvX; Tue, 21 Oct 2008 19:25:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=VzWalFZNP_EA:10 a=QycZ5dHgAAAA:8 a=4-ZoNfEdZeM7nW6saGYA:9 a=N82pwhBTbIecmOIsvhgA:7 a=-uo2ZCwYxvK42Cdm56t1j5CWCpYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 530D9C9432; Tue, 21 Oct 2008 12:25:50 -0700 (PDT) Date: Tue, 21 Oct 2008 12:25:50 -0700 From: Jeremy Chadwick To: robert@webtent.com Message-ID: <20081021192550.GA38296@icarus.home.lan> References: <1224445801.6926.0.camel@laptop.webtent.org> <1224614122.8122.62.camel@columbus.webtent.org> <20081021184711.GA37448@icarus.home.lan> <200810211509.53454.jhb@freebsd.org> <1224616948.8122.79.camel@columbus.webtent.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224616948.8122.79.camel@columbus.webtent.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD , John Baldwin Subject: Re: page fault while in kernel mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 19:25:52 -0000 On Tue, Oct 21, 2008 at 03:22:28PM -0400, Robert Fitzpatrick wrote: > On Tue, 2008-10-21 at 15:09 -0400, John Baldwin wrote: > > Alternatively, you could just remove the 'device adv' line from your > > kernel > > config rather than adding lots of 'nodevice' lines at the bottom. You > > can > > usually do 'man 4 ' to see what devices it supports. In > > this > > case, adv(4) supports mostly ancient Advansys SCSI host adapters. > > The > > manpage has a full list of the various model numbers, etc. > > Yes, that is what I thought. Right now, I am just commenting them out, > now I know what people mean when they say they are running a > trimmed/clean kernel. > > I did see one potential issue... > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB interface (USB 2.0) > device usb # USB Bus (required) > > I see all of these with nodevice lines in the PAE file. Although I have > USB ports, I don't use them, but I was concerned by the 'required' on > the last one, is it OK to remove? Also, would I then need to disable USB > in the BIOS to avoid errors? If you remove "device usb", you will also need to remove uhci, ohci, ehci, umass, ukbd, etc. etc. etc... from your config as well. You do not need to disable USB support in the BIOS; the kernel will simply state that it sees devices on the PCI bus but lacks a driver to attach to them. This will not harm anything. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |