Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A whole mess of problems [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Wed Jan 11, 2006 4:40 pm    Post subject: A whole mess of problems [Solved] Reply with quote

I tried updating my system last night and ran into a whole mess of issues. Based on what I can find in emerge.log, here's what I tried to do emerge -ua world on.
Code:

pax-utils-0.1.6
bash-3.0-r14
portage-2.1_pre3-r1

*restart portage*
Code:

man-pages-2.20
gentoo-sources-2.6.15
gcc-config-1.3.13-r1
gnuconfig-20051223
gcc-3.4.5

*CRASH*. I got greedy launching some KDE apps and crashed KDE entirely. The whole machine froze up and I had to reset. I rebooted and found that KDE won't fire up anymore. It hangs on "Initializing System Services". I dropped down to the command line and figured I'd finish the emerge and the problem may fix itself.

emerge --resume
Code:

portage-2.1_pre3-r1
portage-manpages-1.2

Successfully terminated for some reason. I don't know what I did. Maybe this was the system crash instead? Anyway, emerge --resume
Code:

portage-manpages-1.2
man-pages-2.20
gentoo-sources-2.6.15
gcc-config-1.3.13-r1
gnuconfig-20051223

*Nothing unmerged up to this point by the way. Which makes sense since this all installed properly anyway*
Code:

gcc-3.4.5
timezone-data-2005r
glibc-2.3.6-r2
wireless-tools-28_pre13
ieee80211-1.1.8

And I can't pass this point. I keep getting the error message:
Code:

!!! ERROR: net-wireless/ieee80211-1.1.8 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make                                       KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message

I know the error there is related to my kernel version. When I repoint /usr/src/linux to my older 2.6.14 kernel sources it installs fine.

I figured I'd use my machine as usual and do emerge sync/emerge -u world sometime in the future if the problem resolves itself, or I have more time to test stuff. Unfortunately, KDE still hangs on that initializing system services so I can't do anything!
Here's what I really need to get done:
1. Get KDE back up and running as expected with my old kernel first, and
2. Get everything installed/updated with kernel version 2.6.15 (I intend to recompile and do a different config. I've used my .config from 2.6.14 for now but intend to tweak that later. I want a working system first)

A side question, does the most recent kernel version come with ieee80211 and ipw2200 with it (making installing third-party modules useless)? It seems like everytime I try to install ieee80211 and ipw2200, files are getting deleted from the kernel sources first.

I'll gladly post any information you think might be useful. Thank you for your input.


Last edited by Frustrated on Fri Jan 13, 2006 10:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Thu Jan 12, 2006 5:06 pm    Post subject: Reply with quote

seems like there's been only a small number of views.

I'm sure there's a good solution out there.

*Bump*
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Jan 12, 2006 6:58 pm    Post subject: Reply with quote

Try posting in Desktop Environments; they may be able to help with your KDE problem.

For net-wireless/ieee80211-1.1.8, post the actual error (above what you posted).
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Thu Jan 12, 2006 7:50 pm    Post subject: Reply with quote

ecatmur wrote:
Try posting in Desktop Environments; they may be able to help with your KDE problem.

Of course. How silly of me.
ecatmur wrote:

For net-wireless/ieee80211-1.1.8, post the actual error (above what you posted).

Okay, here it is:
Code:

Calculating dependencies   * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.15-gentoo
 * Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ieee80211-1.1.8.tgz to /var/tmp/portage/ieee80211-1.1.8/work
 * Applying ieee80211-1.1.8-nocast.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8 ...
 * Preparing ieee80211 module
Checking in /usr/src/linux/ for ieee80211 components...
make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8 MODVERDIR=/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8 modules
egrep: /usr/src/linux//include/linux/autoconf.h: No such file or directory
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo'

  WARNING: Symbol version dump /usr/src/linux-2.6.15-gentoo/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_tx.o
cc1: include/linux/autoconf.h: No such file or directory
In file included from /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.c:34:
include/linux/config.h:6:28: linux/autoconf.h: No such file or directory
In file included from /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.c:35:
include/linux/errno.h:4:23: asm/errno.h: No such file or directory
In file included from include/linux/types.h:13,
                 from include/linux/if.h:22,
                 from include/linux/netdevice.h:28,
                 from include/linux/if_arp.h:26,
                 from /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.c:36:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/if.h:22,
                 from include/linux/netdevice.h:28,
                 from include/linux/if_arp.h:26,
                 from /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.c:36:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/if.h:22,
                 from include/linux/netdevice.h:28,
                 from include/linux/if_arp.h:26,

And so on...
The autoconf.h complaint makes sense since since when I tried to install ieee80211 the first time, it complained about being unable to find the file when it asked me to run remove-old.

That leads me into my side question. Is ieee80211 and ipw2200 already apart of the kernel, making a third party app like this unrequired?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Jan 12, 2006 7:55 pm    Post subject: Reply with quote

Well, /usr/src/linux//include/linux/autoconf.h should be there. It looks like you've lost some files, probably when you crashed.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Thu Jan 12, 2006 8:19 pm    Post subject: Reply with quote

ecatmur wrote:
Well, /usr/src/linux//include/linux/autoconf.h should be there. It looks like you've lost some files, probably when you crashed.

K, how should I get it back? Copy it over from a previous kernel version. Re-emerge 2.6.15?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Jan 12, 2006 8:52 pm    Post subject: Reply with quote

Yeah, re-emerge 2.6.15.

You'll notice that some other files were missing from /usr/src/linux, so possibly your KDE problem is also due to missing/corrupted files.

Try running equery check for the kde packages.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Thu Jan 12, 2006 9:32 pm    Post subject: Reply with quote

ecatmur wrote:
Yeah, re-emerge 2.6.15.

That didn't help. It seems like ieee80211 is asking for autoconf.h when it is no longer part of the kernel sources. And so I come back to the question, is ieee80211 required or is it already part of the kernel?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Jan 12, 2006 11:07 pm    Post subject: Reply with quote

You may need to reconfigure and rebuild the kernel. IIRC autoconf.h is generated during build; the ieee80211 ebuild will check the kernel has been configured and built and assume it exists.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Fri Jan 13, 2006 10:04 pm    Post subject: Reply with quote

ecatmur wrote:
You may need to reconfigure and rebuild the kernel. IIRC autoconf.h is generated during build; the ieee80211 ebuild will check the kernel has been configured and built and assume it exists.

Hi ecatmur,
Thanks for your help. I have all problems solved now. For future reference, here's what I did:
Indeed, autoconf.h is formed when the kernel is configured and compiled. I noticed that ipw2200 and ieee80211 is provided by kernel version 2.6.15 so I wasn't sure if I needed the seperate ebuilds. I decided to be bold and unmerged those two from my system and made sure they were configured for my kernel. The kernel compiled and I was able to boot up fine with it (including the inherent ieee80211 and ipw2200 stuff). So that completely circumvents the ieee80211 installation complaints. I finished the rest of the update and did etc-update. I rebooted and KDE was booting up and running as normal again as well (I guess I did just need to finish the job and the problem fixed itself).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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