Bug#1018922: kbibtex crashes on startup

2022-11-30 Thread Amaury Pouly
I ran into this problem and I was able to fix the problem by compiling
kbibtex from upstream. I believe that the problem was fixed by this merge:
  https://invent.kde.org/office/kbibtex/-/merge_requests/11
which indeed works around a bug/changed behavior of recent versions of Qt.

Unfortunately, it seems that this fix did not make it into debian because
the project has not made a release since then I believe (I am a bit
confused by the tags in the repository).

I believe that this could be fixed either by taking the last version of the
0.9 branch of upstream or asking upstream to do a release.

Amaury


Bug#995120: linux-image-5.14.0-1-amd64: Raven Ridge cannot boot with secure memory encryption

2021-09-26 Thread Amaury Pouly
Package: src:linux
Version: 5.14.6-2
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

* What led up to the situation?

Booting an AMD Raven Bridge computer with this kernel renders the system 
unusable because the amdgpu driver
cannot initialize. This happens because the kernel config enables secure memory 
encryption (SME) which
is not compatible with RAVEN [1]. In this case, the kernel will contain:

  amdgpu: SME is not compatible with RAVEN

* What exactly did you do (or not do) that was effective (or
 ineffective)?

Disabling SME is the only option, passing mem_encrypt=off to the kernel solves 
the problem

Since disabling SME on all systems is clearly overkill, I think the best option 
would be for the GRUB
scripts to probe for Raven Bridge and add "mem_encrypt=off". Based on [1], this 
should probably be done
by looking at the PCI devices.

[1] https://lore.kernel.org/linux-iommu/20200907104431.gh16...@8bytes.org/

-- Package-specific info:
** Version:
Linux version 5.14.0-1-amd64 (debian-ker...@lists.debian.org) (gcc-10 (Debian 
10.3.0-10) 10.3.0, GNU ld (GNU Binutils for Debian) 2.37) #1 SMP Debian 
5.14.6-2 (2021-09-19)

** Command line:
BOOT_IMAGE=/vmlinuz-5.14.0-1-amd64 root=/dev/mapper/debian--vg-root ro quiet 
iommu=pt amd_iommu_dump=1 acpi_osi=Linux mem_encrypt=off

** Tainted: OE (12288)
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
[   10.586405] hid-multitouch 0018:044E:121F.0001: input,hidraw0: I2C HID v1.00 
Mouse [DELL0814:01 044E:121F] on i2c-DELL0814:01
[   10.594029] EXT4-fs (sda3): mounted filesystem without journal. Opts: 
(null). Quota mode: none.
[   10.594040] ext2 filesystem being mounted at /boot supports timestamps until 
2038 (0x7fff)
[   10.653242] input: HD-Audio Generic HDMI/DP,pcm=3 as 
/devices/pci:00/:00:08.1/:04:00.1/sound/card0/input17
[   10.653341] input: HD-Audio Generic HDMI/DP,pcm=7 as 
/devices/pci:00/:00:08.1/:04:00.1/sound/card0/input18
[   10.653426] input: HD-Audio Generic HDMI/DP,pcm=8 as 
/devices/pci:00/:00:08.1/:04:00.1/sound/card0/input19
[   10.663692] kvm: Nested Virtualization enabled
[   10.663696] SVM: kvm: Nested Paging enabled
[   10.663698] SEV supported: 16 ASIDs
[   10.663699] SEV-ES supported: 4294967295 ASIDs
[   10.663728] SVM: Virtual VMLOAD VMSAVE supported
[   10.663729] SVM: Virtual GIF supported
[   10.679112] dell_laptop: Using i8042 filter function for receiving events
[   10.685779] ath10k_pci :01:00.0: enabling device ( -> 0002)
[   10.686432] ath10k_pci :01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[   10.692311] MCE: In-kernel MCE decoding enabled.
[   10.721343] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3246: 
line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   10.721355] snd_hda_codec_realtek hdaudioC1D0:speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[   10.721358] snd_hda_codec_realtek hdaudioC1D0:hp_outs=1 
(0x21/0x0/0x0/0x0/0x0)
[   10.721360] snd_hda_codec_realtek hdaudioC1D0:mono: mono_out=0x0
[   10.721362] snd_hda_codec_realtek hdaudioC1D0:inputs:
[   10.721363] snd_hda_codec_realtek hdaudioC1D0:  Headset Mic=0x19
[   10.721365] snd_hda_codec_realtek hdaudioC1D0:  Headphone Mic=0x1a
[   10.721367] snd_hda_codec_realtek hdaudioC1D0:  Internal Mic=0x12
[   10.768989] intel_rapl_common: Found RAPL domain package
[   10.768994] intel_rapl_common: Found RAPL domain core
[   10.780103] audit: type=1400 audit(1632665699.799:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="firejail-default" pid=740 
comm="apparmor_parser"
[   10.780768] audit: type=1400 audit(1632665699.803:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="lsb_release" pid=741 
comm="apparmor_parser"
[   10.781872] audit: type=1400 audit(1632665699.803:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=744 
comm="apparmor_parser"
[   10.781878] audit: type=1400 audit(1632665699.803:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" 
pid=744 comm="apparmor_parser"
[   10.785010] audit: type=1400 audit(1632665699.807:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="mysqld_akonadi" pid=743 
comm="apparmor_parser"
[   10.785848] audit: type=1400 audit(1632665699.807:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="postgresql_akonadi" pid=745 
comm="apparmor_parser"
[   10.787391] audit: type=1400 audit(1632665699.807:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/akonadiserver" 
pid=747 comm="apparmor_parser"
[   10.788804] audit: type=1400 audit(1632665699.811:9): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=770 
comm="apparmor_parser"
[   10.788810] audit: type=1400 audit(1632665699.811:10): apparmor="STATUS" 

Bug#873634: missing module files libbd_*.so

2017-08-29 Thread Amaury Pouly


> apt install libblockdev-crypto2 libblockdev-mdraid2 libblockdev-part2
> libblockdev-fs2 libblockdev-loop2 libblockdev-swap2
>
I missed the fact that I also needed to install 'gdisk', otherwise it 
fails with

Cannot load the part plugin: The 'sgdisk' utility is not available

This is odd because https://tracker.debian.org/news/866785 mentions 
gdisks is no longer recommended by the package but is still needed?




Bug#873634: missing module files libbd_*.so

2017-08-29 Thread Amaury Pouly
Same problem here. Tracking down the missing files, I found that 
installing the following packages solves the problem:


apt install libblockdev-crypto2 libblockdev-mdraid2 libblockdev-part2 
libblockdev-fs2 libblockdev-loop2 libblockdev-swap2