You are not logged in.

#1 2009-05-02 02:00:34

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Modprobe question (pre-install drm modules via modprobe on start-up)

I'm trying to follow the dri building guide but archlinux doesn't have /etc/modules.conf so what do I do?

2.6.x kernels:

pre-install <drm module> /sbin/modprobe "-k" "agpgart"
pre-install agpgart /sbin/modprobe "-k" "<agp chipset driver>"

Thats what I'm trying to do. For more info go here:

http://dri.freedesktop.org/wiki/Buildin … 16c0c945a7

I don't know if I should make a /etc/modules.conf or add what to what. Specific instructions would be great. Btw i have a via chipset (vt8237) and an ati radeon (9800 pro) graphics card. Thanks in advance.

btw correct me if I'm wrong:

/etc/rc.conf:

LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#not sure if a line in MODULES=(...) should be made or not

MOD_AUTOLOAD="yes"
MODULES=(pre-install radeon /sbin/modprobe "-k" "agpgart"
pre-install agpgart /sbin/modprobe "-k" "via_agp")

USELVM="no"

HOSTNAME="archie"

eth0="eth0  192.168.0.10 netmask  255.255.255.0 broadcast  192.168.0.255"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(gateway)

DAEMONS=(!syslog-ng !netfs !crond network hal fam alsa gdm)

Now what do I put in /etc/modprobe.conf (if anything) because I'm really confused


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#2 2009-05-02 02:36:36

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Modprobe question (pre-install drm modules via modprobe on start-up)

By default, the only modprobe.conf file that exists in a new install will be blank.  The file is mostly used to either pass specific arguments to a kernel on boot-up so these args will be then inserted into userspace and used by whatever app needs them.  EG: There are examples of this regarding Alsa and blacklisting or adding special arguments in modprobe.conf for the hda-intel on-board soundcards.

As to what to put into that file, I can't tell you (didn't read the link yet).  I can tell you that you likely should just create it first then re-read what you're trying to do.  These lines won't go into rc.conf, that much I know:

pre-install <drm module> /sbin/modprobe "-k" "agpgart"
pre-install agpgart /sbin/modprobe "-k" "<agp chipset driver>"

In all likelihood you must either insert these into the modprobe.conf file itself OR run them as root commands.  As I said, haven't read the link so I don't know for sure.  Sorry, and I don't have time to read up much more.

HTH
MS

Offline

Board footer

Powered by FluxBB