Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] macvtap: Unknown symbol alloc_chrdev_regio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3254
Location: de

PostPosted: Sun Jul 01, 2018 10:18 pm    Post subject: [solved] macvtap: Unknown symbol alloc_chrdev_regio Reply with quote

Hi there,

I'm using an ARM NAS, where I wanted to work with Netnamespace and therefore create a network device label. Hence, I selected the macvtap/macvlan module in the kernel config. But when I try to load the kernel I get the following error:

modprobe macvtap:
Jul 01 21:17:25 nas kernel: tap: Unknown symbol alloc_chrdev_region (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol dev_queue_xmit (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol rtnl_is_locked (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol __get_user_2 (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol netdev_err (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol skb_checksum_help (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol cdev_add (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol __skb_get_hash (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol skb_push (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol __pskb_pull_tail (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol kfree_skb_list (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol unregister_chrdev_region (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol __skb_gso_segment (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol cdev_init (err 0)
Jul 01 21:17:25 nas kernel: tap: Unknown symbol cdev_del (err 0)


And for macvlan
modprobe macvlan:
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_set_mtu (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netdev_increment_features (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_mc_sync (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netdev_is_rx_handler_busy (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_queue_xmit (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_queue_xmit_accel (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_uc_sync (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_uc_del (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol eth_header_cache (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_set_promiscuity (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_uc_unsync (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netdev_upper_dev_link (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol eth_header_parse (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netdev_rx_handler_unregister (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol eth_header_cache_update (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol __dev_get_by_index (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netif_stacked_transfer_operstate (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol ndo_dflt_fdb_dump (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netdev_upper_dev_unlink (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_mc_del (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol __ethtool_get_link_ksettings (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol unregister_netdevice_many (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol ip_check_defrag (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netif_rx_ni (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netif_rx (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol linkwatch_fire_event (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol call_netdevice_notifiers (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_set_allmulti (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol skb_clone (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_uc_add_excl (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol netdev_rx_handler_register (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_mc_add_excl (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol __dev_forward_skb (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_uc_add (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_get_nest_level (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_mc_unsync (err 0)
Jul 02 00:01:22 nas kernel: macvlan: Unknown symbol dev_forward_skb (err 0)


The full kernel config can be found here: click.

Which option am I missing? Is this a kernel bug? I would have expected to get the necessary dependency selected automatically.


Last edited by musv on Tue Jul 03, 2018 12:07 am; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5849

PostPosted: Mon Jul 02, 2018 12:40 am    Post subject: Reply with quote

unknown symbol usually means the modules weren't build with the same options as the kernel. best way to go about that is to rebuild both
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3254
Location: de

PostPosted: Tue Jul 03, 2018 12:08 am    Post subject: Reply with quote

You're right.

I compiled the kernel installed the modules, but forgot to copy the kernel image to the boot directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum