Opened 10 months ago

Last modified 10 months ago

#18739 new bug

freezes and floating point KDL in VMware after hrev57381

Reported by: augiedoggie Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

After hrev57381 I have begun experiencing freezing and KDLs while running x86_64 Haiku inside of VMware Workstation 17.0.2 on an Arch Linux host.

I have observed the problem with dd and possibly the cmake executable. Running the command dd bs=32 count=1 < input.txt > output.txt will either KDL about 10% of the time or the process will consume 100% CPU on one core until I kill it with ProcessController. At this point Haiku will immediately freeze up.

Running with hrev57381 reverted seems to fix the problem for me.

Attachments (1)

Haiku_serial.txt (162.8 KB ) - added by augiedoggie 10 months ago.
VMware serial output with FPU KDL

Download all attachments as: .zip

Change History (7)

by augiedoggie, 10 months ago

Attachment: Haiku_serial.txt added

VMware serial output with FPU KDL

comment:1 by augiedoggie, 10 months ago

I can also boot this same installation of Haiku to bare metal and I did not have any problems.

comment:2 by waddlesplash, 10 months ago

Seems very odd that the machine has no problem on bare metal but does in VMware. For whatever it's worth, I ran the same "dd" test also in VMware and got no KDLs, everything worked fine (but this is a different version of VMware and not on a Linux host.)

comment:3 by korli, 10 months ago

could it be that the initial fpu state isn't correct in this case? Anyway we could handle this special case in kernel mode, clearing the fp exception, without panic.

comment:4 by waddlesplash, 10 months ago

Maybe relevant: I boot in VMware via BIOS loader while it appears augiedoggie is using the EFI loader.

comment:5 by Coldfirex, 10 months ago

Does this occur with VMware Workstation 17.5? FWIW I couldnt reproduce on VMware ESXi 7.

in reply to:  5 comment:6 by augiedoggie, 10 months ago

Replying to Coldfirex:

Does this occur with VMware Workstation 17.5? FWIW I couldnt reproduce on VMware ESXi 7.

I'm unable to boot with 17.5 because of some type of EFI/kernel handoff problem. IIRC waddlesplash made a comment about having the same trouble on another ticket.

Note: See TracTickets for help on using tickets.