LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2013, 03:54 PM   #1
pinkyzbrain
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Rep: Reputation: Disabled
CentOs init 3 unusable, constant stream of text


I am currently running the CentOs distro and I had to install graphics drivers for my NVidia card. Somewhere throughout the installation process I managed to modify a file that caused run-level 3 to constantly return system information. It has gotten to the point where I cannot enter shell commands. I managed to restore the default boot level to 5 but anytime I switch to run-level 3 the same problem occurs. Specifically it returns a USB error that keeps reprinting to the screen so that I cannot enter any text. I forgot which file I modified and cannot find it (been searching for possibilities on Google for days). Furthermore I'm not even 100% sure this is the problem since I DID manage to get the drivers installed successfully. Any ideas on how I can make init 3 usable again?
 
Old 06-04-2013, 01:20 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Code:
# Verify installation:
rpm -Vva 2>&1|grep -v "^\.\{8\}" > /tmp/rpmvva.log
# and check hash mismatches first:
grep "^\.\{2\}5" /tmp/rpmvva.log
# see 'man rpm', section "verify options" for more.
 
Old 06-04-2013, 09:28 PM   #3
pinkyzbrain
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I tried running both, the first timed out and the second returned nothing. Am I doing something wrong?
 
Old 06-05-2013, 03:35 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
No idea. you could just
Code:
rpm -Vva
and see if it shows any output at all.
 
Old 06-19-2013, 04:07 PM   #5
pinkyzbrain
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi, Sorry for the delay, but I've been out. I do get output when using rpm -Vva, but when I grep the log file for those Strings I get no output.
 
Old 06-19-2013, 04:50 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
Quote:
I forgot which file I modified
did you use gedit to modify it ?
if so then it automatically made a back up file ( same name but with a " ~ " after the name

it should be easy to find

also HOW did you install the nvidia driver ?
and what driver ?
the nvidia.run from the nvidia web site ?
or the kmod-nvidia in the cent repo
as in did you do this
Code:
su -
yum install kmod-nvidia
or this
download the .run
blacklist or REMOVE the nouveau driver
boot into int3
( adding a blank space and a "3" on the boot line DURING BOOT )
( hit "e" use the down arrow ,hit "e" add the 3 hit "b" )

install the kernel source and headers and gcc
Code:
su -
yum groupinstall "Development tools"
yum install kernel-devel kernel-headers
( !!! rebuild the boot image using "dracut" !!! )


run the *.run
Code:
sh   NVIDIA*.run
reboot into int5

Last edited by John VV; 06-19-2013 at 04:57 PM.
 
Old 06-20-2013, 08:26 AM   #7
pinkyzbrain
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'm pretty sure I used VI to edit the file but just in case I am looking in that directory for a file with a ~ after the name. I actually used the second method but I don't remember using dracut. In order to boot to init 5 after the video-driver install I had to go through grub, since init 3 was splashing text the whole time. I used the nvidia.run from their wesite and it is the current driver for the GTX 560M card for Linux 64 bit. (the Linux x64 display driver)
 
Old 06-20-2013, 01:39 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
using the nvidia .run driver now REQUIRES a lot of work
you have to remove the nouveau driver from the boot image
have the kernel source installed
have gcc and auto tools installed

there is a lot more work needed , and you will have to manually reinstall it for EVERY xorg and kernel update

using the kmod that is in the repos is the preferred


the BEST way to have it boot into text only ( int3) is to do so from the boot menu
you edit it during the 3 sec. countdown


if you did NOT uninstall or blacklist the nouveau driver THEN rebuild the boot image , then you are not using the nvidia.run driver
but the default installed "nouveau" driver
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Using Linux Text-Stream Filters – A Real-life Example LXer Syndicated Linux News 0 01-11-2010 05:31 AM
CentOS Has constant hard drive access with RAID 5? r00tb00t Linux - Server 2 11-05-2008 01:31 AM
C++ text stream random access Orkie Programming 6 10-26-2005 02:48 PM
text mode is unusable (not working) if nvidia 3D drivers are enabled K6H Linux - Software 6 01-12-2005 07:06 AM
constant blinking text in the console philfighter Linux - General 10 08-23-2001 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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