Comments (6)
What compile option caused such size? Original size is about 200k.
How you load memtest binary from u-disk? Which bootloader do you use?
from memtest86.
I repalce the O0 with O1, then the size is bigger than 279KB. I use USB auto installer tool " Memtest86+ USB Installer.exe" to load my memtest binary from my u-disk. the version of Memtest86+ USB Installer.exe is v5.01.
from memtest86.
This is a problem of your compiler.
I just replaced O0 with O1 and result is 160k instead 190k with -O0.
You can test built binariers with qemu: "qemu-system-i386 -enable-kvm -fda memtest.bin -smp 2 -m 256" to exclude USB installer fault.
Please make sure that your compiler is generating correct code.
from memtest86.
what's your gcc version?
my original shell code is as below:
memtest.bin: memtest_shared.bin bootsect.o setup.o memtest.bin.lds
$(LD) -T memtest.bin.lds bootsect.o setup.o -b binary
memtest_shared.bin -o memtest.bin
when i try to build binaries with qemu:
memtest.bin: memtest_shared.bin bootsect.o setup.o memtest.bin.lds
$(LD) -T memtest.bin.lds bootsect.o setup.o -b binary
memtest_shared.bin -qemu-system-i386 -enable-kvm -fda -o memtest.bin -smp 2 -m 256
the error is reported as follows:
ld: unrecognised emulation mode: 256
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om i386pep i386pe
Makefile:58: recipe for target 'memtest.bin' failed
make: *** [memtest.bin] Error 1
from memtest86.
I reckon that the USB auto installer tool " Memtest86+ USB Installer.exe" puts limitation to the size of memtest.bin. my friends also tell me that his memtest.bin cannot be booted if its size became bigger to some degree when more and more source code was added into the whole project.
from memtest86.
$(LD) -T memtest.bin.lds bootsect.o setup.o -b binary
memtest_shared.bin -qemu-system-i386 -enable-kvm -fda -o memtest.bin -smp 2 -m 256
I mentioned qemu command line for checking memtest binary, this is not LD options!
I reckon that the USB auto installer tool " Memtest86+ USB Installer.exe" puts limitation to the size of memtest.bin
Ok, we found this is not memtest problem.
As there is no source for this USB tool, we cannot check what is wrong.
Please use GRUB or SYSLINUX bootloaders for booting memtest.
from memtest86.
Related Issues (20)
- the problem of realizing the test13[Random number sequence, 64-bit] HOT 2
- the problem on change_timing_xxx HOT 6
- question about "static void poll_fsb_nhm(void){xxxxxxxxx}" HOT 13
- 0104 loop using USB stick HOT 2
- AMD 15h freezes while "Testing: 4096M - 6144M of 15GB RAM (= 16GB - iGPU_shared)" HOT 5
- Memtest86+ 5.31b released HOT 1
- add file system into the memtest86 HOT 1
- smp, reliability, non-existent memory, heat, duration, test list HOT 1
- the problem on reading bytes of ddr4 SPD HOT 1
- Merge patch from debian HOT 1
- 5.31b from upstream is said to fix some system HOT 1
- balenaEtcher HOT 3
- How about ECC support and hammer test? HOT 1
- add failed info. about failed error-chip into memtest86 plus
- Other patches HOT 4
- Missing proper official history HOT 1
- History, Roadmap and Contribution HOT 1
- an inssue found by HOT 5
- the problem of test.c HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memtest86.