Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
:oo Help! Help! Noob here... did some kind of dumb thing!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
barnac1e
n00b
n00b


Joined: 21 Jan 2012
Posts: 28
Location: Moorhead, MN, USA

PostPosted: Mon Feb 20, 2012 12:09 pm    Post subject: :oo Help! Help! Noob here... did some kind of dumb thing! Reply with quote

Hi all. gosh I feel dumb having to come here for help but I trust this source for Gentoo the most.

Here is my scenario including details leading up to my problem.

I installed Calculate Linux a few hours ago, which is a Gentoo based distro, both with GIT compatability and Gentoo 100% compatabble.

So for the last couple of hours, I completely and successfully sync, updated, merged Portage with the CL portage as well as a Stage 3 current portage snapshot. I did every update imaginable, completely by the book.

Now, like a gullable sucker, CL Linux was using KDE 4.7.0 and I had read about emerging KDE-Meta and so I search my options via the Gentoolkit. I saw there was both a Calculate Linux 4.8 and another regualar KDE 4.8 out there in Portage, so I thought it safe to update Calculate Linux KDE 4.8. So I started the process, stepped away from my computer for a few minutes and when I came back, I could ran etc-update with an option -3. So after that I saw indeed KDE was looking like 4.8 but I felt I might just reboot and refresh. Well, when I did, the kernel is starting but I am getting errors regarding Xorg server crashing, Synaptics hardware can not work, etc. Also I noticed GRUB 1.99 is the new bootloader, which is fine as I have converted to GPT partition and utilize UEFI in place of the BIOS so Grub 1.99 is ideal, but I don't know where to start because Grub is working obviously but something is amiss. I am now running the SystemRescueCD over my Gentoo harddrive and I want to somehow chroot and try to emerge --unmerge KDE-meta and see what happens but I don't know what to do? Anyone got any ideas? I swear I worked hard to get it all right and a blunder happens and bang.

Or is there some tool on this Rescue CD to undo the config changes I made with the -3 maybe?

Thanks! :cry: :oops:
_________________
KB
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1732
Location: Here and Away Again

PostPosted: Mon Feb 20, 2012 3:16 pm    Post subject: Reply with quote

I don't know anything about Calculate Linux, but I would like to say that I would focus on the Xorg errors first (the OS would seem to boot but xorg-server doesn't, and I wouldn't think un-merging KDE would be the answer).

Look into your Xorg.0.log and other possible system logs for info on why it doesn't start.
Considering you mention synaptics, I would probably try re-merging the x11-drivers/xf86-foo drivers that you have installed (replace foo with the appropriate package-names).

Undoing changes made by etc-update will probably be tough if you don't remember what files were changed. I don't think it keeps any logs about them actions (really not sure about that). As a side-note, you might like to take a look into dispatch-conf, which to my understanding saves a copy of the old configuration files by default. I haven't looked into it much myself to say more though. The man-page does advertise it providing easy rollback.

If you have Portage logging enabled to save certain logs, you can check those for which packages were updated.
For example, I have in my make.conf:

Code:
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR=/can/specify/a/custom/portage/log/path/here

Just some thoughts~

Also, please, do not feel dumb for having to come here for help.
You should, and you are expected to do just that, if you can not find the answer(s) by yourself. ^^
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10212
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Feb 20, 2012 3:23 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Unsupported Software. Although Calculate Linux is Gentoo based, it's not Gentoo so the thread fits better here. (Doesn't mean you won't get help.)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
barnac1e
n00b
n00b


Joined: 21 Jan 2012
Posts: 28
Location: Moorhead, MN, USA

PostPosted: Mon Feb 20, 2012 4:32 pm    Post subject: further update... Reply with quote

Thank you John, but you see my system was GENTOO because I had the Gentoo stage 3 and the curreent portage snapshot via Gentoo both installed, synced, world and beyond as far as the manual took me, and it was then also combined with GIT and synced so you may reconsider. All Calculate is is the same thing Funtoo is but a custom ebuild of GIT as well. Would you say Funtoo is not Gentoo? Would daniel Robbins agree?

Anyhow,ty Chitoo for the only reply for help but I am doing things slighly different and reinstalling Calculate and then updating to KDE 4.8 before mergin to Gentoo. Also I am checking and rechecking my boot flags as UEFI incorporates not just a boot partition but also an empty EF02 BIOS_GRUB but that should have an Ef00 instead. These are Gdisk codes, not Fdisk. Then if the problem persists I will check X org conf settings etc. I will post back later. Thanks.
_________________
KB
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10212
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Feb 20, 2012 6:14 pm    Post subject: Re: further update... Reply with quote

barnac1e wrote:
Would you say Funtoo is not Gentoo?
Correct. Funtoo, Sabayon, Calculate, Exherbo: all not Gentoo.
barnac1e wrote:
Would daniel Robbins agree?
I believe so, but it's not particularly relevant. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43012
Location: 56N 3W

PostPosted: Mon Feb 20, 2012 7:25 pm    Post subject: Reply with quote

barnac1e,

Using negative numbers with etc-update is a very bad thing.
If you know what you are doing, you can fix the damage after the event. If not you get to pick up the pieces.
Look at each change etc-update wants to do before you permit it.

The problem you describe is usually caused by updating Xorg to a new ABI but not rebuilding the xorg drivers against the new ABI.
The /var/log/Xorg.0.log file will show your ABI issues. The fix is to rebuild the affected drivers.

If drobbins thought Funtoo was the same a Gentoo, why whould he have started a new distro ?
Feel free to ask in the #funtoo channel on irc.freenode.net
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
barnac1e
n00b
n00b


Joined: 21 Jan 2012
Posts: 28
Location: Moorhead, MN, USA

PostPosted: Mon Feb 20, 2012 11:17 pm    Post subject: I think... Reply with quote

...yes, I think I have finally gotten my EFI boot partion figured out like I had wanted but I am about to test all that out so i will tie up that loose end from original post for you, and mark it solved, (or do the administrators mark things solved?)

For John Graham: I admit, I like your replies and it made me smile somehow so I digress on those two thing...

For NeddySeagoon: I do look at what etc-update is saying or suggesting, but the only options it gives are negative numbers, or just a postive 1 which just exits you with no changes. What do usually type in?

By an ABI I am guess that is Auto Build Interface? I have never heard of that. Thank you for listing the specific Xorg config file too because I can never seem to figure out which one to look for in just browsing. But would even just VESA take care of that if you pass it to your kernel? By the way, speaking of Xorg, they call it a "Server" but the thing is that it is used to identify display drivers on bootup, but that is before the host ever is connected to any live network, so why is it called a Server, exactly?

I have to politely disagree about Daniel Robbins and Funtoo. Here is how I see it. If you install any Gentoo Stage "x" tarball, and then install a Gentoo official mirrors Portage snapshot, and install that, then completely sync it and update it and merge it with any other Gentoo-based repo you already have, say like a GIT ebuild, such as Funtoo, etc., then you do then have a Gentoo install. I do have to research something though regarding this so unless I find something I didn't know, I hold to this idea. :P [/quote]
_________________
KB
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1732
Location: Here and Away Again

PostPosted: Tue Feb 21, 2012 2:19 am    Post subject: Re: I think... Reply with quote

barnac1e wrote:
By the way, speaking of Xorg, they call it a "Server" but the thing is that it is used to identify display drivers on bootup, but that is before the host ever is connected to any live network, so why is it called a Server, exactly?

Not sure if I understand your thinking here exactly.
How do you think of the process of booting up to your Gentoo-based Operating System?

Depending of one's set-up, this can of course vary, but if you do things the Gentoo-way, you will have networking up well before Xorg. The part where you 'bootup' your OS has nothing to do with Xorg per se, as it is an additional package you install after the OS is done (again, I'm speaking of Gentoo, not of the variances).

As to why it is called a server, I think of it as being the server for input devices to access one or more displays.
I would imagine many a page to explain it way better than I could, such as these wikki pages here:
    http://en.wikipedia.org/wiki/X_Window_System
    http://en.wikipedia.org/wiki/X.Org_Server
Sorry if I misunderstood your words in which case these thoughts of mine wont probably be much of help. ^^;
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43012
Location: 56N 3W

PostPosted: Tue Feb 21, 2012 6:19 pm    Post subject: Reply with quote

barnac1e,

etc-update shows me the following
Code:
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
 1) /etc/lynx.cfg (1)
 2) /etc/OpenCL/vendors/nvidia.icd (1)
 3) /etc/games/sdlmame/mame.ini (1)
 4) /etc/hp/hplip.conf (1)
 5) /etc/init.d/libvirtd (1)
 6) /etc/libvirt/nwfilter/no-ip-spoofing.xml (1)
 7) /etc/vpnc/vpnc-script (1)
 8) /etc/xdg/autostart/bluetooth-applet.desktop (1)
 9) /etc/xdg/autostart/gnome-screensaver.desktop (1)
10) /etc/xdg/autostart/tracker-miner-fs.desktop (1)
11) /etc/xdg/autostart/tracker-store.desktop (1)
Please select a file to edit by entering the corresponding number.
              (don't use -3, -5, -7 or -9 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i')
                           (-7 to discard all updates)
                           (-9 to discard all updates AND not use 'rm -i'):

Do not use negative numbers. the more negative the number you use, the more control you loose.
Notice that each possible replacement file is preceded by a positive number. Enter the number to see the changes that etc-update proposes to make to that file.
You may need to
Code:
emerge less
for this to work properly as less was accidently dropped from recent stage3 tarballs.
Code:
File: /etc/vpnc/._cfg0000_vpnc-script
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
5) Save update as example config
Please select from the menu above (-1 to ignore this update):
after you have examined the proposed changes etc-update gives the choices above.

ABI is Application Binary Interface. When the Xorg server ABI changes, all the componets built for the old ABI are broken. Thats the input drivers and the video drivers. The must be rebuilt to work with the new ABI.
Xorg is a server as its the part that draws the images on your display for client programs than need a display. Xorg is designed to be 'network transparent' which means that the clients need not be on the same system as the server. Further, the machine hosting the client(s) does not even need an Xorg server installed.
This is the reverse of the widespread thinking of a server being a remote machine and the client being the local machine.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum