LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-20-2004, 07:25 PM   #46
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0

Quote:
Originally posted by /bin/bash
Humm.. It looks like maybe your snapshot was corrupted. The savage.bz2 file should be about 1.9M and the common.bz2 file is 1.08M. You should create 5 subdirectories and 4 files in the dripkg directory. Maybe you should try starting over.
OK, I used a different common and savage package, and it installed ok, but when I restart x I get an error that says:

(II) LoadModule: "savage"
(II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o
(II) Module savage: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.1.27
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.7
(EE) module ABI minor version (7) is newer than the server's version (6)
(II) UnloadModule: "savage"
(II) Unloading /usr/X11R6/lib/modules/drivers/savage_drv.o
(EE) Failed to load module "savage" (module requirement mismatch, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(EE) No drivers available.

Fatal server error:

What version of XF86 do I need to be running? I'm using 4.3.0.dfsg.1-6 THanks for any help
 
Old 08-24-2004, 05:40 PM   #47
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
I got the same ERROR as shep fc3 did in post #41:

Compiling...
ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

So, I tried $ grep DRM /usr/src/linux/.config and got:

bash: $: command not found

So I $ cat dri.log in dripkg and got:

Makefile:171: *** Cannot find a kernel config file. Stop.

Is this a losing battle?
 
Old 08-24-2004, 08:33 PM   #48
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
Do you have the kernel Source installed in /usr/src? also type ls -al /usr/src/linux and look for a .config file. If /usr/src is empty then you don't have the kernel source. I think my problem is with the version of Xfree and the savage module version. I don't know what I can fix with it though. I guess I should try to upgrade Xfree
 
Old 08-24-2004, 10:08 PM   #49
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
Yep!

When I type "ls -al /usr/src/linux" I get:

lrwxrwxrwx 1 root root 17 2004-08-19 18:31 /usr/src/linux -> linux-2.6.5-7.104

However, I do not have .config in the /usr/src/linux directory.
 
Old 08-24-2004, 11:36 PM   #50
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
I would say that you don't have the kernel source installed correctly. When you type ls -al you should get a whole list of files. It is a symlink to your kernel-x.y.z directory, so it should show the same things. Are you just running a default kernel from the distro install? Tell me what happens if you type ls -al in the /usr/src/linux-2.6.5-7.104 directory.
 
Old 08-25-2004, 05:01 PM   #51
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
shep fc3,

It sure looks like source is installed.

bob@linux:~> ls -al /usr/src/linux-2.6.5-7.104
total 234
drwxr-xr-x 20 root root 712 2004-08-19 18:31 .
drwxr-xr-x 6 root root 240 2004-08-24 17:13 ..
drwxr-xr-x 22 root root 536 2004-08-19 18:31 arch
-rw-r--r-- 1 root root 18691 2004-04-03 21:37 COPYING
-rw-r--r-- 1 root root 85160 2004-04-03 21:37 CREDITS
drwxr-xr-x 2 root root 824 2004-08-19 18:31 crypto
drwxr-xr-x 45 root root 4272 2004-08-19 18:30 Documentation
drwxr-xr-x 49 root root 1264 2004-08-19 18:31 drivers
drwxr-xr-x 58 root root 3024 2004-08-19 18:31 fs
drwxr-xr-x 34 root root 928 2004-08-25 16:56 include
drwxr-xr-x 2 root root 424 2004-08-19 18:31 init
drwxr-xr-x 2 root root 216 2004-08-19 18:31 ipc
drwxr-xr-x 3 root root 312 2004-08-19 18:31 kdb
drwxr-xr-x 5 root root 1320 2004-08-19 18:31 kernel
drwxr-xr-x 4 root root 864 2004-08-19 18:31 lib
-rw-r--r-- 1 root root 51186 2004-07-28 12:52 MAINTAINERS
-rw-r--r-- 1 root root 37753 2004-07-28 12:53 Makefile
-rw-r--r-- 1 root root 2091 2004-07-28 11:44 Makefile.suse
drwxr-xr-x 2 root root 1032 2004-08-19 18:31 mm
drwxr-xr-x 32 root root 968 2004-08-19 18:31 net
-rw-r--r-- 1 root root 13976 2004-04-03 21:38 README
lrwxrwxrwx 1 root root 50 2004-08-19 18:30 README.SUSE -> ../../share/doc/packages/kernel-source/README.SUSE
-rw-r--r-- 1 root root 2815 2004-04-03 21:37 REPORTING-BUGS
drwxr-xr-x 2 root root 72 2004-08-19 18:31 rpmify
drwxr-xr-x 7 root root 1336 2004-08-19 18:31 scripts
drwxr-xr-x 3 root root 272 2004-08-19 18:31 security
drwxr-xr-x 15 root root 496 2004-08-19 18:31 sound
drwxr-xr-x 2 root root 136 2004-08-19 18:31 usr
 
Old 08-25-2004, 05:03 PM   #52
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
BTW,

when I "ls -al /usr/src" I get:

bob@linux:~> ls -al /usr/src
total 1
drwxr-xr-x 6 root root 240 2004-08-24 17:13 .
drwxr-xr-x 12 root root 344 2004-06-17 19:22 ..
drwxr-xr-x 3 root root 72 2004-08-24 17:13 kernel-modules
lrwxrwxrwx 1 root root 17 2004-08-19 18:31 linux -> linux-2.6.5-7.104
drwxr-xr-x 20 root root 712 2004-08-19 18:31 linux-2.6.5-7.104
drwxr-xr-x 3 root root 72 2004-08-19 18:30 linux-2.6.5-7.104-obj
lrwxrwxrwx 1 root root 21 2004-08-19 18:31 linux-obj -> linux-2.6.5-7.104-obj
drwxr-xr-x 7 root root 168 2004-06-17 20:07 packages
 
Old 08-25-2004, 11:06 PM   #53
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
you should have a .config file in that folder. I sure hope you have one named config-(version) in your /boot directory. I would copy that file to the folder with the source using cp /boot/config(version) /usr/src/linux(version)/.config make sure it is .config, then delete the symbolic link and recreate it with ln -s /usr/src/linux-bla.bla linux. then you can make xconfig and go through the recompile. I am kinda curious what is in your boot directory though.
 
Old 08-26-2004, 08:27 AM   #54
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
bob@linux:/boot> ls
backup_mbr message
boot symvers-2.6.5-7.104-i386-default.gz
config-2.6.5-7.104-default System.map-2.6.5-7.104-default
grub vmlinux-2.6.5-7.104-default.gz
initrd vmlinuz
initrd-2.6.5-7.104-default vmlinuz-2.6.5-7.104-default
Kerntypes-2.6.5-7.104-default
 
Old 08-26-2004, 06:12 PM   #55
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
yup you will need to copy that config file and recompile. Then you can change and settings you want while your add it, or just leave it as it is.
 
Old 08-26-2004, 06:13 PM   #56
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
!#/bin/bash have any ideas on the mismatch error that I am getting. I found a .deb for xfree 4.4 but I don't know if that will solve my problem.
 
Old 08-26-2004, 10:35 PM   #57
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
OK, shep fc3, I did everything you suggested and I am right where you were in Post #44:

bob@linux:~/dripkg> cat dri.log
cc -o .o
cc: no input files
make: *** [.o] Error 1

HMMMMMMMM
 
Old 08-27-2004, 08:53 PM   #58
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
OK, what I did to fix that was just went to the previous version on download part, and thats where I still sit now, but I did get it to install after that. Just follow the directions on this page, but instead of downloading the latest common and savage package, download the preceeding one. Hope you have better luck than I did.
 
Old 08-27-2004, 11:23 PM   #59
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
shep fc3,

With all due respect, it doesn't sound like that fixed anything for you. It sounds like it really messed up everything. Did you rm -rf the old dripkg directory before installing the previous version?
 
Old 08-28-2004, 03:26 PM   #60
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
yes I removed all directories that were installed before. with the rm -rf command.

Well I have to say that I finally had success! Woohoo!!! What I had to do was install the xserver-xfree86-4.4.0 then I ran that install script again and check it out.

shep@debian-shep:/etc/X11$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libGL is out of sync with DRI - no direct rendering ATI m9 cor67393 Slackware 5 08-21-2005 12:13 PM
Can't get DRI enabled with Savage/IX-MV Arttu Linux - Software 14 02-09-2005 02:36 AM
DRI not working on Savage Trurl Linux - Hardware 2 01-24-2005 09:22 PM
Question about DRI for S3 savage (twister) blubz Linux - Hardware 1 11-19-2004 10:20 AM
XFree86 DRI : glxinfo -> Direct rendering : No Muzzy Linux - Hardware 20 05-24-2004 07:03 AM


All times are GMT -5. The time now is 06:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration