Opened 13 years ago

Closed 8 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ář 13 years ago.

Download all attachments as: .zip

Change History (5)

by Jakub Jermář, 13 years ago

Attachment: qemu.png added

comment:1 by Jakub Jermář, 13 years ago

Version: 0.4.3

comment:2 by Jakub Jermář, 12 years ago

Milestone: 0.5.00.5.1

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

comment:3 by Jakub Jermář, 10 years ago

Milestone: 0.6.00.7.0

comment:4 by Jakub Jermář, 8 years ago

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