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


Groups > linux.debian.kernel > #65068 > unrolled thread

Bug#939697: "b44: swiotlb buffer is full" kernel log spam on Dell Inspiron 6400 wired NIC with kernel 5.2

Started byTom Maneiro <tomman@gmail.com>
First post2019-09-07 23:20 +0200
Last post2020-10-21 21:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#939697: "b44: swiotlb buffer is full" kernel log spam on Dell Inspiron 6400 wired NIC with kernel 5.2 Tom Maneiro <tomman@gmail.com> - 2019-09-07 23:20 +0200
    Bug#939697: Kernel regression with b44 and kernels 5.x? Tom Maneiro <tomman@gmail.com> - 2019-09-08 20:50 +0200
    Bug#939697: Confirming bug 939697 on HP laptop. Anton Luka Šijanec <anton@sijanec.eu> - 2020-10-21 21:10 +0200

#65068 — Bug#939697: "b44: swiotlb buffer is full" kernel log spam on Dell Inspiron 6400 wired NIC with kernel 5.2

FromTom Maneiro <tomman@gmail.com>
Date2019-09-07 23:20 +0200
SubjectBug#939697: "b44: swiotlb buffer is full" kernel log spam on Dell Inspiron 6400 wired NIC with kernel 5.2
Message-ID<yDQhH-3pu-5@gated-at.bofh.it>
Package: src:linux
Version: 5.2.9-2~bpo10+1
Severity: normal

Recently I checked out the latest kernel packages from Backports for my Dell
Inspiron 6400 laptop, which ships with the following Broadcom wired NIC:

03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-
TX (rev 02)

I've never had problems with this NIC, been using it with kernels as old as
2.6.9. It works just fine with the default Debian Stable kernel (which is 4.19
on Buster). But with 5.2, I get my kernel log spammed with this every time
there is network traffic on the wired NIC (I don't use wireless on this
system):

[   67.862996] swiotlb_tbl_map_single: 20 callbacks suppressed
[   67.863001] b44 0000:03:00.0: swiotlb buffer is full (sz: 233 bytes), total
0 (slots), used 0 (slots)
[   67.863101] b44 0000:03:00.0: swiotlb buffer is full (sz: 213 bytes), total
0 (slots), used 0 (slots)
[   68.114649] b44 0000:03:00.0: swiotlb buffer is full (sz: 233 bytes), total
0 (slots), used 0 (slots)
[   68.114767] b44 0000:03:00.0: swiotlb buffer is full (sz: 213 bytes), total
0 (slots), used 0 (slots)
[   68.274933] b44 0000:03:00.0: swiotlb buffer is full (sz: 65 bytes), total 0
(slots), used 0 (slots)
[   68.366103] b44 0000:03:00.0: swiotlb buffer is full (sz: 324 bytes), total
0 (slots), used 0 (slots)
[   68.366261] b44 0000:03:00.0: swiotlb buffer is full (sz: 328 bytes), total
0 (slots), used 0 (slots)
[   69.390771] b44 0000:03:00.0: swiotlb buffer is full (sz: 324 bytes), total
0 (slots), used 0 (slots)
[   69.390953] b44 0000:03:00.0: swiotlb buffer is full (sz: 328 bytes), total
0 (slots), used 0 (slots)
[   70.682433] b44 0000:03:00.0: swiotlb buffer is full (sz: 93 bytes), total 0
(slots), used 0 (slots)

