View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001074 | Kali Linux | General Bug | public | 2014-03-03 14:22 | 2020-12-01 10:48 |
Reporter | nakamoto | Assigned To | steev | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Platform | armel | OS | Kali | OS Version | 1.0 |
Product Version | 1.0.6 | ||||
Summary | 0001074: arm build script | ||||
Description | rpi.sh, arm build script fails to build custom kali image | ||||
Steps To Reproduce | 1)Install kali 1.0.6 check the log file attached | ||||
Additional Information | rpi.sh lines were modified to: base="kali-menu kali-defaults kali-linux-full initramfs-tools sudo parted git clone --depth 1 https://github.com/raspberrypi/linux ${basedir}/kernel | ||||
Attached Files | |||||
Are you building this in virtualbox/vmware or on an actual 32bit system? |
|
on actual machine, no virtualization. |
|
Another question is - how much memory do you have in your system? I'm able to replicate the issue here on a 32bit machine with 4GB of ram (virtual machine) - it has to do with the fact that pixz will attempt to read the entire file into memory, and this fails. you can see this via strace, if you run "strace pixz kali-1.0.7-rpi.img kali-1.0.7-rpi.img.xz" and it will end with.. open("kali-1.0.7-rpi.img", O_RDONLY) = -1 EOVERFLOW (Value too large for defined data type) So, basically, there's not enough memory on x86 systems to read the entire file into memory in order to compress it. The easy fix for you, is to comment out the line that that deletes the image file. |
|
ahh, understood. echo "Compressing kali-$1-rpi.img" |
|
That is correct. |
|
It isn't letting me modify the bug, so resolving as a dupe to the new bug. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-03 14:22 | nakamoto | New Issue | |
2014-03-03 14:22 | nakamoto | File Added: fail.txt | |
2014-03-03 18:46 | steev | Note Added: 0001589 | |
2014-03-03 20:05 | nakamoto | Note Added: 0001590 | |
2014-03-03 20:47 | steev | Note Added: 0001591 | |
2014-03-03 21:05 | nakamoto | Note Added: 0001592 | |
2014-03-03 21:08 | steev | Note Added: 0001593 | |
2014-03-03 21:23 | steev | Note Added: 0001594 | |
2014-03-03 21:23 | steev | Relationship added | duplicate of 0001075 |
2014-03-03 21:23 | steev | Status | new => resolved |
2014-03-03 21:23 | steev | Resolution | open => duplicate |
2014-03-03 21:23 | steev | Assigned To | => steev |
2020-12-01 10:48 | g0tmi1k | Priority | high => normal |