[Bug 194974] New: Limit /dev/mem access to addresses in phys_avail[] - i.e. actual memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 12 22:17:35 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194974

            Bug ID: 194974
           Summary: Limit /dev/mem access to addresses in phys_avail[] -
                    i.e. actual memory
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

Running a mismatched lsof on my ~10.1 desktop resulted in an MCA report and
hard hang:

MCA: Bank 1, Status 0xbf80000000200001
MCA: Global Cap 0x0000000000000c09, Status 0x0000000000000005
MCA: Vendor "GenuineIntel", ID 0x306a9, APIC ID 2
MCA: CPU 2 UNCOR PCC unclassified error
MCA: Address 0xfee00080
MCA: Misc 0x86
MCA: Bank 1, Status 0xbf80000000200001
MCA: Global Cap 0x0000000000000c09, Status 0x0000000000000005
MCA: Vendor "GenuineIntel", ID 0x306a9, APIC ID 3
MCA: CPU 3 UNCOR PCC unclassified error
MCA: Address 0xfee00080
MCA: Misc 0x86

Discussed with jhb@, presumably this happens after access to some device
register. We should by default limit /dev/mem access to addresses in
phys_avail[], but include a sysctl to enable such access for expert debugging.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list