I even get a stacktrace during boot (most likely during DHCP negotiation?)
[   51.467502] swiotlb_tbl_map_single: 2 callbacks suppressed
[   51.467507] b44 0000:03:00.0: swiotlb buffer is full (sz: 1566 bytes), total
0 (slots), used 0 (slots)
[   51.467526] WARNING: CPU: 1 PID: 552 at kernel/dma/direct.c:43
report_addr+0x33/0x60
[   51.467527] Modules linked in: bnep binfmt_misc fuse btusb btrtl btbcm
btintel bluetooth arc4 rt2800pci rt2800mmio drbg rt2800lib rt2x00pci ansi_cprng
rt2x00mmio ecdh_generic rt2x00lib ecc mac80211 snd_hda_codec_hdmi cfg80211
snd_hda_codec_idt snd_hda_codec_generic eeprom_93cx6 r852 crc_ccitt sm_common
nand snd_hda_intel pktcdvd snd_hda_codec nand_ecc bch nandcore snd_hda_core mtd
snd_hwdep snd_pcm_oss dell_laptop r592 ledtrig_audio coretemp snd_mixer_oss
rfkill memstick iTCO_wdt kvm_intel iTCO_vendor_support snd_pcm kvm watchdog
irqbypass sg dell_wmi pcc_cpufreq snd_timer dell_smbios snd dcdbas acpi_cpufreq
soundcore rng_core evdev joydev sparse_keymap dell_wmi_descriptor wmi_bmof
pcspkr serio_raw battery ac uinput vhba(OE) nfsd dell_smm_hwmon auth_rpcgss
loop nfs_acl lockd parport_pc ppdev grace lp sunrpc parport ip_tables x_tables
autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_generic usbhid hid sr_mod
cdrom sd_mod ata_generic ata_piix libata b44 ehci_pci uhci_hcd ehci_hcd ssb
[   51.467587]  scsi_mod sdhci_pci cqhci mii usbcore sdhci libphy psmouse
mmc_core radeon i2c_i801 firewire_ohci firewire_core crc_itu_t pcmcia lpc_ich
mfd_core pcmcia_core i2c_algo_bit ttm drm_kms_helper drm usb_common wmi button
video
[   51.467609] CPU: 1 PID: 552 Comm: NetworkManager Tainted: G           OE
5.2.0-0.bpo.2-amd64 #1 Debian 5.2.9-2~bpo10+1
[   51.467611] Hardware name: Dell Inc. MM061
/0XD720, BIOS A17 06/13/2007
[   51.467614] RIP: 0010:report_addr+0x33/0x60
[   51.467617] Code: 48 8b 87 28 02 00 00 48 89 34 24 48 85 c0 74 2d 4c 8b 00
b8 fe ff ff ff 49 39 c0 76 14 80 3d cf 03 02 01 00 0f 84 59 05 00 00 <0f> 0b 48
83 c4 08 c3 48 83 bf 38 02 00 00 00 74 ef eb e0 80 3d b0
[   51.467620] RSP: 0018:ffffb3208112f518 EFLAGS: 00010246
[   51.467622] RAX: 00000000fffffffe RBX: ffff9e10fbb2e0b0 RCX:
0000000000000000
[   51.467624] RDX: 000000000000061e RSI: 00000000b8497880 RDI:
ffff9e10fbb2e0b0
[   51.467626] RBP: 000000000000061e R08: 000000003fffffff R09:
0000000000000069
[   51.467628] R10: 0000000000000000 R11: ffffb3208112f1d0 R12:
0000000000000000
[   51.467630] R13: 0000000000000000 R14: ffff9e10743f28c0 R15:
ffff9e10746e7a00
[   51.467633] FS:  00007fb32de70b80(0000) GS:ffff9e10fc900000(0000)
knlGS:0000000000000000
[   51.467635] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   51.467637] CR2: 000055b08e607928 CR3: 00000000b5e42000 CR4:
00000000000006e0
[   51.467639] Call Trace:
[   51.467647]  dma_direct_map_page+0xd6/0xf0
[   51.467654]  b44_alloc_rx_skb+0x279/0x3d0 [b44]
[   51.467659]  b44_init_rings+0xad/0x180 [b44]
[   51.467662]  b44_open+0xf7/0x3e0 [b44]
[   51.467667]  __dev_open+0xcd/0x160
[   51.467670]  __dev_change_flags+0x1ad/0x220
[   51.467673]  dev_change_flags+0x21/0x60
[   51.467677]  do_setlink+0x322/0xe90
[   51.467697]  ? ata_bmdma_qc_issue+0x7e/0x120 [libata]
[   51.467708]  ? ata_qc_issue+0x103/0x240 [libata]
[   51.467712]  ? cpumask_next+0x16/0x20
[   51.467716]  ? __snmp6_fill_stats64.isra.57+0x6b/0x110
[   51.467720]  ? __nla_validate_parse+0x51/0x850
[   51.467723]  __rtnl_newlink+0x53d/0x8a0
[   51.467728]  ? __kmalloc_node_track_caller+0x1cb/0x290
[   51.467732]  ? pskb_expand_head+0x74/0x2d0
[   51.467736]  ? security_sock_rcv_skb+0x2a/0x40
[   51.467739]  ? sk_filter_trim_cap+0x4f/0x210
[   51.467742]  ? netlink_attachskb+0x1d2/0x1f0
[   51.467745]  ? skb_queue_tail+0x1b/0x50
[   51.467747]  ? __netlink_sendskb+0x3a/0x50
[   51.467752]  ? security_sock_rcv_skb+0x2a/0x40
[   51.467755]  ? sk_filter_trim_cap+0x4f/0x210
[   51.467759]  ? _cond_resched+0x15/0x30
[   51.467761]  ? kmem_cache_alloc_trace+0x147/0x1c0
[   51.467764]  rtnl_newlink+0x43/0x60
[   51.467767]  rtnetlink_rcv_msg+0x2b1/0x360
[   51.467770]  ? _cond_resched+0x15/0x30
[   51.467773]  ? rtnl_calcit.isra.31+0x110/0x110
[   51.467775]  netlink_rcv_skb+0x49/0x110
[   51.467778]  netlink_unicast+0x17e/0x200
[   51.467781]  netlink_sendmsg+0x204/0x3d0
[   51.467785]  sock_sendmsg+0x4c/0x50
[   51.467788]  ___sys_sendmsg+0x29f/0x300
[   51.467791]  ? do_proc_douintvec_minmax_conv+0x50/0x50
[   51.467794]  ? __rtnl_unlock+0x25/0x50
[   51.467796]  ? netdev_run_todo+0x5e/0x290
[   51.467800]  ? addrconf_sysctl_forward+0x113/0x250
[   51.467804]  ? lockref_put_or_lock+0x67/0x90
[   51.467807]  __sys_sendmsg+0x57/0xa0
[   51.467812]  do_syscall_64+0x53/0x130
[   51.467816]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   51.467819] RIP: 0033:0x7fb32efa5467
[   51.467822] Code: 44 00 00 41 54 41 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10
e8 3b ed ff ff 44 89 e2 48 89 ee 89 df 41 89 c0 b8 2e 00 00 00 0f 05 <48> 3d 00
f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 74 ed ff ff 48
[   51.467824] RSP: 002b:00007fff8e899c20 EFLAGS: 00000293 ORIG_RAX:
000000000000002e
[   51.467827] RAX: ffffffffffffffda RBX: 0000000000000008 RCX:
00007fb32efa5467
[   51.467829] RDX: 0000000000000000 RSI: 00007fff8e899c70 RDI:
0000000000000008
[   51.467830] RBP: 00007fff8e899c70 R08: 0000000000000000 R09:
0000000000000000
[   51.467832] R10: 000055b08e515010 R11: 0000000000000293 R12:
0000000000000000
[   51.467834] R13: 0000000000000000 R14: 00007fff8e899e28 R15:
00007fff8e899e1c
[   51.467837] ---[ end trace ca9c05f575b2c1a7 ]---


