index-pack died of signal 9
Just started the course and am attempting to clone the kernel. I am running Ubuntu inside a VM set up with a 50GB drive. Git receives the objects and resolves 59% deltas before it drastically slows down. I am then left with the following which appears to overwrite the "Resolving deltas:" progress:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux_stable > build.log
Cloning into 'linux_stable'...
remote: Enumerating objects: 961, done.
remote: Counting objects: 100% (961/961), done.
remote: Compressing objects: 100% (568/568), done.
Receiving objects: 100% (9308198/9308198), 3.44 GiB | 10.08 MiB/s, done.
remote: Total 9308198 (delta 718), reused 592 (delta 393), pack-reused 9307237
Resolving deltas: 60% (4487342/7446407)
error: index-pack died of signal 946407)
fatal: index-pack failed
Comments
-
You could see this error due to directory permissions. Please make sure your login has permissions to write to the directory you are attempting to clone into.
0 -
I have attempted several times from my home directory and from the root directory...running with "sudo" as well.
0 -
How much memory does this VM have? Does dmesg offer any clues?
0 -
I am set up for 2Gb of memory
0 -
Did you check dmesg and other system logs for errors? This could be a memory problems. Try increasing memory for your vm
0 -
I was able to find Ubuntu was only allocating 500MB for swapfile which i have increased to 4GB. However, i don't think memory is the problem. My system appears to hang at random points in the "Resolving deltas" stage...this time at 13%. Just prior to the hang, I verified there was 3.6GB of swapfile space remaining. I am waiting for the git to fail now which usually takes 5-10 minutes of "hang time".
0 -
Nothing of note in dmesg
0 -
i never run VMs of only 2 GB when doing kernel git. i would go to 4 GB. i know that doing
git gcfor example hangs a long time, even infinitely, as things are done in RAM and the repo is close to 2 GB. if you have not done so yet please try raising the memory. i've had many students do this clone without problem.0 -
Thanks everyone. After I updated my swapfile size (correctly), I was able to get a proper git.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 769 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 5 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 14 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 2 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 125 Mobile Computing
- 20 Android
- 90 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 396 Off Topic
- 121 Introductions
- 31 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 703 Software Development
- 1K Software
- 406 Applications
- 182 Command Line
- 5 Compiling/Installing
- 70 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
