Bug 275693

Summary: bnxt: kernel crash during driver unload
Product: Base System Reporter: Sumit Saxena <sumit.saxena>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Only Me CC: zlei
Priority: --- Keywords: crash
Version: 12.4-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
bnxt: kernel crash during driver unload none

Description Sumit Saxena 2023-12-11 14:03:25 UTC
Created attachment 246976 [details]
bnxt: kernel crash during driver unload

I am observing kernel crash intermittently(occurring once in 4-5 attempts) during driver unload after running some IPv4 traffic. The crash is seen in iflib layer.
  
   iflib_tqg_detach+0xc2
   iflib_device_deregister+0x1ec


I don't have the crash logs in text format. So attaching the screenshot.
IFLIB experts can help to know what's going wrong here.
Comment 1 Zhenlei Huang freebsd_committer freebsd_triage 2023-12-12 04:18:01 UTC
(In reply to Sumit Saxena from comment #0)
I tried to get the exact line number with addr2line but failed.

I see you set the version to 12.4-RELEASE. Is it a custom built kernel or the GENERIC one ? 

Can you please share the exact version of your running kernel  ?

```
# freebsd-version -kr
# uname -na
```

If you are running the GENERIC kernel please update it to latest patch level 12.4-RELEASE-p9 and then re-post the screenshot of kernel crash ( so that it is easy to get line number with addr2line ).