[Bug 274936] Unsupported file type while loading kernel modules that are already compiled into kernel

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Nov 2023 09:07:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274936

            Bug ID: 274936
           Summary: Unsupported file type while loading kernel modules
                    that are already compiled into kernel
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zlei@FreeBSD.org

Noticed this while repeating
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274375 .


Steps to repeat:

```
# kldload virtio.ko
kldload: an error occurred while loading module virtio.ko. Please check
dmesg(8) for more details.
# dmesg | tail -n 2 
interface virtio.1 already present in the KLD 'kernel'!
linker_load_file: /boot/kernel/virtio.ko - unsupported file type
```

The error code should be EEXIST (the same with `kldload virtio`).

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