** Description changed:

+ [Impact]
+ 
+ Commit d653420532d580156c8486686899ea6a9eeb7bf0 in bionic enabled kernel
+ page table isolation for x86_32, but also introduced regressions. One of
+ them ("BUG_ON() condition in vmalloc_sync_one()") has been addressed by
+ bug 1830433, but there are other issues reported on i386.
+ 
+ Specifically on some i386 systems the kernel seems to fail in the early
+ stage of boot (black screen and frozen keyboard) with no error reported
+ on the console.
+ 
+ If the kernel is booted with "mitigations=off" and "nopti" the problem
+ doesn't happen (that is a clear indication of being a kernel page table
+ isolation issue).
+ 
+ However, users have been reported positive results with the following
+ upstream fixes applied (all clean cherry picks), even with mitigations
+ *and* kernel page table isolation enabled.
+ 
+ [Test Case]
+ 
+ Unfortuantely this problem is not easily reproducible, the kernel simply
+ fails to boot (black screen and frozen keyboard) after the GRUB prompt,
+ so we don't have a real test case (except asking the bug reporters to
+ boot the kernel and see if it works).
+ 
+ [Fix]
+ 
+ The following upstream fix seems to resolve (prevent) the problem:
+ 
+ 1d8ca3be86ebc6a38dad8236f45c7a9c61681e78 x86/mm/fault: Allow stack access 
below %rsp
+ aa37c51b9421d66f7931c5fdcb9ce80c450974be x86/mm: Break out user address space 
handling
+ 8fed62000039058adfd8b663344e2f448aed1e7a x86/mm: Break out kernel address 
space handling
+ 164477c2331be75d9bd57fb76704e676b2bcd1cd x86/mm: Clarify hardware vs. 
software "error_code"
+ 0e664eee65337082be49fbbd2ee24aa0d111d0f2 Revert "perf/core: Make sure the 
ring-buffer is mapped in all page-tables"
+ 
+ [Regression Potential]
+ 
+ All upstream fixes, tested on the affected platform, backport changes
+ are minimal.
+ 
+ [Original bug report]
+ 
  NOTE: Boot problems on TWO different laptops after Software Updater
  updated to kernel 4.15.0-48
  
  Both laptops running Ubuntu 18.04.2LTS i386/32bit with Xubuntu desktop.
  Both fresh installs from minimal CD in early April, originally kernel
  0.4.15.0-47, both working fine.
  
- Bug report filed on THIS MACHINE: 
+ Bug report filed on THIS MACHINE:
  HP Compag 6710b, Intel Core2 Duo T7100 @ 1.8GHz, RAM 4GB, with Intel 
integrated graphics controller GM965/GL960 (with kernel command line parameter 
¨video=SVIDEO-1:d¨)
  
  SYMPTOM:
- 4.15.0-48 requires a second ´recovery´ boot to get it up and running. 
- Will not boot properly after a normal shutdown - screen goes funny and it 
hangs 
+ 4.15.0-48 requires a second ´recovery´ boot to get it up and running.
+ Will not boot properly after a normal shutdown - screen goes funny and it 
hangs
  Does boot successfully after a hard shutdown - detects improper shutdown, 
loads grub menu, then boot successfully
  
  Boot problem appeared after update from kernel version 4.15.0-47 to 4.15.0-48
  Problem occurs in 4.15.0-48 kernel, but not in 4.15.0-47 (which still boots 
normally after a normal shutdown)
- 
  
  OTHER MACHINE:
  Even older!!!  ASUS W1N Pentium M banias 1.7gHz, 1.5GB RAM, ATI Mobility 
Radeon 9600 GPU. Running with command line parameter "forcepae".
  SYMPTOM:
  Won't boot at all.
  Was working fine under 4.15.0-47 as originally installed, until software 
updater installed 4.15.0-48. Now it won't boot (hangs, black screen), and I 
can't even get into the grub menu to try the older kernel.
  
- 
- More Info on what I've already tried for troubleshooting (on the HP6710b) is 
outlined in https://answers.launchpad.net/ubuntu/+question/680486
+ More Info on what I've already tried for troubleshooting (on the
+ HP6710b) is outlined in
+ https://answers.launchpad.net/ubuntu/+question/680486
  
  Happy to provide more info if needed, but I'm just an end user user and
  new to Linux, so will be on a learning curve at this end.  (and
  apologies in advance if this a user problem, and not an actual bug).
  Thanks
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-48-generic 4.15.0-48.51
  ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
  Uname: Linux 4.15.0-48-generic i686
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: i386
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  michael    1681 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  michael    1681 F.... pulseaudio
  CurrentDesktop: XFCE
  Date: Mon May  6 21:16:34 2019
  MachineType: Hewlett-Packard HP Compaq 6710b
  PccardctlIdent:
-  Socket 0:
-    no product info available
+  Socket 0:
+    no product info available
  PccardctlStatus:
-  Socket 0:
-    no card
+  Socket 0:
+    no card
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-48-generic 
root=UUID=1f4f1f23-b034-4931-af71-c51eba39fbd3 ro video=SVIDEO-1:d
  RelatedPackageVersions:
