From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 13:20:21 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 E8EE5106566C for ; Tue, 15 Jul 2008 13:20:20 +0000 (UTC) (envelope-from vibarus@googlemail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.224]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC978FC1C for ; Tue, 15 Jul 2008 13:20:20 +0000 (UTC) (envelope-from vibarus@googlemail.com) Received: by qb-out-0506.google.com with SMTP id q12so4767989qbq.13 for ; Tue, 15 Jul 2008 06:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Uh99+U0aDJ8eyA3so1xDvjXxHDPHN7DTJGYQ++anDOA=; b=u9uhCARxuD6uCOi4n26RHyyy3IxXqXOl5a0OSdJ4X3VEpGa2bcCV/W5MSHMteMSsEH GUrsfKKDcOAbmIiUdFGkbUXlJsG/7JJiUh9EuHEyOLzeWWX2070ouzWcNU6/969P45P4 NUxxB7XsgCulNrINqqTC3sEgP3VZAWPYMXzKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UbeXz63DBaHvW9+pQvxKTfcKSe53njU6JCA+zVdOkv4hYyoJQIvHZSw2+RJobgaze5 BfnVVRDeF9/W8gcUGzf1R6hq5pPZFhN1Y4knjqOjUtUgw0MiJlxr+YPXpHdPgk7kQ+Gf w8e55urd560zOuOM52RVr+75Joq1cBj4euMZ0= Received: by 10.150.91.4 with SMTP id o4mr240351ybb.153.1216128019872; Tue, 15 Jul 2008 06:20:19 -0700 (PDT) Received: by 10.151.105.2 with HTTP; Tue, 15 Jul 2008 06:20:19 -0700 (PDT) Message-ID: Date: Tue, 15 Jul 2008 15:20:19 +0200 From: "Vincent Barus" To: freebsd-questions@freebsd.org In-Reply-To: <200807142258.34757.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200807082011.23341.fbsd.questions@rachie.is-a-geek.net> <200807142258.34757.fbsd.questions@rachie.is-a-geek.net> Subject: Re: difference between loading kernel module during boot and after boot manually? 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, 15 Jul 2008 13:20:21 -0000 On Mon, Jul 14, 2008 at 10:58 PM, Mel wrote: > On Monday 14 July 2008 20:29:07 Vincent Barus wrote: >> On Tue, Jul 8, 2008 at 8:11 PM, Mel > wrote: >> > On Tuesday 08 July 2008 16:48:26 Vincent Barus wrote: >> >> does anyone have an idea what's the difference or what _could_ be the >> >> difference on loading a kernel module during boot or manually? >> > >> > There's one major difference. File systems aren't mounted at loader >> > stage, so any reference to modules/libraries that exist on a different >> > partition, will fail. > >> Right now i have only one partition and the same problem occurs. Other >> modules e.g. for sound or the nvidia module work as a charm. >> So I think that's not the only difference. >> I can live with a module loaded at the end of the boot process/after >> login but I don't think that's the real solution. > > Hmm, I can only guess here. Is the machine booting to xorg? As in, is the > nvidia card actually initialized, not just in VGA mode? If so, does it work > when it stays in console mode and/or when nvidia.ko is removed from the > loaded modules? > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > I start X manually after login. You want me to unload nvidia.ko while on console? I never tried it --> have to try it. The card gets initialized during boot as it should instead of the nic which causes: re0: port 0xd800-0xd8ff mem 0xfebff000-0xfebfffff irq 17 at device 0.0 on pci4 re0: couldn't map ports/memory device_attach: re0 attach returned 6 as described in kern/123563 How do I track down mapping problems on boot time? Regards, Vince