View previous topic :: View next topic |
Author |
Message |
khola n00b
Joined: 28 Jul 2004 Posts: 24 Location: The State of the Land Thieves.
|
Posted: Mon Sep 06, 2004 10:09 pm Post subject: Gentoo Installation: Installing Separate Kernel modules... |
|
|
I just emerged the nvidia-kernel (1.0.5336-r4) and while it was being emerged, I saw this message:
Code: |
* The new 2.6.6 Series kernels include an option for 4K Stack sizes,
* this option must NOT be selected. This driver will only work with
* the OLD 8K Stack size, please ensure you leave 8K stack sizes for now.
|
Well, I re-compiled the kernel disabling the 4K Stack sizes.
Code: |
Kernel hacking -->
[ ] Kernel debugging
[ ]....
[ ]...
[ ] Use 4kb for kernel stacks instead of 8kb
|
and with the followings:
Code: |
Character devices -->
<M> /dev/agpgart (AGP support)
...
<M> Intel 440LX...
<M> Intel i865 chipset...
<M> NVIDIA nForce/nForce2 chipset support
Sound -->
<*> Sound Card Support
Advanced Linux Sound Architecture -->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> oss Mixer API
<M> oss PCM (digital audio) API
[*] oss Sequencer API
[ ] verbose printk
[ ] Debug
Generic devices -->
PCI devices -->
<M> EMU 10K1 (SB Live! & Audigy, E-mu ABS)
<M> Intel i8x0..
|
As per the Gentoo Handbook guide for installation : (7.e.) Installing Separate Kernel Modules, the following code
Code: |
# find /lib/modules/2.6.8-gentoo-r3/ -type f -iname '*.o' -or -iname '*.ko'
|
gave me the following:
Code: |
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/base/firmware_class.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/char/agp/agpgart.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/char/agp/intel-agp.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/char/agp/initel-mch-agp.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/char/agp/nvidia-agp.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/net/dummy.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/net/s2io.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/dpt_i2o.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/ipr.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers//usb/input/touchkitusb.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/usb/misc/phidgetservo.ko
/lib/modules/2.6.8-gentoo-r3/kernel/lib/libcrc32c.ko
/lib/modules/2.6.8-gentoo-r3/kernel/net/ipv4/netfilter/ipt_NOTRACK.ko
/lib/modules/2.6.8-gentoo-r3/kernel/net/netfilter/iptable_raw.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/pci/emu10k1/snd-emu10k1.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/2.6.8-gentoo-r3/kernel/sound/synth/snd-util-mem.ko
/lib/modules/2.6.8-gentoo-r3/video/nvidia.ko
|
My system consists of:
Code: |
AMD 2500+ XP
ASUS A7N8X Deluxe
BFG nVidia 6800 OC 128M video card
Audigy 2zs sound card
Gentoo is on the 2nd HD, Win XP Pro on the 1st HD
|
And my question is should I enter the followings in my /etc/modules.autoload.d/kernel-2.6 ?
Code: |
agpgart
nvidia-agp
nvidia
snd-seq-midi-emul
snd-seq-virmidi
snd-hwdep
snd-emu10k1-synth
snd-emu10k1
snd-emux-synth
snd-util-mem
|
_________________ The More I Think The More Confused I Get |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Mon Sep 06, 2004 10:12 pm Post subject: |
|
|
See whether you need to manually load them with modprobe to get things working. If you do, add them to autoload. If not, leave 'em out. |
|
Back to top |
|
|
khola n00b
Joined: 28 Jul 2004 Posts: 24 Location: The State of the Land Thieves.
|
Posted: Mon Sep 06, 2004 10:31 pm Post subject: |
|
|
26199, thanks for the reply.
What happens if I just leave them in the /etc/modules.autoload.d/kernel-2.6 ?
I suppose I can delete all sound related modules (or comment them out) as I don't even have X-term yet, but what about agpgart, nvidia-agp and nvidia? _________________ The More I Think The More Confused I Get |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Tue Sep 07, 2004 10:10 am Post subject: |
|
|
If you just load them all, odds are nothing bad will happen... it'll just be slightly inefficient. It's possible that they might cause trouble if they turn out to be the wrong ones.
agpart and nvidia-agp are to do with AGP graphics; nvidia would be the nvidia graphics driver, unsurprisingly. You won't need any of them to run X, but you will need them if you want to use nvidia's drivers with X. (I would expect the nvidia module will load agpart and nvidia-agp as necessary, not sure though). |
|
Back to top |
|
|
khola n00b
Joined: 28 Jul 2004 Posts: 24 Location: The State of the Land Thieves.
|
Posted: Tue Sep 07, 2004 2:11 pm Post subject: |
|
|
I commented out the sound modules. As for the
Code: |
agpgart
nvidia-agp
nvidia
|
I did a little googling and went over to nvidia and read their
README and found this recommendation:
Code: |
app-d) APPENDIX D: X CONFIG OPTIONS
__________________________________________________________________________
The following driver options are supported by the NVIDIA X driver.
They may be specified either in the Screen or Device sections of the X
config file.
Option "NvAGP" "integer"
Configure AGP support. Integer argument can be one of:
0 : disable agp
1 : use NVIDIA's internal AGP support, if possible
2 : use AGPGART, if possible
3 : use any agp support (try AGPGART, then NVIDIA's AGP)
Please note that NVIDIA's internal AGP support cannot
work if AGPGART is either statically compiled into your
kernel or is built as a module, but loaded into your
kernel (some distributions load AGPGART into the kernel
at boot up). Default: 3 (the default was 1 until after
1.0-1251).
|
I disabled the agpgart...it didn't help with my other problems but atleast I know what to do next time. _________________ The More I Think The More Confused I Get |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20584
|
Posted: Tue Sep 07, 2004 3:56 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
khola n00b
Joined: 28 Jul 2004 Posts: 24 Location: The State of the Land Thieves.
|
Posted: Wed Sep 08, 2004 6:48 pm Post subject: |
|
|
As mentioned here I was having problems starting X using the
Code: |
# emerge nividia-kernel
|
which downloaded the 1.0.5336-r4 version.
If I had read nvidia's site properly and carefully, or searched using "nvidia 6800" under the Kernel & Hardware section, I would have seen that Version: 1.0-6106 includes support for GeForce 6800 series of GPUs, and I wouldn't have all these problems.
Now, I know why to use
Code: |
# mkdir /etc/portage
# echo "media-video/nvidia-kernel ~x86" >> etc/portage/package.keywords
# echo "media-video/nvidia-glx ~x86" >> /etc/portage/package.keywords
emerge -av nvidia-kernel nvidia-glx
|
Time to go back, enable 4K stack in my kerenl and try again!
Boy, do I feel like an idiot!!
And this site rocks!
Thanks. _________________ The More I Think The More Confused I Get |
|
Back to top |
|
|
|