rt2400pci.ko: Unknown symbol in module, or unknown parameter

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4974

rolfp

01-09-2008 18:15:05

I have searched, found a little in the way of similar symptoms, tried one posted fix but no success.

Trying to get my Asus wl-127 wireless card to master or airport mode with the rt2400, I started by gitting the tree, yesterday, 8-31-08, per Rt2x00 GIT instructions. Running Mandriva 2008.1, 2.6.24.7-desktop-1mnb, gcc-4.2.3-6mnb1, wireless-tools-29-2mnb1.

I made oldconfig, starting with the config of my running kernel. For the most part, I accepted defaults, adding led support for the 2400, made sure wireless extensions were enabled.

$ make O=/home/rolf/build/kernel oldconfig
$ make O=/home/rolf/build/kernel
# make O=/home/rolf/build/kernel modules_install install

kernel, modules, initrd all got built and installed. I booted, successfully, to runlevel 3, to avoid complications with my nvidia driver, and there were errors. In the Search, I saw a similar, not exactly the same, report with the suggestion to delete Module.symvers

# rm -f /lib/modules/2.6.27-rc4-wl/build/Module.symvers

I rebooted, did depmod-a, tried modprobing rt2400pci, the many errors, afaict, remained the same

Aug 31 230913 localhost modprobe FATAL Error inserting rt2400pci (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko) Unknown symbol in module, or unknown parameter (see dmesg)
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_register_hw
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_get_hdrlen_from_skb
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_wake_queue
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_tx_status_irqsafe
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_ctstoself_get
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_wake_queues
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_iterate_active_interfaces
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_stop_queue
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_stop_queues
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_iterate_active_interfaces_atomic
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_unregister_hw
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_rts_get
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_beacon_get
Aug 31 231200 localhost kernel rt2x00lib Unknown symbol ieee80211_rx_irqsafe
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol rt2x00lib_suspend
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol rt2x00lib_probe_dev
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol ieee80211_free_hw
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol ieee80211_alloc_hw
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol rt2x00lib_rxdone
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol rt2x00queue_get_entry
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol rt2x00lib_remove_dev
Aug 31 231201 localhost kernel rt2x00pci Unknown symbol rt2x00lib_resume
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_add_interface
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00queue_map_txskb
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_get_stats
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_initialize
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_uninitialize
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00queue_get_entry
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_suspend
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_config_interface
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_remove
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_remove_interface
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00lib_txdone
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_config
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00queue_get_queue
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_conf_tx
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_start
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_stop
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_configure_filter
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_tx
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_resume
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_probe
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_get_tx_stats
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_rxdone
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00lib_beacondone
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00mac_bss_info_changed
Aug 31 231201 localhost kernel rt2400pci Unknown symbol rt2x00pci_write_tx_data

Is this enough information? Thanks.

IvD

01-09-2008 20:31:32


kernel, modules, initrd all got built and installed. I booted, successfully, to runlevel 3, to avoid complications with my nvidia driver, and there were errors. In the Search, I saw a similar, not exactly the same, report with the suggestion to delete Module.symvers

# rm -f /lib/modules/2.6.27-rc4-wl/build/Module.symvers
[/quoterxids1ve]

Which is a very bad idea. Since that removes the module dependencies for your modules, hence you get the module loading error.
Without the file, you must manually load all dependency of each module you load.
for rt2400pci the dependencies are at least (and depend on your kernel configuration)
mac80211
rc80211_pic
rt2x00lib
rt2x00pci
rt2400pci

If you still get "Unknown symbol" errors, you must check which module provides that function and load the module as well.

rolfp

01-09-2008 20:42:06

Well, a google search showed me this thread viewtopic.php?f=5&t=320&view=next wherein a site admin says, " Are you sure it's called modules.symbols ? I'm running FC4 here and the file I remove to resolve this issue is

/lib/modules/2.6.9-1.667/build/Modules.symvers
[..]"

Probably, I took this in the wrong context.....

I did not remove this file until [i1halo768]after[/i1halo768] the first boot and I got these errors, hence the search, hence my attempt to resolve by deleting that file. IOW, afaict, the same errors were extant before I touched Modules.symvers

IvD

02-09-2008 06:42:01

Try running 'depmod -a' then.

rolfp

02-09-2008 07:21:37

I ran depmod -a, again, and, for example,

# modprobe mac80211
FATAL Error inserting mac80211 (/lib/modules/2.6.27-rc4-wl/kernel/net/mac80211/mac80211.ko) Unknown symbol in module, or unknown parameter (see dmesg)

However,

