Page 1 of 1

Kernel Panic Live USB

Posted: Wed Jan 24, 2024 8:05 pm
by joegreen

Code: Select all

System:
  Kernel: 6.6.11-amd64 [6.6.11-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6.11-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_ahs_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 20YU001KUS v: ThinkPad P17 Gen 2i
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20YU001KUS v: SDK0J40697 WIN serial: <superuser required> UEFI: LENOVO
    v: N37ET50W (1.31 ) date: 12/19/2023
Battery:
  ID-1: BAT0 charge: 66.0 Wh (73.4%) condition: 89.9/94.0 Wh (95.6%) volts: 12.1 min: 11.5
    model: Celxpert 5B10W13959 type: Li-poly serial: <filter> status: not charging cycles: 16
  Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere 2S serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: 11th Gen Intel Core i7-11850H bits: 64 type: MT MCP arch: Tiger Lake gen: core 11
    level: v4 note: check built: 2020 process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
    microcode: 0x4E
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 640 KiB
    desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 836 high: 1100 min/max: 800/4800 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 1086 6: 800 7: 800 8: 800 9: 800
    10: 800 11: 801 12: 800 13: 1100 14: 800 15: 800 16: 800 bogomips: 79872
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel
    arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    DP-4, DP-5, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] vendor: Lenovo driver: nvidia v: 525.147.05
    non-free: 530.xx+ status: current (as of 2023-03) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:25b8 class-ID: 0300
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 3-4:3 chip-ID: 04f2:b6be
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26") s-diag: 583mm (22.95")
  Monitor-1: eDP-1 model: BOE Display 0x08de built: 2019 res: 1920x1080 hz: 60 dpi: 128
    gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9 modes: 3840x2160
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel UHD Graphics (TGL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0401
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
  API: ALSA v: k6.6.11-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 09:00.0 chip-ID: 8086:2725 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Intel Ethernet I225-LM vendor: Lenovo driver: igc v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0b:00.0 chip-ID: 8086:15f2 class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-14:6 chip-ID: 8087:0032
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
  Local Storage: total: 2.34 TiB used: 14.09 GiB (0.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:8 vendor: Micron model: MTFDKBA512TFH size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 7006P7LN temp: 30.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Western Digital model: WD BLACK SN770 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 731120WD temp: 35.9 C scheme: GPT
  ID-3: /dev/nvme2n1 maj-min: 259:0 vendor: Seagate model: XPG GAMMIX S70 BLADE size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 3.2.F.2A temp: 25.9 C scheme: GPT
  ID-4: /dev/sda maj-min: 8:0 type: USB vendor: Lexar model: USB Flash Drive size: 28.91 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 22.79 GiB size: 22.27 GiB (97.69%) used: 14.09 GiB (63.3%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 6 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
  ID-2: swap-2 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 1913 fan-2: 1631

Info:
  Processes: 341 Uptime: 0m wakeups: 7 Memory: 31.07 GiB used: 1.5 GiB (4.8%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Hello friends,

My latest Live USB fails after the GRUB menu with a kernel panic. I have tried with the 6.6.11-1~mx23ahs kernel and the one before that (maybe it's 6.6.9?) , using 2 different USB sticks. So, 4 tests total with different kernels and different sticks. Snapshot maker and Live USB maker both finish successfully every time. The kernel panic message starts with " init: eval : line 1 : syntax error: unexpected "(" "

Thank you for letting me know if you know which latest update in snapshot or live usb maker is causing this issue. The last working Live USB was made about 2-3 weeks ago, with kernel 6.6.9 (the one before the latest 6.6.11), and I tried with both these kernels as mentioned before.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 8:16 pm
by Charlie Brown
Interesting, cause there's a similar complaint here: viewtopic.php?p=762985#p762985

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 8:31 pm
by joegreen
Charlie Brown wrote: Wed Jan 24, 2024 8:16 pm Interesting, cause there's a similar complaint here: viewtopic.php?p=762985#p762985
Hi. Yes, I searched the forum before posting and saw that. But I felt the direction of that thread didn't help my case.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 9:04 pm
by fehlix
Does the iso boot attached to a VM or with a fromiso-grub menu entry?
Or from LiveUSB made with dd-mode (not full-feature with MX Live USB Maker)?
( on CLI e.g. with: sudo dd-live-usb -f path-to-iso-file )

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 9:51 pm
by dolphin_oracle
what compression was used to make the snapshot?

I've got snapshots that work, and several that don't, exhibiting the same kernel panic here in a virtualbox vm.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 10:04 pm
by dolphin_oracle
do the snapshots with the kernel panic have more than one kernel installed?

edit**tested, no difference.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 10:42 pm
by Adrian
I just took a reset accounts snapshot with LZ4 from my minimal ISO, no problems... @dolphin_oracle can you reliably reproduce the issue? maybe a specific compression algorithm or specific kernel?

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 10:56 pm
by dolphin_oracle
Adrian wrote: Wed Jan 24, 2024 10:42 pm I just took a reset accounts snapshot with LZ4 from my minimal ISO, no problems... @dolphin_oracle can you reliably reproduce the issue? maybe a specific compression algorithm or specific kernel?
so far the only snapshots I have that work are my systemd_only and sysVinit_only respin isos I updated the other day. I did those snapshots from live usb starting from the previous 23.1 isos.

I have tried 3 kernels and two compression schemes tonight.

default 6.1.0-17
liquorix 6.6.12
liquorix 6.7

all with lz4. all kernel panics. with the 6.7 I did zstd and lz4. with the 6.1 I've done reset snapshots and personal snapshots. all from an installed system.

I've taken my system down to just the 6.1 kernel at the moment. all bits of other kernels are removed.

my snapshots are fair size, about 6.7 GB. I have not had trouble booting them before.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 11:04 pm
by dolphin_oracle
log for last attempt.

Code: Select all

2024-01-24 22:45:12.149 DBG default: mx-snapshot version: 23.12.02
2024-01-24 22:45:12.157 DBG default: grep -oP '(?<=DISTRIB_ID=).*' /etc/lsb-release
2024-01-24 22:45:12.159 DBG default: cut -f1 -d'_' /etc/mx-version
2024-01-24 22:45:12.161 DBG default: grep -oP '(?<=DISTRIB_CODENAME=).*' /etc/lsb-release
2024-01-24 22:45:12.163 DBG default: /usr/share/mx-snapshot/scripts/snapshot-bootparameter.sh | tr '
' ' '
2024-01-24 22:45:12.181 DBG default: +++ QString Settings::getFilename() const +++
2024-01-24 22:45:12.181 DBG default: +++ void Settings::selectKernel() +++
2024-01-24 22:45:12.228 DBG default: +++ void MainWindow::setup() +++
2024-01-24 22:45:12.265 DBG default: +++ void MainWindow::loadSettings() +++
2024-01-24 22:45:12.265 DBG default: ls -1 /boot/vmlinuz-* | wc -l
2024-01-24 22:45:12.362 DBG default: 1

2024-01-24 22:45:12.366 DBG default: +++ void MainWindow::listFreeSpace() +++
2024-01-24 22:45:12.366 DBG default: stat --file-system --format=%T "/home"
2024-01-24 22:45:12.377 DBG default: df -k --output=avail "/home" |tail -n1
2024-01-24 22:45:12.381 DBG default: - Free space on /home, where snapshot folder is placed: 45.37GiB 

2024-01-24 22:45:12.381 DBG default: The free space should be sufficient to hold the compressed data from / and /home

      If necessary, you can create more available space
      by removing previous snapshots and saved copies:
      0 snapshots are taking up 0 of disk space.

2024-01-24 22:45:12.381 DBG default: df -k --output=used / |tail -n1
2024-01-24 22:45:12.407 DBG default: mountpoint -q /home
2024-01-24 22:45:18.886 DBG default: +++ void MainWindow::listFreeSpace() +++
2024-01-24 22:45:18.887 DBG default: stat --file-system --format=%T "/media/dataext"
2024-01-24 22:45:18.902 DBG default: df -k --output=avail "/media/dataext" |tail -n1
2024-01-24 22:45:18.906 DBG default: - Free space on /media/dataext, where snapshot folder is placed: 107.23GiB 

2024-01-24 22:45:18.906 DBG default: find "/media/dataext/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2024-01-24 22:45:18.913 DBG default: The free space should be sufficient to hold the compressed data from / and /home

      If necessary, you can create more available space
      by removing previous snapshots and saved copies:
      5 snapshots are taking up 27G of disk space.

2024-01-24 22:45:18.913 DBG default: find "/media/dataext/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2024-01-24 22:45:26.151 DBG default: +++ void Settings::selectKernel() +++
2024-01-24 22:45:30.103 DBG default: EXCLUDE ALL true
2024-01-24 22:45:30.103 DBG default: +++ void Settings::excludeDesktop(bool) +++
2024-01-24 22:45:30.103 DBG default: runuser dolphin -c "xdg-user-dir DESKTOP"
2024-01-24 22:45:31.954 DBG default: runuser fred -c "xdg-user-dir DESKTOP"
2024-01-24 22:45:31.995 DBG default: +++ void Settings::excludeDocuments(bool) +++
2024-01-24 22:45:31.995 DBG default: runuser dolphin -c "xdg-user-dir DOCUMENTS"
2024-01-24 22:45:32.033 DBG default: runuser fred -c "xdg-user-dir DOCUMENTS"
2024-01-24 22:45:32.071 DBG default: +++ void Settings::excludeDownloads(bool) +++
2024-01-24 22:45:32.071 DBG default: runuser dolphin -c "xdg-user-dir DOWNLOAD"
2024-01-24 22:45:32.091 DBG default: runuser fred -c "xdg-user-dir DOWNLOAD"
2024-01-24 22:45:32.107 DBG default: +++ void Settings::excludeMusic(bool) +++
2024-01-24 22:45:32.107 DBG default: runuser dolphin -c "xdg-user-dir MUSIC"
2024-01-24 22:45:32.124 DBG default: runuser fred -c "xdg-user-dir MUSIC"
2024-01-24 22:45:32.140 DBG default: +++ void Settings::excludeNetworks(bool) +++
2024-01-24 22:45:32.140 DBG default: +++ void Settings::excludePictures(bool) +++
2024-01-24 22:45:32.140 DBG default: runuser dolphin -c "xdg-user-dir PICTURES"
2024-01-24 22:45:32.156 DBG default: runuser fred -c "xdg-user-dir PICTURES"
2024-01-24 22:45:32.173 DBG default: +++ void Settings::excludeSteam(bool) +++
2024-01-24 22:45:32.173 DBG default: +++ void Settings::excludeVideos(bool) +++
2024-01-24 22:45:32.173 DBG default: runuser dolphin -c "xdg-user-dir VIDEOS"
2024-01-24 22:45:32.190 DBG default: runuser fred -c "xdg-user-dir VIDEOS"
2024-01-24 22:45:32.206 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2024-01-24 22:45:32.206 DBG default: +++ void Settings::excludeDesktop(bool) +++
2024-01-24 22:45:32.206 DBG default: runuser dolphin -c "xdg-user-dir DESKTOP"
2024-01-24 22:45:32.225 DBG default: runuser fred -c "xdg-user-dir DESKTOP"
2024-01-24 22:45:32.242 DBG default: +++ void Settings::excludeDocuments(bool) +++
2024-01-24 22:45:32.242 DBG default: runuser dolphin -c "xdg-user-dir DOCUMENTS"
2024-01-24 22:45:32.261 DBG default: runuser fred -c "xdg-user-dir DOCUMENTS"
2024-01-24 22:45:32.276 DBG default: +++ void Settings::excludeDownloads(bool) +++
2024-01-24 22:45:32.276 DBG default: runuser dolphin -c "xdg-user-dir DOWNLOAD"
2024-01-24 22:45:32.293 DBG default: runuser fred -c "xdg-user-dir DOWNLOAD"
2024-01-24 22:45:32.309 DBG default: +++ void Settings::excludeMusic(bool) +++
2024-01-24 22:45:32.309 DBG default: runuser dolphin -c "xdg-user-dir MUSIC"
2024-01-24 22:45:32.325 DBG default: runuser fred -c "xdg-user-dir MUSIC"
2024-01-24 22:45:32.341 DBG default: +++ void Settings::excludeNetworks(bool) +++
2024-01-24 22:45:32.341 DBG default: +++ void Settings::excludePictures(bool) +++
2024-01-24 22:45:32.341 DBG default: runuser dolphin -c "xdg-user-dir PICTURES"
2024-01-24 22:45:32.359 DBG default: runuser fred -c "xdg-user-dir PICTURES"
2024-01-24 22:45:32.376 DBG default: +++ void Settings::excludeSteam(bool) +++
2024-01-24 22:45:32.376 DBG default: +++ void Settings::excludeVideos(bool) +++
2024-01-24 22:45:32.376 DBG default: runuser dolphin -c "xdg-user-dir VIDEOS"
2024-01-24 22:45:32.392 DBG default: runuser fred -c "xdg-user-dir VIDEOS"
2024-01-24 22:45:32.408 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2024-01-24 22:45:33.341 DBG default: grep ^CONFIG_SQUASHFS_LZ4=y /boot/config-6.1.0-17-amd64
2024-01-24 22:45:35.004 DBG default: +++ bool Settings::checkSnapshotDir() const +++
2024-01-24 22:45:35.004 DBG default: mkdir -p "/media/dataext/snapshot"
2024-01-24 22:45:35.037 DBG default: chown $(logname): "/media/dataext/snapshot"
2024-01-24 22:45:35.073 DBG default: +++ bool Settings::checkTempDir() +++
2024-01-24 22:45:35.073 DBG default: +++ static bool Settings::isOnSupportedPart(const QString&) +++
2024-01-24 22:45:35.073 DBG default: stat --file-system --format=%T "/media/dataext/snapshot"
2024-01-24 22:45:35.080 DBG default: detected partition "ext2/ext3" supported part: true
2024-01-24 22:45:35.080 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&, const QString&) +++
2024-01-24 22:45:35.080 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2024-01-24 22:45:35.080 DBG default: stat -c '%d' /home
2024-01-24 22:45:35.086 DBG default: stat -c '%d' /tmp
2024-01-24 22:45:35.093 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2024-01-24 22:45:35.093 DBG default: stat -c '%d' /media/dataext/snapshot
2024-01-24 22:45:35.099 DBG default: stat -c '%d' /tmp
2024-01-24 22:45:35.106 DBG default: stat --file-system --format=%T "/tmp"
2024-01-24 22:45:35.112 DBG default: df -k --output=avail "/tmp" |tail -n1
2024-01-24 22:45:35.119 DBG default: stat --file-system --format=%T "/media/dataext/snapshot"
2024-01-24 22:45:35.125 DBG default: df -k --output=avail "/media/dataext/snapshot" |tail -n1
2024-01-24 22:45:35.142 DBG default: stat --file-system --format=%T "/media/dataext/snapshot/mx-snapshot-YzPtXZoM"
2024-01-24 22:45:35.149 DBG default: df -k --output=avail "/media/dataext/snapshot/mx-snapshot-YzPtXZoM" |tail -n1
2024-01-24 22:45:35.156 DBG default: Work directory is placed in "/media/dataext/snapshot"
2024-01-24 22:45:35.156 DBG default: +++ void Settings::otherExclusions() +++
2024-01-24 22:45:35.156 DBG default: test -L /etc/localtime
2024-01-24 22:45:35.162 DBG default: cat /etc/timezone
2024-01-24 22:45:35.174 DBG default: +++ void Work::setupEnv() +++
2024-01-24 22:45:35.174 DBG default: mountpoint /boot
2024-01-24 22:45:35.192 DBG default: /boot is not a mountpoint

2024-01-24 22:45:35.193 DBG default: +++ static bool Work::checkInstalled(const QString&) +++
2024-01-24 22:45:35.193 DBG default: dpkg -s mx-installer |grep '^Status: install ok installed'
2024-01-24 22:45:35.236 DBG default: installed-to-live -b /.bind-root start empty=/home general version-file read-only
2024-01-24 22:45:35.955 WRN default: adduser: The group `fuse' does not exist.

2024-01-24 22:45:36.097 DBG default: Removing crontab ...

2024-01-24 22:45:36.098 DBG default: Removing user `live_temp_user84f3b7049154' ...

2024-01-24 22:45:36.123 DBG default: Done.

2024-01-24 22:45:37.112 DBG default: Calculating total size of excluded files...
2024-01-24 22:45:37.112 DBG default: du -sxc {/.bind-root/.fehbg,/.bind-root/lost+found,/.bind-root/tmp,/.bind-root/dev/,/.bind-root/media/,/.bind-root/mnt/,/.bind-root/sys/,/.bind-root/proc/,/.bind-root/run/,/.bind-root/boot/grub/,/.bind-root/etc/bcm-ckd,/.bind-root/etc/defaultdomain,/.bind-root/etc/crypttab,/.bind-root/etc/ioctl.save,/.bind-root/etc/live/protect,/.bind-root/etc/machine-id,/.bind-root/etc/mailname,/.bind-root/etc/resolv.conf,/.bind-root/var/cache/apt/archives/*.deb,/.bind-root/var/cache/apt/archives/partial/,/.bind-root/var/cache/apt/*.bin,/.bind-root/var/cache/debconf/*-old,/.bind-root/var/cache/lightdm,/.bind-root/var/cache/samba/browse.dat,/.bind-root/var/lib/apt/lists/,/.bind-root/var/lib/apt/periodic/,/.bind-root/var/lib/dbus/machine-id,/.bind-root/var/lib/dhcp/,/.bind-root/var/lib/dpkg/*-old,/.bind-root/var/lib/NetworkManager/,/.bind-root/var/lib/sudo/,/.bind-root/var/lib/urandom/,/.bind-root/var/log/,/.bind-root/var/log/samba/,/.bind-root/var/mail/,/.bind-root/var/spool/mail/,/.bind-root/var/spool/anacron/,/.bind-root/var/tmp/,/.bind-root/var/cache/brightness-settings-cache/,/.bind-root/etc/NetworkManager/system-connections/,/.bind-root/etc/NetworkManager/system-connections/} 2>/dev/null |tail -1 |cut -f1
2024-01-24 22:45:37.174 DBG default: 1265492

2024-01-24 22:45:37.175 DBG default: Calculating size of root...
2024-01-24 22:45:37.175 DBG default: du -sx /.bind-root 2>/dev/null |tail -1 |cut -f1
2024-01-24 22:45:40.073 DBG default: 16276544

2024-01-24 22:45:40.074 DBG default: SIZE 16276544
2024-01-24 22:45:40.074 DBG default: SIZE ROOT     16276544
2024-01-24 22:45:40.074 DBG default: SIZE EXCLUDES 1265492
2024-01-24 22:45:40.074 DBG default: COMPRESSION   52
2024-01-24 22:45:40.074 DBG default: SIZE NEEDED   7805747
2024-01-24 22:45:40.074 DBG default: SIZE FREE     112438956 

2024-01-24 22:45:40.074 DBG default: +++ void Work::checkNoSpaceAndExit(quint64, quint64, const QString&) +++
2024-01-24 22:45:40.074 DBG default: Needed space: 7805747
2024-01-24 22:45:40.074 DBG default: Free space  : 112438956 on "/media/dataext/snapshot"
2024-01-24 22:45:40.074 DBG default: stat -c '%d' /media/dataext/snapshot
2024-01-24 22:45:40.078 DBG default: stat -c '%d' /media/dataext/snapshot/mx-snapshot-YzPtXZoM
2024-01-24 22:45:40.081 DBG default: Copying the new-iso filesystem...
2024-01-24 22:45:40.081 DBG default: tar xf /usr/lib/iso-template/iso-template.tar.gz
2024-01-24 22:45:40.260 DBG default: cp /usr/lib/iso-template/template-initrd.gz iso-template/antiX/initrd.gz
2024-01-24 22:45:40.265 DBG default: cp /boot/vmlinuz-6.1.0-17-amd64 iso-template/antiX/vmlinuz
2024-01-24 22:45:40.273 DBG default: +++ void Work::replaceMenuStrings() +++
2024-01-24 22:45:40.273 DBG default: sed -i 's|%DISTRO%|MX-23.2|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grub.cfg'
2024-01-24 22:45:40.275 DBG default: sed -i 's|%DISTRO_NAME%|MX|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grub.cfg'
2024-01-24 22:45:40.278 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-23.2_x64|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grub.cfg'
2024-01-24 22:45:40.281 DBG default: sed -i 's|%FULL_DISTRO_NAME_SPACE%|MX-23.2 x64|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grub.cfg'
2024-01-24 22:45:40.283 DBG default: sed -i 's|%RELEASE_DATE%|January 24, 2024|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grub.cfg'
2024-01-24 22:45:40.285 DBG default: printf '%s\n' quiet | grep -E '^(lang=|kbd=|kbvar=|kbopt=|tz=)' >> '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grubenv.cfg'
2024-01-24 22:45:40.289 DBG default: sed -i "s|%OPTIONS%|$(printf '%s\n' quiet | grep -v -E '^(lang=|kbd=|kbvar=|kbopt=|tz=)' | tr '\n' ' ')|" '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/grub.cfg'
2024-01-24 22:45:40.295 DBG default: sed -i 's|%OPTIONS%|quiet|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/syslinux/syslinux.cfg'
2024-01-24 22:45:40.299 DBG default: sed -i 's|%CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/syslinux/syslinux.cfg'
2024-01-24 22:45:40.305 DBG default: sed -i 's|%OPTIONS%|quiet|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/isolinux/isolinux.cfg'
2024-01-24 22:45:40.312 DBG default: sed -i 's|%CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/isolinux/isolinux.cfg'
2024-01-24 22:45:40.318 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-23.2_x64|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/syslinux/syslinux.cfg'
2024-01-24 22:45:40.325 DBG default: sed -i 's|%RELEASE_DATE%|January 24, 2024|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/syslinux/syslinux.cfg'
2024-01-24 22:45:40.332 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-23.2_x64|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/isolinux/isolinux.cfg'
2024-01-24 22:45:40.338 DBG default: sed -i 's|%RELEASE_DATE%|January 24, 2024|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/isolinux/isolinux.cfg'
2024-01-24 22:45:40.345 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-23.2_x64|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/syslinux/readme.msg'
2024-01-24 22:45:40.351 DBG default: sed -i 's|%RELEASE_DATE%|January 24, 2024|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/syslinux/readme.msg'
2024-01-24 22:45:40.357 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-23.2_x64|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/isolinux/readme.msg'
2024-01-24 22:45:40.364 DBG default: sed -i 's|%RELEASE_DATE%|January 24, 2024|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/isolinux/readme.msg'
2024-01-24 22:45:40.370 DBG default: sed -i 's|%ASCII_CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/bios.txt'
2024-01-24 22:45:40.377 DBG default: sed -i 's|%DISTRO%|MX-23.2|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/bios.txt'
2024-01-24 22:45:40.384 DBG default: sed -i 's|%ASCII_CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/l10n.txt'
2024-01-24 22:45:40.390 DBG default: sed -i 's|%DISTRO%|MX-23.2|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/l10n.txt'
2024-01-24 22:45:40.397 DBG default: sed -i 's|%ASCII_CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/theme.txt'
2024-01-24 22:45:40.404 DBG default: sed -i 's|%DISTRO%|MX-23.2|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/theme.txt'
2024-01-24 22:45:40.410 DBG default: sed -i 's|%ASCII_CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/uefi.txt'
2024-01-24 22:45:40.416 DBG default: sed -i 's|%DISTRO%|MX-23.2|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/uefi.txt'
2024-01-24 22:45:40.423 DBG default: sed -i 's|%ASCII_CODE_NAME%|Libretto|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/uefisb.txt'
2024-01-24 22:45:40.430 DBG default: sed -i 's|%DISTRO%|MX-23.2|g' '/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/boot/grub/theme/uefisb.txt'
2024-01-24 22:45:40.436 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2024-01-24 22:45:40.436 DBG default: Calculating checksum...
2024-01-24 22:45:40.436 DBG default: sync
2024-01-24 22:45:40.456 DBG default: md5sum "vmlinuz">"/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/antiX/vmlinuz.md5"
2024-01-24 22:45:40.476 DBG default: +++ void Work::openInitrd(const QString&, const QString&) +++
2024-01-24 22:45:40.476 DBG default: Building new initrd...
2024-01-24 22:45:40.476 DBG default: chmod a+rx "/tmp/mx-snapshot-AOqtph"
2024-01-24 22:45:40.481 DBG default: gunzip -c "/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/antiX/initrd.gz" |cpio -idum
2024-01-24 22:45:40.527 WRN default: 7152 blocks

2024-01-24 22:45:40.529 DBG default: /usr/share/mx-snapshot/scripts/copy-initrd-modules -t="/tmp/mx-snapshot-AOqtph" -k="6.1.0-17-amd64"
2024-01-24 22:45:40.543 WRN default: copy-initrd-modules warning: 2 repeated module(s) in input
libahci
sdhci

2024-01-24 22:45:40.547 WRN default: modprobe: WARNING: Module aufs not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module block not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module cryptsetup not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module dmsetup not found in directory /lib/modules/6.1.0-17-amd64

2024-01-24 22:45:40.547 WRN default: modprobe: WARNING: Module fotg210-hcd not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module fusbh200-hcd not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module hid-lenovo-tpkbd not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module hyperv not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module hyperv-fb not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module jbd not found in directory /lib/modules/6.1.0-17-amd64

2024-01-24 22:45:40.547 WRN default: modprobe: WARNING: Module ntfs not found in directory /lib/modules/6.1.0-17-amd64

2024-01-24 22:45:40.547 WRN default: modprobe: WARNING: Module pcie-aspm not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module printk not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module rts5139 not found in directory /lib/modules/6.1.0-17-amd64

2024-01-24 22:45:40.548 WRN default: modprobe: WARNING: Module whci-hcd not found in directory /lib/modules/6.1.0-17-amd64
modprobe: WARNING: Module whc-rc not found in directory /lib/modules/6.1.0-17-amd64

2024-01-24 22:45:41.323 DBG default: /usr/share/mx-snapshot/scripts/copy-initrd-programs --to="/tmp/mx-snapshot-AOqtph"
2024-01-24 22:45:41.362 DBG default:   add program: ntfs-3g

2024-01-24 22:45:41.417 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2024-01-24 22:45:41.421 DBG default: ld_dir: /tmp/mx-snapshot-AOqtph/lib/x86_64-linux-gnu

2024-01-24 22:45:41.439 DBG default:   add program: eject

2024-01-24 22:45:41.533 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2024-01-24 22:45:41.535 DBG default: ld_dir: /tmp/mx-snapshot-AOqtph/lib/x86_64-linux-gnu

2024-01-24 22:45:41.550 DBG default:   add program: kmod

2024-01-24 22:45:41.647 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2024-01-24 22:45:41.648 DBG default: ld_dir: /tmp/mx-snapshot-AOqtph/lib/x86_64-linux-gnu

2024-01-24 22:45:41.662 DBG default: chown -R $(logname): /tmp/mx-snapshot-AOqtph
2024-01-24 22:45:41.702 DBG default: +++ void Work::closeInitrd(const QString&, const QString&) +++
2024-01-24 22:45:41.703 DBG default: (find . |cpio -o -H newc --owner root:root |gzip -9) >"/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/antiX/initrd.gz"
2024-01-24 22:45:51.747 WRN default: 89072 blocks

2024-01-24 22:45:51.762 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2024-01-24 22:45:51.762 DBG default: Calculating checksum...
2024-01-24 22:45:51.763 DBG default: sync
2024-01-24 22:45:51.768 DBG default: md5sum "initrd.gz">"/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/antiX/initrd.gz.md5"
2024-01-24 22:45:51.801 DBG default: +++ void Work::savePackageList(const QString&) +++
2024-01-24 22:45:51.801 DBG default: dpkg -l |grep ^ii\ \ |awk '{print $2,$3}' |sed 's/:'$(dpkg --print-architecture)'//' |column -t >"/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/snapshot-20240124_2245/package_list"
2024-01-24 22:45:51.853 DBG default: +++ bool Work::createIso(const QString&) +++
2024-01-24 22:45:51.853 DBG default: +++ static bool Work::checkInstalled(const QString&) +++
2024-01-24 22:45:51.853 DBG default: dpkg -s expect |grep '^Status: install ok installed'
2024-01-24 22:45:51.880 DBG default: Squashing filesystem...
2024-01-24 22:45:51.880 DBG default: unbuffer mksquashfs /.bind-root "/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/antiX/linuxfs" -comp lz4 -processors 16 -throttle 0 -wildcards -ef /usr/local/share/excludes/mx-snapshot-exclude.list -e "home/*/Desktop/!(minstall.desktop)" "home/*/Documents/*" "home/*/Documents/.*" "home/*/Downloads/*" "home/*/Downloads/.*" "home/*/Music/*" "home/*/Music/.*" "etc/NetworkManager/system-connections/*" "etc/wicd/*" "var/lib/connman/*" "home/*/Pictures/*" "home/*/Pictures/.*" "home/*/.steam" "home/*/.local/share/Steam" "home/*/Videos/*" "home/*/Videos/.*" "home/*/VirtualBox VMs" "home/*/Desktop/!(minstall.desktop)" "home/*/Documents/*" "home/*/Documents/.*" "home/*/Downloads/*" "home/*/Downloads/.*" "home/*/Music/*" "home/*/Music/.*" "etc/NetworkManager/system-connections/*" "etc/wicd/*" "var/lib/connman/*" "home/*/Pictures/*" "home/*/Pictures/.*" "home/*/.steam" "home/*/.local/share/Steam" "home/*/Videos/*" "home/*/Videos/.*" "home/*/VirtualBox VMs" "media/dataext/snapshot" "media/dataext/snapshot/mx-snapshot-YzPtXZoM" "etc/minstall.conf"
2024-01-24 22:45:51.950 DBG default: Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on /media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template/antiX/linuxfs, block size 131072.

2024-01-24 22:46:22.362 DBG default: 

2024-01-24 22:46:22.435 DBG default: 
Exportable Squashfs 4.0 filesystem, lz4 compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 6990785.60 Kbytes (6826.94 Mbytes)
	49.49% of uncompressed filesystem size (14125561.99 Kbytes)
Inode table size 6506818 bytes (6354.31 Kbytes)
	41.05% of uncompressed inode table size (15850376 bytes)
Directory table size 10156400 bytes (9918.36 Kbytes)
	65.13% of uncompressed directory table size (15594477 bytes)
Xattr table size 72 bytes (0.07 Kbytes)
	66.06% of uncompressed xattr table size (109 bytes)
Number of duplicate files found 33266
Number of inodes 411771
Number of files 296228
Number of fragments 18057
Number of symbolic links 94341
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 21202
Number of hard-links 55597
Number of ids (unique uids + gids) 33
Number of uids 14

2024-01-24 22:46:22.452 DBG default: 	root (0)
	saned (111)
	lp (7)
	_apt (42)
	polkitd (996)
	statd (107)
	tss (101)
	nm-openvpn (114)
	lightdm (108)
	man (6)
	_chrony (102)
	colord (113)
	dolphin (1000)
	fred (1001)
Number of gids 28
	root (0)
	dip (30)
	_chrony (111)
	lp (7)
	shadow (42)
	ssl-cert (107)
	dialout (20)
	crontab (101)
	mail (8)
	plocate (114)
	plugdev (46)
	_ssh (112)
	tty (5)
	games (60)
	messagebus (109)
	utmp (43)
	staff (50)
	lpadmin (108)
	man (12)
	colord (122)
	dolphin (1000)
	lightdm (117)
	nogroup (65534)
	nm-openvpn (123)
	sambashare (997)
	saned (121)
	tss (110)
	adm (4)

2024-01-24 22:46:22.511 DBG default: mv iso-template/antiX/linuxfs* iso-2/antiX
2024-01-24 22:46:22.515 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2024-01-24 22:46:22.515 DBG default: Calculating checksum...
2024-01-24 22:46:22.515 DBG default: sync
2024-01-24 22:46:22.525 DBG default: md5sum "linuxfs">"/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-2/antiX/linuxfs.md5"
2024-01-24 22:46:30.744 DBG default: /usr/bin/pkexec /usr/lib/mx-snapshot/snapshot-lib cleanup
2024-01-24 22:46:30.821 DBG default: Creating CD/DVD image file...
2024-01-24 22:46:30.822 DBG default: xorriso -as mkisofs -l -V MXLIVE -R -J -pad -iso-level 3 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot -c boot/isolinux/isolinux.cat -o "/media/dataext/snapshot/snapshot-20240124_2245.iso" . "/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-2"
2024-01-24 22:46:30.830 WRN default: xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.


2024-01-24 22:46:30.838 WRN default: Drive current: -outdev 'stdio:/media/dataext/snapshot/snapshot-20240124_2245.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data,  101g free

2024-01-24 22:46:30.865 WRN default: Added to ISO image: directory '/'='/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-template'
xorriso : UPDATE :    1004 files added in 1 seconds

2024-01-24 22:46:30.870 WRN default: Added to ISO image: directory '/'='/media/dataext/snapshot/mx-snapshot-YzPtXZoM/iso-2'
xorriso : UPDATE :    1008 files added in 1 seconds

2024-01-24 22:46:30.973 WRN default: xorriso : UPDATE :  0.92% done

2024-01-24 22:46:31.373 WRN default: xorriso : UPDATE :  4.54% done

2024-01-24 22:46:32.375 WRN default: xorriso : UPDATE :  14.05% done

2024-01-24 22:46:33.376 WRN default: xorriso : UPDATE :  23.20% done, estimate finish Wed Jan 24 22:46:42 2024

2024-01-24 22:46:34.378 WRN default: xorriso : UPDATE :  32.84% done, estimate finish Wed Jan 24 22:46:42 2024

2024-01-24 22:46:35.379 WRN default: xorriso : UPDATE :  42.02% done, estimate finish Wed Jan 24 22:46:42 2024

2024-01-24 22:46:36.380 WRN default: xorriso : UPDATE :  51.55% done, estimate finish Wed Jan 24 22:46:42 2024

2024-01-24 22:46:37.382 WRN default: xorriso : UPDATE :  61.33% done, estimate finish Wed Jan 24 22:46:42 2024

2024-01-24 22:46:38.383 WRN default: xorriso : UPDATE :  73.34% done, estimate finish Wed Jan 24 22:46:41 2024

2024-01-24 22:46:39.384 WRN default: xorriso : UPDATE :  86.08% done, estimate finish Wed Jan 24 22:46:41 2024

2024-01-24 22:46:40.385 WRN default: xorriso : UPDATE :  99.55% done

2024-01-24 22:46:41.387 WRN default: ISO image produced: 3523814 sectors
Written to medium : 3523814 sectors at LBA 0

2024-01-24 22:46:41.390 WRN default: Writing to 'stdio:/media/dataext/snapshot/snapshot-20240124_2245.iso' completed successfully.


2024-01-24 22:46:41.394 DBG default: Making hybrid iso
2024-01-24 22:46:41.394 DBG default: isohybrid --uefi "/media/dataext/snapshot/snapshot-20240124_2245.iso"
2024-01-24 22:46:41.399 WRN default: isohybrid: Warning: more than 1024 cylinders: 6883
isohybrid: Not all BIOSes will be able to boot this device

2024-01-24 22:46:41.408 DBG default: Done
2024-01-24 22:46:41.408 DBG default: Success MX Snapshot completed sucessfully!
Snapshot took 00:01:06 to finish.

Thanks for using MX Snapshot, run MX Live USB Maker next!
2024-01-24 22:46:44.646 DBG default: Cleaning...
2024-01-24 22:46:44.692 DBG default: sync
2024-01-24 22:46:45.170 DBG default: Done
2024-01-24 22:46:45.172 DBG default: Cleaning...
2024-01-24 22:46:45.200 DBG default: sync
2024-01-24 22:46:45.216 DBG default: Done

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 11:18 pm
by dolphin_oracle
I've gone back to 23.11.05 of snapshot. no change, still getting the kernel panics, so I'm leaning toward the problem being elsewhere.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 11:31 pm
by dolphin_oracle
if there is something on the iso to check or that might help, I can access them via isomount. I currently have 8 non-working isos, all with the same kernel panic. I even made one with gzip.

currently checking against making on iso from a running live-usb.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 11:40 pm
by dolphin_oracle
creating a snapshot from a running mx23.2 iso with 6.1 kernel and lz4 compression worked fine. produced a bootable iso.

Re: Kernel Panic Live USB

Posted: Wed Jan 24, 2024 11:46 pm
by dolphin_oracle
the panic message may be different than what the OP reports. it does match that reported in this thread though. viewtopic.php?t=79049

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 7:49 am
by dolphin_oracle
actually once I got a UEFI boot I can see that the very first message cut off in the screenshot above does match the OP's report.

I'm currently uploading a snapshot iso that has the kernel panic issue.

notes: my failed snapshot is an ahs-enabled release. same for the OP and the other thread.

both are upgrades in place. The OP from our original ahs release iso and the other thread from MX-23.1_ahs.

My machine has 16 cores and makes the snaphot is about 1:07 minutes when using lz4 compression. I will post the QSI when I get home.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 8:26 am
by fehlix
Tried to reproduce. Snapshot lz4-ISO from MX-23.2-ahs always boots both from LiveUSb and also booting from attached iso. Using latest snapshot and mx-live-usb-maker from MX-23.2

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 8:42 am
by Germ
I'm getting the kernel panic, as well. Tried 3 different thumbdrives and 3 different snapshots.

Code: Select all

System:
  Kernel: 6.6.9-amd64 [6.6.9-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6.9-amd64 root=UUID=<filter> ro quiet
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.2_KDE_x64 Libretto
    July 31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: Dell product: Latitude E6530 v: 01 serial: <superuser required> Chassis:
    type: 9 serial: <superuser required>
  Mobo: Dell model: 07Y85M v: A00 serial: <superuser required> UEFI: Dell v: A22 date: 11/30/2018
Battery:
  ID-1: BAT0 charge: 48.2 Wh (100.0%) condition: 48.2/99.9 Wh (48.3%) volts: 12.8 min: 11.1
    model: SMP DELL 5F1R523 type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-3720QM bits: 64 type: MT MCP arch: Ivy Bridge gen: core 3 level: v2
    built: 2012-15 process: Intel 22nm family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1196 high: 1197 min/max: 1200/3600 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 1197 2: 1196 3: 1196 4: 1196 5: 1196 6: 1196 7: 1196 8: 1196
    bogomips: 41467
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GF108GLM [NVS 5200M] vendor: Dell driver: nouveau v: kernel non-free:
    series: 390.xx+ status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx process: 40/28nm
    built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 16 ports: active: LVDS-1 empty: DP-1, DP-2,
    HDMI-A-1, VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0dfc class-ID: 0300 temp: 43.0 C
  Device-2: Microdia Laptop_Integrated_Webcam_E4HD type: USB driver: uvcvideo bus-ID: 2-1.5:5
    chip-ID: 0c45:6449 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
  Monitor-1: LVDS-1 model: AU Optronics 0x21ec built: 2011 res: 1366x768 hz: 60 dpi: 101
    gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: max: 1366x768
    min: 640x350
  API: OpenGL v: 4.3 Mesa 23.1.2-1~mx23ahs renderer: NVC1 direct-render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 7 driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GF108 High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403
  API: ALSA v: k6.6.9-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Dell driver: e1000e v: kernel port: f040
    bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel modules: wl
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:0082 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: f020
    bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 465.76 GiB used: 16.93 GiB (3.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LM021-1KJ152 size: 465.76 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: SDM1 scheme: GPT
Partition:
  ID-1: / raw-size: 465.51 GiB size: 457.13 GiB (98.20%) used: 16.93 GiB (3.7%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 51.0 C mobo: 32.0 C sodimm: SODIMM C gpu: nouveau temp: 43.0 C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: 2462 pm: dpkg pkgs: 2456 libs: 1345 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 6
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/Floorp.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
    2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/vivaldi-snapshot.list
    1: deb [arch=amd64] https://repo.vivaldi.com/snapshot/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:
  Processes: 296 Uptime: 3m wakeups: 2 Memory: 7.71 GiB used: 1.79 GiB (23.2%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 8:46 am
by dolphin_oracle
Germ wrote: Thu Jan 25, 2024 8:42 am I'm getting the kernel panic, as well. Tried 3 different thumbdrives and 3 different snapshots.

Code: Select all

System:
  Kernel: 6.6.9-amd64 [6.6.9-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6.9-amd64 root=UUID=<filter> ro quiet
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.2_KDE_x64 Libretto
    July 31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: Dell product: Latitude E6530 v: 01 serial: <superuser required> Chassis:
    type: 9 serial: <superuser required>
  Mobo: Dell model: 07Y85M v: A00 serial: <superuser required> UEFI: Dell v: A22 date: 11/30/2018
Battery:
  ID-1: BAT0 charge: 48.2 Wh (100.0%) condition: 48.2/99.9 Wh (48.3%) volts: 12.8 min: 11.1
    model: SMP DELL 5F1R523 type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-3720QM bits: 64 type: MT MCP arch: Ivy Bridge gen: core 3 level: v2
    built: 2012-15 process: Intel 22nm family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1196 high: 1197 min/max: 1200/3600 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 1197 2: 1196 3: 1196 4: 1196 5: 1196 6: 1196 7: 1196 8: 1196
    bogomips: 41467
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GF108GLM [NVS 5200M] vendor: Dell driver: nouveau v: kernel non-free:
    series: 390.xx+ status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx process: 40/28nm
    built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 16 ports: active: LVDS-1 empty: DP-1, DP-2,
    HDMI-A-1, VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0dfc class-ID: 0300 temp: 43.0 C
  Device-2: Microdia Laptop_Integrated_Webcam_E4HD type: USB driver: uvcvideo bus-ID: 2-1.5:5
    chip-ID: 0c45:6449 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
  Monitor-1: LVDS-1 model: AU Optronics 0x21ec built: 2011 res: 1366x768 hz: 60 dpi: 101
    gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: max: 1366x768
    min: 640x350
  API: OpenGL v: 4.3 Mesa 23.1.2-1~mx23ahs renderer: NVC1 direct-render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 7 driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GF108 High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403
  API: ALSA v: k6.6.9-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Dell driver: e1000e v: kernel port: f040
    bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel modules: wl
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:0082 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: f020
    bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 465.76 GiB used: 16.93 GiB (3.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LM021-1KJ152 size: 465.76 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: SDM1 scheme: GPT
Partition:
  ID-1: / raw-size: 465.51 GiB size: 457.13 GiB (98.20%) used: 16.93 GiB (3.7%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 51.0 C mobo: 32.0 C sodimm: SODIMM C gpu: nouveau temp: 43.0 C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: 2462 pm: dpkg pkgs: 2456 libs: 1345 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 6
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/Floorp.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
    2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/vivaldi-snapshot.list
    1: deb [arch=amd64] https://repo.vivaldi.com/snapshot/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:
  Processes: 296 Uptime: 3m wakeups: 2 Memory: 7.71 GiB used: 1.79 GiB (23.2%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
how large is your snapshot iso?

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 8:47 am
by dolphin_oracle
joegreen wrote: Wed Jan 24, 2024 8:05 pm

Code: Select all

System:
  Kernel: 6.6.11-amd64 [6.6.11-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6.11-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_ahs_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 20YU001KUS v: ThinkPad P17 Gen 2i
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20YU001KUS v: SDK0J40697 WIN serial: <superuser required> UEFI: LENOVO
    v: N37ET50W (1.31 ) date: 12/19/2023
Battery:
  ID-1: BAT0 charge: 66.0 Wh (73.4%) condition: 89.9/94.0 Wh (95.6%) volts: 12.1 min: 11.5
    model: Celxpert 5B10W13959 type: Li-poly serial: <filter> status: not charging cycles: 16
  Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere 2S serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: 11th Gen Intel Core i7-11850H bits: 64 type: MT MCP arch: Tiger Lake gen: core 11
    level: v4 note: check built: 2020 process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
    microcode: 0x4E
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 640 KiB
    desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 836 high: 1100 min/max: 800/4800 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 1086 6: 800 7: 800 8: 800 9: 800
    10: 800 11: 801 12: 800 13: 1100 14: 800 15: 800 16: 800 bogomips: 79872
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel
    arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    DP-4, DP-5, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] vendor: Lenovo driver: nvidia v: 525.147.05
    non-free: 530.xx+ status: current (as of 2023-03) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:25b8 class-ID: 0300
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 3-4:3 chip-ID: 04f2:b6be
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26") s-diag: 583mm (22.95")
  Monitor-1: eDP-1 model: BOE Display 0x08de built: 2019 res: 1920x1080 hz: 60 dpi: 128
    gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9 modes: 3840x2160
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel UHD Graphics (TGL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0401
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
  API: ALSA v: k6.6.11-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 09:00.0 chip-ID: 8086:2725 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Intel Ethernet I225-LM vendor: Lenovo driver: igc v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0b:00.0 chip-ID: 8086:15f2 class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-14:6 chip-ID: 8087:0032
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
  Local Storage: total: 2.34 TiB used: 14.09 GiB (0.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:8 vendor: Micron model: MTFDKBA512TFH size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 7006P7LN temp: 30.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Western Digital model: WD BLACK SN770 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 731120WD temp: 35.9 C scheme: GPT
  ID-3: /dev/nvme2n1 maj-min: 259:0 vendor: Seagate model: XPG GAMMIX S70 BLADE size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 3.2.F.2A temp: 25.9 C scheme: GPT
  ID-4: /dev/sda maj-min: 8:0 type: USB vendor: Lexar model: USB Flash Drive size: 28.91 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 22.79 GiB size: 22.27 GiB (97.69%) used: 14.09 GiB (63.3%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 6 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
  ID-2: swap-2 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 1913 fan-2: 1631

Info:
  Processes: 341 Uptime: 0m wakeups: 7 Memory: 31.07 GiB used: 1.5 GiB (4.8%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Hello friends,

My latest Live USB fails after the GRUB menu with a kernel panic. I have tried with the 6.6.11-1~mx23ahs kernel and the one before that (maybe it's 6.6.9?) , using 2 different USB sticks. So, 4 tests total with different kernels and different sticks. Snapshot maker and Live USB maker both finish successfully every time. The kernel panic message starts with " init: eval : line 1 : syntax error: unexpected "(" "

Thank you for letting me know if you know which latest update in snapshot or live usb maker is causing this issue. The last working Live USB was made about 2-3 weeks ago, with kernel 6.6.9 (the one before the latest 6.6.11), and I tried with both these kernels as mentioned before.
how large is the snapshot iso?

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 8:51 am
by dolphin_oracle
fehlix wrote: Thu Jan 25, 2024 8:26 am Tried to reproduce. Snapshot lz4-ISO from MX-23.2-ahs always boots both from LiveUSb and also booting from attached iso. Using latest snapshot and mx-live-usb-maker from MX-23.2
yeah anything fresh I'm not failing on. or small.

I also just did a snapshot on a vm at work that has been upgraded from the original mx23 standard iso, and no problems there. that was a 3.9 GB iso, 6.1.0-17 kernel, and lz4 compression. and it booted up fine.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 9:36 am
by Germ
@dolphin_oracle

Snapshot is 4.9 GB

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 9:39 am
by Charlie Brown
Writing when booted "fromiso" on my "just now" created 23.2 snapshot iso: All fine :)

Personal Snapshot
Nothing's excluded
Zstd
ro quiet nosplash
Liq. 6.7-1.1~bookworm directly from Liq.

P.S. Also my initrd.img is zstd as I had set it to be so, though this is probably irrelevant.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 9:51 am
by dolphin_oracle
failed iso here:

https://drive.google.com/file/d/1mAK0RJ ... drive_link

sorry its so big, its the only one so far that I can reproduce.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 9:56 am
by dolphin_oracle
dolphin_oracle wrote: Thu Jan 25, 2024 9:51 am failed iso here:

https://drive.google.com/file/d/1mAK0RJ ... drive_link

sorry its so big, its the only one so far that I can reproduce.
there was a bug in the liquorix kernels some time back that dealt with zstd compression of the kernel modules. I've purged those off, but I wonder if installing those kernels had some left over effect. I forget the version. 6.6.10-3 maybe.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:00 am
by dolphin_oracle
I can now reproduce problem a second way.

from 23.2 KDE iso.

install liquorix kernel via the metapackage entry in popular apps. (6.6.12).

reboot into new kernel.

run snapshot -> general reset.

kernel panic ensues.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:40 am
by Charlie Brown
The confusing part is:

Same kernel,
Same initrd image

Why no panic when booting the installed system ?

If it was something else we would understand and say "maybe squashfs or compression method" etc...


This may be even absurd but can someone try either nosplash or fbcon=nodefer as boot parameter?

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:43 am
by Germ
dolphin_oracle wrote: Thu Jan 25, 2024 9:56 am there was a bug in the liquorix kernels some time back that dealt with zstd compression of the kernel modules. I've purged those off, but I wonder if installing those kernels had some left over effect. I forget the version. 6.6.10-3 maybe.
I've never installed the liquorix kernel.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:44 am
by dolphin_oracle
Charlie Brown wrote: Thu Jan 25, 2024 10:40 am The confusing part is:

Same kernel,
Same initrd image

Why no panic when booting the installed system ?

If it was something else we would understand and say "maybe squashfs or compression method" etc...
not the same initrd. the installed system uses the initramfs files, the live system does not.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:46 am
by siamhie
I can replicate the issue. Clean install 01/21/24 MX-23.2 fluxbox.

Liquorix 6.7.1-1
zstd compression
Ventoy 1.0.95
snapshot size 2.9GB

snapshot_error.jpg

Code: Select all

System:
  Kernel: 6.7.1-1-liquorix-amd64 [6.7-1.1~bookworm] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-6.7.1-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash init=/lib/systemd/systemd
  Desktop: Fluxbox v: 1.3.7 info: tint2 vt: 7 dm: LightDM v: 1.26.0 Distro: MX-23.2_fluxbox_x64
    Libretto January 21 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: Micro-Star model: B550-A PRO (MS-7C56) v: 2.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: A.F0 date: 10/11/2023
CPU:
  Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ gen: 4 level: v3 note: check
    built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 2
    microcode: 0xA20120E
  Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache: L1: 1024 KiB desc: d-16x32
    KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 2300 high: 3400 min/max: 2200/5083 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 2257 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200
    7: 2200 8: 2200 9: 2800 10: 2880 11: 3400 12: 2200 13: 2200 14: 2200 15: 2200 16: 2200 17: 2200
    18: 2200 19: 2200 20: 2200 21: 2200 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200
    28: 2200 29: 2200 30: 2200 31: 2200 32: 2881 bogomips: 217597
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] vendor: Tul / PowerColor
    driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-3 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 2d:00.0
    chip-ID: 1002:73df class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Compton v: 1 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58")
  Monitor-1: DP-3 mapped: DisplayPort-2 model: HP X27q serial: <filter> built: 2021
    res: 2560x1440 hz: 165 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.6 DRM 3.56
    6.7.1-1-liquorix-amd64) direct-render: Yes
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 2d:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.7.1-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2725 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 2a:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2.3:4 chip-ID: 8087:0032
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: see --recommends
Drives:
  Local Storage: total: 8.22 TiB used: 896.82 GiB (10.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Western Digital model: WDS500G1X0E-00AFY0
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 613000WD temp: 37.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital model: WDS500G3XHC-00SJG0
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 102000WD temp: 33.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: ST8000DM004-2CX188 size: 7.28 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5425 serial: <filter>
    rev: 0001 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 type: USB vendor: Kingston model: DataTraveler 3.0 size: 28.9 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 465 GiB size: 456.63 GiB (98.20%) used: 9.44 GiB (2.1%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:5
  ID-2: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 274 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:4
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 65 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p1
    maj-min: 259:1
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A gpu: amdgpu temp: 47.0 C mem: 48.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 765
Repos:
  Packages: pm: dpkg pkgs: 2127 libs: 1138 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/librewolf.list
    1: deb [arch=amd64] http://deb.librewolf.net bookworm main
  Active apt repos in: /etc/apt/sources.list.d/liquorix.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bookworm main
    2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bookworm main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
Info:
  Processes: 553 Uptime: 21m wakeups: 0 Memory: 31.27 GiB used: 1.93 GiB (6.2%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:50 am
by Charlie Brown
... But that's not the "kernel panic", just the Ventoy issue ...

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 10:51 am
by dolphin_oracle
Germ wrote: Thu Jan 25, 2024 10:43 am
dolphin_oracle wrote: Thu Jan 25, 2024 9:56 am there was a bug in the liquorix kernels some time back that dealt with zstd compression of the kernel modules. I've purged those off, but I wonder if installing those kernels had some left over effect. I forget the version. 6.6.10-3 maybe.
I've never installed the liquorix kernel.
Ok good, this is a good data point.

but you have installed multple kernels.

all of may failed snapshots either have or had have more than one kernel installed.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:02 am
by fehlix
Maybe something related to the initrd_release file inserted into /etc/live_initrd with snapshot:

Code: Select all

NAME="MX"
VERSION="23.2_ahs (Libretto)
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_ahs (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
where the missing ["] double-quotes in the 2nd line
VERSION="23.2_ahs (Libretto)
breaks the live init.
The above is from the iso posted.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:07 am
by fehlix
So for anybody does have the kernal panic issue:
Do check and fix the VERSION line in /etc/initrd_relase

Code: Select all

sudo nano  /etc/live_initrd

and add missing double-quotes to the VERSION-line
before making the snapshot.
looks something like this, here for the MX-23.2 ahs installation:

Code: Select all

VERSION="23.2_ahs (Libretto)"


Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:13 am
by siamhie
Flashed my snapshot to another thumb drive with MX Live USB Maker and booted fine.
I do have two kernels on this system. linux-image-6.1.0-17-amd64 and linux-image-6.7.1-1-liquorix-amd64.

I see Ventoy has an update (1.0.97) and will upgrade to see if it fixes MY issue.

Code: Select all

=====================================================================
/usr/local/bin/live-usb-maker gui -N -C off --from=/home/siamhie/Downloads/fluxbox-6.7.1.iso -t /dev/sdb
        program: live-usb-maker
        started: Thu Jan 25 07:50:58 AM PST 2024
        version: 2.41.19-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
         kernel: 6.7.1-1-liquorix-amd64
             OS: MX 23.2_fluxbox (Libretto)
      found lib: /usr/local/lib/cli-shell-utils/cli-shell-utils.bash
    lib version: 2.41.05-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
---------------------------------------------------------------------

Found man page: live-usb-maker.1
Will use target device /dev/sdb (57.3G USB SanDisk 3.2Gen1)
Will use source file /home/siamhie/Downloads/fluxbox-6.7.1.iso
Found grub config 2.0
Estimated extfs overhead for 58629M is 44M

                    Total      Used     Extra
   entire drive  57.3 GiB 57.3 GiB     1 MiB
 main partition  57.3 GiB 2.91 GiB  54.3 GiB
 uefi partition    50 MiB   32 MiB    18 MiB

Ready to make live-usb on device sdb
... by copying file /home/siamhie/Downloads/fluxbox-6.7.1.iso

>> partition-clear
Total bytes: 61530439680
Total blocks: 120176640
 > dd status=none if=/dev/zero of=/dev/sdb bs=512 count=34
 > dd status=none if=/dev/zero of=/dev/sdb bs=512 count=34 seek=64
 > dd status=none conv=notrunc if=/dev/zero of=/dev/sdb bs=512 count=34 seek=120176606
 > partprobe /dev/sdb

>> partition-make
Using msdos partitioning
 > parted --script --align optimal /dev/sdb unit MiB mklabel msdos
 > dd status=none if=/dev/zero of=/dev/sdb seek=1024 bs=1K count=128
 > parted --script --align optimal /dev/sdb unit MiB mkpart primary 1 58629
 > parted --script --align optimal /dev/sdb unit MiB set 1 boot on
 > dd status=none if=/dev/zero of=/dev/sdb seek=60036096 bs=1K count=128
 > parted --script --align optimal /dev/sdb unit MiB mkpart primary 58629 58678
 > parted --script --align optimal /dev/sdb unit MiB set 2 esp on
 > partprobe /dev/sdb
 > wait_for_file /dev/sdb1

>> makefs-bios
 > mkfs.ext4 -O ^64bit -m0 -i16384 -J size=32 /dev/sdb1
mke2fs 1.47.0 (5-Feb-2023)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 15008768 4k blocks and 3752784 inodes
Filesystem UUID: 22bddf2a-5252-4c49-94eb-6b6e229daef5
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424

Allocating group tables:   0/459       done                            
Writing inode tables:   0/459       done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:   0/459       done

 > tune2fs -L Live-usb /dev/sdb1
tune2fs 1.47.0 (5-Feb-2023)
 > wait_for_file /dev/sdb2

>> makefs-uefi
 > mkfs.vfat -F 32 -n LIVE-UEFI /dev/sdb2
mkfs.fat 4.2 (2021-01-31)
 > partprobe /dev/sdb
 > wait_for_file /dev/sdb1
 > mkdir -p /run/live-usb-maker/main
 > mount -t ext4 /dev/sdb1 /run/live-usb-maker/main
 > wait_for_file /dev/sdb2
 > mkdir -p /run/live-usb-maker/uefi
 > mount -t vfat /dev/sdb2 /run/live-usb-maker/uefi

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdb1      ext4   57G   24K   57G   1% /run/live-usb-maker/main
/dev/sdb2      vfat   49M   512   49M   1% /run/live-usb-maker/uefi


>> copy-uefi
copy from iso to uefi partition
files [Ee][Ff][Ii] version
 > cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/EFI /run/live-usb-maker/uefi/.
Fix Dell uefi memtest bug
 > cp /run/live-usb-maker/uefi/EFI/BOOT/grubx64.efi /run/live-usb-maker/uefi/EFI/BOOT/fallback.efi

>> copy-main
 > rm -rf /run/live-usb-maker/main/boot.orig
copy from iso to main partition
vm.dirty_bytes = 20000000
copy /antiX/vmlinuz
 > cpio -pdm --quiet /run/live-usb-maker/main/
 > e4defrag -v ./antiX/vmlinuz
e4defrag 1.47.0 (5-Feb-2023)
ext4 defragmentation for ./antiX/vmlinuz
[1/1][1/1]./antiX/vmlinuz:	  0%[1/1]./antiX/vmlinuz:	100%  extents: 2 -> 1	[ OK ]
 Success:			[1/1]
copy /antiX/initrd.gz
 > cpio -pdm --quiet /run/live-usb-maker/main/
 > e4defrag -v ./antiX/initrd.gz
e4defrag 1.47.0 (5-Feb-2023)
ext4 defragmentation for ./antiX/initrd.gz
[1/1][1/1]./antiX/initrd.gz:	100%  extents: 1 -> 1	[ OK ]
 Success:			[1/1]
copy remaining files ...
 > cpio -pdm --quiet /run/live-usb-maker/main/
copy pids: 48231 48234
vm.dirty_bytes = 20000000
vm.dirty_ratio = 0
 > write_file /run/live-usb-maker/main/made-by-live-usb-maker   created: Thu Jan 25 07:53:38 AM PST 2024
  program: live-usb-maker
  version: 2.41.19-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
 > dd status=none if=/dev/urandom of=/run/live-usb-maker/main/antiX/random-seed bs=512 count=1
 > chmod 600 /run/live-usb-maker/main/antiX/random-seed
 > rm -rf /run/live-usb-maker/main/.disk

>> check-usb-md5
check md5 for initrd.gz
 > md5sum -c initrd.gz.md5
initrd.gz: OK
check md5 for linuxfs
 > md5sum -c linuxfs.md5
linuxfs: OK
check md5 for vmlinuz
 > md5sum -c vmlinuz.md5
vmlinuz: OK

>> uuids
Using antiX/MX grub config 2.0
 > mkdir -p /run/live-usb-maker/uefi/boot/grub
 > cp /run/live-usb-maker/main/boot/grub/config/efi-grub.cfg /run/live-usb-maker/uefi/boot/grub/grub.cfg
 > touch /run/live-usb-maker/main/boot/grub/config/did-efi-grub
 > sed -i /^\s*#/! s/%UUID%/22bddf2a-5252-4c49-94eb-6b6e229daef5/ /run/live-usb-maker/uefi/boot/grub/grub.cfg
 > rm -f /run/live-usb-maker/main/boot/grub/config/*.id
 > touch /run/live-usb-maker/main/boot/grub/config/bfc58996fad2fcb89f49ab59eb772259.id
 > sed -i /^\s*#/! s|%ID_FILE%|/boot/grub/config/bfc58996fad2fcb89f49ab59eb772259.id| /run/live-usb-maker/uefi/boot/grub/grub.cfg

>> install
extlinux version 6.04
 > dd status=none bs=440 conv=notrunc count=1 if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb
 > rm -f /run/live-usb-maker/main/boot/syslinux/chain.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/gfxboot.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/ldlinux.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/libcom32.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/libmenu.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/libutil.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/menu.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/syslinux.bin
 > rm -f /run/live-usb-maker/main/boot/syslinux/version
 > cp /usr/lib/syslinux/modules/bios/chain.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/gfxboot.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/ldlinux.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/libcom32.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/libmenu.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/libutil.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/linux.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/menu.c32 /run/live-usb-maker/main/boot/syslinux/
 > write_file /run/live-usb-maker/main/boot/syslinux/version 6.04
 > extlinux -i /run/live-usb-maker/main/boot/syslinux
/run/live-usb-maker/main/boot/syslinux is device /dev/sdb1

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdb1      ext4   57G  2.9G   54G   6% /run/live-usb-maker/main
/dev/sdb2      vfat   49M   13M   36M  26% /run/live-usb-maker/uefi

>> done

live-usb-maker took 2 minutes and 49 seconds.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:14 am
by dolphin_oracle
fehlix wrote: Thu Jan 25, 2024 11:02 am Maybe something related to the initrd_release file inserted into /etc/live_initrd with snapshot:

Code: Select all

NAME="MX"
VERSION="23.2_ahs (Libretto)
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_ahs (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
where the missing ["] double-quotes in the 2nd line
VERSION="23.2_ahs (Libretto)
breaks the live init.
The above is from the iso posted.

ah very good @fehlix

my working snapshots have a single quote.

the non-working ones have a weird double quote instead of a missing one in the VERSION line.

Code: Select all

NAME="MX"
VERSION="23.2_KDE (Libretto)""
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_KDE (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
same for the /etc/initrd_release file in the main file system.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:17 am
by fehlix
dolphin_oracle wrote: Thu Jan 25, 2024 11:14 am

Code: Select all

NAME="MX"
VERSION="23.2_KDE (Libretto)""
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_KDE (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
Maybe someone unknown with to fast fingers, maybe?

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:18 am
by Charlie Brown
That may be the culprit cause till now (including the other thread by shmu26) all complaints were with KDE and AHS .

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 11:19 am
by dolphin_oracle
fehlix wrote: Thu Jan 25, 2024 11:17 am
dolphin_oracle wrote: Thu Jan 25, 2024 11:14 am

Code: Select all

NAME="MX"
VERSION="23.2_KDE (Libretto)""
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_KDE (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
Maybe someone unknown with to fast fingers, maybe?
not that I'm one to not make a typo ( :cool: ), but I don't think this time.

its in the generation of the file during the snapshot somewhere I think. the /etc/initrd_release on the system being snapshotted is correct.

host
/etc/initrd_release

Code: Select all

NAME="MX"
VERSION="23.2_KDE (Libretto)"
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_KDE (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
host
/etc/lsb-release

Code: Select all

PRETTY_NAME="MX 23.2 Libretto"
DISTRIB_ID=MX
DISTRIB_RELEASE=23.2
DISTRIB_CODENAME="Libretto"
DISTRIB_DESCRIPTION="MX 23.2 Libretto"

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 12:33 pm
by fehlix
dolphin_oracle wrote: Thu Jan 25, 2024 11:19 am
fehlix wrote: Thu Jan 25, 2024 11:17 am
dolphin_oracle wrote: Thu Jan 25, 2024 11:14 am

Code: Select all

NAME="MX"
VERSION="23.2_KDE (Libretto)""
ID="mx"
VERSION_ID="23.2_"
PRETTY_NAME="MX 23.2_KDE (Libretto)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
BASE=MX
Maybe someone unknown with to fast fingers, maybe?
not that I'm one to not make a typo ( :cool: ), but I don't think this time.

its in the generation of the file during the snapshot somewhere I think. the /etc/initrd_release on the system being snapshotted is correct.
Can't reproduce. It's here always a copy of /etc/inird_release within the live initrd.
That's, what snapshot is doing, just a copy.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 12:53 pm
by fehlix
Not fast fingers, but fast and fat fingers: :footinmouth:

Code: Select all

sed -i s/'VERSION="23_ahs (Libretto)"'/'VERSION="23.1_ahs (Libretto)'/ /etc/initrd_release
sed -i s/'VERSION="23_KDE (Libretto)'/'VERSION="23.1_KDE (Libretto)"'/ /etc/initrd_release
sed -i s/'VERSION="23.1_ahs (Libretto)"'/'VERSION="23.2_ahs (Libretto)'/ /etc/initrd_release
sed -i s/'VERSION="23.1_KDE (Libretto)'/'VERSION="23.2_KDE (Libretto)"'/ /etc/initrd_release
in postinst of mx-system-24.01.01mx23
( 4 typos not one)

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 1:24 pm
by dolphin_oracle
fehlix wrote: Thu Jan 25, 2024 12:53 pm Not fast fingers, but fast and fat fingers: :footinmouth:

Code: Select all

sed -i s/'VERSION="23_ahs (Libretto)"'/'VERSION="23.1_ahs (Libretto)'/ /etc/initrd_release
sed -i s/'VERSION="23_KDE (Libretto)'/'VERSION="23.1_KDE (Libretto)"'/ /etc/initrd_release
sed -i s/'VERSION="23.1_ahs (Libretto)"'/'VERSION="23.2_ahs (Libretto)'/ /etc/initrd_release
sed -i s/'VERSION="23.1_KDE (Libretto)'/'VERSION="23.2_KDE (Libretto)"'/ /etc/initrd_release
in postinst of mx-system-24.01.01mx23
( 4 typos not one)
yeah just found it myself. :bagoverhead:

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 1:35 pm
by dolphin_oracle
I will correct the issue with an update of mx-system.

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 1:57 pm
by Charlie Brown
.
" C'est La Vie "

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 2:04 pm
by dolphin_oracle

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 5:42 pm
by fehlix
dolphin_oracle wrote: Thu Jan 25, 2024 2:04 pm try this one.

mx-system-24.01.02mx23
Hmm. Not sure, installed the deb on a booted relased MX-23.2-AHS
and got now a kernel-panic-maker initrd_release:
by this changed line:

Code: Select all

VERSION="23.2_ahs (Libretto)""
before - after diff:

Code: Select all

diff  /etc/initrd_releasw.MX-23.2-AHS.orig /etc/initrd_release  
2c2
< VERSION="23.2_ahs (Libretto)"
---
> VERSION="23.2_ahs (Libretto)""

Re: Kernel Panic Live USB

Posted: Thu Jan 25, 2024 6:34 pm
by dolphin_oracle
thanks, caught that one. I'm testing against the previous mx23 isos now.

Re: Kernel Panic Live USB

Posted: Fri Jan 26, 2024 4:35 pm
by joegreen
Hi guys,

Thanks for following up. Do you still need any logs or information from me? Or the issue has been identified?

Regards

Re: Kernel Panic Live USB

Posted: Fri Jan 26, 2024 4:49 pm
by Adrian
joegreen wrote: Fri Jan 26, 2024 4:35 pm Hi guys,

Thanks for following up. Do you still need any logs or information from me? Or the issue has been identified?

Regards
I think we found the root cause, no need for more info, just take a snapshot and report if you see any problem, but this should be fixed (if you updated mx-system).

Re: Kernel Panic Live USB

Posted: Fri Jan 26, 2024 4:51 pm
by joegreen
dolphin_oracle wrote: Thu Jan 25, 2024 2:04 pm try this one.

mx-system-24.01.02mx23
Thank you, should I use the above or through system update?

Re: Kernel Panic Live USB  [Solved]

Posted: Fri Jan 26, 2024 5:11 pm
by Adrian
Just do a regular update, it should come though apt get. Thanks for the report and patience!

Re: Kernel Panic Live USB

Posted: Fri Jan 26, 2024 7:36 pm
by Germ
Snapshot is working perfectly after the mx-system update. I'm booted into it right now. Snapshot is 5GB. Everything was normal during creation.

Great work guys! Thank you!

Re: Kernel Panic Live USB

Posted: Fri Jan 26, 2024 8:05 pm
by joegreen
Hi. The issue is resolved after the "MX System" update. Thank you to everybody who spent time trying to help and resolve the issue.

Best regards

Re: Kernel Panic Live USB

Posted: Sat Jan 27, 2024 7:46 am
by Charlie Brown
Thank you, too for reporting that and helping a bug-fixing :)

Re: Kernel Panic Live USB

Posted: Sat Jan 27, 2024 8:54 am
by fan_of_LTS
My thanks too!

I made a snapshot on Tuesday. I tried to boot it and tried to make a live USB but it failed. I assumed that I made some change that broke snapshot.

I had some other things to do with family and got back here last night. Seeing this thread and then an mx-system update made my day and fixed my issues.

In addition to testing my backups, I now need to remember to not assume I broke it and test the theory.