-  linux-restricted-modules-4.15.0-48-generic N/A
-  linux-backports-modules-4.15.0-48-generic  N/A
-  linux-firmware                             1.173.5
+  linux-restricted-modules-4.15.0-48-generic N/A
+  linux-backports-modules-4.15.0-48-generic  N/A
+  linux-firmware                             1.173.5
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/18/2008
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68DDU Ver. F.13
  dmi.board.name: 30C0
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 71.2E
  dmi.chassis.asset.tag: SGH8080272
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvr68DDUVer.F.13:bd08/18/2008:svnHewlett-Packard:pnHPCompaq6710b:pvrF.13:rvnHewlett-Packard:rn30C0:rvrKBCVersion71.2E:cvnHewlett-Packard:ct10:cvr:
  dmi.product.family: 103C_5336AN
  dmi.product.name: HP Compaq 6710b
  dmi.product.version: F.13
  dmi.sys.vendor: Hewlett-Packard
- --- 
+ ---
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: i386
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC1:  michael    1034 F.... pulseaudio
-  /dev/snd/controlC0:  michael    1034 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  michael    1034 F.... pulseaudio
+  /dev/snd/controlC0:  michael    1034 F.... pulseaudio
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 18.04
  Lsusb:
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 002 Device 002: ID 046d:c00f Logitech, Inc. MouseMan Traveler/Mobile
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 002 Device 002: ID 046d:c00f Logitech, Inc. MouseMan Traveler/Mobile
+  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: ASUSTeK Computer Inc. W1N
  Package: linux (not installed)
  PccardctlIdent:
-  Socket 0:
-    no product info available
-  Socket 1:
-    no product info available
+  Socket 0:
+    no product info available
+  Socket 1:
+    no product info available
  PccardctlStatus:
-  Socket 0:
-    no card
-  Socket 1:
-    no card
+  Socket 0:
+    no card
+  Socket 1:
+    no card
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-48-generic 
root=UUID=5e6f46b1-73a8-4779-bc20-414a46286723 ro forcepae quiet splash
  ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
  RelatedPackageVersions:
-  linux-restricted-modules-4.15.0-48-generic N/A
-  linux-backports-modules-4.15.0-48-generic  N/A
-  linux-firmware                             1.173.5
+  linux-restricted-modules-4.15.0-48-generic N/A
+  linux-backports-modules-4.15.0-48-generic  N/A
+  linux-firmware                             1.173.5
  RfKill:
-  0: phy0: Wireless LAN
-       Soft blocked: no
-       Hard blocked: no
+  0: phy0: Wireless LAN
+   Soft blocked: no
+   Hard blocked: no
  Tags:  bionic
  Uname: Linux 4.15.0-48-generic i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 05/26/2004
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0203
  dmi.board.name: W1N
  dmi.board.vendor: ASUSTeK Computer Inc.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: ATN12345678901234567
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK Computer Inc.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0203:bd05/26/2004:svnASUSTeKComputerInc.:pnW1N:pvr1.0:rvnASUSTeKComputerInc.:rnW1N:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
  dmi.product.name: W1N
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK Computer Inc.
- --- 
+ ---
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: i386
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC1:  michael    1034 F.... pulseaudio
-  /dev/snd/controlC0:  michael    1034 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  michael    1034 F.... pulseaudio
+  /dev/snd/controlC0:  michael    1034 F.... pulseaudio
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 18.04
  Lsusb:
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 002 Device 002: ID 046d:c00f Logitech, Inc. MouseMan Traveler/Mobile
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 002 Device 002: ID 046d:c00f Logitech, Inc. MouseMan Traveler/Mobile
+  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: ASUSTeK Computer Inc. W1N
  Package: linux (not installed)
  PccardctlIdent:
-  Socket 0:
-    no product info available
-  Socket 1:
-    no product info available
+  Socket 0:
+    no product info available
+  Socket 1:
+    no product info available
  PccardctlStatus:
-  Socket 0:
-    no card
-  Socket 1:
-    no card
+  Socket 0:
+    no card
+  Socket 1:
+    no card
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-48-generic 
root=UUID=5e6f46b1-73a8-4779-bc20-414a46286723 ro forcepae quiet splash
  ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
  RelatedPackageVersions:
-  linux-restricted-modules-4.15.0-48-generic N/A
-  linux-backports-modules-4.15.0-48-generic  N/A
-  linux-firmware                             1.173.5
+  linux-restricted-modules-4.15.0-48-generic N/A
+  linux-backports-modules-4.15.0-48-generic  N/A
+  linux-firmware                             1.173.5
  RfKill:
-  0: phy0: Wireless LAN
-       Soft blocked: no
-       Hard blocked: no
+  0: phy0: Wireless LAN
+   Soft blocked: no
+   Hard blocked: no
  Tags:  bionic
  Uname: Linux 4.15.0-48-generic i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 05/26/2004
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0203
  dmi.board.name: W1N
  dmi.board.vendor: ASUSTeK Computer Inc.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: ATN12345678901234567
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK Computer Inc.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0203:bd05/26/2004:svnASUSTeKComputerInc.:pnW1N:pvr1.0:rvnASUSTeKComputerInc.:rnW1N:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
  dmi.product.name: W1N
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK Computer Inc.

** Summary changed:

- Boot problems after upgrade to kernel 4.15.0-48 (18.04.2LTS/i386)
+ x86: mm: early boot problem on i386 with KPTI enabled

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827884

Title:
  x86: mm: early boot problem on i386 with KPTI enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827884/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to