Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439634 - Kernel can't install on x86 system
Summary: Kernel can't install on x86 system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 16:03 UTC by Moonday
Modified: 2012-11-10 08:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moonday 2012-10-25 16:03:20 UTC
kernel 3.3.8 with two patch (base & extra) for 3.3-9 can't install on stage3 and latest portage.
I'm sure it's about this last update because I'm in install bases in two last week and used of two kernels: ( with and without two patches! )

Reproducible: Always

Steps to Reproduce:
1.similar Handbook start to make partitions and mount them.
2.Download, unpack and install stage3
3.Download. unpack and install portage-latest ...
4. emerge gentoo-sources
5. It downloaded and unpacked and install but not complete!
Actual Results:  
failed to install kernel

Expected Results:  
Install kernel completely! 

[32;01m * [39;49;00mPackage:    sys-kernel/gentoo-sources-3.3.8
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: kernel@gentoo.org
[32;01m * [39;49;00mUSE:        elibc_glibc kernel_linux userland_GNU x86
[32;01m * [39;49;00mFEATURES:   sandbox
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-3.3.tar.bz2 to /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work
>>> Unpacking genpatches-3.3-9.base.tar.bz2 to /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work/patches
>>> Unpacking genpatches-3.3-9.extras.tar.bz2 to /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work/patches
 [32;01m*[0m Applying 1000_linux-3.3.1.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1001_linux-3.3.2.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1002_linux-3.3.3.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1003_linux-3.3.4.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1004_linux-3.3.5.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1005_linux-3.3.6.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1006_linux-3.3.7.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1007_linux-3.3.8.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 1700_tsunami-modpost-include-fix.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 2400_kcopy-patch-for-infiniband-driver.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 4200_fbcondecor-0.9.6.patch (-p0+) ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked in /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work
>>> Preparing source in /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work/linux-3.3.8-gentoo ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work/linux-3.3.8-gentoo ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/work/linux-3.3.8-gentoo ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-kernel/gentoo-sources-3.3.8

>>> Install gentoo-sources-3.3.8 into /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/image/ category sys-kernel
>>> Copying sources ...
>>> Completed installing gentoo-sources-3.3.8 into /var/tmp/portage/sys-kernel/gentoo-sources-3.3.8/image/

Traceback (most recent call last):
  File "/usr/lib/portage/pym/portage/dbapi/_MergeProcess.py", line 209, in _spawn
    prev_mtimes=self.prev_mtimes, counter=counter)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4625, in merge
    counter=counter)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4127, in treewalk
    phase.start()
  File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
    self._start()
  File "/usr/lib/portage/pym/_emerge/EbuildPhase.py", line 131, in _start
    self._start_lock()
  File "/usr/lib/portage/pym/_emerge/EbuildPhase.py", line 148, in _start_lock
    self._start_task(self._ebuild_lock, self._lock_exit)
  File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 147, in _start_task
    task.start()
  File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
    self._start()
  File "/usr/lib/portage/pym/_emerge/AsynchronousLock.py", line 52, in _start
    self.wait()
  File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 57, in wait
    self._wait_hook()
  File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 161, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/usr/lib/portage/pym/_emerge/EbuildPhase.py", line 157, in _lock_exit
    self._start_ebuild()
  File "/usr/lib/portage/pym/_emerge/EbuildPhase.py", line 180, in _start_ebuild
    self._start_task(ebuild_process, self._ebuild_exit)
  File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 147, in _start_task
    task.start()
  File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
    self._start()
  File "/usr/lib/portage/pym/_emerge/AbstractEbuildProcess.py", line 106, in _start
    SpawnProcess._start(self)
  File "/usr/lib/portage/pym/_emerge/SpawnProcess.py", line 122, in _start
    retval = self._spawn(self.args, **kwargs)
  File "/usr/lib/portage/pym/_emerge/EbuildProcess.py", line 21, in _spawn
    actionmap=actionmap, **kwargs)
  File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line 105, in _doebuild_spawn
    return spawn(cmd, settings, **kwargs)
  File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line 1422, in spawn
    return spawn_func(mystring, env=mysettings.environ(), **keywords)
  File "/usr/lib/portage/pym/portage/process.py", line 81, in spawn_bash
    return spawn(args, opt_name=opt_name, **keywords)
  File "/usr/lib/portage/pym/portage/process.py", line 259, in spawn
    pid = os.fork()
  File "/usr/lib/portage/pym/portage/__init__.py", line 230, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)


==============
system info:

Memory: 512MiB
Processor: Intel Pentium4 CPU 1.80GHz
used kernel: i686
==============

I test it with all files in old distfiles directory of before 21 Oct and install completly and test it for 3 time.
I am started with Gentoo in last two week so I don't know how I must copy emerge --info here! and excuse about it!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-25 16:06:18 UTC
1) Please post your `emerge --info' output (from the chroot) in a comment.
2) Please provide the URL for the stage3 tarball you used.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2012-10-25 16:24:33 UTC
It's failing to merge the files.  This tells me that there's a problem with putting things into /usr/src/ ...  could it be you're out of disk space??  things aren't mounted properly?  you aren't properly chrooted? 

Anyways it seems that this is a 'system' issue of some sort.
Comment 3 Moonday 2012-11-10 08:04:29 UTC
Excuse Me! it was my fault! I install my system and promise never post before correct search! :)