[Kernel-packages] [Bug 1894329] Re: ZFS revert from grub menu not working.

2022-01-31 Thread Nicholas Harvey
Possible duplicate on Impish:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1959522

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1894329

Title:
  ZFS revert from grub menu not working.

Status in zfs-linux package in Ubuntu:
  Fix Released
Status in zfs-linux source package in Focal:
  Fix Released
Status in zfs-linux source package in Groovy:
  Fix Released

Bug description:
  [Impact]

   * Users can’t revert to previous snapshots when enabling the hw enablement 
stack kernel on focal or using any more recent version.
   * The option is available on grub and will let you with a broken system, 
partially cloned.

  [Test Case]

   * Boot on a system, using ZFS and ZSys.
   * In grub, select "History" entry
   * Select one of the "Revert" option: the system should boot after being 
reverted with an older version.

  
  [Where problems could occur]
   * The code is in the initramfs, where the generated id suffix for all our 
ZFS datasets was empty due to new coreutils/kernels.
   * We replace dd with another way (more robust and simple) for generating 
this ID.

  
  -

  @coreutils maintainers, any idea why dd is being flagged as having an
  executable stack?

  

  When I try to revert to a previous state from the grub menu, the boot
  fails. The system drops me to a repair modus.

  zfs-mount-generator fails with the message:
  couldn't ensure boot: Mounted clone bootFS dataset created by initramfs 
doesn't have a valid _suffix (at least .*_): \"rpool/ROOT/ubuntu_\"".

  After a reboot I have an extra clone called "rpool/ROOT/ubuntu_", indeed 
without a suffix.
  After a little investigation I found the problem in 
/usr/share/initramfs-tools/scripts/zfs at the end in function
  uid()
  {
     dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null | tr -dc 
'a-z0-9' | cut -c-6
  }, the dd command fails during boot with the message "process 'dd' started 
with executable stack.
  After this an empty uid is returned which explains the dataset without a 
proper suffix.
  Replacing the function  with:
  uid()
  {
     grep -a -m10 -E "\*" /dev/urandom 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
  }

  fixes the problem.

  Ubuntu version is:
  Description:Ubuntu Groovy Gorilla (development branch)
  Release:20.10

  zfs-initramfs version is:
  0.8.4-1ubuntu11

  With regards,

  Usarin Heininga

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: zfs-initramfs 0.8.4-1ubuntu11
  ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
  Uname: Linux 5.8.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu45
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  Date: Fri Sep  4 20:23:44 2020
  InstallationDate: Installed on 2020-09-02 (2 days ago)
  InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200831)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=nl_NL.UTF-8
   SHELL=/bin/bash
  SourcePackage: zfs-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1959522] Re: 21.10 Impish ZFS revert snapshot via grub menu fails consistently

2022-01-31 Thread Nicholas Harvey
Just spun-up a couple of Gnome Boxes to test this. 21.10 fails as per my
description whereas 20.04.03 LTS works fine. Just to be clear I am
selecting to revert the snapshot at the top of the list each time (this
is the snapshot taken just before neofetch is installed).

Meanwhile my main laptop where I first experienced this problem no
longer boots and so I am re-installing with the LTS, so for me this is a
nasty issue. I do have another test machine and am happy to collect data
if required but as I say this can easily be duplicated.

Thanks
Nick

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1959522

Title:
  21.10 Impish ZFS revert snapshot via grub menu fails consistently

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  This issue seems similar to 1894329 but I can reproduce this
  consistently in 21.10.

  Problem description:
  Unable to reliably revert ZFS snapshots via the Grub menu in Ubuntu 21.10. 
When attempting a revert I am usually dropped to the emergency mode and have to 
force a reboot. After that it can take a number of attempts to get the system 
to reboot to the desktop.

  Steps to reproduce:
  Install Ubuntu 21.10 on Intel 64bit with ZFS selected as the filesystem. Do 
not encrypt.
  Install all updates. ZFS snapshot is taken automatically.
  Reboot.
  Install a simple package i.e. sudo apt install neofetch. Another ZFS snapshot 
is taken automatically.
  Reboot and enter the GRUB menu.
  Enter History menu.
  Select Revert to an earlier snapshot. In my case I select the snapshot taken  
before neofetch was installed.
  Select install system files only. Do not select the recovery mode option.
  System now boots and ends up dropping into emergency mode.

  I can duplicate this on three different installs.

  Expected outcome:
  The snapshot is correctly reverted and the system boots without user 
interaction into the snapshot.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1959522] Re: 21.10 Impish ZFS revert snapshot via grub menu fails consistently

2022-01-30 Thread Nicholas Harvey
Rough guess this relates to the zfs-Linux package.

** Package changed: ubuntu => zfs-linux (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1959522

Title:
  21.10 Impish ZFS revert snapshot via grub menu fails consistently

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  This issue seems similar to 1894329 but I can reproduce this
  consistently in 21.10.

  Problem description:
  Unable to reliably revert ZFS snapshots via the Grub menu in Ubuntu 21.10. 
When attempting a revert I am usually dropped to the emergency mode and have to 
force a reboot. After that it can take a number of attempts to get the system 
to reboot to the desktop.

  Steps to reproduce:
  Install Ubuntu 21.10 on Intel 64bit with ZFS selected as the filesystem. Do 
not encrypt.
  Install all updates. ZFS snapshot is taken automatically.
  Reboot.
  Install a simple package i.e. sudo apt install neofetch. Another ZFS snapshot 
is taken automatically.
  Reboot and enter the GRUB menu.
  Enter History menu.
  Select Revert to an earlier snapshot. In my case I select the snapshot taken  
before neofetch was installed.
  Select install system files only. Do not select the recovery mode option.
  System now boots and ends up dropping into emergency mode.

  I can duplicate this on three different installs.

  Expected outcome:
  The snapshot is correctly reverted and the system boots without user 
interaction into the snapshot.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1845803] [NEW] watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [kworker/1:0:7893]