# modprobe rt2x00lib
WARNING Error inserting mac80211 (/lib/modules/2.6.27-rc4-wl/kernel/net/mac80211/mac80211.ko) Unknown symbol in module, or unknown parameter (see dmesg)
FATAL Error inserting rt2x00lib (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko) Unknown symbol in module, or unknown parameter (see dmesg)


and

# modprobe rt2x00pci
WARNING Error inserting mac80211 (/lib/modules/2.6.27-rc4-wl/kernel/net/mac80211/mac80211.ko) Unknown symbol in module, or unknown parameter (see dmesg)
WARNING Error inserting rt2x00lib (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko) Unknown symbol in module, or unknown parameter (see dmesg)
FATAL Error inserting rt2x00pci (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko) Unknown symbol in module, or unknown parameter (see dmesg)


# modprobe rt2400pci
WARNING Error inserting mac80211 (/lib/modules/2.6.27-rc4-wl/kernel/net/mac80211/mac80211.ko) Unknown symbol in module, or unknown parameter (see dmesg)
WARNING Error inserting rt2x00lib (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko) Unknown symbol in module, or unknown parameter (see dmesg)
WARNING Error inserting rt2x00pci (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko) Unknown symbol in module, or unknown parameter (see dmesg)
FATAL Error inserting rt2400pci (/lib/modules/2.6.27-rc4-wl/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko) Unknown symbol in module, or unknown parameter (see dmesg)


I am not familiar with the mechanisms but it seems some dependencies are being respected. I don't know what the problem is. Maybe it's best to update the tree and try again. The Mandriva KDE desktop, alsa sound, hald, firewire hotplugging... seems working fine with the kernel as is, otherwise.

IvD

02-09-2008 07:35:44

Well you could do what the error message tells you to do, and that is checking 'dmesg' for information.

rolfp

02-09-2008 14:20:23

I have done that.

[code30p3x1br](reverse-i-search)`dm': tail /var/log/dmesg[/code30p3x1br]

However, dmesg doesn't contain any more info than that which was already echoed to the terminal when the modules failed to load.

IvD

02-09-2008 14:29:09

Then for some reason you are missing the error why mac80211 failed to load.

rolfp

02-09-2008 14:57:58

Yes, I'm afraid I don't know enough about this. However, I have found a clue, after booting to the 2.6.27-rc4-wl kernel

[root@localhost rolf]# cd /etc/modprobe.d/
[root@localhost modprobe.d]# ls
blacklist-compat blacklist-mdv ipw-no-associate.conf mac80211-extra-channels.conf snd-usb-audio visor
[root@localhost modprobe.d]# cat mac80211-extra-channels.conf
options mac80211 ieee80211_regdom=64

[root@localhost modprobe.d]# dmesg|grep mac802
mac80211 Unknown parameter `ieee80211_regdom'
[root@localhost modprobe.d]# vi mac80211-extra-channels.conf <--comment the line
[root@localhost modprobe.d]# modprobe mac80211

[root@localhost modprobe.d]# lsmod|grep mac
mac80211 126416 0
xt_mac 2432 0
[..]

So, it seems the original Mandriva setup for this module was preventing the mac80211 module from loading. I've got to go to work so I'll check if more module loading progress can be made later. Thanks.

Starcrasher

02-09-2008 22:54:11

For info here's is the content of my personal mac80211-extra-channels.conf on Mandriva Cooker.

[code1155o47l]#for 2.6.26 and up (Cooker kernels)
options cfg80211 ieee80211_regdom=JP
#if less than 2.6.26 (2008.1 kernels)
#options mac80211 ieee80211_regdom=64
[/code1155o47l]

rolfp

03-09-2008 14:14:55

I'm running an rt2x00.git kernel, 2.6.27-rc4-wl, trying to get Master/airport mode to work for my card. The cooker 2.6.27 kernels won't boot on my machine.

Once the extra parameter was removed, mac80211 loads at boot, along with various rt2* modules

[..]
rt2400pci 12896 0
rt2x00pci 7008 1 rt2400pci
rt2x00lib 27488 2 rt2400pci,rt2x00pci
rfkill 9996 1 rt2x00lib
led_class 4388 1 rt2x00lib
mac80211 126416 2 rt2x00pci,rt2x00lib
cfg80211 24008 2 rt2x00lib,mac80211
eeprom_93cx6 2720 1 rt2400pci


I know there are some posts around here about master that I don't have, yet, the time to explore but a preliminary attempt with rutilt to creater a 'Master' mode profile has an error

An error occured
Can't set operating mode Master
Code 22

I'll look further when I have some time.

Starcrasher

03-09-2008 19:58:50

Well, it was only to give you the actual option. wink

rutilt has been developed to setup a connexion with legacy drivers. Even if it can monitor and scan with the new drivers, don't expect much.

So you will have to look at those posts relative to master mode.