[gelöst] modprobe ERROR could not insert 'efivars': No such device

Antworten
Sapgui
Beiträge: 21
Registriert: 15 Sep 2012, 13:02

[gelöst] modprobe ERROR could not insert 'efivars': No such device

Beitrag von Sapgui »

Hallo!

Trotzdem ich das syslinux-downgrade versucht habe erhalte ich weiterhin die im Betreff genannte meldung.
Auch nach dem Update aus dem Experimental-Repository erhalte ich weiterhin diesen Fehler.

Weitere Möglichkeiten um einen PXE-Boot inkl. Installation lauffähig zu bekommen?

lg,
Stefan

folgend der untere teil (zeichenbeschränkung)) des log des client (bootimage):
(1292) [7] [Mai 04 16:02:08] Starting new HTTPS connection (0) to 192.168.20.5:4447 (HTTP.py|587)
(1293) [7] [Mai 04 16:02:08] Connection established to: 192.168.20.5 (HTTP.py|600)
(1294) [7] [Mai 04 16:02:08] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|191)
(1295) [7] [Mai 04 16:02:08] Closing connection: <httplib.HTTPSConnection instance at 0xb5c6fe6c> (HTTP.py|530)
(1296) [7] [Mai 04 16:02:08] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: deflate (JSONRPC.py|724)
(1297) [7] [Mai 04 16:02:08] Expecting deflated data from server (backwards compatible) (JSONRPC.py|732)
(1298) [6] [Mai 04 16:02:08] Mountpoint: /mnt/opsi (Repository.py|1190)
(1299) [6] [Mai 04 16:02:08] Mounting 'smb://vwuopsi/opsi_depot' to '/mnt/opsi' (Repository.py|1191)
(1300) [7] [Mai 04 16:02:08] Command 'mount' found at: '/bin/mount' (Posix.py|705)
(1301) [6] [Mai 04 16:02:08] Executing: /bin/mount -t cifs -o "iocharset=utf8,domain=vwuopsi,credentials=/tmp/.cifs-credentials.vwuopsi" //vwuopsi/opsi_depot /mnt/opsi (Posix.py|763)
(1302) [6] [Mai 04 16:02:08] Using encoding 'UTF-8' (Posix.py|796)
(1303) [7] [Mai 04 16:02:08] Exit code: 0 (Posix.py|847)
(1304) [5] [Mai 04 16:02:08] Copying action script 'win7-x64/setup.py' from depot to '/tmp/setup.py' (master.py|1380)
(1305) [7] [Mai 04 16:02:08] MessageSubject 'copy_overall' created (Message.py|99)
(1306) [7] [Mai 04 16:02:08] ProgressSubject 'copy_overall' created (Message.py|227)
(1307) [7] [Mai 04 16:02:08] MessageSubject 'copy_current' created (Message.py|99)
(1308) [7] [Mai 04 16:02:08] ProgressSubject 'copy_current' created (Message.py|227)
(1309) [6] [Mai 04 16:02:08] Copying from 'win7-x64/setup.py' to '/tmp/setup.py' (Repository.py|522)
(1310) [7] [Mai 04 16:02:08] Length of binary data to download: 33478 bytes (Repository.py|742)
(1311) [7] [Mai 04 16:02:08] Transfer in from <open file u'/mnt/opsi/win7-x64/setup.py', mode 'rb' at 0xb5c62230> to <open file u'/tmp/setup.py', mode 'wb' at 0xb5c62338>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1312) [7] [Mai 04 16:02:08] Filesize is: 33478 (Repository.py|377)
(1313) [6] [Mai 04 16:02:08] Transfered 32.69 kByte in 0.00 minutes, average speed was 5614.62 kByte/s (Repository.py|418)
(1314) [6] [Mai 04 16:02:08] Copy done (Repository.py|608)
(1315) [7] [Mai 04 16:02:08] MessageSubject 'script' created (Message.py|99)
(1316) [7] [Mai 04 16:02:08] The name of our actionScript: u'/tmp/setup.py' (master.py|1407)
(1317) [7] [Mai 04 16:02:08] Before submitting request to backend... (master.py|1448)
(1318) [7] [Mai 04 16:02:08] Executing jsonrpc method 'productOnClient_updateObjects' on host u'192.168.20.5' (JSONRPC.py|115)
(1319) [7] [Mai 04 16:02:08] Posting request... (JSONRPC.py|707)
(1320) [7] [Mai 04 16:02:08] Starting new HTTPS connection (0) to 192.168.20.5:4447 (HTTP.py|587)
(1321) [7] [Mai 04 16:02:08] Connection established to: 192.168.20.5 (HTTP.py|600)
(1322) [7] [Mai 04 16:02:08] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|191)
(1323) [7] [Mai 04 16:02:08] Closing connection: <httplib.HTTPSConnection instance at 0xb5c69c6c> (HTTP.py|530)
(1324) [7] [Mai 04 16:02:08] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: deflate (JSONRPC.py|724)
(1325) [7] [Mai 04 16:02:08] Expecting deflated data from server (backwards compatible) (JSONRPC.py|732)
(1326) [7] [Mai 04 16:02:08] After submitting request to backend... (master.py|1450)
(1327) [5] [Mai 04 16:02:08] try to load efivars module: modprobe efivars (setup.py|14)
(1328) [6] [Mai 04 16:02:08] Executing: /sbin/modprobe efivars (Posix.py|763)
(1329) [6] [Mai 04 16:02:08] Using encoding 'UTF-8' (Posix.py|796)
(1330) [7] [Mai 04 16:02:08] >>> modprobe: ERROR: could not insert 'efivars': No such device (Posix.py|840)
(1331) [7] [Mai 04 16:02:08] Exit code: 1 (Posix.py|847)
(1332) [2] [Mai 04 16:02:09] Traceback: (Logger.py|765)
(1333) [2] [Mai 04 16:02:09] line 1461 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|765)
(1334) [2] [Mai 04 16:02:09] line 15 in '<module>' in file '/tmp/setup.py' (Logger.py|765)
(1335) [2] [Mai 04 16:02:09] line 854 in 'execute' in file '/usr/lib/python2.7/dist-packages/OPSI/System/Posix.py' (Logger.py|765)
(1336) [2] [Mai 04 16:02:09] ==>>> Command '/sbin/modprobe efivars' failed (1):
(1337) modprobe: ERROR: could not insert 'efivars': No such device (master.py|1509)

