Bug#1067522: pipewire-pulse: Computer totally unresponsive while playing video on Firefox - OOM error

2024-03-22 Thread Alex Beer
Package: pipewire-pulse
Version: 1.0.3-1
Severity: normal

Dear Maintainer,
while playing youtube video on Firefox audio start lagging and quite,
except some random spikes, and often computer is completely frozen
(can't switch to console but seems shortcut has effects as seen from
logs).

Below dmesg extract.

--dmesg--
[18746.845975] Timer invoked oom-killer: 
gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=167
[18746.845984] CPU: 1 PID: 20806 Comm: Timer Not tainted 6.6.15-amd64 #1  
Debian 6.6.15-2
[18746.845987] Hardware name: LENOVO 20AWS1CK07/20AWS1CK07, BIOS GLETA2WW (2.56 
) 07/16/2021
[18746.845989] Call Trace:
[18746.845991]  
[18746.845994]  dump_stack_lvl+0x47/0x60
[18746.846001]  dump_header+0x4a/0x240
[18746.846004]  oom_kill_process+0xf9/0x190
[18746.846007]  out_of_memory+0x256/0x540
[18746.846010]  __alloc_pages_slowpath.constprop.0+0xaad/0xd60
[18746.846014]  __alloc_pages+0x30b/0x330
[18746.846017]  folio_alloc+0x1b/0x50
[18746.846021]  __filemap_get_folio+0x128/0x2c0
[18746.846025]  filemap_fault+0x153/0xb60
[18746.846028]  __do_fault+0x33/0x130
[18746.846032]  do_fault+0x2b0/0x4f0
[18746.846035]  __handle_mm_fault+0x796/0xd90
[18746.846040]  handle_mm_fault+0x17f/0x360
[18746.846043]  do_user_addr_fault+0x1ed/0x660
[18746.846049]  exc_page_fault+0x7f/0x180
[18746.846052]  asm_exc_page_fault+0x26/0x30
[18746.846056] RIP: 0033:0x7f1e5817c580
[18746.846062] Code: Unable to access opcode bytes at 0x7f1e5817c556.
[18746.846064] RSP: 002b:7f1e4c6fe428 EFLAGS: 00010246
[18746.846067] RAX: 7f1e5b087d10 RBX: 7f1e4b9616e8 RCX: 7f1e60dc4443
[18746.846069] RDX:  RSI: 7f1e4b9616e0 RDI: 7f1e45b17d80
[18746.846070] RBP: 7f1e60bcecb8 R08: 0001 R09: 1d72
[18746.846072] R10:  R11: 0246 R12: 7f1e4b9616e0
[18746.846074] R13: 7f1e45b17d80 R14: 7f1e60bcec90 R15: 7f1e45c62e50
[18746.846077]  
[18746.846079] Mem-Info:
[18746.846081] active_anon:1127237 inactive_anon:2632650 isolated_anon:0
active_file:637 inactive_file:338 isolated_file:0
unevictable:112926 dirty:752 writeback:0
slab_reclaimable:47512 slab_unreclaimable:47392
mapped:257060 shmem:1753420 pagetables:32119
sec_pagetables:0 bounce:0
kernel_misc_reclaimable:0
free:33061 free_pcp:218 free_cma:0
[18746.846086] Node 0 active_anon:4508948kB inactive_anon:10530600kB 
active_file:2548kB inactive_file:1352kB unevictable:451704kB isolated(anon):0kB 
isolated(file):0kB mapped:1028240kB dirty:3008kB writeback:0kB shmem:7013680kB 
shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:487424kB writeback_tmp:0kB 
kernel_stack:43296kB pagetables:128476kB sec_pagetables:0kB all_unreclaimable? 
no
[18746.846092] Node 0 DMA free:13312kB boost:0kB min:64kB low:80kB high:96kB 
reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB 
inactive_file:0kB unevictable:0kB writepending:0kB present:15980kB 
managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[18746.846098] lowmem_reserve[]: 0 3321 15770 15770 15770
[18746.846103] Node 0 DMA32 free:66008kB boost:0kB min:14220kB low:17772kB 
high:21324kB reserved_highatomic:0KB active_anon:1271756kB 
inactive_anon:2016448kB active_file:632kB inactive_file:0kB unevictable:83588kB 
writepending:208kB present:3556508kB managed:3490560kB mlocked:0kB bounce:0kB 
free_pcp:864kB local_pcp:116kB free_cma:0kB
[18746.846110] lowmem_reserve[]: 0 0 12449 12449 12449
[18746.846114] Node 0 Normal free:52924kB boost:0kB min:53296kB low:66620kB 
high:79944kB reserved_highatomic:0KB active_anon:3236252kB 
inactive_anon:8515092kB active_file:2700kB inactive_file:456kB 
unevictable:368116kB writepending:2800kB present:13080576kB managed:12755512kB 
mlocked:7904kB bounce:0kB free_pcp:8kB local_pcp:4kB free_cma:0kB
[18746.846120] lowmem_reserve[]: 0 0 0 0 0
[18746.846124] Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 
0*512kB 1*1024kB (U) 2*2048kB (UM) 2*4096kB (M) = 13312kB
[18746.846138] Node 0 DMA32: 327*4kB (UME) 346*8kB (UME) 242*16kB (UE) 130*32kB 
(UME) 87*64kB (UME) 143*128kB (UME) 67*256kB (UME) 24*512kB (UME) 0*1024kB 
0*2048kB 0*4096kB = 65420kB
[18746.846156] Node 0 Normal: 320*4kB (UME) 144*8kB (UME) 103*16kB (UME) 
139*32kB (UME) 313*64kB (UME) 60*128kB (UME) 49*256kB (ME) 9*512kB (ME) 
0*1024kB 0*2048kB 0*4096kB = 53392kB
[18746.846173] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 
hugepages_size=1048576kB
[18746.846175] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 
hugepages_size=2048kB
[18746.846177] 1760641 total pagecache pages
[18746.846178] 4984 pages in swap cache
[18746.846179] Free swap  = 0kB
[18746.846180] Total swap = 8388604kB
[18746.846181] 4163266 pages RAM
[18746.846182] 0 pages HighMem/MovableOnly
[18746.846183] 97908 pages reserved
[18746.846184] 0 pages hwpoisoned
[18746.846185] Tasks state 

