LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2013, 10:50 PM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 470

Rep: Reputation: Disabled
installing new kernel broke my system


while recompiling the kernel I managed to screw up a bunch of my access permissions. Nothing is working right. The problem, is that I cannot find any sign of a problem, so I'm not even sure what to check. Bottom line, there were only three commands run as root before the problem occoured.

Code:
1. sudo make modules-install
2. sudo make install
3. sudo shutdown -r now
Has anyone ever seen the kernel install script screw up access permissions?

I'm sorry about the vagueness of this question. Further details an be found in my first post which I have been having trouble getting anyone to respond to.
http://www.linuxquestions.org/questi...rs-4175468577/
 
Old 07-06-2013, 11:20 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
It might help to know what the errors are that you get.

Also, it is possible that the crash corrupted some files, depending on when/where it crashed. One of the problems I have with systemd based systems is that it seems trivial to corrupt the handling of a login - and once it is f*d up, it stays f*d up.
 
Old 07-07-2013, 08:33 AM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 470

Original Poster
Rep: Reputation: Disabled
Originally I wasn't getting any errors. I simply couldn't log in from SLiM. it immediately returned to the prompt. No errors.
I was still able to logon via startx.

As I am running like this I am starting to notice other odd problems.

1. I got a popup warning randomly at some point. I don't remember exactly what it said, but it led me to believe there was a permissions problem with power management

2. I'm getting weird messages about "to many symbolic links" if I try to extract a tar.gz or tar.bz2 file without decompressing it first.
3. I'm having trouble compiling anything. I get the same symbolic link error
Code:
dan@waldorf:~$ echo 'int main() {return 0;}'> test.cpp
dan@waldorf:~$ g++ -o test test.cpp
g++: error trying to exec 'as': execvp: Too many levels of symbolic links
 
Old 07-07-2013, 11:57 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
You might do a "find" looking for all symbolic links. It sounds like one of them is either pointing to itself or to its immediate parent...

A suggested starting point would be to look at the directories listed in your PATH environment variable. The reason I say "starting point" is that it is possible for it to be in a subdirectory of something there.
 
Old 07-14-2013, 01:47 PM   #5
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 470

Original Poster
Rep: Reputation: Disabled
I gave up. backed up my home directory and reformatted. without a working compiler I couldn't even fix my kernel.
Oh well. problem solved, sort of.
 
  


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
Fedora 16 Kernel upgrade broke system - kernel panic and unable to boot itsjustarumour Fedora 7 05-15-2012 10:51 AM
[SOLVED] Solution - Installing FreeNX broke kernel 'make xconfig' sloMoses Slackware 1 05-08-2010 07:53 PM
I think I completely broke my system :D brokenpromises Linux - Newbie 1 09-19-2007 06:03 PM
kernel panic after installing kernel-2.4.27 on 2.6.8 system kpachopoulos Debian 4 04-10-2006 01:03 AM
Broke my system... Gillibiabtiag Linux - Newbie 4 09-23-2004 11:37 PM


All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration