[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Dec 2023 20:06:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251

--- Comment #17 from iio7@tutanota.com ---
(In reply to Alex Dupre from comment #16)

Yes it's weird.

Just to make sure I didn't make any mistakes, I did a fresh install of FreeBSD
14 on the machine. As there is no network, I git cloned the files for v1.99
unto a USB stick on another machine and the compiled the driver on the affected
box.

After rebooting, the kernel module is clearly loaded:

$ kldstat
Id Refs Address                Size Name
 1   40 0xffffffff80200000  1d34598 kernel
 2    1 0xffffffff81f35000    129d0 if_re.ko
 3    1 0xffffffff82910000     3390 acpi_wmi.ko
 4    1 0xffffffff82914000     3250 ichsmb.ko
 5    1 0xffffffff82918000     2178 smbus.ko
 6    1 0xffffffff8291b000     3360 uhid.ko
 7    1 0xffffffff8291f000     33c0 usbhid.ko
 8    1 0xffffffff82923000     3380 hidbus.ko
 9    1 0xffffffff82927000     3360 wmt.ko
10    1 0xffffffff8292b000     4364 ums.ko

Still, the driver is not attached:

# dmesg|grep ethernet
pci4: <network, ethernet> at device 0.0 (no driver attached)

However, I decided to manually unload the module and load it again, which
causes a kernel panic!

I rebooted the box and checked in /var/crash, however all the files are empty:

# ls -l /var/crash
total 4
-rw-r--r--  1 root wheel 0 Dec 21 20:24 bounds
-rw-r--r--  1 root wheel 0 Dec 21 20:24 core.txt.0
-rw-------  1 root wheel 0 Dec 21 20:24 info.0
lrwxr-xr-x  1 root wheel 0 Dec 21 20:24 info.last -> 
-rw-r--r--  1 root wheel 5 Nov 10 09:16 minfree
-rw-------  1 root wheel 0 Dec 21 20:24 vmcore.0
lrwxr-xr-x  1 root wheel 0 Dec 21 20:24 vmcore.last ->

I do not know how to proceed from here.

-- 
You are receiving this mail because:
You are the assignee for the bug.