Code: Alles auswählen
# ./show_drivers.py hostname.blah.nl
Additional drivers for integration byAudit found for vendor: 'Supermicro' model : 'Super Server (Default string)' Check if drivers are available.
Additional drivers for integration byAudit-Baseboard found for vendor: 'Supermicro' model : 'X11SCQ' Check if drivers are available. .
PCI-Devices
[8086:3EC2] Intel Corporation : 8th Gen Core Processor Host Bridge/DRAM Registers
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/Coffeelake
[8086:3E98] Intel Corporation : UHD Graphics 630 (Desktop 9 Series)
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Graphics 26.20.100.7212/Graphics
[8086:1911] Intel Corporation : Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/Skylake
[8086:A379] Intel Corporation : Cannon Lake PCH Thermal Controller
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:A36D] Intel Corporation : Cannon Lake PCH USB 3.1 xHCI Host Controller
No driver - device directory '/var/lib/opsi/depot/win10-x64/drivers/pciids/8086/A36D' not found
[8086:A36F] Intel Corporation : Cannon Lake PCH Shared SRAM
No driver - device directory '/var/lib/opsi/depot/win10-x64/drivers/pciids/8086/A36F' not found
[8086:A352] Intel Corporation : Cannon Lake PCH SATA AHCI Controller
No driver - device directory '/var/lib/opsi/depot/win10-x64/drivers/pciids/8086/A352' not found
[8086:A340] Intel Corporation : Cannon Lake PCH PCI Express Root Port #17
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:A32C] Intel Corporation : Cannon Lake PCH PCI Express Root Port #21
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:F1A6] Intel Corporation : SSD Pro 7600p/760p/E 6100p Series
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel NVMe 4.3.0.1006
[8086:A330] Intel Corporation : Cannon Lake PCH PCI Express Root Port #9
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:A332] Intel Corporation : Cannon Lake PCH PCI Express Root Port #11
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:1533] Intel Corporation : I210 Gigabit Network Connection
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel LAN 24.2/PRO1000/Winx64/NDIS65
[8086:A306] Intel Corporation : Q370 Chipset LPC/eSPI Controller
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:A348] Intel Corporation : Cannon Lake PCH cAVS
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Graphics 26.20.100.7212/Graphics
[8086:A323] Intel Corporation : Cannon Lake PCH SMBus Controller
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:A324] Intel Corporation : Cannon Lake PCH SPI Controller
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel Chipset 10.1.18010.8141/CannonLake-H
[8086:15BB] Intel Corporation : Ethernet Connection (7) I219-LM
/var/lib/opsi/depot/win10-x64/drivers/drivers/preferred/Intel LAN 24.2/PRO1000/Winx64/NDIS65
USB-Devices
No devices installed
HD-Audio-Devices
[10EC:0888] Realtek ALC888-VD
No driver - vendor directory '/var/lib/opsi/depot/win10-x64/drivers/hdaudioids/10EC' not found
[8086:280B] Intel Kabylake HDMI
No driver - vendor directory '/var/lib/opsi/depot/win10-x64/drivers/hdaudioids/8086' not found
win10-x64 4.1.0.1-3
This realtek driver is copied from an older opsi server which does create the hdaudioids directory/symbolic links.
I currently can not check which package is on the older server, but create_driver_links.py was only changed by three characters.
old (going on memory):
Code: Alles auswählen
def setRights():
uid = -1
if (os.geteuid() == 0):
uid = pwd.getpwnam(DEFAULT_CLIENT_DATA_USER)[2]
gid = grp.getgrnam(DEFAULT_CLIENT_DATA_GROUP)[2]
for path in findFiles(prefix=DST_DIR, directory=DST_DIR, returnLinks=False):
logger.info(u"Setting owner of '%s' to '%s:%s'" % (path, uid, gid))
try:
os.chown(path, uid, gid)
except Exception as e:
logger.warning(u"Failed to change owner of '%s' to '%s:%s': %s" % (path, uid, gid, e))
try:
if os.path.islink(path):
continue
elif os.path.isdir(path):
logger.debug(u"Setting rights on directory '%s'" % path)
os.chmod(path, 02770)
elif os.path.isfile(path):
logger.debug(u"Setting rights on file '%s'" % path)
os.chmod(path, (os.stat(path)[0] | 0660) & 0770)
except Exception as e:
logger.warning(u"Failed to set access rights of '%s' : %s" % (path, e))
Code: Alles auswählen
def setRights():
uid = -1
if (os.geteuid() == 0):
uid = pwd.getpwnam(DEFAULT_CLIENT_DATA_USER)[2]
gid = grp.getgrnam(DEFAULT_CLIENT_DATA_GROUP)[2]
for path in findFiles(prefix=DST_DIR, directory=DST_DIR, returnLinks=False):
logger.info(u"Setting owner of '%s' to '%s:%s'" % (path, uid, gid))
try:
os.chown(path, uid, gid)
except Exception as e:
logger.warning(u"Failed to change owner of '%s' to '%s:%s': %s" % (path, uid, gid, e))
try:
if os.path.islink(path):
continue
elif os.path.isdir(path):
logger.debug(u"Setting rights on directory '%s'" % path)
os.chmod(path, 0o2770)
elif os.path.isfile(path):
logger.debug(u"Setting rights on file '%s'" % path)
os.chmod(path, (os.stat(path)[0] | 0o660) & 0o770)
except Exception as e:
logger.warning(u"Failed to set access rights of '%s' : %s" % (path, e))
This is what I find when changing the verbosity:
old (working):
Code: Alles auswählen
File 'drivers/preferred/Intel Graphics 26.20.100.6709/Graphics/DisplayAudio/10.26/IntcDAud.inf' locked after 0 millis
- Getting strings
- Getting devices
- Device sections: NTAMD64, 2, Intel, 6
- Parsing device section: Intel
- Parsing device section: Intel.NTAMD64.6.2
- Processing device string: HDAUDIO\FUNC_01&VEN_8086&DEV_2809&SUBSYS_80860101
- Device type is HDAUDIO
- Found HDAUDIO device: 8086:2809
Code: Alles auswählen
File 'drivers/preferred/Intel Graphics 26.20.100.7212/Graphics/DisplayAudio/10.26/IntcDAud.inf' locked after 0 millis
- Getting strings
- Getting devices
- Device sections: NTAMD64, 2, Intel, 6
- Parsing device section: Intel
- Parsing device section: Intel.NTAMD64.6.2
- Processing device string: HDAUDIO\FUNC_01&VEN_8086&DEV_2809&SUBSYS_80860101
- Device type is PCI
- Found PCI device: 8086:2809