NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/57793: can't load the radeondrm kernel module



>Number:         57793
>Category:       kern
>Synopsis:       can't load the radeondrm kernel module
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 25 19:45:00 +0000 2023
>Originator:     Guilherme Janczak
>Release:        10.0RC1
>Organization:
>Environment:
NetBSD jan-evo-nbsd 10.0_RC1 NetBSD 10.0_RC1 (GENERIC) #0: Sun Nov  5 18:30:08 UTC 2023  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
I can't load the radeondrm kernel module with the kernel/machine described in the environment section. I haven't tried other kernels/machines.

Example run of `modload radeondrm`:
# modload radeondrm
modload: radeondrm: Exec format error

When I run that command, I get the following output on dmesg:
[    65.497008] kobj_checksyms, 1036: [%M/radeondrm/radeondrm.kmod]: linker error: global symbol `radeon_cs_ioctl' redefined
[    65.497008] kobj_checksyms, 1036: [%M/radeondrm/radeondrm.kmod]: linker error: global symbol `radeon_no_wb' redefined

Unloading the `radeon` module and then trying to load `radeondrm` makes no difference.

I was told on #netbsd that `modstat` output would be useful, so here it is:
NAME                CLASS    SOURCE   FLAG  REFS    SIZE REQUIRES 
aac                 driver   builtin  -        1       - pci
accf_dataready      misc     builtin  -        0       - -
accf_httpready      misc     builtin  -        0       - -
acpiacad            driver   builtin  -        0       - sysmon_envsys,sysmon_power
acpibat             driver   builtin  -        0       - sysmon_envsys
acpibut             driver   builtin  -        0       - sysmon_power
acpicpu             driver   builtin  -        0       - -
acpidalb            driver   builtin  -        0       - sysmon_power
acpifan             driver   builtin  -        0       - sysmon_envsys
acpilid             driver   builtin  -        0       - sysmon_power
acpitz              driver   builtin  -        0       - sysmon_envsys
acpivga             driver   builtin  -        1       - -
acpiwdrt            driver   builtin  -        0       - sysmon_wdog
acpiwmi             driver   builtin  -        4       - -
adiantum            misc     builtin  -        0       - aes,chacha
aes                 misc     builtin  -        2       - -
aes_ccm             misc     builtin  -        0       - aes
aibs                driver   builtin  -        0       - sysmon_envsys
aio                 misc     builtin  -        0       - -
amdtemp             driver   builtin  -        0       - sysmon_envsys
amr                 driver   builtin  -        1       - pci
asus                driver   builtin  -        0       - sysmon_envsys,sysmon_power
ataraid             driver   builtin  -        1       - -
ath                 misc     builtin  -        1       - ath_hal
ath_hal             misc     builtin  -        1       - -
au8522              driver   builtin  -        1       - i2cexec
audio               driver   builtin  -        4       - -
auvitek             driver   builtin  -        0       - au8522,xc5k
blake2s             misc     builtin  -        0       - -
blowfish            misc     builtin  -        2       - -
bpf                 driver   builtin  -        1       - bpf_filter
bpf_filter          misc     builtin  -        2       - -
bufq_disksort       bufq     builtin  -        0       - -
bufq_fcfs           bufq     builtin  -        4       - -
bufq_priocscan      bufq     builtin  -        0       - -
cac                 driver   builtin  -        3       - -
cac_eisa            driver   builtin  -        0       - cac
cac_pci             driver   builtin  -        0       - cac,pci
camellia            misc     builtin  -        1       - -
cast128             misc     builtin  -        1       - -
ccd                 driver   builtin  -        0       - dk_subr,bufq_fcfs
cd9660              vfs      builtin  -        0       - -
cgd                 driver   builtin  -        0       - blowfish,des,dk_subr,bufq_fcfs
chacha              misc     builtin  -        1       - -
cir                 driver   builtin  -        1       - ir
clockctl            driver   builtin  -        0       - -
coda                vfs      builtin  -        0       - vcoda
compat_09           exec     builtin  -        0       - compat_10,compat_util,compat_sysctl_09_43
compat_10           exec     builtin  -        1       - compat_12,compat_util
compat_12           exec     builtin  -        1       - compat_13
compat_13           exec     builtin  -        1       - compat_14
compat_14           exec     builtin  -        1       - compat_16
compat_16           exec     builtin  -        1       - compat_20
compat_20           exec     builtin  -        1       - compat_30
compat_30           exec     builtin  -        1       - compat_util,compat_40
compat_40           exec     builtin  -        1       - compat_50
compat_43           exec     builtin  -        0       - compat_sysctl_09_43,compat_util,compat_60
compat_50           exec     builtin  -        4       - compat_60
compat_50_quota     exec     builtin  -        0       - compat_50,ufs
compat_60           exec     builtin  -        2       - compat_70
compat_70           exec     builtin  -        1       - compat_80
compat_80           exec     builtin  -        2       - compat_90
compat_90           exec     builtin  -        1       - -
compat_crypto_50    exec     builtin  -        0       - crypto,compat_50
compat_raid_50      exec     builtin  -        0       - raid,compat_50,compat_raid_80
compat_raid_80      exec     builtin  -        1       - raid,compat_80
compat_sysctl_09_43 exec     builtin  -        2       - -
compat_sysv_10      exec     builtin  -        0       - sysv_ipc,compat_sysv_50,compat_sysv_14
compat_sysv_14      exec     builtin  -        1       - compat_sysv_50,sysv_ipc
compat_sysv_50      exec     builtin  -        2       - sysv_ipc
compat_util         misc     builtin  -        4       - -
cons                driver   builtin  -        0       - -
coram               driver   builtin  -        0       - cx24227,mt2131,pci
coredump            misc     builtin  -        0       - -
coretemp            driver   builtin  -        0       - sysmon_envsys
crypto              driver   builtin  -        1       - opencrypto
cx24227             driver   builtin  -        1       - i2cexec
cxdtv               driver   builtin  -        0       - tvpll,nxt2k,lg3303,pci
des                 misc     builtin  -        2       - -
dk_subr             misc     builtin  -        5       - -
drmkms              driver   builtin  -        6       - drmkms_linux,sysmon_power
drmkms_agp          misc     builtin  -        0       - drmkms
drmkms_linux        misc     builtin  -        1       - i2cexec
drmkms_pci          misc     builtin  -        3       - drmkms,pci
drmkms_ttm          driver   builtin  -        2       - drmkms
drvctl              driver   builtin  -        0       - -
dtv                 driver   builtin  -        0       - -
dtv_math            misc     builtin  -        1       - -
efs                 vfs      builtin  -        0       - -
emdtv               driver   builtin  -        0       - cir,lg3303,xc3028
emuxki              driver   builtin  -        0       - pci,audio
est                 driver   builtin  -        0       - -
exec_aout           exec     builtin  -        0       - -
exec_elf32          exec     builtin  -        0       - -
exec_script         exec     builtin  -        0       - -
ext2fs              vfs      builtin  -        0       - ufs
extensions          secmodel builtin  -        1       - -
fdesc               vfs      builtin  -        0       - -
ffs                 vfs      builtin  -        1       - ufs,wapbl
fujbp               driver   builtin  -        0       - -
fujhk               driver   builtin  -        0       - sysmon_power
gpio                driver   builtin  -        3       - -
gpioiic             driver   builtin  -        0       - gpio,iic
gpioow              driver   builtin  -        0       - gpio,onewire
hdafg               driver   builtin  -        0       - hdaudio
hdaudio             driver   builtin  -        2       - audio
hdaudio_pci         driver   builtin  -        0       - pci,hdaudio,audio
hdaudioverbose      driver   builtin  -        0       - -
hifn                driver   builtin  -        0       - pci,opencrypto
hpet                driver   builtin  -        0       - -
hvheartbeat         driver   builtin  -        0       - vmbus
hvkbd               driver   builtin  -        0       - vmbus
hvshutdown          driver   builtin  -        0       - vmbus
hvtimesync          driver   builtin  -        0       - vmbus
hyperv              driver   builtin  -        1       - -
i2c_bitbang         misc     builtin  -        1       - -
i2c_subr            exec     builtin  -        1       - -
i2cexec             misc     builtin  -       10       - -
i915drmkms          driver   builtin  -        0       - acpivga,drmkms,drmkms_pci
ichsmb              driver   builtin  -        0       - pci,iic
if_agr              driver   builtin  -        0       - -
if_alc              driver   builtin  -        0       - pci
if_aq               driver   builtin  -        0       - pci
if_ath_pci          driver   builtin  -        0       - ath,pci
if_athn_usb         driver   builtin  -        0       - -
if_aue              driver   builtin  -        0       - usbnet
if_axe              driver   builtin  -        0       - usbnet
if_axen             driver   builtin  -        0       - usbnet
if_cdce             driver   builtin  -        0       - usbnet
if_cue              driver   builtin  -        0       - usbnet
if_gif              driver   builtin  -        0       - ip_ecn
if_gre              driver   builtin  -        0       - -
if_iavf             driver   builtin  -        0       - pci
if_ixl              driver   builtin  -        0       - pci
if_kue              driver   builtin  -        0       - usbnet
if_l2tp             driver   builtin  -        0       - -
if_lagg             driver   builtin  -        0       - -
if_loop             driver   builtin  -        0       - -
if_mue              driver   builtin  -        0       - usbnet
if_npflog           driver   builtin  -        0       - -
if_ppp              driver   builtin  -        0       - bpf_filter,slcompress
if_pppoe            driver   builtin  -        0       - sppp_subr
if_rum              driver   builtin  -        0       - -
if_run              driver   builtin  -        0       - -
if_sl               driver   builtin  -        0       - slcompress
if_smsc             driver   builtin  -        0       - usbnet
if_stf              driver   builtin  -        0       - -
if_tap              driver   builtin  -        0       - -
if_tun              driver   builtin  -        0       - -
if_udav             driver   builtin  -        0       - usbnet
if_upl              driver   builtin  -        0       - usbnet
if_ure              driver   builtin  -        0       - usbnet
if_url              driver   builtin  -        0       - usbnet
if_urndis           driver   builtin  -        0       - usbnet
if_urtw             driver   builtin  -        0       - -
if_urtwn            driver   builtin  -        0       - -
if_vioif            driver   builtin  -        0       - virtio
if_vlan             driver   builtin  -        0       - -
if_vmx              driver   builtin  -        0       - pci
iic                 driver   builtin  -        2       - i2cexec,i2c_bitbang,i2c_subr
ip_ecn              misc     builtin  -        1       - -
ir                  driver   builtin  -        1       - -
irmce               driver   builtin  -        0       - -
ismt                driver   builtin  -        0       - pci
kernfs              vfs      builtin  -        0       - -
ksem                misc     builtin  -        0       - -
layerfs             misc     builtin  -        3       - -
ld                  driver   builtin  -       11       - dk_subr
ld_aac              driver   builtin  -        0       - ld,aac
ld_amr              driver   builtin  -        0       - ld,amr
ld_ataraid          driver   builtin  -        0       - ld,ataraid
ld_cac              driver   builtin  -        0       - ld,cac
ld_icp              driver   builtin  -        0       - ld
ld_mlx              driver   builtin  -        0       - ld
ld_nvme             driver   builtin  -        0       - ld,nvme,bufq_fcfs
ld_sdmmc            driver   builtin  -        0       - ld
ld_twa              driver   builtin  -        0       - ld,twa
ld_twe              driver   builtin  -        0       - ld,twe
ld_virtio           driver   builtin  -        0       - ld,virtio
lfs                 vfs      builtin  -        0       - -
lg3303              driver   builtin  -        2       - i2cexec,dtv_math
mfs                 vfs      builtin  -        0       - ffs
midi                driver   builtin  -        0       - midi_seq
midi_seq            driver   builtin  -        2       - audio
mlx                 driver   builtin  -        2       - -
mlx_eisa            driver   builtin  -        0       - mlx
mlx_pci             driver   builtin  -        0       - mlx,pci
mqueue              misc     builtin  -        0       - -
msdos               vfs      builtin  -        0       - -
mt2131              driver   builtin  -        1       - i2cexec
nct                 driver   builtin  -        0       - gpio
nfs                 vfs      builtin  -        1       - -
nfsserver           misc     builtin  -        0       - nfs
nouveau             driver   builtin  -        1       - drmkms,drmkms_ttm
nouveau_pci         driver   builtin  -        0       - nouveau,drmkms_pci
npf                 misc     builtin  -        4       - bpf
npf_alg_icmp        misc     builtin  -        0       - npf
npf_ext_log         misc     builtin  -        0       - npf
npf_ext_normalize   misc     builtin  -        0       - npf
npf_ext_rndblock    misc     builtin  -        0       - npf
nsclpcsio           driver   builtin  -        0       - sysmon_envsys
ntfs                vfs      builtin  -        0       - -
null                vfs      builtin  -        0       - layerfs
nvme                driver   builtin  -        1       - pci,dk_subr
nxt2k               driver   builtin  -        1       - i2cexec
onewire             driver   builtin  -        1       - -
opencrypto          misc     builtin  -        4       - -
overlay             vfs      builtin  -        0       - layerfs
pci                 driver   builtin  -       25       - -
pciverbose          driver   builtin  -        0       - pci
powernow            driver   builtin  -        0       - -
procfs              vfs      builtin  -        0       - ptrace_common
pseye               driver   builtin  -        0       - -
ptrace              exec     builtin  -        0       - ptrace_common
ptrace_common       exec     builtin  -        2       - -
ptyfs               vfs      builtin  -        0       - -
puffs               vfs      builtin  -        0       - putter
putter              driver   builtin  -        1       - -
pwdog               driver   builtin  -        0       - pci,sysmon_wdog
radeon              driver   builtin  -        0       - drmkms,drmkms_pci,drmkms_ttm
raid                driver   builtin  -        2       - dk_subr,bufq_fcfs
scsi_subr           exec     builtin  -        0       - -
scsiverbose         misc     builtin  -        0       - -
secmodel_bsd44      secmodel builtin  -        0       - suser,securelevel,extensions
securelevel         secmodel builtin  -        1       - -
sequencer           driver   builtin  -        0       - midi_seq
skipjack            misc     builtin  -        1       - -
slcompress          misc     builtin  -        2       - -
sppp_subr           misc     builtin  -        1       - -
suser               secmodel builtin  -        1       - -
swcrypto            driver   builtin  -        0       - opencrypto,zlib,blowfish,des,cast128,camellia,skipjack
swwdog              driver   builtin  -        0       - sysmon_wdog
sysmon              driver   builtin  -        3       - -
sysmon_envsys       driver   builtin  -       11       - sysmon,sysmon_taskq,sysmon_power
sysmon_power        driver   builtin  -       12       - sysmon
sysmon_taskq        misc     builtin  -        2       - -
sysmon_wdog         driver   builtin  -        4       - sysmon
sysv_ipc            exec     builtin  -        3       - -
tco                 driver   builtin  -        0       - sysmon_wdog
thinkpad            driver   builtin  -        0       - sysmon_envsys,sysmon_power
tmpfs               vfs      builtin  -        0       - -
tvpll               driver   builtin  -        1       - i2cexec
twa                 driver   builtin  -        1       - pci
twe                 driver   builtin  -        1       - pci
ualea               driver   builtin  -        0       - -
ubsec               driver   builtin  -        0       - pci,opencrypto
ufs                 misc     builtin  -        3       - wapbl
ugen                driver   builtin  -        0       - -
umap                vfs      builtin  -        0       - layerfs
union               vfs      builtin  -        0       - -
usbnet              misc     builtin  -       13       - -
vcoda               driver   builtin  -        1       - -
viomb               driver   builtin  -        0       - virtio
vioscsi             driver   builtin  -        0       - virtio
virtio              driver   builtin  -        5       - -
virtio_pci          driver   builtin  -        0       - pci,virtio
vmbus               driver   builtin  -        4       - hyperv
vmt                 driver   builtin  -        0       - sysmon_power,sysmon_taskq
vnd                 driver   builtin  -        0       - zlib
wapbl               vfs      builtin  -        2       - -
wmidell             driver   builtin  -        0       - acpiwmi,sysmon_power
wmieeepc            driver   builtin  -        0       - acpiwmi,sysmon_power
wmihp               driver   builtin  -        0       - acpiwmi,sysmon_envsys
wmimsi              driver   builtin  -        0       - acpiwmi
xc3028              driver   builtin  -        1       - i2cexec
xc5k                driver   builtin  -        1       - i2cexec
zlib                misc     builtin  -        2       - -

>How-To-Repeat:
Run the command `modload radeondrm`

>Fix:



Home | Main Index | Thread Index | Old Index