I'm not alone: another user on another Inspiron 6400 is experimenting the exact
same issue, but on Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821564
...so it looks like it's a kernel regression?



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

** Model information
sys_vendor: Dell Inc.
product_name: MM061                           
product_version: 
chassis_vendor: Dell Inc.
chassis_version: 
bios_vendor: Dell Inc.
bios_version: A17
board_vendor: Dell Inc.
board_name: 0XD720
board_version: 

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

auto lo
iface lo inet loopback

allow-hotplug eth0

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
	Subsystem: Dell Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [1028:01bd]
	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
	Capabilities: <access denied>

00:01.0 PCI bridge [0604]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03) (prog-if 00 [Normal decode])
	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, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: efd00000-efefffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
	Subsystem: Dell NM10/ICH7 Family High Definition Audio Controller [1028:01bd]
	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, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 24
	Region 0: Memory at efffc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01) (prog-if 00 [Normal decode])
	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, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: efc00000-efcfffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000c01fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 4 [8086:27d6] (rev 01) (prog-if 00 [Normal decode])
	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, Cache Line Size: 64 bytes
	Interrupt: pin D routed to IRQ 19
	Bus: primary=00, secondary=0c, subordinate=0d, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: efa00000-efbfffff
	Prefetchable memory behind bridge: 00000000e0000000-00000000e01fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Dell NM10/ICH7 Family USB UHCI Controller [1028:01bd]
	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 20
	Region 4: I/O ports at bf80 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Dell NM10/ICH7 Family USB UHCI Controller [1028:01bd]
	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 B routed to IRQ 21
	Region 4: I/O ports at bf60 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Dell NM10/ICH7 Family USB UHCI Controller [1028:01bd]
	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 C routed to IRQ 22
	Region 4: I/O ports at bf40 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Dell NM10/ICH7 Family USB UHCI Controller [1028:01bd]
	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 D routed to IRQ 23
	Region 4: I/O ports at bf20 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01) (prog-if 20 [EHCI])
	Subsystem: Dell NM10/ICH7 Family USB2 EHCI Controller [1028:01bd]
	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 20
	Region 0: Memory at ffa80000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1) (prog-if 01 [Subtractive decode])
	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
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
	Memory behind bridge: ef900000-ef9fffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 01)
	Subsystem: Dell 82801GBM (ICH7-M) LPC Interface Bridge [1028:01bd]
	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
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: intel_rng, lpc_ich, leds_ss4200

