mbox series

[SRU,F/raspi,G/raspi,H/raspi,0/1] No iwilwifi driver in Linux 5.4.0-1034-raspi (LP: #1925209)

Message ID 20210422123049.28870-1-juergh@canonical.com
Headers show
Series No iwilwifi driver in Linux 5.4.0-1034-raspi (LP: #1925209) | expand

Message

Juerg Haefliger April 22, 2021, 12:30 p.m. UTC
[Impact]

The Raspberry Pi CM4 exposes a PCIe bus and the AX200 Wifi plugin card should therefore be supported.

[Test Plan]

$ modinfo iwlwifi
modinfo: ERROR: Module iwlwifi not found.

[Where Problems Could Occur]

It's a new module which might need firmware. If that blob is not available, users might ee dmesg errors. And obviously if the module is buggy all hell could break loose.

[Original description]

Hello,

I have installed Ubuntu Core 20 edge built on 19.04.2021(https://cdimage.ubuntu.com/ubuntu-core/20/edge/) in Raspberry Pi CM4.

Operating System: Ubuntu Core 20
Kernel: Linux 5.4.0-1034-raspi
Architecture: arm64

I have inserted a Intel AX200 Wifi Adapter in PCIe slot in Raspberry Pi CM4. The device is recognised

$pciutils-snap.lspci
00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20)
01:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

But the iwlwifi driver is not available.

$lsmod | grep iwl
$

iwlwifi is the driver needed for intel wireless chips(https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi).

Is there a possibility to enable the iwlwifi driver?

Thanks
Hema

Juerg Haefliger (1):
  UBUNTU: [Config] raspi: Set IWLWIFI=m

 debian.raspi/config/config.common.ubuntu | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Comments

Tim Gardner April 22, 2021, 1:02 p.m. UTC | #1
Acked-by: Tim Gardner <tim.gardner@canonical.com>

Enabling modules isn't always risk free. One should note that PCI 
devices are hot-plugged. If there is an early bug in the module init, or 
it mis-handles some incoming packet, odd crashes could ensue. I have 
seen this with staging drivers.

rtg

On 4/22/21 6:30 AM, Juerg Haefliger wrote:
> [Impact]
> 
> The Raspberry Pi CM4 exposes a PCIe bus and the AX200 Wifi plugin card should therefore be supported.
> 
> [Test Plan]
> 
> $ modinfo iwlwifi
> modinfo: ERROR: Module iwlwifi not found.
> 
> [Where Problems Could Occur]
> 
> It's a new module which might need firmware. If that blob is not available, users might ee dmesg errors. And obviously if the module is buggy all hell could break loose.
> 
> [Original description]
> 
> Hello,
> 
> I have installed Ubuntu Core 20 edge built on 19.04.2021(https://cdimage.ubuntu.com/ubuntu-core/20/edge/) in Raspberry Pi CM4.
> 
> Operating System: Ubuntu Core 20
> Kernel: Linux 5.4.0-1034-raspi
> Architecture: arm64
> 
> I have inserted a Intel AX200 Wifi Adapter in PCIe slot in Raspberry Pi CM4. The device is recognised
> 
> $pciutils-snap.lspci
> 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20)
> 01:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
> 
> But the iwlwifi driver is not available.
> 
> $lsmod | grep iwl
> $
> 
> iwlwifi is the driver needed for intel wireless chips(https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi).
> 
> Is there a possibility to enable the iwlwifi driver?
> 
> Thanks
> Hema
> 
> Juerg Haefliger (1):
>    UBUNTU: [Config] raspi: Set IWLWIFI=m
> 
>   debian.raspi/config/config.common.ubuntu | 10 +++++++++-
>   1 file changed, 9 insertions(+), 1 deletion(-)
>
Juerg Haefliger April 23, 2021, 9:33 a.m. UTC | #2
On Thu, 22 Apr 2021 07:02:42 -0600
Tim Gardner <tim.gardner@canonical.com> wrote:

> Acked-by: Tim Gardner <tim.gardner@canonical.com>
> 
> Enabling modules isn't always risk free.

Yes. That's what I tried to elaborate on in the LP bug. Fell free to amend it.


> One should note that PCI 
> devices are hot-plugged. If there is an early bug in the module init, or 
> it mis-handles some incoming packet, odd crashes could ensue. I have 
> seen this with staging drivers.

PCI hot-plugging is optional and glancing over the few and partial schematics
that are available for the CM4 and its IO board I doubt that it's supported.

...Juerg


> rtg
> 
> On 4/22/21 6:30 AM, Juerg Haefliger wrote:
> > [Impact]
> > 
> > The Raspberry Pi CM4 exposes a PCIe bus and the AX200 Wifi plugin card should therefore be supported.
> > 
> > [Test Plan]
> > 
> > $ modinfo iwlwifi
> > modinfo: ERROR: Module iwlwifi not found.
> > 
> > [Where Problems Could Occur]
> > 
> > It's a new module which might need firmware. If that blob is not available, users might ee dmesg errors. And obviously if the module is buggy all hell could break loose.
> > 
> > [Original description]
> > 
> > Hello,
> > 
> > I have installed Ubuntu Core 20 edge built on 19.04.2021(https://cdimage.ubuntu.com/ubuntu-core/20/edge/) in Raspberry Pi CM4.
> > 
> > Operating System: Ubuntu Core 20
> > Kernel: Linux 5.4.0-1034-raspi
> > Architecture: arm64
> > 
> > I have inserted a Intel AX200 Wifi Adapter in PCIe slot in Raspberry Pi CM4. The device is recognised
> > 
> > $pciutils-snap.lspci
> > 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20)
> > 01:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
> > 
> > But the iwlwifi driver is not available.
> > 
> > $lsmod | grep iwl
> > $
> > 
> > iwlwifi is the driver needed for intel wireless chips(https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi).
> > 
> > Is there a possibility to enable the iwlwifi driver?
> > 
> > Thanks
> > Hema
> > 
> > Juerg Haefliger (1):
> >    UBUNTU: [Config] raspi: Set IWLWIFI=m
> > 
> >   debian.raspi/config/config.common.ubuntu | 10 +++++++++-
> >   1 file changed, 9 insertions(+), 1 deletion(-)
> >   
>
Tim Gardner May 7, 2021, 7:19 p.m. UTC | #3
Applied to fgh:raspi/master-next. Thanks.

-rtg

On 4/22/21 6:30 AM, Juerg Haefliger wrote:
> [Impact]
> 
> The Raspberry Pi CM4 exposes a PCIe bus and the AX200 Wifi plugin card should therefore be supported.
> 
> [Test Plan]
> 
> $ modinfo iwlwifi
> modinfo: ERROR: Module iwlwifi not found.
> 
> [Where Problems Could Occur]
> 
> It's a new module which might need firmware. If that blob is not available, users might ee dmesg errors. And obviously if the module is buggy all hell could break loose.
> 
> [Original description]
> 
> Hello,
> 
> I have installed Ubuntu Core 20 edge built on 19.04.2021(https://cdimage.ubuntu.com/ubuntu-core/20/edge/) in Raspberry Pi CM4.
> 
> Operating System: Ubuntu Core 20
> Kernel: Linux 5.4.0-1034-raspi
> Architecture: arm64
> 
> I have inserted a Intel AX200 Wifi Adapter in PCIe slot in Raspberry Pi CM4. The device is recognised
> 
> $pciutils-snap.lspci
> 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20)
> 01:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
> 
> But the iwlwifi driver is not available.
> 
> $lsmod | grep iwl
> $
> 
> iwlwifi is the driver needed for intel wireless chips(https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi).
> 
> Is there a possibility to enable the iwlwifi driver?
> 
> Thanks
> Hema
> 
> Juerg Haefliger (1):
>    UBUNTU: [Config] raspi: Set IWLWIFI=m
> 
>   debian.raspi/config/config.common.ubuntu | 10 +++++++++-
>   1 file changed, 9 insertions(+), 1 deletion(-)
>