Fehler beim PXE Boot - timeout miniroot-x64

Antworten
majoso1953
Beiträge: 30
Registriert: 28 Okt 2016, 12:08

Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von majoso1953 »

Hallo,

wir versuchen Fujitsu-Q558 zu betanken, haben aber bei UEFI keinen Erfolg (Legacy funktioniert).

Die Anpassungen
im DHCP - linux/pxelinux.cfg/shimx64.efi.signed
in der /etc/opsi/opsipxeconfd.conf - /tftpboot/linux/pxelinux.cfg/install-grub-x64
sind gemacht wurden.

Code: Alles auswählen

ii  libwhoopsie-preferences0 22           amd64        Ubuntu error tracker submission settings - shared library
ii  libwhoopsie0:amd64       0.2.69       amd64        Ubuntu error tracker submission - shared library
un  opsi-atftpd              <keine>      <keine>      (keine Beschreibung vorhanden)
ii  opsi-configed            4.0.7.6.34-2 all          OPSI config editor
un  opsi-depotserver         <keine>      <keine>      (keine Beschreibung vorhanden)
ii  opsi-directory-connector 47.8-1       amd64        opsi directory connector
ii  opsi-linux-bootimage     20220331-1   all          opsi bootimage for netboot tasks.
ii  opsi-linux-support       4.2.0.0-1    all          Configure system to be able to deploy Linux with opsi.
un  opsi-server              <keine>      <keine>      (keine Beschreibung vorhanden)
un  opsi-server-expert       <keine>      <keine>      (keine Beschreibung vorhanden)
ii  opsi-server-full         4.2.0.66-1   all          opsi server
un  opsi-tftp-hpa-server     <keine>      <keine>      (keine Beschreibung vorhanden)
un  opsi-tftpd               <keine>      <keine>      (keine Beschreibung vorhanden)
ii  opsi-tftpd-hpa           5.2.8-76     amd64        HPA's tftp server
ii  opsi-utils               4.2.0.165-1  amd64        Utilities for working with opsi
ii  opsi-windows-support     4.2.0.0-1    all          Install utilities useful for deploying Windows with opsi.
un  opsi4ucs                 <keine>      <keine>      (keine Beschreibung vorhanden)
ii  opsiconfd                4.2.0.255-1  amd64        opsi configuration service
ii  opsipxeconfd             4.2.0.27-1   amd64        opsi pxe configuration service
un  opsiwebservice           <keine>      <keine>      (keine Beschreibung vorhanden)
un  python-opsi              <keine>      <keine>      (keine Beschreibung vorhanden)
un  whoopsie                 <keine>      <keine>      (keine Beschreibung vorhanden)
ii  whoopsie-preferences     22           amd64        System preferences for error reporting
Die Pipe wird angelegt:
set timeout=0
menuentry 'Start netboot installation' {
set gfxpayload=keep
linux (pxe)/linux/install-x64 initrd=miniroot-x64 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 pckey=67dbde82938bd11759e511227c277042 hn=xxxxx dn=xxxxxxx product=win10-v4.2-ltsc1809 service=https://xxx-xxxx-xxx:4447/rpc
initrd (pxe)/linux/miniroot-x64
Im Log wird folgendes angezeigt:

Code: Alles auswählen

RRQ from 172.28.207.68 filename linux/pxelinux.cfg/shimx64.efi.signed
tftp: client does not accept options
RRQ from 172.28.207.68 filename linux/pxelinux.cfg/shimx64.efi.signed
RRQ from 172.28.207.68 filename linux/pxelinux.cfg/grubx64.efi
RRQ from 172.28.207.68 filename /grub/grub.cfg-01-4c-52-62-a3-cd-73
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC1CCF44
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC1CCF4
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC1CCF
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC1CC
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC1C
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC1
RRQ from 172.28.207.68 filename /grub/grub.cfg-AC
RRQ from 172.28.207.68 filename /grub/grub.cfg-A
RRQ from 172.28.207.68 filename /grub/x86_64-efi/command.lst
RRQ from 172.28.207.68 filename /grub/x86_64-efi/fs.lst
RRQ from 172.28.207.68 filename /grub/x86_64-efi/crypto.lst
RRQ from 172.28.207.68 filename /grub/x86_64-efi/terminal.lst
RRQ from 172.28.207.68 filename /grub/grub.cfg
RRQ from 172.28.207.68 filename /linux/pxelinux.cfg/01-4c-52-62-a3-cd-73
RRQ from 172.28.207.68 filename /linux/pxelinux.cfg/01-4c-52-62-a3-cd-73
RRQ from 172.28.207.68 filename /linux/install-x64
RRQ from 172.28.207.68 filename /linux/miniroot-x64
Die Dateien kann man manuell alle vom opsi-tftp herunterladen.

Der Ablauf auf dem PC ist dann folgender:

>>Checking Media Presence....
->>Media Present ......
>>Start PXE over IPv4 on MAC:..........
Fetching Netboot Image
Welcome to GRUB!
Booting Start netboot installation
error: timeout reading '/linux/miniroot-x64'

Für das manuelle Laden der Datei benötige ich ca. 60 Sekunden - das Timeout kommt eher :?:

Hat jemand eine Idee - danke im Voraus
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von SisterOfMercy »

Other types of computer work fine with uefi or not?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
majoso1953
Beiträge: 30
Registriert: 28 Okt 2016, 12:08

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von majoso1953 »

Nein - wir haben schon unter 4.1 UEFI betankt, aber auch diese funktionieren nicht mehr.
Wahrscheinlich tritt der Fehler seit der Umstellung auf 4.2 auf (wir haben das Rollout nach der Umstellung nicht getestet/benötigt). :(
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von m.radtke »

Hi

60 sekunden für die Übertragung einer Datei von ca. 150MB?
Das sind ja nicht mal 3MB die Sekunde.

Ich würde mal mit Wireshark schauen was daa krumm ist bei der Übertragung.

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von SisterOfMercy »

Or perhaps increase the verbosity of tftpd.

Edit the systemd service file, /usr/lib/systemd/system/opsi-tftpd-hpa.service (location may depend on distro).

Change this line:

Code: Alles auswählen

ExecStart=/usr/sbin/in.tftpd -v –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
In this line either remove the -v and add –verbosity value, or just add the -v a couple of times.

It will then become either this:

Code: Alles auswählen

ExecStart=/usr/sbin/in.tftpd -v -v -v –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
or this:

Code: Alles auswählen

ExecStart=/usr/sbin/in.tftpd –verbosity 9 –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
The other parameters given here are of course just an example.

After editing execute: # systemctl daemon-reload and restart the opsi-tftpd-hpa service.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
majoso1953
Beiträge: 30
Registriert: 28 Okt 2016, 12:08

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von majoso1953 »

60 sekunden für die Übertragung einer Datei von ca. 150MB?
Das sind ja nicht mal 3MB die Sekunde.

Ich würde mal mit Wireshark schauen was daa krumm ist bei der Übertragung.
Das Timeout ist ja recht eindeutig, aber manuell kann man die Datei (und noch einige andere) herunterladen.
Der Test an einem "schnellen" Anschluss war somit auch erfolgreich - aber wie bereits erwähnt - unter 4.1 hat auch der langsame Netzanschluss funktiontiert.
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von m.radtke »

Hi,

grub hat da wohl einen Timeout implementiert, da kann ich gerne mal reinschauen, ändern und neu bauen. Das würde dann mit einem der nächsten Bootimage Releases mitkommen.

Würde auch erklären wieso es per tftp auf nem Linux Serve rgeht, aber nicht im grub, der Timeout ist da sicherlich anders eingestellt.
opsi 4.1 benutzt teilweise noch elilo, je nachdem wie es konfiguriert war. Elilo hat wahrscheinlich auch einen anderen Timeout.

Gut das es am schnelleren Ascnhluss geht, da kann man das auf Netz eingrenzen.
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
majoso1953
Beiträge: 30
Registriert: 28 Okt 2016, 12:08

Re: Fehler beim PXE Boot - timeout miniroot-x64

Beitrag von majoso1953 »

SisterOfMercy hat geschrieben: 01 Mai 2022, 01:06 Or perhaps increase the verbosity of tftpd.

Edit the systemd service file, /usr/lib/systemd/system/opsi-tftpd-hpa.service (location may depend on distro).

Change this line:

Code: Alles auswählen

ExecStart=/usr/sbin/in.tftpd -v –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
In this line either remove the -v and add –verbosity value, or just add the -v a couple of times.

It will then become either this:

Code: Alles auswählen

ExecStart=/usr/sbin/in.tftpd -v -v -v –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
or this:

Code: Alles auswählen

ExecStart=/usr/sbin/in.tftpd –verbosity 9 –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
The other parameters given here are of course just an example.

After editing execute: # systemctl daemon-reload and restart the opsi-tftpd-hpa service.
das hat leider nicht viel gebracht... am Ergebnis hat sich nichts geändert, aber wenn man das Timeout unterbietet, dann funktioniert es

Code: Alles auswählen

Mai 03 14:35:13 Hostname in.tftpd[427724]: RRQ from 172.28.207.69 filename linux/pxelinux.cfg/shimx64.efi.signed
Mai 03 14:35:13 Hostname in.tftpd[427724]: tftp: client does not accept options
Mai 03 14:35:13 Hostname in.tftpd[427726]: RRQ from 172.28.207.69 filename linux/pxelinux.cfg/shimx64.efi.signed
Mai 03 14:35:13 Hostname in.tftpd[427727]: RRQ from 172.28.207.69 filename linux/pxelinux.cfg/grubx64.efi
Mai 03 14:35:20 Hostname in.tftpd[427728]: RRQ from 172.28.207.69 filename /grub/grub.cfg-01-68-84-7e-72-01-7d
Mai 03 14:35:20 Hostname in.tftpd[427728]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427729]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC1CCF45
Mai 03 14:35:20 Hostname in.tftpd[427729]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427730]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC1CCF4
Mai 03 14:35:20 Hostname in.tftpd[427730]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427731]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC1CCF
Mai 03 14:35:20 Hostname in.tftpd[427731]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427732]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC1CC
Mai 03 14:35:20 Hostname in.tftpd[427732]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427733]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC1C
Mai 03 14:35:20 Hostname in.tftpd[427733]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427734]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC1
Mai 03 14:35:20 Hostname in.tftpd[427734]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427735]: RRQ from 172.28.207.69 filename /grub/grub.cfg-AC
Mai 03 14:35:20 Hostname in.tftpd[427735]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427736]: RRQ from 172.28.207.69 filename /grub/grub.cfg-A
Mai 03 14:35:20 Hostname in.tftpd[427736]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427737]: RRQ from 172.28.207.69 filename /grub/x86_64-efi/command.lst
Mai 03 14:35:20 Hostname in.tftpd[427737]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427738]: RRQ from 172.28.207.69 filename /grub/x86_64-efi/fs.lst
Mai 03 14:35:20 Hostname in.tftpd[427738]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427739]: RRQ from 172.28.207.69 filename /grub/x86_64-efi/crypto.lst
Mai 03 14:35:20 Hostname in.tftpd[427739]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427740]: RRQ from 172.28.207.69 filename /grub/x86_64-efi/terminal.lst
Mai 03 14:35:20 Hostname in.tftpd[427740]: sending NAK (1, File not found) to 172.28.207.69
Mai 03 14:35:20 Hostname in.tftpd[427741]: RRQ from 172.28.207.69 filename /grub/grub.cfg
Mai 03 14:35:20 Hostname in.tftpd[427742]: RRQ from 172.28.207.69 filename /linux/pxelinux.cfg/01-68-84-7e-72-01-7d
Mai 03 14:35:20 Hostname in.tftpd[427745]: RRQ from 172.28.207.69 filename /linux/pxelinux.cfg/01-68-84-7e-72-01-7d
Mai 03 14:35:20 Hostname in.tftpd[427746]: RRQ from 172.28.207.69 filename /linux/pxelinux.cfg/01-68-84-7e-72-01-7d
Mai 03 14:35:25 Hostname in.tftpd[427747]: RRQ from 172.28.207.69 filename /linux/install-x64
Mai 03 14:35:26 Hostname in.tftpd[427748]: RRQ from 172.28.207.69 filename /linux/miniroot-x64
Antworten