[SOLVED] pxeboot bricht bei kopieren der Treiber ab

Antworten
g.burck
Beiträge: 228
Registriert: 23 Mai 2018, 16:44

[SOLVED] pxeboot bricht bei kopieren der Treiber ab

Beitrag von g.burck »

Moin,

ich stoße immer wieder bei verschiednen Systemen auf das Problem, dass bei dem Deployment die Installation beim kopieren der Treiber abbricht.
Jedenfalls scheint es mir so.

Zu mindest bei einem System habe ich dann von den hochgeladenen Treiberpaketen welche gelöscht, dann lief die Installation weiter.

Wie kann ich das debuggen, gibt es da auf dem bootenden Host ein log Verzeichnis?
Bringt es etwas, wenn ich mit der Größe der winPE Partition spiele?

Viele Grüße

Gregor
Zuletzt geändert von g.burck am 24 Jun 2024, 14:28, insgesamt 3-mal geändert.
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
g.burck
Beiträge: 228
Registriert: 23 Mai 2018, 16:44

Re: pxeboot bricht bei kopieren der Treiber ab

Beitrag von g.burck »

Mein Ziel war es, bei neuen Rechnermodellen mittels double driver die Treiber aus der Windows Installation des Lieferzustand zu speichern und in OPSI dem Modell dann hochladen.

Ich denke das wäre ja ein Vernünftiges Vorgehen.

Bei einem Laptop Lenovo ThinPad T14 Gen 4 (21HD00DLGE) hat das nicht geklappt, hier hatte dann die Win 11 Installation Probleme, ich konnte nur Win 10 installieren.
Bei einem Lenovo ThinBook 16p G4 ging die Win 11 Installation zwar durch, aber natürlich fehlten erst mal alle Treiber,...
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: pxeboot bricht bei kopieren der Treiber ab

Beitrag von m.radtke »

Hi

an welcher Stelle im Deployment?
Im opsi-linux-bootimage oder im WinPe?

Im opsi-linux-bootimage gibt ds unter /tmp/log ein Log der Installation

Gruß
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


g.burck
Beiträge: 228
Registriert: 23 Mai 2018, 16:44

Re: [SOLVED] pxeboot bricht bei kopieren der Treiber ab

Beitrag von g.burck »

Moin,

das war noch im opsi boot image, aber nachdem ich versucht habe, das noch einmal nachzustellen funktioniert (leider?) alles.

Danke

Gregor
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: pxeboot bricht bei kopieren der Treiber ab

Beitrag von SisterOfMercy »

g.burck hat geschrieben: 24 Mai 2024, 16:07 Mein Ziel war es, bei neuen Rechnermodellen mittels double driver die Treiber aus der Windows Installation des Lieferzustand zu speichern und in OPSI dem Modell dann hochladen.
Why would you want to do it like that?

Where do you have your driver packages stored on the server?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
g.burck
Beiträge: 228
Registriert: 23 Mai 2018, 16:44

Re: [SOLVED] pxeboot bricht bei kopieren der Treiber ab

Beitrag von g.burck »

@SisterOfMercy:
I do that so cause I use the device as source for the right drivers.

Aber zu meinem eigentlichen Problem, ich habe wieder so einen Fall.
Hier mal ein Auszug aus dem /tmp/log:

Code: Alles auswählen

