Opened 14 years ago

Closed 13 years ago

#6005 closed bug (fixed)

Freeze with local APIC

Reported by: tbe Owned by: mmlr
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/Development
Keywords: local apic Cc:
Blocked By: Blocking:
Platform: All

Description

Haiku R1A2 freezes while loading the desktop unless I disable LOCAL APIC in the boot menu.

I have tried disabling APM/ACPI and leave APIC enabled, but this does not help.

What are the consequences of disabling LOCAL APIC, and is there a file somewhere to configure this permanently, or do I have to enter the boot menu every time?

Attachments (3)

syslog (79.0 KB ) - added by tbe 14 years ago.
listdev (3.2 KB ) - added by tbe 14 years ago.
disable_local_apic.diff (509 bytes ) - added by diver 13 years ago.

Download all attachments as: .zip

Change History (11)

by tbe, 14 years ago

Attachment: syslog added

by tbe, 14 years ago

Attachment: listdev added

comment:1 by totish, 13 years ago

Version: R1/alpha2R1/Development

hi! I have the same problem in hrev41124.

by diver, 13 years ago

Attachment: disable_local_apic.diff added

comment:2 by diver, 13 years ago

Workaround patch until this bug is fixed. After applying one can run jam haiku_loader and replace existing haiku_loader with compiled one.

comment:3 by diver, 13 years ago

Could this be fixed by the latest changes to ioapic by mmlr?

comment:4 by tbe, 13 years ago

The freeze still happens in both hrev41490 and hrev41505 nightlies. The latter should be just after the changes diver refers to.

comment:5 by anevilyak, 13 years ago

The changes diver's referring to don't actually make a difference unless one explicitly enables them currently. Please try going into the boot loader and picking "Enable IO-APIC" in the safe mode settings (leave all other settings alone).

comment:6 by tbe, 13 years ago

Thanks for mentioning that, anevilyak. Enabling IO-APIC takes care of the freeze, and also seems to improve responsiveness compared to disabling local APIC. With disabled local APIC, the system would once in a while take a 10-20 seconds pause.

comment:7 by anevilyak, 13 years ago

Owner: changed from axeld to mmlr
Status: newassigned

Cool, then this one can be closed once the IO-APIC code has been enabled by default. For now you can force that setting by adding the line:

enable_ioapic true

To your kernel settings file.

comment:8 by mmlr, 13 years ago

Resolution: fixed
Status: assignedclosed

Enabled by default in hrev41527.

Note: See TracTickets for help on using tickets.