(1338) [7] [Mai 04 16:02:09] Backend: <JSONRPCBackend(host=u'192.168.20.5', deflate=False)> (master.py|1512)
(1339) [7] [Mai 04 16:02:09] ProductId: win7-x64 (master.py|1513)
(1340) [7] [Mai 04 16:02:09] ClientId: vwu-nb05--450g3.vwu-schule.at (master.py|1514)
(1341) [7] [Mai 04 16:02:09] ProductOnClient: <ProductOnClient(clientId=u'vwu-nb05--450g3.vwu-schule.at', productId=u'win7-x64', installationStatus=u'unknown', actionRequest=u'none')> (master.py|1515)
(1342) [6] [Mai 04 16:02:09] Updating productOnClient: {'actionProgress': u'', 'actionResult': u'failed', 'clientId': u'vwu-nb05--450g3.vwu-schule.at', 'modificationTime': None, 'actionRequest': u'none', 'targetConfiguration': None, 'productVersion': None, 'productType': u'NetbootProduct', 'type': u'ProductOnClient', 'lastAction': None, 'packageVersion': None, 'actionSequence': None, 'installationStatus': u'unknown', 'productId': u'win7-x64'} (master.py|1526)
(1343) [7] [Mai 04 16:02:09] Executing jsonrpc method 'productOnClient_updateObjects' on host u'192.168.20.5' (JSONRPC.py|115)
(1344) [7] [Mai 04 16:02:09] Posting request... (JSONRPC.py|707)
(1345) [7] [Mai 04 16:02:09] Starting new HTTPS connection (0) to 192.168.20.5:4447 (HTTP.py|587)
(1346) [7] [Mai 04 16:02:09] Connection established to: 192.168.20.5 (HTTP.py|600)
(1347) [7] [Mai 04 16:02:09] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|191)
(1348) [7] [Mai 04 16:02:09] Closing connection: <httplib.HTTPSConnection instance at 0xb5c5fdec> (HTTP.py|530)
(1349) [7] [Mai 04 16:02:09] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: deflate (JSONRPC.py|724)
(1350) [7] [Mai 04 16:02:09] Expecting deflated data from server (backwards compatible) (JSONRPC.py|732)
(1351) [5] [Mai 04 16:02:09] Writing log to service (master.py|1536)
Zuletzt geändert von Sapgui am 06 Mai 2016, 17:49, insgesamt 1-mal geändert.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von n.wenselowski »

