Odroid Module 5 can't be added in a LXC instance

Moderators: mdrjr, odroid

Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Fri Aug 10, 2018 8:50 pm

I'm using the Odroid Module 5 wifi dongle (dual-band, dual-stream, 866Mbps Bus 003 Device 003: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter) with Odroid XU4 (kernel 4.14.55-146) and I'd like to use it in client mode under exclusive control of a linux container (LXC). The problem is the container can't start because it can't add the physical interface:
Code: Select all
lxc-start container-wifi 20180810112027.522 ERROR    lxc_network - network.c:lxc_network_move_created_netdev_priv:2488 - Failed to move network device "wlan0" to network namespace 30363: Operation not permitted
lxc-start container-wifi 20180810112027.522 ERROR    lxc_start - start.c:lxc_spawn:1705 - Failed to create the configured network


I'm guessing it's driver related (maybe related to the inability to be used as a hotspot as well?)
Should I tweak some of these parameters?
Code: Select all
root@xu4-screen0:~# modinfo rtl8812au
filename:       /lib/modules/4.14.55-146/kernel/drivers/net/wireless/rtl8812au/rtl8812au.ko
version:        v4.3.14_13455.20150212_BTCOEX20150128-51
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     586B449E51057BCBA6EDBF1
alias:          usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v056Ep4007d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0411p029Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0411p025Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0411p0242d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB32d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9052d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0023d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3318d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3314d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0953d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA813d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA811d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0823d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp0820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp8822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0821d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0811d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp9097d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0122d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0103d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p805Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13B1p003Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1109d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
depends:        cfg80211
intree:         Y
name:           rtl8812au
vermagic:       4.14.55-146 SMP preempt mod_unload ARMv7 p2v8
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_qos_opt_enable:int
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_initmac:charp
parm:           rtw_channel_plan:int
parm:           rtw_special_rf_path:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_bw_mode:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_ampdu_amsdu:int
parm:           rtw_vht_enable:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_rf_config:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_mc2u_disable:int
parm:           rtw_80211d:Enable 802.11d mechanism (int)
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           rtw_led_enable:Enable status LED (int)
parm:           rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm:           rtw_adaptivity_en:0:disable, 1:enable (uint)
parm:           rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm:           rtw_adaptivity_dml:0:disable, 1:enable (uint)
parm:           rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm:           rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm:           rtw_RFE_type:default init value:64 (uint)
parm:           rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm:           rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm:           rtw_OffEfuseMask:default open Efuse Mask vaule:0 (uint)
parm:           rtw_FileMaskEfuse:default drv Mask Efuse vaule:0 (uint)
parm:           rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_phy_file_path:The path of phy parameter (charp)
parm:           rtw_load_phy_file:PHY File Bit Map (int)
parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby rooted » Fri Aug 10, 2018 10:12 pm

Have you used it in client mode outside of a container?

Try this updated version, before 4.14.y I had to use it:

https://github.com/astsam/rtl8812au
User avatar
rooted
 
Posts: 5607
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby tobetter » Sat Aug 11, 2018 12:39 am

For LXC, I would suggest trying your container without wlan0 and just make sure the container is running. Then later you would be able to move wlan0 to your container from host with the command iw and be assuming that wlan0 is up in the host, not required it has to be established with any other device yet. I'd remember I did this with like iw wlan0 set netns 100 where 100 is the PID of init process of the container.
User avatar
tobetter
 
Posts: 2411
Joined: Mon Feb 25, 2013 10:55 am
Location: Paju, South Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Sat Aug 11, 2018 2:39 am

Thanks for the suggestions. I didn't know iw could change namespaces. I had tried with lxc-device -n container-wifi add wlan0 wlan0 but it fails with the same error.

I have also tested with the wifi module 4 and that one works out of the box.
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby tobetter » Sat Aug 11, 2018 5:28 am

mad_ady wrote:Thanks for the suggestions. I didn't know iw could change namespaces. I had tried with lxc-device -n container-wifi add wlan0 wlan0 but it fails with the same error.

I have also tested with the wifi module 4 and that one works out of the box.

If that's the case, would you check if there is another network interface name like 'phy0' instead of 'wlan0'?
User avatar
tobetter
 
Posts: 2411
Joined: Mon Feb 25, 2013 10:55 am
Location: Paju, South Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Thu Aug 23, 2018 8:49 pm

@tobetter: sorry for the delay - I was sidetracked with other projects :)

I tried your workaround:
Code: Select all
root@xu4-screen0:~# lxc-info -n telekom-wifi
Name:           telekom-wifi
State:          RUNNING
PID:            21297
CPU use:        5.48 seconds
BlkIO use:      968.00 KiB
Memory use:     18.46 MiB
KMem use:       4.72 MiB
root@xu4-screen0:~# iw phy | head
Wiphy phy1
   max # scan SSIDs: 9
   max scan IEs length: 2304 bytes
   max # sched scan SSIDs: 0
   max # match sets: 0
   max # scan plans: 1
   max scan plan interval: -1
   max scan plan iterations: 0
   Retry short limit: 7
   Retry long limit: 4
root@xu4-screen0:~# iw phy1 set netns 21297
command failed: Operation not supported (-95)


I will try rooted's suggestion with a different driver, but it's more work...
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Mon Aug 27, 2018 11:07 pm

I've tried rooted's suggestion and went with this version which compiles cleanly for 4.14: https://github.com/gordboy/rtl8812au
I've loaded the new version, but sadly it returns the same error when I try to add it to the lxc...