Bug#1016426: broadcom-sta-dkms: No network detected with bcm4322 on MBP7,1

2022-07-31 Thread Alex Beer
Package: broadcom-sta-dkms
Version: 6.30.223.271-20
Severity: normal
X-Debbugs-Cc: emse...@gmail.com

Dear Maintainer,
I go no wifi network after boot ("nmcli d w l" list nothing), sometimes network 
are listed after suspend.
From dmseg:
[  119.095659] sr 1:0:0:0: [sr0] tag#7 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  119.095671] sr 1:0:0:0: [sr0] tag#7 Sense Key : Illegal Request [current] 
[  119.095676] sr 1:0:0:0: [sr0] tag#7 Add. Sense: Read of scrambled sector 
without authentication
[  119.095680] sr 1:0:0:0: [sr0] tag#7 CDB: Read(10) 28 00 00 2c 94 40 00 00 40 
00
[  119.095683] I/O error, dev sr0, sector 11686144 op 0x0:(READ) flags 0x80700 
phys_seg 2 prio class 0
[  119.206761] sr 1:0:0:0: [sr0] tag#23 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  119.206773] sr 1:0:0:0: [sr0] tag#23 Sense Key : Illegal Request [current] 
[  119.206777] sr 1:0:0:0: [sr0] tag#23 Add. Sense: Read of scrambled sector 
without authentication
[  119.206782] sr 1:0:0:0: [sr0] tag#23 CDB: Read(10) 28 00 00 2c 94 5e 00 00 
02 00
[  119.206784] I/O error, dev sr0, sector 11686264 op 0x0:(READ) flags 0x0 
phys_seg 1 prio class 0
[  119.206790] Buffer I/O error on dev sr0, logical block 1460783, async page 
read
[  120.502731] rfkill: input handler disabled
[  121.654995] UDF-fs: INFO Mounting volume 'DVDVolume', timestamp 2036/02/07 
10:58 (1000)
[  123.434454] sr 1:0:0:0: [sr0] tag#8 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  123.434467] sr 1:0:0:0: [sr0] tag#8 Sense Key : Illegal Request [current] 
[  123.434472] sr 1:0:0:0: [sr0] tag#8 Add. Sense: Read of scrambled sector 
without authentication
[  123.434476] sr 1:0:0:0: [sr0] tag#8 CDB: Read(10) 28 00 00 2c 94 40 00 00 40 
00
[  123.434479] I/O error, dev sr0, sector 11686144 op 0x0:(READ) flags 0x80700 
phys_seg 21 prio class 0
[  123.534452] sr 1:0:0:0: [sr0] tag#10 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  123.534463] sr 1:0:0:0: [sr0] tag#10 Sense Key : Illegal Request [current] 
[  123.534468] sr 1:0:0:0: [sr0] tag#10 Add. Sense: Read of scrambled sector 
without authentication
[  123.534473] sr 1:0:0:0: [sr0] tag#10 CDB: Read(10) 28 00 00 2c 94 41 00 00 
01 00
[  123.534475] I/O error, dev sr0, sector 11686148 op 0x0:(READ) flags 0x0 
phys_seg 1 prio class 0
[  123.534482] Buffer I/O error on dev sr0, logical block 2921537, async page 
read
[  187.686681] sr 1:0:0:0: [sr0] tag#10 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  187.686693] sr 1:0:0:0: [sr0] tag#10 Sense Key : Illegal Request [current] 
[  187.686697] sr 1:0:0:0: [sr0] tag#10 Add. Sense: Read of scrambled sector 
without authentication
[  187.686702] sr 1:0:0:0: [sr0] tag#10 CDB: Read(10) 28 00 00 0b d4 48 00 00 
40 00
[  187.686704] I/O error, dev sr0, sector 3100960 op 0x0:(READ) flags 0x80700 
phys_seg 2 prio class 0
[  188.646510] sr 1:0:0:0: [sr0] tag#11 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  188.646521] sr 1:0:0:0: [sr0] tag#11 Sense Key : Illegal Request [current] 
[  188.646526] sr 1:0:0:0: [sr0] tag#11 Add. Sense: Read of scrambled sector 
without authentication
[  188.646530] sr 1:0:0:0: [sr0] tag#11 CDB: Read(10) 28 00 00 0b d4 88 00 00 
40 00
[  188.646533] I/O error, dev sr0, sector 3101216 op 0x0:(READ) flags 0x80700 
phys_seg 10 prio class 0
[  188.734483] sr 1:0:0:0: [sr0] tag#12 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  188.734495] sr 1:0:0:0: [sr0] tag#12 Sense Key : Illegal Request [current] 
[  188.734500] sr 1:0:0:0: [sr0] tag#12 Add. Sense: Read of scrambled sector 
without authentication
[  188.734504] sr 1:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 0b d4 48 00 00 
02 00
[  188.734507] I/O error, dev sr0, sector 3100960 op 0x0:(READ) flags 0x0 
phys_seg 2 prio class 0
[  188.734513] Buffer I/O error on dev sr0, logical block 775240, async page 
read
[  188.734518] Buffer I/O error on dev sr0, logical block 775241, async page 
read
[  188.766693] sr 1:0:0:0: [sr0] tag#13 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  188.766706] sr 1:0:0:0: [sr0] tag#13 Sense Key : Illegal Request [current] 
[  188.766710] sr 1:0:0:0: [sr0] tag#13 Add. Sense: Read of scrambled sector 
without authentication
[  188.766715] sr 1:0:0:0: [sr0] tag#13 CDB: Read(10) 28 00 00 0b d4 48 00 00 
01 00
[  188.766718] I/O error, dev sr0, sector 3100960 op 0x0:(READ) flags 0x0 
phys_seg 1 prio class 0
[  188.766724] Buffer I/O error on dev sr0, logical block 775240, async page 
read
[  188.802496] sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_OK cmd_age=0s
[  188.802508] sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] 
[  188.802513] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector 
without authentication
[  188.802517] sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 0b d4 48 00 00 01 
00
[  188.802520] I/O error, dev sr0, sector 3100960 op 0x0:(READ) flags 0x0 

