View previous topic :: View next topic |
Author |
Message |
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 1:06 am Post subject: |
|
|
DONAHUE wrote: | if it looks good no
see above if crashes |
the only thing i see is this:
* Determining the location of the kernel source code
* Unable to find kernel sources at /usr/src/linux
* Please make sure that /usr/src/linux points at your running kernel,
* (or the kernel you wish to build against). |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 1:08 am Post subject: |
|
|
I have an old drive I just installed with a 234 day old system. This inspires a rescue instead of a rebuild. _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 1:12 am Post subject: |
|
|
we shudda emerged gentoo and maybe genkerneled _________________ Defund the FCC. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 1:14 am Post subject: |
|
|
DONAHUE wrote: | we shudda emerged gentoo and maybe genkerneled |
you mean before the world update? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 1:27 am Post subject: |
|
|
yeah--xorg-server for 1 builds against a kernel, .. _________________ Defund the FCC. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Sep 15, 2013 8:52 am Post subject: |
|
|
Looks like all the exciting stuff happened while I was sleeping _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 1:24 pm Post subject: |
|
|
the saga is not over yet.... let's see where things are when I get to my office later today... |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 4:53 pm Post subject: |
|
|
I am not sure how far
Code: | emerge --keep-going -1avuND world |
went, it was supposed to install over 1100 packages... but here is what I see at the end:
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
* ERROR: x11-drivers/nvidia-drivers-319.49 failed (setup phase):
* Kernel not configured; no .config found in /usr/src/linux
*
* Call stack:
* ebuild.sh, line 93: Called pkg_setup
* nvidia-drivers-319.49.ebuild, line 118: Called linux-mod_pkg_setup
* linux-mod.eclass, line 560: Called require_configured_kernel
* linux-info.eclass, line 294: Called die
* The specific snippet of code:
* die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-319.49'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-319.49'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-319.49/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-319.49/temp/die.env'.
* Working directory: '/var/tmp/portage/._portage_reinstall_.9yzhdm/pym'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-319.49/work/'
* One or more packages are either masked or have missing dependencies:
*
* x11-drivers/nvidia-drivers pulled in by:
* (x11-base/xorg-drivers-1.13::gentoo, installed)
I am ready for the enxt step, assuming it is:
Code: | emerge --quickpackage world |
Last edited by auddoula on Sun Sep 15, 2013 4:54 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 4:53 pm Post subject: |
|
|
emerge -uNDav --keep-going world on my 235 day old system has gone from 485 to 181 packages required and was blocked up in spite of keep-going this morning. _________________ Defund the FCC. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 4:57 pm Post subject: |
|
|
I see... I scrolled up to see if anything else failed, but I can scroll up only as much... in any case, at least 'vi' is working! |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 4:59 pm Post subject: |
|
|
still in the second chroot:
suggest emerge gentoo-sources genkernel
genkernel menuconfig all
emerge -uNDav --keep-going world
should list some discrepancies, if so, say no and resolve them before restarting emerge _________________ Defund the FCC. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:07 pm Post subject: |
|
|
DONAHUE wrote: | still in the second chroot:
suggest emerge gentoo-sources genkernel
genkernel menuconfig all
emerge -uNDav --keep-going world
should list some discrepancies, if so, say no and resolve them before restarting emerge | OK, I am on it..
this first emerge is done but I choked on the second one:
genkernel menuconfig all
Error: Unknown option 'menuconfig'!
I guess it was missing --menuconfig |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:14 pm Post subject: |
|
|
genkernel --menuconfig all
gives a lot options in menuconfig. I have not made any changes, but perhaps I should have. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 5:22 pm Post subject: |
|
|
sorry thinking genkernel all,
typing wrong
just exit menuconfig and let genkernel finish
sounds like you did just that, excellent _________________ Defund the FCC. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:26 pm Post subject: |
|
|
No worries.. It is chugging along. Does genkernel compile in parallel i.e. does it use multiple CPUs if available? it certainly takes a long time... |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 5:29 pm Post subject: |
|
|
never timed it but it is slow it is making almost every module in the gentoo universe _________________ Defund the FCC. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:32 pm Post subject: |
|
|
looks like there are no discrepancies..
Total: 348 packages (347 new, 1 reinstall), Size of downloads: 0 kB |
|
Back to top |
|
|
mubai n00b
Joined: 10 Jul 2004 Posts: 32 Location: Sweden
|
Posted: Sun Sep 15, 2013 5:33 pm Post subject: |
|
|
This is an interesting thread, I wish you good luck!
There is an option in /etc/genkernel.conf where you can set MAKEOPTS for utilising more CPU cores:
Code: |
# Genkernel uses an independent configuration for MAKEOPTS, and does not source
# /etc/make.conf . You can override the default setting by uncommenting and
# tweaking the following line. Default setting is set up by
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
# argument is: <number of processors>*<number of cores per processor>+1
MAKEOPTS="-j"
|
Regards,
Johan |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:35 pm Post subject: |
|
|
mubai wrote: | This is an interesting thread, I wish you good luck!
There is an option in /etc/genkernel.conf where you can set MAKEOPTS for utilising more CPU cores:
Code: |
# Genkernel uses an independent configuration for MAKEOPTS, and does not source
# /etc/make.conf . You can override the default setting by uncommenting and
# tweaking the following line. Default setting is set up by
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
# argument is: <number of processors>*<number of cores per processor>+1
MAKEOPTS="-j"
|
Regards,
Johan |
I am pretty sure I set it to -j10, but still sounds like takes a long time. But you can almost time the process from the posting time! On second thought, I may have have done this only in make.conf and not in genkernel.conf.. oh well, never too late to learn! thanks for the tip Johan. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 5:40 pm Post subject: |
|
|
emerge -uNDav --keep-going world is chugging again? _________________ Defund the FCC. |
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:41 pm Post subject: |
|
|
DONAHUE wrote: | emerge -uNDav --keep-going world is chugging again? | Yep... it is doing 21 of 348. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
auddoula Guru
Joined: 30 Apr 2008 Posts: 387
|
Posted: Sun Sep 15, 2013 5:55 pm Post subject: |
|
|
Thanks for the article. Where does then your suggestion of Code: | emerge --quickpackage world | comes in here? One other concern is the USe usage, looks like it is important, and I am not sure if my broken system had the same as the new ones for most part. I suppose that is important only CPU related features.
Are you still having fun repairing the system here? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 6:00 pm Post subject: |
|
|
as the same hardware, same make.conf, are in use compatibility should not be an issue
think I will test let you know _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Sep 15, 2013 6:07 pm Post subject: |
|
|
is the winner _________________ Defund the FCC. |
|
Back to top |
|
|
|