Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: kagashe on December 05, 2008, 09:32:30 AM

Title: [SOLVED] Where to put the Kernel Modules required for Xorg?
Post by: kagashe 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
Title: Re: Where to put the Kernel Modules required for Xorg?
Post by: curaga 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.
Title: Re: Where to put the Kernel Modules required for Xorg?
Post by: kagashe 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
Title: Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
Post by: curaga 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?
Title: Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
Post by: kagashe 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

Title: Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
Post by: kagashe 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
Title: Re: [SOLVED] Where to put the Kernel Modules required for Xorg?
Post by: curaga 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)