Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1121659

Bug#1022126: mpt3sas broken with xen dom0

From Adi Kriegisch <adi@kriegisch.at>
Newsgroups linux.debian.bugs.dist
Subject Bug#1022126: mpt3sas broken with xen dom0
Date 2022-10-20 18:00 +0200
Message-ID <FiG7D-fxfj-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: linux-image-5.10.0-19-amd64
Version: 5.10.149-1
Severity: important

Dear maintainers,

with the upgrade to the latest bullseye kernel (5.10.149-1), our xen setup
is unbootable due to swiotlb buffer errors:
  | sd 0:0:0:0: scsi_dma_map failed: request for 401408 bytes!
and
  | mpt3sas 0000:01:00.0: swiotlb buffer is full (sz: 401408 bytes),
  |     total 32768 (slots), used 0 (slots)
(the byte sizes vary between boots).

After reading bug #850425[1], we also tried to force 32bit mode in the
mpt3sas driver by specifying a dom0 memory below 4G; this lets the machine
boot, but almost immediately after that fails with the same error. Notable
difference is that the used slots are 128.

Xen commandline:
  dom0_mem=4096M,max:4096M dom0_max_vcpus=4 dom0_vcpus_pin
  ucode=scan xpti=dom0=false,domu=true gnttab_max_frames=128

Using dom0-iommu=map-inclusive in some combinations with swiotlb on the
kernel commandline gives us some used slots (way below 128) in the error
message even in 64bit dma mode in the mpt3sas driver.

The kernel works when booted without xen. We'd be more than happy to get
pointers on how to fix that issue or patches to test!

Thanks for your help!

-- Adi

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850425

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#1022126: mpt3sas broken with xen dom0 Adi Kriegisch <adi@kriegisch.at> - 2022-10-20 18:00 +0200
  Bug#1022126: mpt3sas broken with xen dom0 Adi Kriegisch <adi@kriegisch.at> - 2022-10-21 10:20 +0200
  Bug#1022126: mpt3sas broken with xen dom0 Marc-Robin Wendt <wendt@math.tu-berlin.de> - 2022-10-25 11:40 +0200
    Bug#1022126: mpt3sas broken with xen dom0 Diederik de Haas <didi.debian@cknow.org> - 2022-12-08 17:30 +0100
      Bug#1022126: mpt3sas broken with xen dom0 Adi Kriegisch <adi@kriegisch.at> - 2022-12-15 11:30 +0100
        Bug#1022126: mpt3sas broken with xen dom0 Diederik de Haas <didi.debian@cknow.org> - 2022-12-15 12:00 +0100
          Bug#1022126: mpt3sas broken with xen dom0 Diederik de Haas <didi.debian@cknow.org> - 2022-12-15 12:10 +0100
  Bug#1022126: mpt3sas broken with xen dom0 Taavi Ansper <taavi.ansper@cyber.ee> - 2022-11-05 18:00 +0100

csiph-web