Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What a screwup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4745
Location: Saint Amant, Acadiana

PostPosted: Fri May 25, 2012 10:36 pm    Post subject: What a screwup Reply with quote

Today I came home and decided it's time for an upgrade for my computers. I did eix-sync from my desktop, updating portage on a remote NFS volume. I logged on to my Wife's computer and believe or not su - failed. After trying several times I decided to reset the root password, so I lifted my lazy butt from my chair and went to reboot it in single user mode. The PC shut down alright but it never came up again. For a simple reason, it had no kernel on the hard drive.
It appears I ran depclean in her box. Before I built a new kernel. I'm too lazy to install kernels, so /boot/bzImage is actually a symlink to /usr/src/linux/arch/x86/boot/bzImage. Depclean wiped away the 3.3.5 kernel (WHY? I was under impression depclean removes only files installed by emerge?).
On top of that, I realized I was trying wrong password. Developing dementia? :? Shall I switch to Ubuntu? :roll:
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1102
Location: Rep. of Ireland

PostPosted: Fri May 25, 2012 11:46 pm    Post subject: Reply with quote

Tried sleep?
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4745
Location: Saint Amant, Acadiana

PostPosted: Sat May 26, 2012 12:12 am    Post subject: Reply with quote

Thank you, doc. Will try that right away.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2111

PostPosted: Sat May 26, 2012 12:33 am    Post subject: Re: What a screwup Reply with quote

Jaglover wrote:
I'm too lazy to install kernels, so /boot/bzImage is actually a symlink to /usr/src/linux/arch/x86/boot/bzImage.
Huh, 'make && make install' does take care copying the kernel to /boot, provided it's mounted, so I fail to see how that is "work".

Considering the proposed switch, if you're going to, don't be half-assed and take the bad copy, take the original an install Win2k, at least that has a decent UI.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
radius
n00b
n00b


Joined: 30 Mar 2012
Posts: 24

PostPosted: Sat May 26, 2012 1:10 am    Post subject: Reply with quote

This is nothing compared to mistakes that I make. One thing I don't understand is why you did the symlinking and not copied the bzImage.

If you do switch to Ubuntu, I am almost certain that you will either come back to Gentoo or go to another distribution very soon.
_________________
...
Back to top
View user's profile Send private message
kimmie
Guru
Guru


Joined: 08 Sep 2004
Posts: 531
Location: Australia

PostPosted: Sat May 26, 2012 1:47 am    Post subject: Reply with quote

Depclean will not remove /usr/src/.../bzImage... the object and executable files that you built aren't part of the package, so something else is the problem there. Only files listed by "qlist gentoo-sources" or "equery f gentoo-source" will be removed.

Depclean will remove all but the latest version of the kernel sources. It has no way of knowing which kernel you are actually booting.

If you want to prevent depclean from removing sources, the easiest way is to tell portage the specific version you want to keep: eg. "emerge --noreplace =gentoo-sources-3.2.12" (assuming you've already emerged that version).
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 832
Location: Massachusetts USA

PostPosted: Sat May 26, 2012 2:24 am    Post subject: Reply with quote

If the symlink USE flag is set doing an emerge that emerges a new kernel will change the /usr/src/linux symlink and if the new kernel is not built the next boot will not find the kernel.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4745
Location: Saint Amant, Acadiana

PostPosted: Sat May 26, 2012 7:53 pm    Post subject: Reply with quote

Alright depclean didn't do it. Even after waterboarding depclean denies it.
Code:
ls -la /usr/src/linux-3.3.5-gentoo/
total 136
drwxr-xr-x 4 root root  4096 May 22 23:38 .
drwxr-xr-x 5 root root  4096 May 25 16:23 ..
-rw-r--r-- 1 root root 58293 May 14 15:35 .config
-rw-r--r-- 1 root root 58293 Mar 20 22:30 .config.old
drwxr-xr-x 3 root root  4096 May 22 23:38 include
drwxr-xr-x 4 root root  4096 May 22 23:38 scripts

So I've to conclude it's stolen. Anybody has seen a slightly used Gentoo kernel v 3.3.5 for sale somewhere?

Jokes aside, when using symlink I do not need to clean up my /boot every now and then because there is nothing. And of course I manage linux symlink by hand.

@avx where I should get that W2K thingie. I want the real thing! Do they sell them in pawn shops?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2111

PostPosted: Sat May 26, 2012 8:22 pm    Post subject: Reply with quote

Jaglover wrote:
@avx where I should get that W2K thingie. I want the real thing! Do they sell them in pawn shops?
To complicated, just stand still for about 10m at your local train station and ask anyone approaching you for some angel dust.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4745
Location: Saint Amant, Acadiana

PostPosted: Sat May 26, 2012 10:37 pm    Post subject: Reply with quote

I'm posting this on behalf of Jaglover.

It appears he was arrested in the local truckstop for soliciting illegal substances. The arresting officer said he was raving about stolen nitty gritty (or something like that). Currently he is being evaluated by a shrink. We are trying to get him off on insanity defense. We think him using Gentoo Linux supports our line of defense. If you have any examples of other Gentoo users doing crazy things please contact our office.

Sincerely yours,

O'Pickle of Creepy Law Office
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2111

PostPosted: Sat May 26, 2012 10:54 pm    Post subject: Reply with quote

Man, Gentooligans are stupid, can't even read. I said train station, not truckstop. Even if the fumes there might take you to another high, that's not the same deal.

As for other crazy examples, I'd suggest moving down the street a little, there's a corner somewhere off the wall, where bones are cracked, third world people are vomiting emoticons all over the world, world's end predicting prophets, fans of a maximal pigmented fella spending money he doesn't have and if your lucky, some germans, too.

If you ACTA quickly, you might be able to shutdown the whole place without others even noticing, if I may, I'd suggest some Beethoven or Tschaikovsky for your run. Good luck.

Addendum, don't forget to be always packing, I'd suggest at least a rocketlauncher and a dncornholio-Tshirt.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 709
Location: Arrakis

PostPosted: Sun May 27, 2012 9:04 am    Post subject: Reply with quote

what just happened i dont understand ...
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4745
Location: Saint Amant, Acadiana

PostPosted: Sun May 27, 2012 8:40 pm    Post subject: Reply with quote

Chief, you said local train station. I did my traveling and had my adventures in Germany, I know you do have train stations there. We here don't. I think they may have one in New Orleans. I'd be surprised if there was more than ten train stations in whole Louisiana. So I substituted local train station with local truck stop, we have plenty of those. Any further tips or hints?
Music choice is fine, BTW, although there are moments when I prefer Mozart or Haydn ... then again there are days I go with Bach.

Kernel mystery is solved. It appears I never had 3.3.5 kernel in that box. So it wasn't depcleaned or stolen.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2111

PostPosted: Sun May 27, 2012 11:12 pm    Post subject: Reply with quote

Dude, get your trains stolen by a hurricane or what, lameo. Nothing good can ever happen at an american truck stop, didn't you watch at least a single "horror" movie? They put a tow hook through your balls and pull you down the street, sitting on your ass and drive you cross-country down to Tijuana.

But that's not a bad thing, I hear Win2k is really cheap down there, you'll just have to play a little with some gay donkeys iaaahing like Eddie Murphy.

If that sounds too troublesome to you, spent less time investing your money in viagra and have a look at the hot deals in your inbox. There usually are a few fellas providing you with the newest software for a gigantic bargain, they'll only want your wife and kids, imho a killer deal, trading these annoying beings for such a superior operating system.

As for your music, you don't go with Bach, you go into a Bach, sitting down and enjoy the ducks playing around you, taking bets how long it'll take for you to drown.

In conclusion, your Linux journey has been a failure from the getgo and since your soul is worthless anyway, you might as well give it away for the chance to make your life more joyfull, thanks to the gods at Redmond. But please, do me a favor, take Redmond, not the Apple, mankind has been doomed once already, just because someone wanted an Apple, don't do it all over again, thank you.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4402

PostPosted: Sun May 27, 2012 11:45 pm    Post subject: Reply with quote

And a proof of fail justice: who could arrest jaglover the 26 and release him the 27 ! It's not serious.
And we wonder why we have so many depclean gangsters everywhere after that?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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