View previous topic :: View next topic |
Author |
Message |
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Oct 09, 2002 9:11 am Post subject: Kernel gone(?) after upgrade. very weird |
|
|
The upgrade from 1.3b to 1.4 went without a hitch. But then comes the trouble.
Step 4 went nicely but I needed to do a emerge -e world. Fine, ok. Takes forever to complete, but hey... I don't care.
Problem is that with several packages it quits with an error saying it can't find the kernel version.
Somehow the system is booting nicely even though it seems it has no kernel anymore.
I did an emerge -C gentoo-sources and re-emerged it again but when I wanted to do make menuconfig it said:
Code: | linux#cd /usr/src/linux
linux#make menuconfig
make: *** No rule to make target 'menuconfig'. Stop.
linux# |
Can someone explain what went wrong and how to get a proper running kernel again?
Big thanks in advance!
freshy98 _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Oct 09, 2002 9:19 am Post subject: |
|
|
Code: | $ ls -l /usr/src/linux |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Oct 09, 2002 9:25 am Post subject: |
|
|
thanks for the super fast reply. you've got a tracker of somekind?
euhm, what exactly does it do? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Oct 09, 2002 9:28 am Post subject: |
|
|
freshy98 wrote: | euhm, what exactly does it do? |
Tells me whether your kernel sources are actually missing, or whether the /usr/src/linux symlink is simply broken. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Wed Oct 09, 2002 10:50 am Post subject: |
|
|
aah, ok. and I believe you want the output of that here?
will do that tonight when I get home from work, and post it here tommorow.
btw: the $ in front of your code, is that really needed or is just your prompt like mine is #? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Oct 09, 2002 6:08 pm Post subject: |
|
|
freshy98 wrote: | aah, ok. and I believe you want the output of that here? |
Yes.
Quote: | btw: the $ in front of your code |
It's a prompt. I use '$' as a prompt in sample code when the commands may be done by a non-root user. I only use the '#' in sample code when the commands must be run as root. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
pizen Apprentice
Joined: 23 Jun 2002 Posts: 213 Location: Atlanta, GA, USA
|
Posted: Wed Oct 09, 2002 6:12 pm Post subject: |
|
|
freshy98 wrote: | thanks for the super fast reply. you've got a tracker of somekind? |
I think some moderators and normal users just surf the forums all the time. I'm included in that. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Thu Oct 10, 2002 6:19 am Post subject: |
|
|
rac, I got this output:
Code: | lrwxrwxrwx 1 root root 22 Aug 17 15:04 /usr/src/linux -> linux-2.4.19-gentoo-r7 |
that's weird 'cause I installed linux-2.4.19-gentoo-r9.
re-emerging the kernel didn't help like I stated before. _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Thu Oct 10, 2002 6:19 am Post subject: |
|
|
pizen wrote: | freshy98 wrote: | thanks for the super fast reply. you've got a tracker of somekind? |
I think some moderators and normal users just surf the forums all the time. I'm included in that. |
hehe, got no jobs or something? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Oct 10, 2002 6:23 am Post subject: |
|
|
OK, then can you: Code: | # cd /usr/src
# rm linux
# ln -s linux-2.4.19-gentoo-r9 linux |
Quote: | hehe, got no jobs or something? |
Have you seen kanuslupus' profile? This might be a bit of a sore subject. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Thu Oct 10, 2002 8:27 am Post subject: |
|
|
Allright, thank you. I will do that tonight.
btw: what does it all do exactly. kinda interested in that.
about kanuslupus' profile, what is 'Greenspan'? what does it mean? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Oct 10, 2002 5:04 pm Post subject: |
|
|
freshy98 wrote: | btw: what does it all do exactly. kinda interested in that. |
I'm guessing that your /usr/src/linux symlink is currently pointing into thin air - to a directory that doesn't exist any more. The commands I suggested will set it up to point at your new gentoo-sources.
Quote: | about kanuslupus' profile, what is 'Greenspan'? what does it mean? |
Alan Greenspan is the head of the U.S. Federal Reserve Bank, and is widely believed to be an influential person on the monetary policy of the U.S. government, which in turn has some effect (the amount of which is debated) on the state of the U.S. economy in general. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Fri Oct 11, 2002 7:03 am Post subject: |
|
|
so if my symlink is pointing into thin air, that would also explain why I can't make menuconfig?
-
Isn't it true that the American economy already sucks for some years? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Oct 11, 2002 7:40 am Post subject: |
|
|
freshy98 wrote: | so if my symlink is pointing into thin air, that would also explain why I can't make menuconfig? |
That's what I'm hoping.
Quote: | Isn't it true that the American economy already sucks for some years? |
Mr. Greenspan has been in his current position for a long time, and was widely hailed in the 1990s as being largely responsible for it not sucking during most of this decade. I think he got too much credit then, and gets too much blame now, but despite the fact that I studied economics at university, the entire subject bores me to tears. Let's talk about something - anything - else. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Fri Oct 11, 2002 9:08 am Post subject: |
|
|
rac wrote: | freshy98 wrote: | so if my symlink is pointing into thin air, that would also explain why I can't make menuconfig? |
That's what I'm hoping. |
great. hopefully I'm gonna do that tonight. got home about 10.30PM last night and had to get out at 6AM so I didn't do anything last night.
tonight I"m gonna help a girlfriend get rid of her boyfriend. well, boyfriend... he's a complete ass! won't start about here 'cause it's a bit off topic I believe. anyways... if it won't get to late I'll try the code.
Quote: | Isn't it true that the American economy already sucks for some years? |
rac wrote: | Mr. Greenspan has been in his current position for a long time, and was widely hailed in the 1990s as being largely responsible for it not sucking during most of this decade. I think he got too much credit then, and gets too much blame now, but despite the fact that I studied economics at university, the entire subject bores me to tears. Let's talk about something - anything - else. |
I hate economics. had it at school for 2 years and didn't even understand what I was reading!
other subject: euhm. any ideas? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sat Oct 12, 2002 12:56 pm Post subject: |
|
|
well, I tried the code last night and it seems to have worked.
after some troubles with alsa (which I completly un-emerged now including the audigy drivers) and the nvidia kernel and glx (which I re-merged) it went nicely.
what I do find strange is that when I do
it still gives me a couple of pages with packages. although a N stands in front of it.
I haven't had time to have a look in the Portage manual so could some please tell what's this al about? when I do emerge -e world it starts all over again???
anyways, rac thank you for the support! _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
|