Skip to contentSkip to conversation

Decompressing error on latest rev. of svn?

DISCUSSION y.volta 2 participants 2 messages Aug 10, 2008 1 message not in the archive

lore
Share & tools
lore

y.volta

author
#1 lore raw
In reply to a message not in the archive

Hi,

i check-out the latest revsion, and confiure it using all default settings, but i failed to get the core.img to run.
by using the bochdbg, i get to know the decompress with sth. wrong, when i jump to the grub_main(), the debug screen shows me "CPU_LOOP 1", the asm code is: "int 0xe8". - i tried both lzo and lzma mode. (i noticed that, when using lzo mode, after "call lzo1x_decompress", the eax = -8)
i tried the rev.1699 in the same build evn, things are OK.

is there something wrong i've made? any suggestion?

y.volta

----------------------------------------------------------------------------
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CPU_LOOP 1
CP0U0_1L9O37O92P4 051i
[C P U _ L O]O PC t1r
lC-PCU d_eteLcOtOePd 1in
CsPiUg_nLaOlO Ph a1nd
lCePr.
U_LOOP 1
Error: (0) print_guard_results: guard_found ? (stop reason 0)
Next at t=193792405
(0) [0x00008fb0] 0008:8fb0 (unk. ctxt): int 0xe8 ; cde8
<bochs:20>
----------------------------------------------------------------------------
i inject 5 lines on the start.S, so the offset address must be not the official version.

#2 lore raw
Quoted 9 lines · y.volta

Hi,

i check-out the latest revsion, and confiure it using all default settings, but i failed to get the core.img to run.
by using the bochdbg, i get to know the decompress with sth. wrong, when i jump to the grub_main(), the debug screen shows me "CPU_LOOP 1", the asm code is: "int 0xe8". - i tried both lzo and lzma mode. (i noticed that, when using lzo mode, after "call lzo1x_decompress", the eax = -8)
i tried the rev.1699 in the same build evn, things are OK.

is there something wrong i've made? any suggestion?

I don't recall that GRUB 2 has ever worked well in Bochs. Not sure if it's a GRUB bug or a Bochs bug. Anyway, if you can trace it down, this would be helpful for others.

Can you determine the precise change that broke it between r1699 and HEAD?

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."