From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dt632-0006gs-Vf for garchives@archives.gentoo.org; Thu, 14 Jul 2005 15:54:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6EFrs3M006553; Thu, 14 Jul 2005 15:53:54 GMT Received: from s2.stud.uni-goettingen.de (s2.stud.uni-goettingen.de [134.76.60.22]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6EFnPEF021102 for ; Thu, 14 Jul 2005 15:49:25 GMT Received: from vpn-3102.gwdg.de ([134.76.3.102] helo=butch.nik13.home) by s2.stud.uni-goettingen.de with asmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1Dt5xq-0001JA-Ni for gentoo-user@lists.gentoo.org; Thu, 14 Jul 2005 17:49:32 +0200 Date: Thu, 14 Jul 2005 17:47:09 +0200 From: Hans-Werner Hilse To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Interesting install experience Message-Id: <20050714174709.55215abf.hilse@web.de> In-Reply-To: References: X-Mailer: Sylpheed version 2.0.0beta5 (GTK+ 2.6.8; i386-pc-dragonfly1) X-Face: ?%{N&v`I$/2&hU/l[fz~s5ETugSOp`~y,.e%_7S0cRnkJ!hD&DbkIR;;>t`-uvSs1,][|;;Z0|SS=_yW(db!q|_s/q"G^.qrVrk4;&.1fg8lZ@Kn=&`ePL.e.N{ZIS%ZN%+O4(xa9=j[HXpQdlGrr'%xZ]vQp1doD"u"W%qM$w$ySo@t,&$A1]\unoo@d"X{)Wa2MaW-axG|lRiC;/gVmgI Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 058f4aa8-fdbd-4e38-951a-3f8c770e2aa5 X-Archives-Hash: 47fc5ddc0547df466e8444a5fa598052 Hi, On Thu, 14 Jul 2005 16:27:49 +0100 Jim Hatfield wrote: > So I just installed another machine, using the 2005.0 CD and using > the new instructions. It has a Matrox G400 so I added support for > that in the kernel. This may have been a mistake. > > Everything is fine until I reboot, when after the GRUB screen and > kernel selection, the screen goes black with lots of pretty blue > squares all over it. This may be due to the framebuffer chosing a wrong mode for the kind of monitor you have. You can set the resolution and frame rate on the kernel command line. This should be documented in /usr/src/linux/ Documentation/fb/... (don't have it here atm) > I guess I will rebuild the kernel with Matrox support removed and > see if that fixes. This will probably work, too :-) > BTW, what is the received wistom wrt building things into the > kernel or building them as modules? As well as the G400 I have > an Intel NIC and a VIA sound card, and this time round chose to > build them in, though before I built them as modules. I'm not > clear as to the pros and cons. If the hardware is builtin, and you don't have problems with somewhat random hardware enumeration (i.e., multiple NICs getting different devices on each boot), there's little reason to build the drivers as modules. OTOH, probing a module triggers (if it loads successfully) a hotplug event, which is not the case during bootup (AFAIK, at least there are no hotplug scripts available at that moment). So if you chose to compile them into the kernel, you need to e.g. have "net.eth0" in the runlevel configuration for "boot" or "default". If you're probing them as modules, that will trigger hotplug and this should take care of running the respective start script. If you intend to run a common kernel on multiple machines, it may be wiser to compile some drivers to modules, but for e.g. PCI devices this shouldn't matter a lot, you only will save some RAM on machines that don't need the driver (compiled into the kernel). Sound is another matter: The kernel ALSA isn't always the latest version. So it's best to only configure sound support but no ALSA or OSS and then later "emerge alsa-driver". Then there are drivers that have their own code base only. In most cases it's much more complicated to integrate them into the kernel sources than to compile them as external modules. -hwh -- gentoo-user@gentoo.org mailing list