Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 9 years ago

Closed 4 years ago

#341 closed defect (deferred)

Divide error panic in delay loop calibration during boot

Reported by: Jakub Jermář Owned by: Jakub Jermář
Priority: major Milestone: 0.7.0
Component: helenos/kernel/ia32 Version: 0.4.3
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

See the attached screenshot.

Seems like we are dividing by zero in i8254_calibrate_delay_loop():

        CPU->delay_loop_const =
            ((MAGIC_NUMBER * LOOPS) / 1000) / ((t1 - t2) - (o1 - o2)) +
            (((MAGIC_NUMBER * LOOPS) / 1000) % ((t1 - t2) - (o1 - o2)) ? 1 : 0);

Attachments (1)

qemu.png (119.6 KB) - added by Jakub Jermář 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by Jakub Jermář

Attachment: qemu.png added

comment:1 Changed 9 years ago by Jakub Jermář

Version: 0.4.3

comment:2 Changed 8 years ago by Jakub Jermář

Milestone: 0.5.00.5.1

Based on the 0.5.0 release bug court ruling, retargetting to 0.5.1.

comment:3 Changed 5 years ago by Jakub Jermář

Milestone: 0.6.00.7.0

comment:4 Changed 4 years ago by Jakub Jermář

Resolution: deferred
Status: newclosed
Note: See TracTickets for help on using tickets.