* [gentoo-amd64] modules @ 2005-11-04 12:40 DR GM SEDDON 2005-11-04 13:49 ` [gentoo-amd64] modules Duncan 0 siblings, 1 reply; 9+ messages in thread From: DR GM SEDDON @ 2005-11-04 12:40 UTC (permalink / raw To: gentoo-amd Hi, I was wondering. What modules do I need installed at boot? My hardware is dvd/cd rewriter ide 3.5" floppy scsi tape drive. initio scsi controller 125 mb ati radeon graphics 20" sgi monitor 3400+ cpu e2800+ cellular to attatch Gavin -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] Re: modules 2005-11-04 12:40 [gentoo-amd64] modules DR GM SEDDON @ 2005-11-04 13:49 ` Duncan 2005-11-04 20:04 ` Sebastian Redl 2005-11-04 21:25 ` [gentoo-amd64] " Steve Herber 0 siblings, 2 replies; 9+ messages in thread From: Duncan @ 2005-11-04 13:49 UTC (permalink / raw To: gentoo-amd64 DR GM SEDDON posted <436B56B2.10106@manchester.ac.uk>, excerpted below, on Fri, 04 Nov 2005 12:40:18 +0000: > Hi, > I was wondering. What modules do I need installed at boot? > My hardware is > dvd/cd rewriter ide > 3.5" floppy > scsi tape drive. initio scsi controller > 125 mb ati radeon graphics > 20" sgi monitor > 3400+ cpu > e2800+ cellular to attatch You don't need to load /any/ modules at boot, if you compile everything you'd normally load at boot and never unload, into the kernel itself, instead of as modules. Here, I do that, but compile stuff I use only occasionally, such as the floppy, loopback device, and parallel port (printer, yes, I still use the parallel port for that) drivers, and the msdos (floppy), iso9660 (CD/DVD), and ext2 (floppy) filesystems (my system is reiserfs, no ext2 unless on a floppy or filesystem image or something), as modules, so I can load them if an when I need them but keep the kernel from using so much unswappable memory when I don't. You might as well compile anything directly into the kernel that you'll be using enough so you'd be loading the modules at boot, anyway. The exception would be the few items of hardware with drivers that need parameters fed to them when loaded to get things right. These often need compiled and loaded as modules, even if you /do/ load them at boot and don't ever unload them, in ordered to feed them the correct parameters when they load. Thus, compiled into your kernel, you'll need the IDE main and your specific chipset drivers (or scsi drivers if you use that instead of IDE), the file system drivers for whatever file systems you normally use, the HID input main and keyboard drivers, virtual terminal and console on virtual terminal, agpgart, and probably your mouse and NIC drivers, plus motherboard or installation specific stuff like the real-time-clock, usb drivers, etc. Depending on how you have video setup, you likely do NOT need any kernel graphics card drivers beyond the normal VT/console drivers for text mode. For use within xorg, you'll load additional xorg or proprietary drivers. Gentoo normally recommends you compile the sound (ALSA) drivers as modules, but I compile them in, here, figuring I use them enough I don't want to mess with loading them separately. Obviously, that works best if you use the kernel's own sound drivers, rather than merging the alsa-drivers package separately, in which case modules are easier. As mentioned above, I don't load iso9660 or msdos filesystems or the floppy or loopback drivers built-in or at boot, because I don't use them enough to warrant it. If I need them, I load them, then unload them if I'm not immediately rebooting. The same here for the parallel port drivers for the printer. Something I HAVE found I have to compile and load as modules, are the USB stuff. However, I don't have to list them in /etc/modules.autoload.d/kernel-2.6, because I have sys-apps/coldplug merged and the initscript set to load as part of the boot level, and that handles loading USB for me. (It also handled loading the alsa/sound modules, back when I had them compiled as modules.) Other than that, I learned what I needed pretty much by going thru the entire kernel config and turning on what I KNEW I needed, then using trial and error on everything else, trying without it to see if everything still worked and didn't complain, going back and turning it back on if I found I needed it. BIND, if you run it, turns out to need something strange, that the kernel says is deprecated. (Don't worry, tho, enough folks run bind that deprecated or not, there WILL be a replacement before the kernel folks can remove it for good.) Other things you might find you need as well. No problem, just reboot to your old/backup if you couldn't even boot the new kernel, turn on what you need and recompile and reinstall the kernel, and try again. It's tough learning it the first time, but eventually you'll figure out what stuff you need and what most stuff does, and be fairly familiar with kernel configuration. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Re: modules 2005-11-04 13:49 ` [gentoo-amd64] modules Duncan @ 2005-11-04 20:04 ` Sebastian Redl 2005-11-04 20:35 ` [gentoo-amd64] " Duncan 2005-11-04 21:25 ` [gentoo-amd64] " Steve Herber 1 sibling, 1 reply; 9+ messages in thread From: Sebastian Redl @ 2005-11-04 20:04 UTC (permalink / raw To: gentoo-amd64 Duncan wrote: >You don't need to load /any/ modules at boot, if you compile everything >you'd normally load at boot and never unload, into the kernel itself, >instead of as modules. > > The single exception here are binary-only modules, usually proprietary drivers. The ATI graphics driver fglrx comes to mind. Sebastian Redl -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] Re: Re: modules 2005-11-04 20:04 ` Sebastian Redl @ 2005-11-04 20:35 ` Duncan 2005-11-05 2:12 ` Ian Hastie 0 siblings, 1 reply; 9+ messages in thread From: Duncan @ 2005-11-04 20:35 UTC (permalink / raw To: gentoo-amd64 Sebastian Redl posted <436BBEE8.1070303@getdesigned.at>, excerpted below, on Fri, 04 Nov 2005 21:04:56 +0100: > Duncan wrote: > >>You don't need to load /any/ modules at boot, if you compile everything >>you'd normally load at boot and never unload, into the kernel itself, >>instead of as modules. >> >> > The single exception here are binary-only modules, usually proprietary > drivers. The ATI graphics driver fglrx comes to mind. True, except that you shouldn't need to load it /at/ /boot/ either, only when you run X. The rest of the time the normal kernel console video driver should be fine. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Re: Re: modules 2005-11-04 20:35 ` [gentoo-amd64] " Duncan @ 2005-11-05 2:12 ` Ian Hastie 2005-11-07 9:42 ` Paul de Vrieze 0 siblings, 1 reply; 9+ messages in thread From: Ian Hastie @ 2005-11-05 2:12 UTC (permalink / raw To: gentoo-amd64 On Fri, 04 Nov 2005 13:35:19 -0700 Duncan <1i5t5.duncan@cox.net> wrote: > Sebastian Redl posted <436BBEE8.1070303@getdesigned.at>, excerpted > below, on Fri, 04 Nov 2005 21:04:56 +0100: > > > Duncan wrote: > > > >>You don't need to load /any/ modules at boot, if you compile > >>everything you'd normally load at boot and never unload, into the > >>kernel itself, instead of as modules. > >> > >> > > The single exception here are binary-only modules, usually > > proprietary drivers. The ATI graphics driver fglrx comes to mind. > > True, except that you shouldn't need to load it /at/ /boot/ either, > only when you run X. The rest of the time the normal kernel console > video driver should be fine. Which is true unless you run a display manager and log in through that. The only hard and fast rule of Linux is that there are no hard and fast rules. -- Ian. EOM -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Re: Re: modules 2005-11-05 2:12 ` Ian Hastie @ 2005-11-07 9:42 ` Paul de Vrieze 0 siblings, 0 replies; 9+ messages in thread From: Paul de Vrieze @ 2005-11-07 9:42 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 616 bytes --] On Saturday 05 November 2005 03:12, Ian Hastie wrote: > On Fri, 04 Nov 2005 13:35:19 -0700 > Which is true unless you run a display manager and log in through > that. The only hard and fast rule of Linux is that there are no hard > and fast rules. The load time of the display manager is last in the boot sequence. In that it is actually not that different from duncan's view. Of course without the graphics module you cannot actually use the binary driver. In that sense it must be present. Paul -- Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Re: modules 2005-11-04 13:49 ` [gentoo-amd64] modules Duncan 2005-11-04 20:04 ` Sebastian Redl @ 2005-11-04 21:25 ` Steve Herber 2005-11-05 9:24 ` [gentoo-amd64] " Duncan 1 sibling, 1 reply; 9+ messages in thread From: Steve Herber @ 2005-11-04 21:25 UTC (permalink / raw To: gentoo-amd64 On Fri, 4 Nov 2005, Duncan wrote: > DR GM SEDDON posted <436B56B2.10106@manchester.ac.uk>, excerpted below, > on Fri, 04 Nov 2005 12:40:18 +0000: > >> Hi, >> I was wondering. What modules do I need installed at boot? > > Other than that, I learned what I needed pretty much by going thru > the entire kernel config and turning on what I KNEW I needed, then > using trial and error on everything else, trying without it to see if > everything still worked and didn't complain, going back and turning it > back on if I found I needed it.... This is why I miss RedHat. I don't want to spend my time customizing a kernel then spending more time with trial and error getting just the kernel I need. RedHat has a system in place that installs a minimal kernal and then loads almost everything else as modules. Genkernel almost does what I want but it is always a struggle. The base system always loads all the different disk drivers and does not unload the unused ones. Is anyone working on a more RedHat like kernel/modules/runtime loading system? It would eliminate the problem the original poster had and save lots of time for the rest of us. Thanks, Steve Herber herber@thing.com work: 206-221-7262 Security Engineer, UW Medicine, IT Services home: 425-454-2399 -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] Re: Re: modules 2005-11-04 21:25 ` [gentoo-amd64] " Steve Herber @ 2005-11-05 9:24 ` Duncan 0 siblings, 0 replies; 9+ messages in thread From: Duncan @ 2005-11-05 9:24 UTC (permalink / raw To: gentoo-amd64 Steve Herber posted <Pine.LNX.4.64.0511041314570.1239@thing.com>, excerpted below, on Fri, 04 Nov 2005 13:25:20 -0800: > This is why I miss RedHat. I don't want to spend my time customizing > a kernel then spending more time with trial and error getting just the > kernel I need. RedHat has a system in place that installs a minimal > kernal and then loads almost everything else as modules. Genkernel almost > does what I want but it is always a struggle. The base system always > loads all the different disk drivers and does not unload the unused ones. > Is anyone working on a more RedHat like kernel/modules/runtime loading > system? It would eliminate the problem the original poster had and save > lots of time for the rest of us. If you don't want to spend your time customizing, why in tarnation did you choose /Gentoo/, of /all/ distributions? Customization is practically Gentoo's middle name, the reason we spend all that time compiling from source and etc. Red Hat and their method of pigeonholing everybody into convenient categories, the better to provide binaries for them... I think you'll find very few Gentoo developers interested in going that route... or they'd not be Gentoo developers, and would be spending their time on some other distribution (Debian's the closest in spirit to Gentoo that does binaries by default). Not to be unwelcoming, but honestly, if you're missing that sort of top-down other-people controlling your machine for you environment, than Gentoo is very likely the wrong distribution for you! There are others that provide that sort of thing far better than Gentoo, which is pretty much the antitypical distribution, if that's what you are looking for. OTOH... Gentoo users are system-admins, and that's what it expects them to be -- ready to take responsibility and control over their own machines. While it's certainly possible for someone to take pretty much the genkernel defaults, and have an acceptable system, part of becoming a mature Gentoo user (that is, a mature sysadmin on a system running Gentoo Linux) is learning the ins and outs of kernel customization, to the degree you want to customize it. If you are comfortable with it remaining as is, that's fine, but the ability and tools are there to become familiar with your system, and customize the kernel, as well as everything else, to the degree of lean mean computing machine, you desire. I sincerely hope you do not take this wrong, but your comment did hit a nerve, as I'm sure you can tell, by now. =8^/ -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Re: modules @ 2005-11-04 22:55 Dmitri Pogosyan 2005-11-05 0:05 ` Nuitari 0 siblings, 1 reply; 9+ messages in thread From: Dmitri Pogosyan @ 2005-11-04 22:55 UTC (permalink / raw To: gentoo-amd64 > On Fri, 4 Nov 2005, Duncan wrote: > > > DR GM SEDDON posted <436B56B2.10106@manchester.ac.uk>, excerpted below, > > on Fri, 04 Nov 2005 12:40:18 +0000: > > > >> Hi, > >> I was wondering. What modules do I need installed at boot? > > > > Other than that, I learned what I needed pretty much by going thru > > the entire kernel config and turning on what I KNEW I needed, then > > using trial and error on everything else, trying without it to see if > > everything still worked and didn't complain, going back and turning it > > back on if I found I needed it.... > > This is why I miss RedHat. I don't want to spend my time customizing > a kernel then spending more time with trial and error getting just the > kernel I need. RedHat has a system in place that installs a minimal > kernal and then loads almost everything else as modules. Genkernel almost > does what I want but it is always a struggle. The base system always > loads all the different disk drivers and does not unload the unused ones. Absence of autounloading is not a property of gentoo, but of recent kernels. Somewhere along Linux people decided that unloading unused modules is not that useful :( Am I right, actually ? > Is anyone working on a more RedHat like kernel/modules/runtime loading > system? It would eliminate the problem the original poster had and save > lots of time for the rest of us. > > Thanks, > > Steve Herber herber@thing.com work: 206-221-7262 > Security Engineer, UW Medicine, IT Services home: 425-454-2399 > -- > gentoo-amd64@gentoo.org mailing list -- Dmitri Pogosyan Department of Physics Associate Professor University of Alberta tel 1-780-492-2150 412 Avadh Bhatia Physics Labs fax 1-780-492-0714 Edmonton, AB, T6G 2J1, CANADA -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] Re: modules 2005-11-04 22:55 [gentoo-amd64] " Dmitri Pogosyan @ 2005-11-05 0:05 ` Nuitari 2005-11-05 9:39 ` [gentoo-amd64] " Duncan 0 siblings, 1 reply; 9+ messages in thread From: Nuitari @ 2005-11-05 0:05 UTC (permalink / raw To: gentoo-amd64 >> This is why I miss RedHat. I don't want to spend my time customizing >> a kernel then spending more time with trial and error getting just the >> kernel I need. RedHat has a system in place that installs a minimal >> kernal and then loads almost everything else as modules. Genkernel almost >> does what I want but it is always a struggle. The base system always >> loads all the different disk drivers and does not unload the unused ones. > > Absence of autounloading is not a property of gentoo, but of recent kernels. > Somewhere along Linux people decided that unloading unused modules is not > that useful :( > > Am I right, actually ? I really don't see the point of going to that much trouble to save a few Kbs of RAM -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] Re: Re: modules 2005-11-05 0:05 ` Nuitari @ 2005-11-05 9:39 ` Duncan 0 siblings, 0 replies; 9+ messages in thread From: Duncan @ 2005-11-05 9:39 UTC (permalink / raw To: gentoo-amd64 Nuitari posted <Pine.LNX.4.64.0511041904550.4212@melchior.nuitari.net>, excerpted below, on Fri, 04 Nov 2005 19:05:39 -0500: >> Absence of autounloading is not a property of gentoo, but of recent kernels. >> Somewhere along Linux people decided that unloading unused modules is not >> that useful :( >> >> Am I right, actually ? > > I really don't see the point of going to that much trouble to save a few > Kbs of RAM Ian described the kernel hackers' achieved conclusion quite accurately in the other subthread -- module unloading wasn't seen as the route to the most stable kernel possible, so it was deemphasized and made optional. However, to directly comment on your reply... yes, those few KB of RAM /do/ matter, to many. Consider that kernel memory is by definition /locked/ memory -- it can never be swapped out. On a system with uptime into the weeks and months, not unusual at all for Linux, if you only fire up the CD/DVD drive every couple weeks (to use a personal example that I mentioned earlier in the thread), and that driver remains loaded all the REST of the time as well, that's expensive space in non-swappable physical memory that /could/ be used for (most likely) cache memory, otherwise. Memory is expensive, and I prefer mine doesn't sit around doing nothing, when it can be put to better use, increasing the performance of even a couple lookups a day that might otherwise have been flushed out of physical memory. It's not much, but I'd rather have it than not, since I've paid for the memory and otherwise it's just sitting there inactive. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-11-07 9:43 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-11-04 12:40 [gentoo-amd64] modules DR GM SEDDON 2005-11-04 13:49 ` [gentoo-amd64] modules Duncan 2005-11-04 20:04 ` Sebastian Redl 2005-11-04 20:35 ` [gentoo-amd64] " Duncan 2005-11-05 2:12 ` Ian Hastie 2005-11-07 9:42 ` Paul de Vrieze 2005-11-04 21:25 ` [gentoo-amd64] " Steve Herber 2005-11-05 9:24 ` [gentoo-amd64] " Duncan -- strict thread matches above, loose matches on Subject: below -- 2005-11-04 22:55 [gentoo-amd64] " Dmitri Pogosyan 2005-11-05 0:05 ` Nuitari 2005-11-05 9:39 ` [gentoo-amd64] " Duncan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox