Opened 16 years ago

Closed 16 years ago

#4013 closed bug (fixed)

Haiku booting breaks with "Machine-Check Exception"

Reported by: e_barsukowski Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

I try to run Haiku hrev30998 on real hardware. My machine has Intel DG33FB motherboard based on G33 chipset, Core2 Duo E6750 CPU and 2GB of RAM.

Without additional options the boot process hangs at the 5th icon half typing messages like "allocate_commpa" or "allocate_commpage_entr" at the serial debug. Keyboard (PS/2) stops working, so the only way out is hardware reset.

Disabling SMP (either in BIOS or via safe mode options) leads to the following message:

<...>
  trying: file_systems/nfs/v1
  returned: -1
  trying: file_systems/write_overlay/v1
  returned: -1
allocate_commpage_entry(4, 34) -> 0xffff0118
PANIC: Fatal exception "Machine-Check Exception" occurred! Error code: 0x0

Welcome to Kernel Debugging Land...
Thread 12 "main2" running on CPU 0
kdebug>

The KDL prompt appears only on serial debug but not on the screen. The keyboard seems to work. After I type "sc" and hit <Enter> Haiku prints some lines at the debug output (there is still nothing on the screen) and freezes. Again nothing but reset helps.

Here's the output of "sc":

allocate_commpage_entry(4, 34) -> 0xffff0118
PANIC: Fatal exception "Machine-Check Exception" occurred! Error code: 0x0

Welcome to Kernel Debugging Land...
Thread 12 "main2" running on CPU 0
kdebug> sc
stack trace for thread 12 "main2"
    kernel stack: 0x8019c000 to 0x801a0000
frame               caller     <image>:function + offset
 0 8019f908 (+  48) 80062941   <kernel_x86> invoke_debugger_command() + 0x0105
 1 8019f938 (+  64) 80062721   <kernel_x86> invoke_pipe_segment__FP21debugger_command_pipelPc() + 0x0079
 2 8019f978 (+  64) 80062ad4   <kernel_x86> invoke_debugger_command_pipe() + 0x009c
 3 8019f9b8 (+  48) 800644d0   <kernel_x86> _ParseCommandPipe__16ExpressionParserRi() + 0x0234
 4 8019f9e8 (+  64) 8006390a   <kernel_x86> EvaluateCommand__16ExpressionParserPCcRi() + 0x02ba
 5 8019fa28 (+ 224) 800658e4   <kernel_x86> evaluate_debug_command() + 0x0080
 6 8019fb08 (+  64) 8006079a   <kernel_x86> kernel_debugger_loop__Fv() + 0x01b6
 7 8019fb48 (+  32) 800616b1   <kernel_x86> kernel_debugger() + 0x004d
 8 8019fb68 (+ 192) 80061659   <kernel_x86> panic() + 0x0029
 9 8019fc28 (+  64) 800d5470   <kernel_x86> fatal_exception() + 0x0030
10 8019fc68 (+  12) 800d8df6   <kernel_x86> int_bottom() + 0x0036
kernel iframe at 0x8019fc74 (end = 0x8019fcc4)
 eax 0x8077e000     ebx 0x80f97200      ecx 0xb0         edx 0x0
 esi 0xdb           edi 0x0             ebp 0x8019fcd4   esp 0x8019fca8
 eip 0x8005b390  eflags 0x210086   
 vector: 0x12, error code: 0x0
11 8019fc74 (+  96) 8005b390   <kernel_x86> timer_interrupt() + 0x0000
12 8019fcd4 (+  48) 8003ed93   <kernel_x86> int_io_interrupt_handler() + 0x006f
13 8019fd04 (+  48) 800d5798   <kernel_x86> hardware_interrupt() + 0x0070

Full debug logs are attached.

Attachments (2)

debug_with_no_options.log (105.1 KB ) - added by e_barsukowski 16 years ago.
debug_without_smp.log (128.5 KB ) - added by e_barsukowski 16 years ago.

Download all attachments as: .zip

Change History (5)

by e_barsukowski, 16 years ago

Attachment: debug_with_no_options.log added

by e_barsukowski, 16 years ago

Attachment: debug_without_smp.log added

comment:1 by mmlr, 16 years ago

Can you check if this is fixed at hrev31027? From where it happens this could very well be an MTRR issue.

comment:2 by e_barsukowski, 16 years ago

I've updated to hrev31038 and it works! Haiku boots without problems.

Thank you!

comment:3 by mmlr, 16 years ago

Resolution: fixed
Status: newclosed

Thanks for the upsate! Fixed as part of recent MTRR changes.

Note: See TracTickets for help on using tickets.