LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-10-2003, 10:34 AM   #1
mausie
Member
 
Registered: Sep 2003
Posts: 51

Rep: Reputation: 15
Linux wont run anymore!


LINUX WONT RUN ANYMORE ((
i installed ati drivers and worked fine for 1 day.. but yesterday i turned pc on again and all i get is terminal
when i login and typ: startx
i get error: no screens
i tried running XFdrake and set everything to right settings for display etc
but nothing works linux just wont run anymore

some1 help??
 
Old 09-10-2003, 11:30 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
the ati drivers (fglrx) is the module loaded into the kernel after rebooting?
 
Old 09-10-2003, 02:08 PM   #3
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
no idea... im a big newbie
but well it worked fine after rebooting for 1 day
till yesterday
and well at installing ati drivers i had some error i couldnt use 3d because of something but the rest should work fine
 
Old 09-10-2003, 02:22 PM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
so you have X working? just not with DRI (AGP). from a console when you execute 'lsmod' do you see 'fglrx' anywhere in the mix? you should. that fglrx is what provides you with access to ATI's AGP card.
 
Old 09-10-2003, 02:55 PM   #5
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
i typed lsmod
but couldn't find fglrx in the list :/
( gone to bed.. bb tommorow i hope some1 know hows to fix this because this is no fun linux in black screen :P )
thnx for the help i already got
night night

Last edited by mausie; 09-10-2003 at 03:10 PM.
 
Old 09-10-2003, 06:26 PM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
turn on your box, from the console type as root 'modprobe fglrx'. this should load the ATI driver ... then as a user try loading X.
 
Old 09-11-2003, 07:49 AM   #7
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Can't locate module fglrx
 
Old 09-11-2003, 08:50 AM   #8
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
btw this is 9.1
i also got 9.2 RC2
is it good idea to try that 1 or it's not stable?
 
Old 09-11-2003, 09:22 AM   #9
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Not sure about which is better 9.1 vs 9.2.

if you execute as root 'updatedb && locate fglrx'
do you see a directory '/lib/modules/fgrlx'? You should after installing the ATI drivers. If the fglrx module is installed on your system you should also see an fglrx.o in /lib/modules/<kernel version>/kernel/drivers/char/...

if not then you will need to 'cd /lib/modules/fglrx/build_module' and build the module yourself using the make.sh script in that directory.

then install the newly built module with 'cd .. ; make_install.sh'.

then if all goes well you should be able to modprobe fglrx and you will be on your way.

best of luck,
jpbarto
 
Old 09-11-2003, 09:53 AM   #10
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
er, i have no idea how to run files etc
i did /make.sh but i got message: no such file
but i KNOW it's there because ive seen that file when i tried fixing 3d in linux itself

can u maybe explain stuff more.. because im big newbie :P
 
Old 09-11-2003, 10:24 AM   #11
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
sure no problem. if as root you are in the /lib/modules/fglrx/build_module directory there will be a file make.sh. the '.sh' means its a shell script (like a batch file in windows). make sure it is executable ... 'ls -l make.sh' ... on the left you should see a 9 character string of assorted 'r', 'w', and 'x' characters. It should look something like this rwxr-xr-x ... if that's all settled then you execute the script like this

'./make.sh' ... the current working directory (whatever directory you're in) is typically not in root's PATH variable. as such you have to specify ( with the './') that you want to execute the make.sh script that is in the current directory.

let me know how it goes, we'll take it one step at a time.
 
Old 09-11-2003, 10:37 AM   #12
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
i was root #
-bash: .make.sh: Permission denied
 
Old 09-11-2003, 10:45 AM   #13
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
well you're root so you can change the permissions (unless there's a REALLY wierd error)

'chown root.root make.sh'
'chmod 755 make.sh'
'./make.sh'
 
Old 09-11-2003, 11:02 AM   #14
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
ATI module generator v 2.0

kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

Last edited by mausie; 09-11-2003 at 11:08 AM.
 
Old 09-11-2003, 11:51 AM   #15
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Ah! well that's a simple one. You have mandrake, means your kernel was precompiled. Mandrake probably installed the kernel from some rpm named kernel-2.4.20_3-i386.rpm or something like that. You'll need to rummage around on your Mandrake CD and install the kernel source rpm as well. Should look something like kernel-2.4.20_02-src.rpm or kernel-2.4.20_03-source.rpm ... once that is installed you should be able to build the module.

jpbarto

( the other solution is to download the kernel source from kernel.org and build a new kernel but that's probably going a little far )
 
  


Reply



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
Why wont AIM run on linux boxerboy Ubuntu 8 07-21-2005 09:26 AM
usb wont work anymore slackinblack Linux - Hardware 2 06-02-2005 09:38 PM
linux-installer.sh wont run for UT 2004 PapaSmurf88 Linux - Games 3 05-29-2005 02:35 PM
lilo wont boot winxp anymore Rognon Linux - General 2 02-12-2005 11:55 AM
Terminal 7 damaged? X wont start anymore! Pirf2 Linux - Software 2 08-19-2004 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration