Repository for eudev development
Go to file
Jason S. McMullan cf427188ad udev/net_id: Only read the first 64 bytes of PCI config space
The original code used fread(), which on some libc implementions
(ie glibc 2.17) would pre-read a full 4K (PAGE_SIZE) of the
PCI config space, when only 64 bytes were requested.

I have recently come across PCIe hardware which responds with
Completion Timeouts when accesses above 256 bytes are attempted.

This can cause server systems with GHES/AEPI support to cause
and immediate kernel panic due to the failed PCI transaction.

This change replaces the buffered fread() with an explict
unbuffered read() of 64 bytes, which corrects this issue by
only reading the guaranteed first 64 bytes of PCIe config space.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-27 09:39:35 -04:00
docs docs/gudev/gudev-sections.txt: add two missing functions 2014-08-05 10:14:50 -04:00
hwdb update hardware databases 2015-05-26 10:27:22 -04:00
m4 m4/gtk-doc.m4: update to serial 2 2014-08-05 10:23:10 -04:00
man udev: add SYSCTL{} support 2015-03-18 20:33:17 -04:00
rules rules: Add more firewire properties for sound, to be closer to USB and PCI 2015-05-03 13:58:03 -04:00
src udev/net_id: Only read the first 64 bytes of PCI config space 2015-05-27 09:39:35 -04:00
test test: test only udev and libudev. 2015-04-14 19:31:08 -04:00
.gitignore test: test only udev and libudev. 2015-04-14 19:31:08 -04:00
.travis.yml Add .travis.yml 2015-02-09 16:49:33 -05:00
autogen.sh autogent: request automake 1.13 for gentoo 2015-05-26 11:44:01 -04:00
configure.ac Remove hardcoded path /run and configure using --with-rootrundir= 2015-03-27 11:34:13 -04:00
CONTRIBUTING Skip "udev hwdb: Support shipping pre-compiled database" 2014-10-28 20:44:14 -04:00
COPYING Final step of revamping the build system 2012-11-15 21:47:20 -05:00
LEGACY src/udev/udev-builtin-kmod.c: remove the modprobe alt to kmod code 2015-02-11 18:06:47 -05:00
Makefile.am rule_generator: remove legacy code 2015-02-11 15:44:15 -05:00
NOTES Skip 'udevd: move file descriptors to Manager' and 'udevd: init/exit the builtins in manager_new/free' 2015-05-27 08:32:14 -04:00
README README: Document the project home page 2013-09-27 17:49:45 -04:00

This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd
with the aim of isolating udev from any particular flavor of system
initialization.  In this case, the isolation is from systemd.

This is a project started by Gentoo developers and testing is currently being
done mostly on OpenRC.  We welcome contribution from others using a variety of
system initializations to ensure eudev remains system initialization and
distribution neutral.

Homepage: http://www.gentoo.org/proj/en/eudev/

Tarballs of releases: http://dev.gentoo.org/~blueness/eudev/

Contact: You can email us as a group below.

IRC: Freenode/#gentoo-udev

Committers (alphabetical order by last name):

    Luca Barbato        (lu_zero)           <lu_zero@gentoo.org>
    Anthony G. Basile   (blueness)          <blueness@gentoo.org>
    Francisco Izquierdo (klondike)          <klondike@gentoo.org>
    Ian Stakenvicius    (axs)               <axs@gentoo.org>
    Matthew Thode       (prometheanfire)    <prometheanfire@gentoo.org>
    Tony Vroon          (chainsaw)          <tony@linx.net>
    Richard Yao         (ryao)              <ryao@gentoo.org>