Bug 233861 - [patch] Amazon EC2: Disable floppy fdc0, fd0 and ppc0 devices in loader.conf
Summary: [patch] Amazon EC2: Disable floppy fdc0, fd0 and ppc0 devices in loader.conf
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: cpervia
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-12-08 04:52 UTC by James Wright
Modified: 2020-11-07 15:08 UTC (History)
1 user (show)

See Also:


Attachments
ec2.conf patch (840 bytes, patch)
2018-12-08 04:52 UTC, James Wright
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.