WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Where to put the Kernel Modules required for Xorg?  (Read 6880 times)

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
[SOLVED] Where to put the Kernel Modules required for Xorg?
« on: December 05, 2008, 09:32:30 AM »
At present I am starting Xorg by:
Quote
$ sudo modprobe agpgart
$ sudo modprobe intel-agp
$ sudo modprobe drm
$ startx
Where to put these modules to load to start X automatically.

kagashe
« Last Edit: December 05, 2008, 11:20:07 PM by kagashe »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Where to put the Kernel Modules required for Xorg?
« Reply #1 on: December 05, 2008, 10:38:27 AM »
Xorg should load those by itself. The fact it doesn't do it for you is definitely a bug.

I would put those modprobes to /opt/bootlocal.sh, without sudo, because that file is executed as root every boot.
The only barriers that can stop you are the ones you create yourself.

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Where to put the Kernel Modules required for Xorg?
« Reply #2 on: December 05, 2008, 09:27:38 PM »
Xorg should load those by itself. The fact it doesn't do it for you is definitely a bug.

I would put those modprobes to /opt/bootlocal.sh, without sudo, because that file is executed as root every boot.
Yes. There are bugs in Xorg 7.4 for intel driver as discovered on Fedora 10 as well.

Thanks. Putting in /opt/bootlocal.sh works for me.

kagashe

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
« Reply #3 on: December 20, 2008, 01:28:55 PM »
As a temporary workaround, I made a new version of graphics-2.6.26.tcem. Loading it will cause drm, agp, and hopefully also your agp chipset modules to become loaded.

Could you test?
The only barriers that can stop you are the ones you create yourself.

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
« Reply #4 on: December 20, 2008, 11:29:41 PM »
As a temporary workaround, I made a new version of graphics-2.6.26.tcem. Loading it will cause drm, agp, and hopefully also your agp chipset modules to become loaded.

Could you test?
Ok. Tested. Modules agpgart and drm are getting loaded but intel-agp is required to be loaded manually.

kagashe


Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
« Reply #5 on: December 22, 2008, 12:30:55 AM »
curaga
I checked on Ubuntu Hardy Heron Single user mode (Ubuntu does not boot in run level 3 unless I fiddle with configuration files).
# lsmod | grep agp
lists agpgart and intel-agp modules.

That means the modules are loaded before X starts.

How?

kagashe

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
« Reply #6 on: December 22, 2008, 06:30:49 AM »
They might be mentioned in /etc/modules (or /etc/sysconfig/modules, /etc/default/modules, or any other file in /etc with module in the filename)
The only barriers that can stop you are the ones you create yourself.