Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 22:17:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194974] New: Limit /dev/mem access to addresses in phys_avail[] - i.e. actual memory
Message-ID:  <bug-194974-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: emaste@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194974-8>