[elrepo] mac802154_hwsim kmod request
Tamas Csirszka
tamas.csirszka at gmail.com
Fri Sep 4 18:44:33 EDT 2020
Hi Alan,
Different time zone here, hence my late response, but yes, that's quite
embarrassing....
You are absolutely right, I only installed the core package, haven't
noticed that the modules are in a separate package in el8 (not like el7
where everything is in the kernel package)!
After installing the modules rpm, everything is working as expected:
[root at kernel8 ~]# uname -a
Linux kernel8 *5.8.6-2.el8.elrepo.x86_64* #1 SMP Thu Sep 3 11:47:36 EDT
2020 x86_64 x86_64 x86_64 GNU/Linux
[root at kernel8 ~]# modinfo mac802154_hwsim
filename:
/lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/mac802154_hwsim.ko.xz
license: GPL
description: Software simulator of IEEE 802.15.4 radio(s) for mac802154
srcversion: E4B7E19C5975B465FEDCF0B
depends: mac802154
retpoline: Y
intree: Y
name: mac802154_hwsim
vermagic: 5.8.6-2.el8.elrepo.x86_64 SMP mod_unload modversions
[root at kernel8 ~]# modprobe mac802154_hwsim
[root at kernel8 ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
mode DEFAULT group default qlen 1000
link/ether 56:6f:e9:5e:00:12 brd ff:ff:ff:ff:ff:ff
3: *wpan0*: <BROADCAST,NOARP,UP,LOWER_UP> mtu 123 qdisc fq_codel state
UNKNOWN mode DEFAULT group default qlen 300
link/ieee802.15.4 fe:d6:e2:60:9d:0e:38:e1 brd ff:ff:ff:ff:ff:ff:ff:ff
4: *wpan1*: <BROADCAST,NOARP,UP,LOWER_UP> mtu 123 qdisc fq_codel state
UNKNOWN mode DEFAULT group default qlen 300
link/ieee802.15.4 8e:46:4c:63:e0:35:4e:0a brd ff:ff:ff:ff:ff:ff:ff:ff
[root at kernel8 ~]#
Module lodes fine and wpan interfaces are up!
So this means with your updates/addition to kernel config, this driver is
now available on both el7 and el8 using the ml kernel!!
Thank you very much.
Cheers,
Tamas
On Sat, Sep 5, 2020 at 12:53 AM Alan Bartlett <ajb at elrepo.org> wrote:
> On Fri, 4 Sep 2020 at 11:20, Alan Bartlett <ajb at elrepo.org> wrote:
> >
> > On Thu, 3 Sep 2020 at 23:06, Tamas Csirszka <tamas.csirszka at gmail.com>
> wrote:
> > >
> > > Hi Alan,
> > >
> > > This is looking very good on el7 now.
> > >
> > > [root at kernel7 ~]# uname -a
> > > Linux kernel7 5.8.6-2.el7.elrepo.x86_64 #1 SMP Thu Sep 3 11:33:31 EDT
> 2020 x86_64 x86_64 x86_64 GNU/Linux
> > > [root at kernel7 ~]# modinfo mac802154_hwsim
> > > filename:
> /lib/modules/5.8.6-2.el7.elrepo.x86_64/kernel/drivers/net/ieee802154/mac802154_hwsim.ko
> > > license: GPL
> > > description: Software simulator of IEEE 802.15.4 radio(s) for
> mac802154
> > > srcversion: E4B7E19C5975B465FEDCF0B
> > > depends: mac802154
> > > retpoline: Y
> > > intree: Y
> > > name: mac802154_hwsim
> > > vermagic: 5.8.6-2.el7.elrepo.x86_64 SMP mod_unload modversions
> > > [root at kernel7 ~]# modprobe mac802154_hwsim
> > > [root at kernel7 ~]# lsmod |grep mac802154_hwsim
> > > mac802154_hwsim 24576 0
> > > mac802154 86016 1 mac802154_hwsim
> > > [root at kernel7 ~]#
> > >
> > > Same time el8 hasn't changed, the whole ieee802154 folder content is
> missing.
> > >
> > > I'll engage the user and ask him to do some functional testing on el7,
> but being able to list and load it on el7 without errors seems very
> promising. Thank you!
> > >
> > >
> > >
> > > Cheers,
> > > Tamas
> >
> > So 50% encouraging and 50% disappointing. Thank you for your report.
> >
> > I will re-examine the el8 configuration and see if I can resolve the
> mystery.
> >
> > Alan.
>
> Hi Tamas,
>
> After comparing the two kernel-ml configuration files and finding
> nothing missing, I had a sudden thought whilst considering your
> statement that "the whole ieee802154 folder content is missing."
>
> I have to ask the question:
>
> Do you have the kernel-ml-modules-5.8.6-2.el8.elrepo.x86_64.rpm
> package installed on your el8 test-system?
>
> The -core package provides this --
>
> $ rpm -qpl kernel-ml-core-5.8.6-2.el8.elrepo.x86_64.rpm | grep '802154'
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/ieee802154
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/ieee802154/6lowpan
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/mac802154
> $
>
> Whilst the -modules package provides this --
>
> $ rpm -qpl kernel-ml-modules-5.8.6-2.el8.elrepo.x86_64.rpm | grep '802154'
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/adf7242.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/at86rf230.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/atusb.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/ca8210.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/cc2520.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/fakelb.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/mac802154_hwsim.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/mcr20a.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/drivers/net/ieee802154/mrf24j40.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/ieee802154/6lowpan/ieee802154_6lowpan.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/ieee802154/ieee802154.ko.xz
>
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/ieee802154/ieee802154_socket.ko.xz
> /lib/modules/5.8.6-2.el8.elrepo.x86_64/kernel/net/mac802154/mac802154.ko.xz
> $
>
> Alan.
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20200905/0ae21cd6/attachment.html>
More information about the elrepo
mailing list