Update #Resolved:
The original title was "prevent/block system extension from loading (smbfs causes konstant kernel panic)".
I think I found what differs in my setup from most other users and leads to the problems with smbfs.
I therefore changed the title accordingly.
-> Post #8
tl;dr: A windows 10 machine in my network has SMBv1 enabled via the "SMB 1.0/CIFS-Server" feature.
This seems to trigger "com.apple.filesystems.smbfs" on all of my Macs and sooner or later causes kernel panics.
Happening since the first release of macOS Big Sur.
______________________________________________
Hello,
on a normal Big Sur install (non Open Core), is there a way to prevent a specific kernel extension from being loaded?
In my case, "filesystems.smbfs" causes constant kernel panics when a Thunderbolt device is connected.
I don't use SMB but as soon as I connect my machines to a network (WiFi, ethernet) the "com.apple.filesystems.smbfs" from "/System/Library/Extensions/smbfs.kext" gets automatically loaded for an unknown reason.
With disconnected network and therefore no loaded "smbfs", there are no problems whatsoever.
The cause must be in my network as I get the SMB caused kernel panic on every device (fresh install) since the first release of Big Sur. I can't change that but simply preventing the "smbfs.kext" from being loaded would solve my issue.
Thank you.
edit: I know I'm leaving out some information (exact workflow) but for now I hope there is a simple answer to my question. I am in the process of updating all of our Macs but for that I need to back them all up which is a pita with said problem.
All Macs suffer the same SMB kernel panic problem: 2x Mac Pro 2013, MacBook Pro 2020 Intel 13" , MacBook Pro 2019 16". Big Sur 11.7.6.
The original title was "prevent/block system extension from loading (smbfs causes konstant kernel panic)".
I think I found what differs in my setup from most other users and leads to the problems with smbfs.
I therefore changed the title accordingly.
-> Post #8
tl;dr: A windows 10 machine in my network has SMBv1 enabled via the "SMB 1.0/CIFS-Server" feature.
This seems to trigger "com.apple.filesystems.smbfs" on all of my Macs and sooner or later causes kernel panics.
Happening since the first release of macOS Big Sur.
______________________________________________
Hello,
on a normal Big Sur install (non Open Core), is there a way to prevent a specific kernel extension from being loaded?
In my case, "filesystems.smbfs" causes constant kernel panics when a Thunderbolt device is connected.
I don't use SMB but as soon as I connect my machines to a network (WiFi, ethernet) the "com.apple.filesystems.smbfs" from "/System/Library/Extensions/smbfs.kext" gets automatically loaded for an unknown reason.
With disconnected network and therefore no loaded "smbfs", there are no problems whatsoever.
The cause must be in my network as I get the SMB caused kernel panic on every device (fresh install) since the first release of Big Sur. I can't change that but simply preventing the "smbfs.kext" from being loaded would solve my issue.
Thank you.
Kernel Extensions in backtrace:
com.apple.iokit.IOSCSIArchitectureModelFamily(436.140.1)[D547C219-43FC-3D78-AB6E-99CFEBAE4FE6]@0xffffff80093a9000->0xffffff80093bcfff
com.apple.iokit.IOSCSIBlockCommandsDevice(436.140.1)[1BAAFD24-BDAD-3A98-A637-3FDAE19BCE8C]@0xffffff80093ce000->0xffffff80093dbfff
dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(436.140.1)[D547C219-43FC-3D78-AB6E-99CFEBAE4FE6]@0xffffff80093a9000->0xffffff80093bcfff
dependency: com.apple.iokit.IOStorageFamily(2.1)[C5C617C0-1DA6-36CC-9C1A-775E9A08FB51]@0xffffff8009470000->0xffffff8009481fff
Process name corresponding to current thread: kernel_task
Mac OS version:
20G1231
Kernel version:
Darwin Kernel Version 20.6.0: Thu Mar 9 20:39:26 PST 2023; root:xnu-7195.141.49.700.6~1/RELEASE_X86_64
Kernel UUID: 16F174F8-4EC4-30AA-94B2-6FD0FC398C34
KernelCache slide: 0x0000000006600000
KernelCache base: 0xffffff8006800000
Kernel slide: 0x0000000006610000
Kernel text base: 0xffffff8006810000
__HIB text base: 0xffffff8006700000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Hibernation exit count: 0
System uptime in nanoseconds: 644163534561
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000095fb23843a
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000612361bae 0x0000000000000000
last started kext at 524068006487: @filesystems.smbfs 3.6.2 (addr 0xffffff7fa214a000, size 491520)
last stopped kext at 626505548565: @filesystems.smbfs 3.6.2 (addr 0xffffff7fa214a000, size 491520)
loaded kexts:
com.apple.iokit.IOSCSIArchitectureModelFamily(436.140.1)[D547C219-43FC-3D78-AB6E-99CFEBAE4FE6]@0xffffff80093a9000->0xffffff80093bcfff
com.apple.iokit.IOSCSIBlockCommandsDevice(436.140.1)[1BAAFD24-BDAD-3A98-A637-3FDAE19BCE8C]@0xffffff80093ce000->0xffffff80093dbfff
dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(436.140.1)[D547C219-43FC-3D78-AB6E-99CFEBAE4FE6]@0xffffff80093a9000->0xffffff80093bcfff
dependency: com.apple.iokit.IOStorageFamily(2.1)[C5C617C0-1DA6-36CC-9C1A-775E9A08FB51]@0xffffff8009470000->0xffffff8009481fff
Process name corresponding to current thread: kernel_task
Mac OS version:
20G1231
Kernel version:
Darwin Kernel Version 20.6.0: Thu Mar 9 20:39:26 PST 2023; root:xnu-7195.141.49.700.6~1/RELEASE_X86_64
Kernel UUID: 16F174F8-4EC4-30AA-94B2-6FD0FC398C34
KernelCache slide: 0x0000000006600000
KernelCache base: 0xffffff8006800000
Kernel slide: 0x0000000006610000
Kernel text base: 0xffffff8006810000
__HIB text base: 0xffffff8006700000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Hibernation exit count: 0
System uptime in nanoseconds: 644163534561
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000095fb23843a
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000612361bae 0x0000000000000000
last started kext at 524068006487: @filesystems.smbfs 3.6.2 (addr 0xffffff7fa214a000, size 491520)
last stopped kext at 626505548565: @filesystems.smbfs 3.6.2 (addr 0xffffff7fa214a000, size 491520)
loaded kexts:
edit: I know I'm leaving out some information (exact workflow) but for now I hope there is a simple answer to my question. I am in the process of updating all of our Macs but for that I need to back them all up which is a pita with said problem.
All Macs suffer the same SMB kernel panic problem: 2x Mac Pro 2013, MacBook Pro 2020 Intel 13" , MacBook Pro 2019 16". Big Sur 11.7.6.
Last edited: