Bug 29384 - Prüfung auf Kernel-Pakete ohne PAE
Prüfung auf Kernel-Pakete ohne PAE
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Kernel
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Moritz Muehlenhoff
Lukas Walter
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-26 09:48 CET by Moritz Muehlenhoff
Modified: 2012-12-12 21:09 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Fix PAE test (1.58 KB, patch)
2012-11-26 18:04 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2012-11-26 09:48:09 CET
Aufgefallen auf billy: Auf 32-Bit-Systemen, bei denen der 686-Kernel ohne PAE installiert ist (Metapaket univention-kernel-image-2.6.32 oder 
univention-kernel-image-2.6.32-xen, also nicht die Variante univention-kernel-image-2.6.32-64gb, die der Installer per Default installiert), verweist das Metapaket jetzt auf den 486-Kernel (analog zu Wheezy). Der hat allerdings keinen Support für SMP. Das Metapaket kann aber auch nicht einfach auf die PAE-Variante verweisen, da es Systeme gibt, die kein PAE unterstützen.

Drei Lösungsmöglichkeiten:

1. Im Preup zu prüfen, ob eine Nicht-PAE-Variante installiert ist. Wenn in /proc/cpuinfo das Feature "pae" aktiviert ist, gibt es dann einen Hinweis, dass vor dem Update auf das Metapaket univention-kernel-image-2.6.32-64gb gewechselt werden muss. Wenn nicht, dann ist das mit dem 486-Kernel in Ordnung.

2. Ein Hinweis in die Release Notes

3. Wir können prüfen, ob wir SMP-Support im 486-Kernel aktivieren können. Anhand des Makefiles sollte das wohl funktionieren, aber ich denke es ist aus gutem Grund deaktiviert.

Ich bin für Variante 1.
Comment 1 Stefan Gohmann univentionstaff 2012-11-26 09:59:19 CET
(In reply to comment #0)
> Aufgefallen auf billy: Auf 32-Bit-Systemen, bei denen der 686-Kernel ohne PAE
> installiert ist (Metapaket univention-kernel-image-2.6.32 oder 
> univention-kernel-image-2.6.32-xen, also nicht die Variante
> univention-kernel-image-2.6.32-64gb, die der Installer per Default
> installiert), verweist das Metapaket jetzt auf den 486-Kernel (analog zu
> Wheezy). Der hat allerdings keinen Support für SMP. Das Metapaket kann aber
> auch nicht einfach auf die PAE-Variante verweisen, da es Systeme gibt, die kein
> PAE unterstützen.
> 
> Drei Lösungsmöglichkeiten:
> 
> 1. Im Preup zu prüfen, ob eine Nicht-PAE-Variante installiert ist. Wenn in
> /proc/cpuinfo das Feature "pae" aktiviert ist, gibt es dann einen Hinweis, dass
> vor dem Update auf das Metapaket univention-kernel-image-2.6.32-64gb gewechselt
> werden muss. Wenn nicht, dann ist das mit dem 486-Kernel in Ordnung.

Kann die Installation dann nicht automatisch erfolgen?
Comment 2 Moritz Muehlenhoff univentionstaff 2012-11-26 14:56:59 CET
Ist auf einem PAE-fähigen System der Kernel ohne PAE installiert, wird die folgende Meldung ausgegeben:

You have the univention-kernel-image-2.6.32 installed, which is the meta package for systems without the Physical Adress Extension needed to support more than 4 GB of memory. Starting with UCS 3.1 the standard kernel for 32 bit CPUs will always use PAE. To upgrade to this kernel you need to perform the following steps before starting the update:

1. univention-install univention-kernel-image-2.6.32-64gb
2. Reboot the system
3. apt-get remove univention-kernel-image-2.6.32

(Dazu in der QA eine i386 3.0-2 VM mit  univention-kernel-image-2.6.32 installieren).

Verfügt das System nicht über PAE, trifft die Prüfung nicht zu.
Comment 3 Philipp Hahn univentionstaff 2012-11-26 17:32:39 CET
FAIL: Auf einem amd64-System heißt das Paket auch "univention-kernel-image-2.6.32", d.h. derzeit erscheint auch dort die Meldung.
Comment 4 Philipp Hahn univentionstaff 2012-11-26 18:04:17 CET
Created attachment 4839 [details]
Fix PAE test

Lokal auf omar gepatched, damit ich erstmal mit meiner QA weiterkomme.
Comment 5 Moritz Muehlenhoff univentionstaff 2012-11-27 10:09:46 CET
Der Test wird jetzt auf i386 beschränkt.
Comment 6 Lukas Walter univentionstaff 2012-11-27 15:01:03 CET
OK: Meldung wird auf i386 System angezeigt
OK: Meldung wird auf amd64 System NICHT angezeigt


Changelogeintrag vorhanden,
Verified.
Comment 7 Stefan Gohmann univentionstaff 2012-12-12 21:09:55 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".