Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What modules should i have compiled? i think most of my drivers are built into the kernel. what should i have compiled as a module. all lsmod reports is my sound card, agpgart,and my video card.
well i guess its a problem. the first thing is that when i am doing even slightly resource heavy like un tarring a tarball, the system LAGS big time. the mouse will barley move, and sometimes move in random directions. i find this weird becuase before i used to run mandrake 10.1 i didnt have this problem. but now on slack 10.1 (kernel 2.11.6.8) this happens.
Also, games will run for no more than five minutes, then the system hangs. so i wanted to look at my loaded modules,and it seemed very low.
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125
Rep:
I'm not too too experienced with this - but it may be IO schedulers in the kernel. Did you enable 'Preemptible Kernel Support'? Are you using a stock slack kernel, or are you downloading it from elsewhere (ie love, nitro, mm)?
do a `uname -r` . I'm thinking you meant that you're using 2.6.11-slackware-r8, as 2.11.6.8 isn't a real kernel
Are you running operations as root when this happens (ie untarring a tarball) or just as a regular user? I used to have problems similar to yours (freezing, partiticularly when running an operation as root), but I don't know exactly I fixed them. I think it was a matter of using a different kernel (or perhaps the different kernel having different IO schedulers).
Also, if you have a large amount of RAM (1gb+) make sure you enable 'Highmem Support (4gb)' otherwise the overhead of the paging table(?), or something, becomes to great and a lot of RAM goes to waste. I don't know that that would effect your general desktop speed though...
To answer your original question: I generally make everything a module unless I must have it to boot - ie SATA, ext2, ext3, reiserfs, LVM2, HID - stuff like that. In addition to sound and video, my network support, netfilter/iptables support, ieee1394, usb, usb2, printer, scanner, and such are loaded as modules.
yea i did mean 2.6.11.8, lol my bad i was typing to fast. i am running everything as root. and i am almost positive that that premptive kernel thing is loaded.
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125
Rep:
you definitely shouldn't be running everything as root. Running a process as root can allow it priorities that it shouldn't have (perhaps defying the preemptibility???). Try running everything as a user and just using 'sudo' as necessary.
You'll need to make sure you have a line something like '%wheel ALL=(ALL) ALL' and you may want to uncomment (or add) 'Defaults:%wheel !env_reset' in /etc/sudoers because it drives me nuts when I do a 'DISPLAY=":0.0" sudo graphical-app' and it doesn't work due to the env_reset... argh... You'll need to be in the wheel group to use sudo.
To run as a regular user you probably need to be in groups like 'games,video,sound,cdrom,usb' and maybe a few others.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.