Hi,

die wichtigste Frage in dem Zusammenhang: welche Bootimage-Version wird eingesetzt?


Gruß

Niko

Code: Alles auswählen

import OPSI
Sapgui
Beiträge: 21
Registriert: 15 Sep 2012, 13:02

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von Sapgui »

Hallo!

Nachdem ich das Experimental-Repo als letztes versucht habe habe ich nun das bootimage drauf...
Davor hatte ich die aktuelle via aptitude update && aptitude upgrade.

ii opsi-atftpd 0.7.dfsg-6 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.6.7.5-1 OPSI config editor
ii opsi-depotserver 4.0.6.7-2 opsi depotserver configuration package
ii opsi-linux-bootimage 20160413-1 opsi bootimage for netboot tasks.
ii opsi-nagios-plugins 4.0.5.1-2 opsi nagios plugins
ii opsi-utils 4.0.6.14-1 utilites for working with opsi.
ii opsiconfd 4.0.6.14-1 opsi configuration service
ii opsipxeconfd 4.0.5.5-2 opsi pxe configuration daemon
ii python-opsi 4.0.6.48-1 opsi python library

danke für die hilfe!
lg
Stefan
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von uncle_scrooge »

>>(1334) [2] [Mai 04 16:02:09] line 15 in '<module>' in file '/tmp/setup.py' (Logger.py|765)

Das riecht nach 'altem' NetBoot-Produkt.
Es glaubt mir zwar keiner, aber ältere NetBoot-Produkte mögen aktuelle boot images nicht.

Also mal beherzt ein opsi-product-updater laufen lassen.
Sapgui
Beiträge: 21
Registriert: 15 Sep 2012, 13:02

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von Sapgui »

Hey!

Jaa, moment! Da hätte ich jetzt eigentlich selbst drauf kommen können. Jetzt mal von win7-x64 4.0.4-1 auf 4.0.6.2-3 gepatched. Morgen mal probieren ... danke schon mal!

lg
Stefan
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von m.radtke »

Hi
1. Ja es liegt am alten Netbboot Produkt. diese werden standarmäßig nicht durch den product updater upgedatet.

2. Sofern Du nur Windows ausrollen willst past das Bootimage vom 13 April. Aber sobald ein 64Bit Bpootimage benutzt werden soll steigt der TFTP aus. Das 64Bot Bootimage ist ein paar kB zu groß :(

Für das volle Opsi Erlebnis empfehle ich das Bootimage aus Stable doer Testing. Die Versionen sind identisch
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Benutzeravatar
SisterOfMercy
Beiträge: 1524
Registriert: 22 Jun 2012, 19:18

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von SisterOfMercy »

m.radtke hat geschrieben:2. Sofern Du nur Windows ausrollen willst past das Bootimage vom 13 April. Aber sobald ein 64Bit Bootimage benutzt werden soll steigt der TFTP aus. Das 64Bit Bootimage ist ein paar kB zu groß :(
Isn't it an idea to start working with iPXE? First chainload iPXE via PXE/TFTP and then via iPXE to HTTP, or something else. This would get rid of the size limit.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1939
Registriert: 28 Mai 2008, 10:53

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von ueluekmen »

Hi,

ja es ist eine Option. Wir haben auch schon darüber nachgedacht. Genauso wie über das Thema den TFTP-Server komplett zu wechseln. Und fehlte bisher leider immer die Zeit dazu. Vielleicht gehen wir das mal in einer der nächsten größeren Releases an. ;)
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
Sapgui
Beiträge: 21
Registriert: 15 Sep 2012, 13:02

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von Sapgui »

Hallo!

Ja, das Problem wurde durch ein "opsi-product-updater -i win7-x64 -vv" gelöst.

Vielen Dank!

lg,
Stefan
Benutzeravatar
SisterOfMercy
Beiträge: 1524
Registriert: 22 Jun 2012, 19:18

Re: modprobe ERROR could not insert 'efivars': No such device

Beitrag von SisterOfMercy »

ueluekmen hat geschrieben:ja es ist eine Option. Wir haben auch schon darüber nachgedacht. Genauso wie über das Thema den TFTP-Server komplett zu wechseln. Und fehlte bisher leider immer die Zeit dazu. Vielleicht gehen wir das mal in einer der nächsten größeren Releases an. ;)
Don't have all tftp servers have similar limitations.. well, because, it's tftp.. It's not called 'trivial' for nothing ;)
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten