Package: src:linux
Version: 6.5.13-1
Severity: normal

Dear Maintainer,

I am running Debian testing in a Parallels VM (6 cores, 8GB memory)
running on Macbook Air M2 15" (10 cores, 24GB memory).  gcc13 is
sig faulting when building xfsprogs or the Linux kernel when using make -j6.
Building xfsprogs using make -j2 doesn't crash.  It crashes both using
Debian testing or a Debian bookworm chroot.  The fact that it crashes
less often when the system is more lightly loaded, and the gcc crash was
not deterministic; that is, if I rerun the make, gcc will crash on a
*different* source file, aroused my suspicions.

Hence, I decided to try installing linux-image-6.6.9-arm64 from Debian
unstable.   This made the problem go away.   The fact that there is some
kind of non-determinstic userspace program (gcc13's cc1) which is
resolved when using the 6.6.9 LTS kernel may mean that there is some
kind of issue with the mm subsystem under memory pressure, or with the
swap codepath, etc.   So this may be causing some other kinds of
potential silent data corruption with 6.5.13 when running under load.

(No, it's not the ext4 corruption issue, since (a) that's not applicable
to 6.5.13, and (b) that corruption issue involved O_SYNC / O_DIRECT
writes when extending the file, and gcc doesn't use either O_SYNC or
O_DIRECT writes.  This might be an issue with SQL Server, but not gcc, 
mysql, nor postgres.)

I normally wouldn't bother filing a bug, but the Debian testing's kernel
is currently being blocked by a transition, and I don't know how long
it's going to take to resolve the transition issue.   Also, this bug may
be affecting more people than just me, so I figured it would be good to
give a heads up, especially since whatever the transition bug might
happen to be (I don't pretend to understand it, and I wasn't able to
find any information after doing some web serches), I didn't have any
problem installing a newer kernel from sid.


-- Package-specific info:
** Kernel log: boot messages should be attached

I don't have it handy since journald has a non-persistent boot.  If you
really want it, though, I can boot back to the 6.5 kernel and get it
extracted out.   

** Model information

Parallels VM runing on a Macbook Air M2 15"

** Network interface configuration:
*** /etc/network/interfaces:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

** PCI devices:
00:01.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller [8086:293e]
        Subsystem: Parallels, Inc. 82801I (ICH9 Family) HD Audio Controller 
[1ab8:0400]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 29
        Region 0: Memory at 14000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:02.0 USB controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 
Family) USB2 EHCI Controller [8086:265c] (rev 02) (prog-if 20 [EHCI])
        Subsystem: Parallels, Inc. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 
EHCI Controller [1ab8:0400]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at 1400d000 (32-bit, non-prefetchable) [size=1K]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:03.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host 
Controller [1033:0194] (rev 04) (prog-if 30 [XHCI])
        Subsystem: Parallels, Inc. uPD720200 USB 3.0 Host Controller [1ab8:0400]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 23
        Region 0: Memory at 14008000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:05.0 Ethernet controller [0200]: Red Hat, Inc. Virtio network device 
[1af4:1000]
        Subsystem: Parallels, Inc. Virtio network device [1ab8:0001]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at 14009000 (32-bit, non-prefetchable) [size=4K]
        Region 1: Memory at 1400a000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: virtio-pci

00:09.0 Unassigned class [ff00]: Parallels, Inc. Virtual Machine Communication 
Interface [1ab8:4000]
        Subsystem: Parallels, Inc. Virtual Machine Communication Interface 
[1ab8:0400]
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 27
        Region 0: Memory at 1400b000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: prl_tg
        Kernel modules: prl_tg

00:0a.0 VGA compatible controller [0300]: Red Hat, Inc. Virtio 1.0 GPU 
[1af4:1050] (rev 01) (prog-if 00 [VGA controller])
        Subsystem: Parallels, Inc. Virtio 1.0 GPU [1ab8:0010]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at 10000000 (32-bit, prefetchable) [size=64M]
        Region 1: Memory at 1400c000 (32-bit, non-prefetchable) [size=4K]
        Region 4: Memory at 14004000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: virtio-pci


** USB devices:
Bus 003 Device 003: ID 203a:fffb PARALLELS Virtual Keyboard
Bus 003 Device 002: ID 203a:fffc PARALLELS Virtual Mouse
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 203a:fffa PARALLELS Virtual Printer (snap)
Bus 001 Device 003: ID 203a:fffa PARALLELS Virtual Printer (HP LaserJet P2055dn)
Bus 001 Device 002: ID 203a:fffa PARALLELS Virtual Printer (Brother MFC-L2740DW 
series)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (750, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.6.9-arm64 (SMP w/6 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-6.5.0-5-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142
ii  kmod                                    30+20230601-2.1
ii  linux-base                              4.9

Versions of packages linux-image-6.5.0-5-arm64 recommends:
ii  apparmor             3.0.12-1+b2
ii  firmware-linux-free  20200122-2

Versions of packages linux-image-6.5.0-5-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-6.5           <none>

Versions of packages linux-image-6.5.0-5-arm64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Reply via email to