[5] [2024-06-21 13:31:49.588] [               ] installing drivers from win11-x64/drivers   (setup.py:1567)
[5] [2024-06-21 13:31:49.590] [               ] Found driver directory win11-x64/drivers   (setup.py:1570)
[6] [2024-06-21 13:31:49.591] [               ] Adding additional drivers   (WindowsDrivers.py:461)
[6] [2024-06-21 13:31:49.594] [               ] Checking if automated integrating of additional drivers are possible   (WindowsDrivers.py:478)
[5] [2024-06-21 13:31:49.594] [               ] Additional drivers for integration found using byAudit (System) for vendor: 'Dell Inc.' model : 'Inspiron 16 Plus 7630 (0C28)' Check if drivers are available.   (WindowsDrivers.py:487)
[6] [2024-06-21 13:31:49.597] [               ] ByAudit: Checking Vendor directory: Dell Inc_   (WindowsDrivers.py:500)
[6] [2024-06-21 13:31:49.600] [               ] ByAudit: Checking Model directory: Dell Inc_   (WindowsDrivers.py:510)
[6] [2024-06-21 13:31:49.600] [               ] ByAudit: Checking Model directory: Dell Inc_   (WindowsDrivers.py:510)
[6] [2024-06-21 13:31:49.600] [               ] ByAudit: Checking Model directory: Dell Inc_   (WindowsDrivers.py:510)
[6] [2024-06-21 13:31:49.600] [               ] ByAudit: Exact match found.   (WindowsDrivers.py:512)
[7] [2024-06-21 13:31:49.607] [               ] Including file 'iaStorVD.inf'   (__init__.py:545)
[7] [2024-06-21 13:31:49.613] [               ] Including file 'oem70.inf'   (__init__.py:545)
[7] [2024-06-21 13:31:49.616] [               ] Including file 'oem266.inf'   (__init__.py:545)
[7] [2024-06-21 13:31:49.619] [               ] Including file 'oem21.inf'   (__init__.py:545)
[6] [2024-06-21 13:31:49.619] [               ] Found inf files: ['win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst/iaStorVD.inf', 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller/oem70.inf', 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Intel(R) Wi-Fi 6E AX211 160MHz/oem266.inf', 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/TAP-Windows Adapter V9/oem21.inf'] in dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)'   (WindowsDrivers.py:573)
[6] [2024-06-21 13:31:49.622] [               ] Adding additional driver dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst'   (WindowsDrivers.py:592)
[6] [2024-06-21 13:31:49.625] [               ] Adding additional driver dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller'   (WindowsDrivers.py:592)
[6] [2024-06-21 13:31:49.628] [               ] Adding additional driver dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Intel(R) Wi-Fi 6E AX211 160MHz'   (WindowsDrivers.py:592)
[6] [2024-06-21 13:31:49.631] [               ] Adding additional driver dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/TAP-Windows Adapter V9'   (WindowsDrivers.py:592)
[6] [2024-06-21 13:31:49.632] [               ] Integrating drivers: ['win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst', 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller', 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Intel(R) Wi-Fi 6E AX211 160MHz', 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/TAP-Windows Adapter V9']   (WindowsDrivers.py:153)
[7] [2024-06-21 13:31:49.632] [               ] Found inf files: [] in dir '/mnt/hd/drv'   (WindowsDrivers.py:178)
[5] [2024-06-21 13:31:49.632] [               ] Integrating driver dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst'   (WindowsDrivers.py:199)
[7] [2024-06-21 13:31:49.636] [               ] Including file 'iaStorVD.inf'   (__init__.py:545)
[7] [2024-06-21 13:31:49.636] [               ] MessageSubject 'copy_overall' created   (Message.py:104)
[7] [2024-06-21 13:31:49.636] [               ] ProgressSubject 'copy_overall' created   (Message.py:272)
[7] [2024-06-21 13:31:49.636] [               ] MessageSubject 'copy_current' created   (Message.py:104)
[7] [2024-06-21 13:31:49.636] [               ] ProgressSubject 'copy_current' created   (Message.py:272)
[6] [2024-06-21 13:31:49.636] [               ] Copying from 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst/iaStorVD.inf' to '/tmp/temp.inf'   (Repository.py:663)
[7] [2024-06-21 13:31:49.636] [               ] Length of binary data to download: 28202 bytes   (Repository.py:888)
[7] [2024-06-21 13:31:49.638] [               ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst/iaStorVD.inf'> to <_io.BufferedWriter name='/tmp/temp.inf'> (size=28202, dynamic bandwidth=False, max bandwidth=0)   (Repository.py:484)
[6] [2024-06-21 13:31:49.639] [               ] Transfered 28.20kByte in 0.00 minutes, average speed was 20806.99kByte/s   (Repository.py:541)
[6] [2024-06-21 13:31:49.639] [               ] Copy done   (Repository.py:757)
[7] [2024-06-21 13:31:49.639] [               ] Parsing inf file /tmp/temp.inf   (__init__.py:734)
[7] [2024-06-21 13:31:49.639] [               ] Trying to lock file '/tmp/temp.inf' (0/2000)   (__init__.py:231)
[7] [2024-06-21 13:31:49.639] [               ] File '/tmp/temp.inf' locked after 0 millis   (__init__.py:252)
[7] [2024-06-21 13:31:49.640] [               ] Trying to lock file '/tmp/temp.inf' (0/2000)   (__init__.py:231)
[7] [2024-06-21 13:31:49.640] [               ] File '/tmp/temp.inf' locked after 0 millis   (__init__.py:252)
[7] [2024-06-21 13:31:49.640] [               ] MessageSubject 'copy_overall' created   (Message.py:104)
[7] [2024-06-21 13:31:49.640] [               ] ProgressSubject 'copy_overall' created   (Message.py:272)
[7] [2024-06-21 13:31:49.640] [               ] MessageSubject 'copy_current' created   (Message.py:104)
[7] [2024-06-21 13:31:49.640] [               ] ProgressSubject 'copy_current' created   (Message.py:272)
[6] [2024-06-21 13:31:49.640] [               ] Copying from 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst' to '/mnt/hd/drv/1'   (Repository.py:663)
[7] [2024-06-21 13:31:49.646] [               ] Length of binary data to download: 2055856 bytes   (Repository.py:888)
[7] [2024-06-21 13:31:49.647] [               ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst//RstMwService.exe'> to <_io.BufferedWriter name='/mnt/hd/drv/1/RstMwService.exe'> (size=2055856, dynamic bandwidth=False, max bandwidth=0)   (Repository.py:484)
[6] [2024-06-21 13:31:49.669] [               ] Transfered 2055.86kByte in 0.00 minutes, average speed was 93907.68kByte/s   (Repository.py:541)
[7] [2024-06-21 13:31:49.670] [               ] Length of binary data to download: 29352 bytes   (Repository.py:888)
[7] [2024-06-21 13:31:49.671] [               ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst//RstMwEventLogMsg.dll'> to <_io.BufferedWriter name='/mnt/hd/drv/1/RstMwEventLogMsg.dll'> (size=29352, dynamic bandwidth=False, max bandwidth=0)   (Repository.py:484)
[6] [2024-06-21 13:31:49.672] [               ] Transfered 29.35kByte in 0.00 minutes, average speed was 31246.50kByte/s   (Repository.py:541)
[7] [2024-06-21 13:31:49.672] [               ] Length of binary data to download: 12356 bytes   (Repository.py:888)
[7] [2024-06-21 13:31:49.673] [               ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst//iaStorVD.cat'> to <_io.BufferedWriter name='/mnt/hd/drv/1/iaStorVD.cat'> (size=12356, dynamic bandwidth=False, max bandwidth=0)   (Repository.py:484)
[6] [2024-06-21 13:31:49.674] [               ] Transfered 12.36kByte in 0.00 minutes, average speed was 11427.74kByte/s   (Repository.py:541)
[7] [2024-06-21 13:31:49.674] [               ] Length of binary data to download: 1605296 bytes   (Repository.py:888)
[7] [2024-06-21 13:31:49.676] [               ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst//iaStorVD.sys'> to <_io.BufferedWriter name='/mnt/hd/drv/1/iaStorVD.sys'> (size=1605296, dynamic bandwidth=False, max bandwidth=0)   (Repository.py:484)
[6] [2024-06-21 13:31:49.692] [               ] Transfered 1605.30kByte in 0.00 minutes, average speed was 95277.91kByte/s   (Repository.py:541)
[7] [2024-06-21 13:31:49.693] [               ] Length of binary data to download: 28202 bytes   (Repository.py:888)
[7] [2024-06-21 13:31:49.693] [               ] Transfer in from <_io.BufferedReader name='/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/rst//iaStorVD.inf'> to <_io.BufferedWriter name='/mnt/hd/drv/1/iaStorVD.inf'> (size=28202, dynamic bandwidth=False, max bandwidth=0)   (Repository.py:484)
[6] [2024-06-21 13:31:49.693] [               ] Transfered 28.20kByte in 0.00 minutes, average speed was 193914.36kByte/s   (Repository.py:541)
[6] [2024-06-21 13:31:49.693] [               ] Copy done   (Repository.py:757)
[5] [2024-06-21 13:31:49.693] [               ] Integrating driver dir 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller'   (WindowsDrivers.py:199)
[7] [2024-06-21 13:31:49.697] [               ] Including file 'oem70.inf'   (__init__.py:545)
[7] [2024-06-21 13:31:49.697] [               ] MessageSubject 'copy_overall' created   (Message.py:104)
[7] [2024-06-21 13:31:49.697] [               ] ProgressSubject 'copy_overall' created   (Message.py:272)
[7] [2024-06-21 13:31:49.697] [               ] MessageSubject 'copy_current' created   (Message.py:104)
[7] [2024-06-21 13:31:49.697] [               ] ProgressSubject 'copy_current' created   (Message.py:272)
[6] [2024-06-21 13:31:49.697] [               ] Copying from 'win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller/oem70.inf' to '/tmp/temp.inf'   (Repository.py:663)
[7] [2024-06-21 13:31:49.697] [               ] Length of binary data to download: 765930 bytes   (Repository.py:888)
[3] [2024-06-21 13:31:50.700] [               ] Repository error: Failed to download '/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller/oem70.inf' to '/tmp/temp.inf': [Errno 13] Permission denied: '/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller/oem70.inf'   (master.py:2035)
Traceback (most recent call last):
  File "OPSI/Util/Repository.py", line 894, in download
PermissionError: [Errno 13] Permission denied: '/mnt/opsi/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller/oem70.inf'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "opsibootimage/master.py", line 1985, in <module>
  File "/tmp/setup.py", line 1573, in <module>
    integrateAdditionalWindowsDrivers(srcDriversDir + u'/drivers/additional', dstDriversDir, additionalDrivers, messageSubject = scriptMessageSubject, srcRepository = depot, auditHardwareOnHosts = auditHardwareOnHosts)
  File "OPSI/Util/WindowsDrivers.py", line 601, in integrateAdditionalWindowsDrivers
  File "OPSI/Util/WindowsDrivers.py", line 224, in integrateWindowsDrivers
  File "OPSI/Util/Repository.py", line 763, in copy
  File "OPSI/Util/Repository.py", line 695, in copy
  File "OPSI/Util/Repository.py", line 900, in download
Ich habe natürlich nach dem hochladen der Treiber ein opsi-set-rights durchgeführt.

Grüße

Gregor
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: pxeboot bricht bei kopieren der Treiber ab

Beitrag von m.radtke »

Moin,

was sagt denn

Code: Alles auswählen

ls -hal /var/lib/opsi/depot/win11-x64/drivers/drivers/additional/byAudit/Dell Inc_/Inspiron 16 Plus 7630 (0C28)/Net/Realtek USB GbE Family Controller/oem70.inf'
Griß
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


g.burck
Beiträge: 228
Registriert: 23 Mai 2018, 16:44

Re: pxeboot bricht bei kopieren der Treiber ab

Beitrag von g.burck »

Auf den Dateien lagen noch ACLs die nicht gepasst haben:

-rwxrwx---+ 1 opsiconfd opsifileadmins 391K 23. Nov 2023 oem266.inf

Ich habe die ACLs über ein setfacl -b entfernt, noch einmal opsi-set-rights ausgeführt.
Danach lief das kopieren dann sauber durch.
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
Antworten