00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] [8086:27c4] (rev 01) (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
	Subsystem: Dell 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] [1028:01bd]
	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 B routed to IRQ 17
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374
	Region 4: I/O ports at bfa0 [size=16]
	Capabilities: <access denied>
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, ata_generic

00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
	Subsystem: Dell NM10/ICH7 Family SMBus Controller [1028:01bd]
	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 B routed to IRQ 17
	Region 4: I/O ports at 10c0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV515/M54 [Mobility Radeon X1400] [1002:7145] (prog-if 00 [VGA controller])
	Subsystem: Dell RV515/M54 [Mobility Radeon X1400] [1028:2003]
	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, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 1: I/O ports at ee00 [size=256]
	Region 2: Memory at efdf0000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

03:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
	Subsystem: Dell Inspiron 6400 [1028:01af]
	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: 64
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at ef9fe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44

03:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (prog-if 10 [OHCI])
	Subsystem: Dell R5C832 IEEE 1394 Controller [1028:01bd]
	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: 64 (500ns min, 1000ns max)
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at ef9fd800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire_ohci

03:01.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 19) (prog-if 01)
	Subsystem: Dell R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1028:01bd]
	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: 64
	Interrupt: pin B routed to IRQ 18
	Region 0: Memory at ef9fd500 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

03:01.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 0a)
	Subsystem: Dell R5C592 Memory Stick Bus Host Adapter [1028:01bd]
	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 B routed to IRQ 18
	Region 0: Memory at ef9fd600 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: r592
	Kernel modules: r592

03:01.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 05)
	Subsystem: Dell xD-Picture Card Controller [1028:01bd]
	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 B routed to IRQ 18
	Region 0: Memory at ef9fd700 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: r852
	Kernel modules: r852

0b:00.0 Network controller [0280]: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe [1814:0781]
	Subsystem: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe [1814:2790]
	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, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at efcf0000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 005 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_VE.utf8, LC_CTYPE=es_VE.utf8 (charmap=UTF-8), LANGUAGE=es_VE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-5.2.0-0.bpo.2-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.133+deb10u1
ii  kmod                                    26-1
ii  linux-base                              4.6

Versions of packages linux-image-5.2.0-0.bpo.2-amd64 recommends:
ii  apparmor             2.13.2-10
ii  firmware-linux-free  3.4

Versions of packages linux-image-5.2.0-0.bpo.2-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.02+dfsg1-20
pn  linux-doc-5.2           <none>

Versions of packages linux-image-5.2.0-0.bpo.2-amd64 is related to:
ii  firmware-amd-graphics     20190114-2
ii  firmware-atheros          20190114-2
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>
ii  firmware-iwlwifi          20190114-2
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20190114-2
ii  firmware-misc-nonfree     20190114-2
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

[toc] | [next] | [standalone]


#65072 — Bug#939697: Kernel regression with b44 and kernels 5.x?

FromTom Maneiro <tomman@gmail.com>
Date2019-09-08 20:50 +0200
SubjectBug#939697: Kernel regression with b44 and kernels 5.x?
Message-ID<yEaq6-8cY-15@gated-at.bofh.it>
In reply to#65068
After doing some research online, I was able to find people experiencing 
the same issues across other distros with the very same NIC on 5.x kernels:

https://bugzilla.redhat.com/show_bug.cgi?id=1709671 (Fedora)
https://bbs.archlinux.org/viewtopic.php?pid=1844324#p1844324 (Arch)

