b44 Ethernet driver null pointer during initialization

Bug #1821564 reported by Boris Gjenero
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

This problem started after upgrading to Ubuntu 19.04. It was not present with 4.18.0-16-generic kernel and is present in the 4.18.0-15-generic kernel. Ever time during boot there is a null pointer dereference in the b44 driver for the on-board Ethernet on this Dell Inspiron 6400. After that I can log in but networking related commands hang and the computer eventually locks up. Blacklisting the b44 module so it doesn't load works as a workaround, though of course the on board Ethernet can't be used that way. The b43 WiFi still works then. The following is pasted from the log of one crash:

6.483003] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
6.483052] #PF error: [normal kernel read fault]
6.483093] PGD 0 P4D 0
6.483133] Oops: 0000 [#1] SMP PTI
6.483175] CPU: 0 PID: 725 Comm: NetworkManager Tainted: G W 5.0.0-7-generic #8-Ubuntu
6.483217] Hardware name: Dell Inc. MM061 /0XD720, BIOS A17 06/13/2007
6.483267] RIP: 0010:swiotlb_tbl_map_single+0x120/0x310
6.483310] Code: 4c 8b 45 a8 4c 8b 1d 0f b2 a9 01 89 d3 45 31 d2 44 8b 4d a4 44 89 c7 41 89 dc 4b 8d 44 25 00 48 21 f0 48 01 f8 49 39 c7 72 0a <47> 39 0c a3 0f 83 cb 00 00 00 42 8d 04 33 48 89 c3 48 39 c1 41 0f
6.483368] RSP: 0018:ffffbc7040c7f3c0 EFLAGS: 00010016
6.483416] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
6.483467] RDX: 0000000000000000 RSI: 00000000001fffff RDI: 0000000000000001
6.483521] RBP: ffffbc7040c7f420 R08: 0000000000000001 R09: 0000000000000001
6.483572] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
6.483621] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000200000
6.483670] FS: 00007f2cb49ccbc0(0000) GS:ffff9d8a4c400000(0000) knlGS:0000000000000000
6.483726] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
6.483773] CR2: 0000000000000000 CR3: 00000000c72ce000 CR4: 00000000000006f0
6.483820] Call Trace:
6.483869] swiotlb_map+0x6c/0x1c0
6.483915] dma_direct_map_page+0xc5/0x160
6.483965] b44_alloc_rx_skb+0x18e/0x3f0 [b44]
6.484013] b44_init_rings+0xbe/0x1b0 [b44]
6.484060] b44_open+0xfc/0x3f0 [b44]
6.484107] __dev_open+0xd4/0x170
6.484153] __dev_change_flags+0x18f/0x200
6.484199] dev_change_flags+0x27/0x60
6.484246] do_setlink+0x31c/0xe30
6.484292] ? __nla_parse+0xf1/0x120
6.484340] ? cpumask_next+0x1b/0x20
6.484388] ? __snmp6_fill_stats64.isra.57+0xf6/0x120
6.484439] ? __nla_parse+0x38/0x120
6.484488] __rtnl_newlink+0x531/0x910
6.484535] ? __nla_put+0x20/0x30
6.484586] ? __kmalloc_node_track_caller+0x1e6/0x2b0
6.484636] ? pskb_expand_head+0x70/0x2e0
6.484693] ? __kmalloc_reserve.isra.53+0x31/0x90
6.484751] ? apparmor_inet_conn_request+0x40/0x40
6.484822] ? security_sock_rcv_skb+0x2f/0x50
6.484879] ? skb_queue_tail+0x43/0x50
6.484934] ? __netlink_sendskb+0x53/0x70
6.484992] ? syscall_return_via_sysret+0xf/0x7f
6.485043] ? __switch_to_asm+0x40/0x70
6.485097] ? syscall_return_via_sysret+0xf/0x7f
6.485153] ? _cond_resched+0x19/0x30
6.485204] ? kmem_cache_alloc_trace+0x153/0x1d0
6.485253] rtnl_newlink+0x48/0x70
6.485301] rtnetlink_rcv_msg+0x213/0x300
6.485348] ? __d_lookup+0x126/0x140
6.485393] ? rtnl_calcit.isra.31+0x100/0x100
6.485440] netlink_rcv_skb+0x4f/0x120
6.485485] rtnetlink_rcv+0x15/0x20
6.485518] netlink_unicast+0x1a1/0x260
6.485518] netlink_sendmsg+0x20d/0x3c0
6.485518] sock_sendmsg+0x3e/0x50
6.485518] ___sys_sendmsg+0x295/0x2f0
6.485518] ? rtnl_unlock+0xe/0x10
6.485518] ? addrconf_sysctl_forward+0x114/0x280
6.485518] ? dev_forward_change+0x140/0x140
6.485518] ? __fget_light+0x54/0x60
6.485518] __sys_sendmsg+0x5c/0xa0
6.485518] __x64_sys_sendmsg+0x1f/0x30
6.485518] do_syscall_64+0x5a/0x110
6.485518] entry_SYSCALL_64_after_hwframe+0x44/0xa9
6.485518] RIP: 0033:0x7f2cb6153cb7
6.485518] 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
6.485518] RSP: 002b:00007ffe93a35c80 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
6.485518] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f2cb6153cb7
6.485518] RDX: 0000000000000000 RSI: 00007ffe93a35cd0 RDI: 0000000000000008
6.485518] RBP: 00007ffe93a35cd0 R08: 0000000000000000 R09: 0000000000000000
6.485518] R10: 00007f2cb6139ca0 R11: 0000000000000293 R12: 0000000000000000
6.485518] R13: 00005598b029e880 R14: 00007ffe93a35e7c R15: 0000000000000000
6.485518] Modules linked in: arc4 b43 cordic snd_hda_codec_hdmi ttm bcma dell_laptop snd_hda_codec_idt snd_hda_codec_generic dell_smm_hwmon drm_kms_helper dell_wmi ledtrig_audio snd_hda_intel kvm mac80211 dell_smbios dcdbas drm joydev snd_hda_codec r852 irqbypass input_leds sm_common sparse_keymap wmi_bmof dell_wmi_descriptor snd_hda_core i2c_algo_bit snd_hwdep cfg80211 serio_raw snd_pcm nand fb_sys_fops snd_timer r592 syscopyarea nand_ecc snd nand_bch sysfillrect soundcore sysimgblt bch memstick mtd mac_hid sch_fq_codel cuse coretemp parport_pc ppdev lp parport ip_tables x_tables autofs4 ssb_hcd b44 gpio_ich psmouse firewire_ohci sdhci_pci pata_acpi cqhci lpc_ich sdhci firewire_core mii crc_itu_t ssb wmi video
6.485518] CR2: 0000000000000000
6.486827] ---[ end trace e1f8c8555dcc75b5 ]---
6.486884] RIP: 0010:swiotlb_tbl_map_single+0x120/0x310
6.486939] Code: 4c 8b 45 a8 4c 8b 1d 0f b2 a9 01 89 d3 45 31 d2 44 8b 4d a4 44 89 c7 41 89 dc 4b 8d 44 25 00 48 21 f0 48 01 f8 49 39 c7 72 0a <47> 39 0c a3 0f 83 cb 00 00 00 42 8d 04 33 48 89 c3 48 39 c1 41 0f
6.487025] RSP: 0018:ffffbc7040c7f3c0 EFLAGS: 00010016
6.487078] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
6.487131] RDX: 0000000000000000 RSI: 00000000001fffff RDI: 0000000000000001
6.487186] RBP: ffffbc7040c7f420 R08: 0000000000000001 R09: 0000000000000001
6.487241] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
6.487292] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000200000
6.487346] FS: 00007f2cb49ccbc0(0000) GS:ffff9d8a4c400000(0000) knlGS:0000000000000000
6.487409] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
6.487462] CR2: 0000000000000000 CR3: 00000000c72ce000 CR4: 00000000000006f0

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-5.0.0-7-generic 5.0.0-7.8
ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
Uname: Linux 5.0.0-7-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.0.0-7-generic.
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC9200 Analog [STAC9200 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bgjenero 1662 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xefffc000 irq 24'
   Mixer name : 'SigmaTel STAC9200'
   Components : 'HDA:83847690,102801bd,00102201 HDA:14f12bfa,14f100c3,00090000'
   Controls : 22
   Simple ctrls : 9
CurrentDesktop: XFCE
Date: Mon Mar 25 02:13:47 2019
HibernationDevice: RESUME=UUID=62d89c78-536c-42ab-968d-463122f8c3a2
InstallationDate: Installed on 2012-01-19 (2622 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 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
MachineType: Dell Inc. MM061
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-7-generic root=UUID=d590f141-7b8d-421d-84b3-baa43181a241 ro resume=/dev/sda6 pcie_aspm=force
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-7-generic N/A
 linux-backports-modules-5.0.0-7-generic N/A
 linux-firmware 1.178
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to disco on 2019-03-25 (0 days ago)
dmi.bios.date: 06/13/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A17
dmi.board.name: 0XD720
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA17:bd06/13/2007:svnDellInc.:pnMM061:pvr:rvnDellInc.:rn0XD720:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: MM061
dmi.sys.vendor: Dell Inc.

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: cosmic
Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

Sorry, I mean bug is not present in 4.18.0-16-generic and present in 5.0.0-7-generic

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Ok, I failed to find where the regression comes from.

Would it be possible for you to do a kernel bisection?

First, find the last good -rc kernel and the first bad -rc kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect good $(the good version you found)
$ git bisect bad $(the bad version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If the issue still happens,
$ git bisect bad
Otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the commit that causes the regression.

Revision history for this message
Hans P. Möller (hmollercl) wrote :

I just tested Kernel 4.20.17 an it is good. I will do the bisect but I don't have much time at this moment

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

linux-image-unsigned-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb is good but linux-image-unsigned-5.0.0-050000rc1-generic_5.0.0-050000rc1.201901062130_amd64.deb is bad. I'm not sure I'll have time for a git bisect.

Revision history for this message
Hans P. Möller (hmollercl) wrote :

@Boris please test kernel 5.1.0-050100rc3-generic (or above) at least #1822913 was solved with this kernel

Revision history for this message
Nelson Hennemann F (nelsonhef) wrote :
Download full text (5.5 KiB)

@Hans P Möller, i've tested with kernel 5.1.0-050100rc3-generic and the b44 module loaded and worked fine, but it created some others warnings in the dmesg:

[ 44.045886] b44 0000:02:09.0: swiotlb buffer is full (sz: 1566 bytes)
[ 44.045906] WARNING: CPU: 1 PID: 565 at kernel/dma/direct.c:43 report_addr+0x37/0x60
[ 44.045908] Modules linked in: snd_hda_codec_analog snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep r8188eu(C) snd_pcm snd_seq_midi snd_seq_midi_event lib80211 radeon cfg80211 snd_rawmidi joydev input_leds dcdbas coretemp ttm drm_kms_helper snd_seq drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect serio_raw snd_seq_device sysimgblt snd_timer snd soundcore mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 pata_acpi hid_generic usbhid hid psmouse b44 ssb mii pata_atiixp i2c_piix4 ahci libahci
[ 44.045940] CPU: 1 PID: 565 Comm: NetworkManager Tainted: G WC 5.1.0-050100rc3-generic #201904010618
[ 44.045942] Hardware name: Dell Inc. OptiPlex 320 /0UT237, BIOS 1.1.12 06/17/2009
[ 44.045944] RIP: 0010:report_addr+0x37/0x60
[ 44.045946] Code: 48 8b 87 30 02 00 00 48 89 75 f8 48 85 c0 74 2a 4c 8b 00 b8 fe ff ff ff 49 39 c0 76 11 80 3d f7 6b 72 01 00 0f 84 cf 07 00 00 <0f> 0b c9 c3 48 83 bf 40 02 00 00 00 74 f2 eb e3 80 3d db 6b 72 01
[ 44.045947] RSP: 0018:ffff9fb4808af478 EFLAGS: 00010246
[ 44.045949] RAX: 00000000fffffffe RBX: ffff88a93bc1f0b0 RCX: 0000000000000000
[ 44.045950] RDX: 000000000000061e RSI: 000000007a2df880 RDI: ffff88a93bc1f0b0
[ 44.045951] RBP: ffff9fb4808af480 R08: 000000003fffffff R09: 0000000000000004
[ 44.045952] R10: 0000000000000000 R11: 0000000000000001 R12: 000000000000061e
[ 44.045953] R13: ffff88a92cc35500 R14: 0000000000000000 R15: ffff88a93c2898c0
[ 44.045955] FS: 00007fd85987abc0(0000) GS:ffff88a93fc40000(0000) knlGS:0000000000000000
[ 44.045956] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 44.045957] CR2: 00007f0e4401e008 CR3: 0000000033e44000 CR4: 00000000000006e0
[ 44.045958] Call Trace:
[ 44.045964] dma_direct_map_page+0xdf/0xf0
[ 44.045971] b44_alloc_rx_skb+0x18e/0x3f0 [b44]
[ 44.045973] b44_init_rings+0xbe/0x1b0 [b44]
[ 44.045976] b44_open+0xfc/0x3f0 [b44]
[ 44.045980] __dev_open+0xd4/0x170
[ 44.045982] __dev_change_flags+0x18f/0x200
[ 44.045984] dev_change_flags+0x27/0x60
[ 44.045986] do_setlink+0x32c/0xe30
[ 44.045991] ? __nla_parse+0xf1/0x120
[ 44.045995] ? cpumask_next+0x1b/0x20
[ 44.045998] ? __snmp6_fill_stats64.isra.57+0xf6/0x120
[ 44.046000] ? __nla_parse+0x38/0x120
[ 44.046002] __rtnl_newlink+0x52a/0x8f0
[ 44.046004] ? __nla_put+0x20/0x30
[ 44.046007] ? __kmalloc_node_track_caller+0x1db/0x2b0
[ 44.046009] ? pskb_expand_head+0x70/0x2e0
[ 44.046011] ? __kmalloc_reserve.isra.53+0x31/0x90
[ 44.046014] ? apparmor_inet_conn_request+0x40/0x40
[ 44.046017] ? security_sock_rcv_skb+0x2f/0x50
[ 44.046019] ? sk_filter_trim_cap+0x48/0x210
[ 44.046020] ? skb_queue_tail+0x43/0x50
[ 44.046024] ? __netlink_sendskb+0x53/0x70
[ 44.046029] ? fib6_clean_node+0x40/0x180
[ 44.046032] ? _cond_re...

Read more...

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

I don't normally use Ethernet on my laptop, and for some reason the b44 module for Ethernet doesn't get loaded normally. So I didn't notice this. But I'm getting the same problem reported in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821564/comments/8 in Ubuntu 19.10 with linux-image-5.3.0-24-generic on my Inspiron 6400. This Debian bug report has some ideas about a cause: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939697

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

This problem still exists in Ubuntu Focal Fossa (development branch) 20.04 with linux-image-5.4.0-21-generic. It also exists in linux-image-unsigned-5.6.2-050602-generic_5.6.2-050602.202004020822_amd64.deb

With linux-image-5.4.0-21-generic I didn't get any error messages after "insmod b44" in recovery mode. Also I normally booted linux-image-5.4.0-21-generic with mem=1G (limiting available memory to 1 GB) twice and also didn't get error messages after "sudo insmod b44". These symptoms are consistent with the hypothesis that swiotlb bounce buffers normally get allocated above 1 GB, causing a problem for b44 because the device can't do DMA above 1 GB and the driver can't handle this situation. That's the same problem discussed in this thread from 2011 https://groups.google.com/forum/#!topic/linux.kernel/GEx80ZCue1o

Obviously limiting memory to 1 GB has an unacceptable performance penalty, but it's nice to have at least one way to get working Ethernet.

Revision history for this message
Nelson Hennemann F (nelsonhef) wrote :

@Boris Gjenero, try using the kernel parameter "iommu=soft" instead of limiting the memory to 1GB. It will force the use of a 64MB swiotlb bounce buffer to workaround this issue. Tested with Focal Fossa Beta ISO (Kernel 5.4.0-21-generic) on my Optiplex 320 with 2GB of RAM.

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

 iommu=soft does not help, and I don't understand why it would help theoretically when the Core 2 Duo T7400 CPU doesn't have a hardware IOMMU. The problem seems to be that the 64 MB buffer is allocated beyond 1 GB.

One theoretical good workaround would be to boot up with only 1 GB and then enable the rest of memory. But I'm not sure how to do that.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please test latest 20.04 kernel.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Boris Gjenero (boris-gjenero) wrote :
Download full text (6.4 KiB)

I don't see a null pointer message but the b44 driver is still broken in 5.4.0-33-generic on my Dell Inspiron 6400:

[ 3148.539194] ssb: Found chip with id 0x4401, rev 0x02 and package 0x00
[ 3148.599317] b44 0000:03:00.0: Sonics Silicon Backplane found on PCI device 0000:03:00.0
[ 3148.599414] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[ 3148.627839] b44 ssb1:0 eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:15:c5:b3:8a:ba
[ 3148.684246] swiotlb_tbl_map_single: 14 callbacks suppressed
[ 3148.684251] b44 0000:03:00.0: swiotlb buffer is full (sz: 1566 bytes), total 0 (slots), used 0 (slots)
[ 3148.684261] ------------[ cut here ]------------
[ 3148.684267] WARNING: CPU: 0 PID: 36638 at kernel/dma/direct.c:35 report_addr+0x37/0x60
[ 3148.684268] Modules linked in: b44 mii iptable_filter bpfilter ccm b43 dell_laptop dell_smm_hwmon snd_hda_codec_hdmi cordic kvm snd_hda_codec_idt snd_hda_codec_generic bcma ledtrig_audio radeon dell_wmi snd_hda_intel snd_intel_dspcfg dell_smbios dcdbas input_leds joydev mac80211 snd_hda_codec r852 sparse_keymap wmi_bmof serio_raw dell_wmi_descriptor ttm sm_common snd_hda_core nand snd_hwdep drm_kms_helper nand_ecc snd_pcm cfg80211 bch i2c_algo_bit snd_timer fb_sys_fops r592 nandcore mtd memstick syscopyarea sysfillrect snd libarc4 sysimgblt soundcore mac_hid sch_fq_codel coretemp parport_pc ppdev lp parport drm ip_tables x_tables autofs4 ssb_hcd gpio_ich pata_acpi i2c_i801 psmouse lpc_ich firewire_ohci sdhci_pci cqhci firewire_core sdhci crc_itu_t ssb wmi video
[ 3148.684314] CPU: 0 PID: 36638 Comm: NetworkManager Not tainted 5.4.0-33-generic #37-Ubuntu
[ 3148.684315] Hardware name: Dell Inc. MM061 /0XD720, BIOS A17 06/13/2007
[ 3148.684318] RIP: 0010:report_addr+0x37/0x60
[ 3148.684320] Code: 48 8b 87 28 02 00 00 48 89 75 f8 48 85 c0 74 2a 4c 8b 00 b8 fe ff ff ff 49 39 c0 76 11 80 3d db c3 71 01 00 0f 84 7d 07 00 00 <0f> 0b c9 c3 48 83 bf 38 02 00 00 00 74 f2 eb e3 80 3d bf c3 71 01
[ 3148.684321] RSP: 0018:ffff9ae68055b450 EFLAGS: 00010246
[ 3148.684323] RAX: 00000000fffffffe RBX: 0000000000000000 RCX: 0000000000000000
[ 3148.684324] RDX: 000000000000061e RSI: 000000006b440a80 RDI: ffff8cb34b4db0b0
[ 3148.684325] RBP: ffff9ae68055b458 R08: 000000003fffffff R09: 0000000000000004
[ 3148.684327] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8cb2f8b0c000
[ 3148.684328] R13: 000000000000061e R14: ffff8cb2f45cef00 R15: ffff8cb2f96ac8c0
[ 3148.684330] FS: 00007f02e05ca240(0000) GS:ffff8cb34c600000(0000) knlGS:0000000000000000
[ 3148.684331] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3148.684333] CR2: 00007f5935e43f28 CR3: 00000000c6128000 CR4: 00000000000006f0
[ 3148.684334] Call Trace:
[ 3148.684340] dma_direct_map_page+0xdc/0xf0
[ 3148.684347] b44_alloc_rx_skb+0x1bb/0x4a0 [b44]
[ 3148.684348] ? dma_direct_alloc_pages+0x93/0x130
[ 3148.684351] b44_init_rings+0xb8/0x190 [b44]
[ 3148.684354] b44_open+0xfc/0x470 [b44]
[ 3148.684357] __dev_open+0xd4/0x170
[ 3148.684359] __dev_change_flags+0x191/0x1f0
[ 3148.684361] dev_change_flags+0x26/0x60
[ 3148.684364] do_setlink+0x82e/0x980
[ 3148.684368] ? cpumask_next+0x1b/0x20
[ 3148.684371] ? __snmp6_...

Read more...

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc3/

If mainline kernel doesn't solve the issue please do a kernel bisection.

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

In Ubuntu 21.10 with 5.13.0-16-generic kernel, I don't get any dmesg errors after I "modprobe b44" and Ethernet works initially at reasonable speed, but the whole system freezes totally after a few minutes. I suppose this means the b44 driver still doesn't work properly, because I don't get such freezes when using WiFi. Though I don't know for sure, because I don't have any error messages.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Does kernel parameter "pcie_aspm=off" help?

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

No, "pcie_aspm=off" does not help.

I also tried uninstalling broadcom-sta-dkms. It blacklists the b44 module via /etc/modprobe.d/broadcom-sta-dkms.conf and also https://wiki.debian.org/wl says that b44 is incompatible with wl. This did not help either.

My laptop seems fine with just having the b44 module loaded. Lockups only happen when I plug in the Ethernet cable and start using it. The lockup seems total, with even Magic SysRq from the laptop's own keyboard doing absolutely nothing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.