2019-09-28 Thread Nicholas Harvey
Public bug reported:

Not sure what triggered this.

ProblemType: KernelOops
DistroRelease: Ubuntu 19.10
Package: linux-image-5.3.0-13-generic 5.3.0-13.14
ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
Uname: Linux 5.3.0-13-generic x86_64
Annotation: Your system might become unstable now and might need to be 
restarted.
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  nharvey1671 F pulseaudio
Date: Sat Sep 28 19:43:38 2019
Failure: oops
InstallationDate: Installed on 2019-09-23 (5 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. XPS 13 9360
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-13-generic 
root=UUID=8871f847-02c3-4658-891c-d58f0eafa0d5 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: kerneloops-daemon N/A
RfKill:
 5: phy3: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
Title: watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [kworker/1:0:7893]
UpgradeStatus: Upgraded to eoan on 2019-09-27 (0 days ago)
dmi.bios.date: 05/26/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.12.0
dmi.board.name: 0TPN17
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr2.12.0:bd05/26/2019:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0TPN17:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.product.sku: 082A
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-kerneloops eoan kernel-oops

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1845803

Title:
  watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [kworker/1:0:7893]

Status in linux package in Ubuntu:
  New

Bug description:
  Not sure what triggered this.

  ProblemType: KernelOops
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-13-generic 5.3.0-13.14
  ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
  Uname: Linux 5.3.0-13-generic x86_64
  Annotation: Your system might become unstable now and might need to be 
restarted.
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  nharvey1671 F pulseaudio
  Date: Sat Sep 28 19:43:38 2019
  Failure: oops
  InstallationDate: Installed on 2019-09-23 (5 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. XPS 13 9360
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-13-generic 
root=UUID=8871f847-02c3-4658-891c-d58f0eafa0d5 ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions: kerneloops-daemon N/A
  RfKill:
   5: phy3: Wireless LAN
Soft blocked: no
Hard blocked: no
  SourcePackage: linux
  Title: watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [kworker/1:0:7893]
  UpgradeStatus: Upgraded to eoan on 2019-09-27 (0 days ago)
  dmi.bios.date: 05/26/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.12.0
  dmi.board.name: 0TPN17
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.12.0:bd05/26/2019:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0TPN17:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9360
  dmi.product.sku: 082A
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1845787] [NEW] watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [kworker/6:0:49]

2019-09-28 Thread Nicholas Harvey
Public bug reported:

This seemed to happen after trying to watch a video on Youtube on
Firefox. Youtube had no sound but the picture was fine.

ProblemType: KernelOops
DistroRelease: Ubuntu 19.10
Package: linux-image-5.3.0-13-generic 5.3.0-13.14
ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
Uname: Linux 5.3.0-13-generic x86_64
Annotation: Your system might become unstable now and might need to be 
restarted.
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  nharvey1924 F pulseaudio
Date: Sat Sep 28 15:13:15 2019
Failure: oops
InstallationDate: Installed on 2019-09-23 (5 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0c45:670c Microdia Integrated_Webcam_HD
 Bus 001 Device 002: ID 8087:0025 Intel Corp. 
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. XPS 13 9360
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-13-generic 
root=UUID=8871f847-02c3-4658-891c-d58f0eafa0d5 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: kerneloops-daemon N/A
SourcePackage: linux
Title: watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [kworker/6:0:49]
UpgradeStatus: Upgraded to eoan on 2019-09-27 (0 days ago)
dmi.bios.date: 05/26/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.12.0
dmi.board.name: 0TPN17
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr2.12.0:bd05/26/2019:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0TPN17:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.product.sku: 082A
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-kerneloops eoan kernel-oops

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1845787

Title:
  watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [kworker/6:0:49]

Status in linux package in Ubuntu:
  New

Bug description:
  This seemed to happen after trying to watch a video on Youtube on
  Firefox. Youtube had no sound but the picture was fine.

  ProblemType: KernelOops
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-13-generic 5.3.0-13.14
  ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
  Uname: Linux 5.3.0-13-generic x86_64
  Annotation: Your system might become unstable now and might need to be 
restarted.
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  nharvey1924 F pulseaudio
  Date: Sat Sep 28 15:13:15 2019
  Failure: oops
  InstallationDate: Installed on 2019-09-23 (5 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 0c45:670c Microdia Integrated_Webcam_HD
   Bus 001 Device 002: ID 8087:0025 Intel Corp. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. XPS 13 9360
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-13-generic 
root=UUID=8871f847-02c3-4658-891c-d58f0eafa0d5 ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions: kerneloops-daemon N/A
  SourcePackage: linux
  Title: watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [kworker/6:0:49]
  UpgradeStatus: Upgraded to eoan on 2019-09-27 (0 days ago)
  dmi.bios.date: 05/26/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.12.0
  dmi.board.name: 0TPN17
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.12.0:bd05/26/2019:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0TPN17:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9360
  dmi.product.sku: 082A
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp