OVH Community, your new community space.

Segnalazione BUG modalità rescue-mode


user7415
13.11.2013, 15.18
Buongiorno, vi volevo notificare di un bug nella vostra modalità rescue.

Il bug è il seguente... quando viene lanciato il test sulle ram, esso non viene effettuato su tutti i blocchi ma si limita a parte del primo..

Nel mio esempio il server ha 32 gb di ram, ma ho provato a fare lo stesso test anche su un server con 24gb e il risultato è sempre il seguente:

Current limits:
RLIMIT_RSS 0xffffffff
RLIMIT_VMEM 0x10000
Raising limits...
Allocated 3078619136 bytes...trying mlock...success. Starting tests...

Testing 3078615040 bytes at 0x3fe34000 (4088 bytes lost to page alignment).

Run 1:
Test 1: Stuck Address: Setting...Passed.
Test 2: Random value: Setting...Testing...Passed.
Test 3: XOR comparison: Setting...Testing...Passed.
Test 4: SUB comparison: Setting...Testing...Passed.
Test 5: MUL comparison: Setting...Testing...Passed.
Test 6: DIV comparison: Setting...Testing...Passed.
Test 7: OR comparison: Setting...Testing...Passed.
Test 8: AND comparison: Setting...Testing...Passed.
Test 9: Sequential Increment: Setting...Testing...Passed.
Test 10: Solid Bits: Setting...Passed.
Test 11: Block Sequential: Setting...Passed.
Test 12: Checkerboard: Setting...Passed.
Test 13: Bit Spread: Setting...Passed.
Test 14: Bit Flip: Setting...Passed.
Test 15: Walking Ones: Setting...Passed.
Test 16: Walking Zeroes: Setting...Passed.
Run 1 completed in 1597 seconds (0 tests showed errors).
munlock'ed memory.
1 runs completed. 0 errors detected. Total runtime: 1597 seconds.

Exiting...

Adesso... se la matematica mi aiuta 3078615040 bytes sono

3078615040 / 1024 valore in kB
3078615040 / 1024 / 1024 valore in MB
3078615040 / 1024 / 1024 / 1024 valore in GB = 2.86 GB

Il test viene effettuato sempre solo su 2.86 GB...

Probabilmente chi ha compilato lo script per la modalità rescue ha sbagliato qualcosina nella parte di detect dei moduli ram, c'e' qualche overflow in qualche variabile... non ne ho idea.. fatto sta che viene comandato al sistema di fare il check su un total di 2.86 GB

Sono tentato a pensare si tratti di un problema di overflow di una variabile nel vostro script... questa distribuzione che usate per il rescue è relativamente vecchia e prima i server non avevano tutta questa memoria... forse all'inizio nessuno si è accorto del problema per questo... tuttavia penso ora il problema vada risolto...

In alternativa se non si vuole fare un test di memoria dalla modalità rescue stavo cercando un modo per lanciare una sorta di memtest86+ in modalità unattended poichè non ho sulle macchine il kvm fisico e montarlo solo per poter fare un memtest86 non ne vale assolutamente la pena.