Bug 233861

Summary: [patch] Amazon EC2: Disable floppy fdc0, fd0 and ppc0 devices in loader.conf
Product: Base System Reporter: James Wright <james.wright>
Component: confAssignee: cpervia
Status: Open ---    
Severity: Affects Some People CC: lwhsu
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
ec2.conf patch none

Description James Wright 2018-12-08 04:52:19 UTC
Created attachment 199946 [details]
ec2.conf patch

Disable the floppy devices (fdc0, fd0) and parallel port device (ppc0) on Amazon EC2 instances. They are not present on these machines and output an error on boot (see below);

# dmesg | grep fdc
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
fdc0: No FDOUT register!

# dmesg | grep ppc
ppc0: cannot reserve I/O port range
Comment 1 James Wright 2018-12-08 11:31:20 UTC
Phabricator Differential;
https://reviews.freebsd.org/D18482
Comment 2 James Wright 2020-11-07 15:08:33 UTC
Reopened (after closing prematurely) as patch was ready to land.