Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519176 - Upgrading the Kernel from 3.9.9 to 3.14 or 3.15 fails due to low memory error
Summary: Upgrading the Kernel from 3.9.9 to 3.14 or 3.15 fails due to low memory error
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 06:23 UTC by Sebastian Heyn
Modified: 2014-08-06 09:56 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 Sebastian Heyn 2014-08-06 06:23:24 UTC
I have a low end router that I have to update. Its a Via Epia PC with 256 MB ram + 512MB swap
when I try to install a new kernel, the install breaks.

-> Old kernel pentoo-sources.3.9.9 was fine
-> New kernels tried: pentoo-sources 3.15.5 and gentoo-sources 3.14.14 

>> Installing (1 of 1) sys-kernel/gentoo-sources-3.14.14
Traceback (most recent call last):
File "/usr/lib/portage/pym/portage/dbapi/_MergeProcess.py", line 234, in _spawn
prev_mtimes=self.prev_mtimes, counter=counter)
File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4839, in merge
counter=counter)
File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4253, in treewalk
a = phase.wait()
File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 54, in wait
self._wait()
File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 85, in _wait
task.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 175, in _wait_hook
self._exit_listener_stack.pop()(self)
File "/usr/lib/portage/pym/_emerge/EbuildPhase.py", line 158, in _lock_exit
self._start_ebuild()
File "/usr/lib/portage/pym/_emerge/EbuildPhase.py", line 184, in _start_ebuild
self._start_task(ebuild_process, self._ebuild_exit)
File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 151, 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 145, in _start
SpawnProcess._start(self)
File "/usr/lib/portage/pym/_emerge/SpawnProcess.py", line 106, in _start
retval = self._spawn(self.args, **kwargs)
File "/usr/lib/portage/pym/_emerge/EbuildProcess.py", line 25, in _spawn
actionmap=actionmap, **kwargs)
File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line 157, in _doebuild_spawn
return spawn(cmd, settings, **portage._native_kwargs(kwargs))
File "/usr/lib/portage/pym/portage/package/ebuild/doebuild.py", line 1571, in spawn
**portage._native_kwargs(keywords))
File "/usr/lib/portage/pym/portage/process.py", line 115, in spawn_bash
return spawn(args, opt_name=opt_name, **keywords)
File "/usr/lib/portage/pym/portage/process.py", line 310, in spawn
pid = os.fork()
File "/usr/lib/portage/pym/portage/__init__.py", line 259, in __call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 12] Cannot allocate memory


Resolution: Add another 1024mb swapspace!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-06 09:56:09 UTC
We can't fix that for you. You might want to consider compiling that kernel (and indeed everything else) on another host instead.