[Bug 281452] Realtek 'if_re' module crashes on module load

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Sep 2024 08:33:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281452

            Bug ID: 281452
           Summary: Realtek 'if_re' module crashes on module load
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: kbmithunchakravarthy@gmail.com

Hello all,

I am experiencing a system crash and system reboot itself when attempting to
load the 'if_re' module, The issue occurs immediately upon loading the module,
the system becomes unresponsive or panics.

Steps to Reproduce:

    * Build the if_re module as a separate module by modifying the GENERIC
kernel   configuration file:
                #device re
    * Build it and install it.
    *  Load the if_re kernel module using 
                kldload if_re
    The system crashes and reboot immediately or becomes unresponsive.

I've attached a crash dump for further investigation.

Note: When this module is compiled directly into the kernel (i.e., not built as
a separate module), there is no issue. The module loads successfully and works
fine in this case.

re0@pci0:43:0:0:        class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec
device=0x8168 subvendor=0x17aa subdevice=0x38f4
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
Controller'
    class      = network
    subclass   = ethernet

"/etc/rc.conf" 29L, 606B                                                        
        clear_tmp_enable="YES"
        hostname="sysadmin"
        keymap="us.kbd"
        ifconfig_re0="DHCP"
        ifconfig_re0_ipv6="inet6 accept_rtadv"
        sshd_enable="YES"
        moused_enable="YES"
        ntpd_enable="YES"
        ntpd_sync_on_start="YES"
        powerd_enable="YES"
        # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
        dumpdev="AUTO"
        zfs_enable="YES"
        slim_enable="yes"
        dbus_enable="yes"
        hald_enable="yes"
        sound_load="yes"
        snd_hda_load="yes"
        kld_list="i915kms"
        wlans_iwlwifi0="wlan0"
        ifconfig_wlan0="WPA DHCP"
        rtadvd_enable="YES"
        #devmatch_enable="NO"
        moused_enable="YES"
        linux_enable="YES"
        syslogd_flags="-vv"

Thank you,

Mithun

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