Playing with the swiotlb kernel parameter is of no help - tried with 
256, 512, and 4096, but with those I get a null pointer dereference, no 
wired networking at all, and a system that can only be rebooted through 
the Magic SysRq key sequence. With swiotlb=force I get "can't perform 
DMA" errors instead.

Apparently this is the offending kernel commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/kernel/dma/direct.c?h=v5.2.13&id=55897af63091ebc2c3f239c6a6666f748113ac50
...which was merged sometime after 4.19 kernels, and it impacts the 
entire 5.x line. That commit introduced the swiotlb stuff on direct DMA 
transactions to simplify some stuff), and judging by the stackdumps on 
the affected systems, rolling it back should be enough to fix this 
issue. As I've said, kernels prior to it (which includes the 4.19 series 
used on Stable) are unaffected.

Some users might blame the following commit on b44:
https://github.com/torvalds/linux/commit/0f0ed8282e5bfdc87cdd562e58f3d90d893e7ee5#diff-5ab1294594ceb973d7ba266e32b767ea
...but it seems irrelevant IMO, despite being the sole actual change on 
the b44 driver source merged this year. But then, I'm no kernel hacker.


Surprisingly, b44 and swiotlb do have some background of not playing 
nice: https://groups.google.com/forum/#!topic/linux.kernel/GEx80ZCue1o

These wired Broadcom NICs are present on most 2005~2008-era Dell laptops 
(most notably the Inspiron 6400/E1505/640m series, which are Core/Core 2 
builds still being widely used, over a decade after its introduction), 
some Dell Optiplex desktops, and some HP computers (IIRC the Compaq 
nx6110 laptop also has a BCM4401 wired NIC). This bug not only breaks 
wired networking, it can also completely cripple networking support on 
said systems causing NetworkManager to fail or hang, blocking you from 
using any alternative NIC (be it wired or wireless, no matter the 
chipset) on said computers.

[toc] | [prev] | [next] | [standalone]


#68414 — Bug#939697: Confirming bug 939697 on HP laptop.

FromAnton Luka Šijanec <anton@sijanec.eu>
Date2020-10-21 21:10 +0200
SubjectBug#939697: Confirming bug 939697 on HP laptop.
Message-ID<B2rEK-1bY-3@gated-at.bofh.it>
In reply to#65068
Hello!

I am just replying to confirm the bug affecting my machine.

It's visible that the syslogs are flooded with similar errors from
kernel when I do `journalctl -xef`. Here's a snippet:

okt 21 20:45:56 * kernel: b44 0000:02:0e.0: swiotlb buffer is full (sz:
66 bytes), total 0 (slots), used 0 (slots)
okt 21 20:45:56 * kernel: b44 0000:02:0e.0: swiotlb buffer is full (sz:
179 bytes), total 0 (slots), used 0 (slots)
okt 21 20:45:56 * kernel: b44 0000:02:0e.0: swiotlb buffer is full (sz:
609 bytes), total 0 (slots), used 0 (slots)

I have an HP Compaq nx7400 laptop with Intel(R) Core(TM)2 CPU T5600 @
1.83GHz and 4GB of RAM and am running Ubuntu with what seems to be the
affected version:

Linux * 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC
2020 x86_64 x86_64 x86_64 GNU/Linux

I am experiencing some minor hiccups and freezes when using the
computer but I am not sure whether this is the direct cause. Sometimes,
under heavy load, my computer freezes and can only be rebooted from the
magic Alt+SysRq+B sequence. Before that, I can only see systemd-
journald pushing load average to 40 on a 2 core machine, but the logs
are never saved because the whole system hangs.

The ethernet card also matches the description, seeing from the PCI
slot number; it's probably the cause of the issue, however, browsing
the Internet works:

02:0e.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM4401-B0
100Base-TX (rev 02)

I can provide more logs - feel free to contact me.

Regards.

-- 
Anton Luka Šijanec <anton@sijanec.eu> (mail, xmpp & sip)
                   +38 6 64/176-three four five
                   ircs://irc.sijanec.eu:6697/#
Slovenija          https://šijanec.eu/
https://šijanec.eu/pgp-key.txt?F4C3E3A4DFB7254397A9F993E76135F49802CD14
Sending powered by the Synchronous grid of Continental Europe.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web