Bug#1011529: On MacBook Pro (P8600) wifi card with BCM4322 chipset does not work

2022-05-24 Thread Alex Beer
Source: broadcom-sta
Version: 6.30.223.271-19
Followup-For: Bug #973365

Dear Maintainer,
I'm using this driver since performance with b43 are worst (ie with wl 
dl:36Mbit/s, U:20Mbits/s with b43 DL:9Mbits/s,UL 2Mbits/s).
After boot running "nmcli d w l" list no network, if I close lid reopen and 
rerun the command wifi network are listed.
When no wifi network are listed I got in dmesg these lines:
[  125.605989] ERROR @wl_notify_scan_status :
[  125.606003] wlp2s0 Scan_results error (-22)
after sleep/wake I got these lines, when wifi connection works:
[  669.401258] wl :02:00.0 wlp2s0: Current addr:  00 26 bb 0e ae 9b>
[  669.401270] wl :02:00.0 wlp2s0: Expected addr: 00 00 00 00 00 00>
[  669.401273] [ cut here ]
[  669.401275] netdevice: wlp2s0: Incorrect netdev->dev_addr
[  669.401303] WARNING: CPU: 1 PID: 545 at net/core/dev_addr_lists.c:51>
and here complete log(two sleep?wake cycles):

[   26.373248] rfkill: input handler disabled
[   28.336234] kauditd_printk_skb: 16 callbacks suppressed
[   28.336239] audit: type=1400 audit(1653263808.353:28): 
apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1099 
comm="cups-browsed" capability=23  capname="sys_nice"
[   28.438008] NFSD: Using nfsdcld client tracking operations.
[   28.438019] NFSD: no clients to reclaim, skipping NFSv4 grace period 
(net f000)
[   40.479907] rfkill: input handler enabled
[   40.750326] nouveau :04:00.0: firmware: failed to load 
nouveau/nvaf_fuc084 (-2)
[   40.750337] nouveau :04:00.0: Direct firmware load for 
nouveau/nvaf_fuc084 failed with error -2
[   40.750356] nouveau :04:00.0: firmware: failed to load 
nouveau/nvaf_fuc084d (-2)
[   40.750360] nouveau :04:00.0: Direct firmware load for 
nouveau/nvaf_fuc084d failed with error -2
[   40.750363] nouveau :04:00.0: msvld: unable to load firmware data
[   40.750366] nouveau :04:00.0: msvld: init failed, -19
[   44.050440] rfkill: input handler disabled
[  111.077930] ERROR @wl_notify_scan_status : 
[  111.077943] wlp2s0 Scan_results error (-22)
[  124.502609] wlan0: Broadcom BCM432b 802.11 Hybrid Wireless 
Controller 6.30.223.271 (r587334)
[  124.508835] wl :02:00.0 wlp2s0: renamed from wlan0
[  124.542969] wl :02:00.0 wlp2s0: Current addr:  00 26 bb 0e ae 9b 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  124.542981] wl :02:00.0 wlp2s0: Expected addr: 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  124.542984] [ cut here ]
[  124.542986] netdevice: wlp2s0: Incorrect netdev->dev_addr
[  124.543009] WARNING: CPU: 0 PID: 545 at 
net/core/dev_addr_lists.c:517 dev_addr_check.cold+0x43/0x7d
[  124.543017] Modules linked in: wl(POE) rfcomm snd_seq_dummy 
snd_hrtimer snd_seq snd_seq_device qrtr bnep btusb btrtl btbcm btintel btmtk 
bluetooth jitterentropy_rng nls_ascii nls_cp437 sha512_ssse3 vfat fat 
sha512_generic coretemp kvm_intel snd_hda_codec_hdmi ctr joydev drbg 
snd_hda_codec_cirrus snd_hda_codec_generic ledtrig_audio ansi_cprng kvm 
applesmc irqbypass uvcvideo snd_hda_intel pcspkr efi_pstore videobuf2_vmalloc 
snd_intel_dspcfg videobuf2_memops snd_intel_sdw_acpi snd_hda_codec ecdh_generic 
ecc videobuf2_v4l2 videobuf2_common snd_hda_core snd_hwdep videodev snd_pcm mc 
bcm5974 snd_timer apple_mfi_fastcharge sg snd soundcore sbs acpi_als 
industrialio_triggered_buffer kfifo_buf evdev sbshc industrialio ac apple_bl 
acpi_cpufreq cfg80211 nfsd auth_rpcgss rfkill nfs_acl lockd ipmi_devintf 
ipmi_msghandler grace msr parport_pc ppdev lp parport sunrpc fuse configfs 
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 btrfs blake2b_generic 
zstd_compress efivarfs raid10 raid456
[  124.543113]  async_raid6_recov async_memcpy async_pq async_xor 
async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear 
md_mod uas usb_storage hid_appleir hid_apple hid_generic usbhid hid sd_mod 
t10_pi crc_t10dif crct10dif_generic sr_mod crct10dif_common cdrom ohci_pci 
nouveau ahci libahci tg3 mxm_wmi wmi i2c_algo_bit libata drm_ttm_helper ttm 
drm_kms_helper cec rc_core libphy drm ohci_hcd ehci_pci ehci_hcd usbcore 
firewire_ohci firewire_core ptp pps_core crc_itu_t scsi_mod scsi_common 
usb_common video button [last unloaded: wl]
[  124.543174] CPU: 0 PID: 545 Comm: NetworkManager Tainted: PW 
 OE 5.17.0-1-amd64 #1  Debian 5.17.3-1
[  124.543179] Hardware name: Apple Inc. MacBookPro7,1/Mac-F222BEC8, 
BIOS 68.0.0.0.0 06/13/2019
[  124.543181] RIP: 0010:dev_addr_check.cold+0x43/0x7d
[  124.543185] Code: 01 e8 76 3e fc ff 0f 0b 49 c7 c4 c3 76 b6 bd 80 3b 
00 75 30 48 c7 c6 ce 76 b6 bd 4c 89 e2