Code: Select all
root@xu4-screen0:~/rtl8812au# modinfo 8812au | grep -i version
version:        v5.2.20.2_28373.20180619
srcversion:     448F115355C936CBCF53EA2
parm:           rtw_chip_version:int
root@xu4-screen0:~/rtl8812au# lxc-device -n telekom-wifi add wlan0 wlan0
command failed: Operation not supported (-95)
Failed to add wlan0 to telekom-wifi.
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby rooted » Tue Aug 28, 2018 4:56 am

What is the output of

Code: Select all
iw list


Also what is the version of iw?

*edit*
Perhaps if you follow this rabbit down a hole you may find an answer?

https://www.spinics.net/lists/linux-wir ... 28494.html
User avatar
rooted
 
Posts: 5607
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Fri Sep 07, 2018 8:28 pm

Sorry for not replying sooner.
I had a suspicion NetworkManager might be interfering with it, so I disabled it completely, But that wasn't it.

I also tried to create a new network namespace and added a veth to it - which was fine. But I couldn't add wlan0 to it (with a different syntax):
Code: Select all
root@xu4-screen0:~# nmcli
Error: NetworkManager is not running.
root@xu4-screen0:~# lxc-device -n telekom-wifi add wlan0 wlan0
command failed: Operation not supported (-95)
Failed to add wlan0 to telekom-wifi.
root@xu4-screen0:~#
root@xu4-screen0:~#
root@xu4-screen0:~# ip netns add mytest
root@xu4-screen0:~# ip netns list
mytest
root@xu4-screen0:~# ip link add veth0 type veth peer name veth1
root@xu4-screen0:~# ip link set veth1 netns mytest
root@xu4-screen0:~# ifconfig veth0 172.16.0.1 netmask 255.255.255.252 up
root@xu4-screen0:~# ip netns exec mytest ifconfig veth1 172.16.0.2 netmask 255.255.255.252 up
root@xu4-screen0:~# ip netns exec mytest route add default gw 172.16.0.1

root@xu4-screen0:~# ip netns exec mytest ifconfig -a
lo: flags=8<LOOPBACK>  mtu 65536
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.0.2  netmask 255.255.255.252  broadcast 172.16.0.3
        inet6 fe80::9025:f7ff:feee:b94  prefixlen 64  scopeid 0x20<link>
        ether 92:25:f7:ee:0b:94  txqueuelen 1000  (Ethernet)
        RX packets 32  bytes 4241 (4.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9  bytes 726 (726.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@xu4-screen0:~# ip link set wlan0 netns mytest
RTNETLINK answers: Invalid argument



@rooted: here is the output:
Code: Select all
root@xu4-screen0:~# iw list                                                                               
Wiphy phy0                         
        max # scan SSIDs: 9       
        max scan IEs length: 2304 bytes
        max # sched scan SSIDs: 0                       
        max # match sets: 0                                   
        max # scan plans: 1             
        max scan plan interval: -1                           
        max scan plan iterations: 0                       
        Retry short limit: 7                                               
        Retry long limit: 4                               
        Coverage class: 0 (up to 0m)                                       
        Supported Ciphers:                                                 
                * WEP40 (00-0f-ac:1)                                       
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
        Band 1:
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps
                        * 5.5 Mbps
                        * 11.0 Mbps
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (no IR)
                        * 2472 MHz [13] (20.0 dBm) (no IR)
                        * 2484 MHz [14] (20.0 dBm) (no IR)
        Band 2:
        Band 2:
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (20.0 dBm) (no IR)
                        * 5200 MHz [40] (20.0 dBm) (no IR)
                        * 5220 MHz [44] (20.0 dBm) (no IR)
                        * 5240 MHz [48] (20.0 dBm) (no IR)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                        * 5720 MHz [144] (20.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (20.0 dBm) (no IR)
                        * 5765 MHz [153] (20.0 dBm) (no IR)
                        * 5785 MHz [157] (20.0 dBm) (no IR)
                        * 5805 MHz [161] (20.0 dBm) (no IR)
                        * 5825 MHz [165] (20.0 dBm) (no IR)
                        * 5845 MHz [169] (disabled)
                        * 5865 MHz [173] (disabled)
                        * 5885 MHz [177] (disabled)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * set_bss
                 * join_ibss
                 * set_pmksa
                 * del_pmksa
                 * flush_pmksa
                 * remain_on_channel
                 * frame
                 * set_channel
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
        WoWLAN support:
                 * wake up on anything (device continues operating normally)
        software interface modes (can always be added):
        interface combinations are not supported
        Device supports scan flush.
root@xu4-screen0:~# apt show iw
Package: iw
Version: 4.14-0.1
...


The rabbit hole you're pointing me to is 9 years old. Surely things have improved by now... Or have they?
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby rooted » Sat Sep 08, 2018 1:37 am

The modes look good so not a problem there.

I don't know about the "disallow moving netns" thing, best to check

Code: Select all
net/mac80211/iface.c
 net/mac80211/main.c


For the changes and see if they are still there.
User avatar
rooted
 
Posts: 5607
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Sat Sep 08, 2018 3:00 am

You were right rooted, the patch is not part of 4.14 sources. I don't think it will apply correctly in this form, but I'll look into it and report back.
I wonder how the wifi module 4 works.. Maybe it doesn't use mac80211 subsystem?
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Odroid Module 5 can't be added in a LXC instance

Unread postby mad_ady » Tue Sep 11, 2018 10:50 pm

Quick update - I tried with the same driver on an AMD64 system (kernel 4.15) and it reports the same error -95. I'll try to hunt it down in the sources... And will also look for plan B which means separate routing tables... This will be fun, in the worst kind of way... :)
User avatar
mad_ady
 
Posts: 4599
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1


Return to Ubuntu

Who is online

Users browsing this forum: meveric and 1 guest