Bug 216009 - Floppy does not work under KVM
Summary: Floppy does not work under KVM
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-13 00:24 UTC by Miguel Castellanos
Modified: 2018-09-25 13:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Castellanos 2017-01-13 00:24:19 UTC
My KVM system uses the virtual floppy drive of KVM virtual machines to inject the network configuration into the guest operating system.

This approach works fine on Linux and Windows Virtual Machines, however FreeBSD is not able to recognize the Floppy device.

The following messages appears at dmesg:

fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
fdc0: No FDOUT register!

The corresponding qemu command at the Host operating system is called using the following parameters:

-drive file=/tmp/vm.floppy,if=floppy,format=raw 

where /tmp/vm.floppy is a DOS formatter floppy image file.

Thanks for your help and time.

Miguel
Comment 1 Josh Jameson 2018-09-25 13:36:53 UTC
I've ran into this issue on 11.2-RELEASE-p3
Does anyone know how to fix this? I tried disabling device hints in /boot/device.hints but no dice.