Page MenuHomeFreeBSD

Amazon EC2: Disable floppy devices (fdc0, fd0,) and parallel port device (pp0)
Needs ReviewPublic

Authored by james.wright_digital-chaos.com on Dec 8 2018, 5:00 AM.

Details

Reviewers
cperciva
Group Reviewers
Contributor Reviews (base)
Summary

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

Bugzilla PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233861

Test Plan

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

james.wright_digital-chaos.com edited the summary of this revision. (Show Details)

Updated file path in diff for Phabricator Diffusion browsing