Processed: Re: Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-11 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 firmware-brcm80211 20230210-1
Bug #1032367 [src:linux] firmware-brcm80211: Missing brcmfmac4356-pcie.bin
Bug reassigned from package 'src:linux' to 'firmware-brcm80211'.
No longer marked as found in versions linux/6.1.15-1.
Ignoring request to alter fixed versions of bug #1032367 to the same values 
previously set
Bug #1032367 [firmware-brcm80211] firmware-brcm80211: Missing 
brcmfmac4356-pcie.bin
Marked as found in versions firmware-nonfree/20230210-1.
> notforwarded -1
Bug #1032367 [firmware-brcm80211] firmware-brcm80211: Missing 
brcmfmac4356-pcie.bin
Unset Bug forwarded-to-address
> tag -1 -upstream
Bug #1032367 [firmware-brcm80211] firmware-brcm80211: Missing 
brcmfmac4356-pcie.bin
Removed tag(s) upstream.
> found -1 20210315-3
Bug #1032367 [firmware-brcm80211] firmware-brcm80211: Missing 
brcmfmac4356-pcie.bin
Marked as found in versions firmware-nonfree/20210315-3.

-- 
1032367: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032367
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-11 Thread Diederik de Haas
Control: reassign -1 firmware-brcm80211 20230210-1
Control: notforwarded -1
Control: tag -1 -upstream
Control: found -1 20210315-3

On Saturday, 11 March 2023 03:39:19 CET d...@kataplop.net wrote:
> > 1) First remove the symlink you created above.
> > 2) Get the .deb for version 20230117-2 and install that
> > 3) Reboot and verify that your wifi works as it should
> 
> it works as expected...
> 
> > 4) If so, upgrade to the 20230210-1 version and reboot
> > 5) verify that wifi is now broken
> 
> ... and this breaks the wifi with module not finding the fw, as expected
> (same error message)

I still think the upstream kernel should do something with the 'new' use of 
the cypress directory as I described in my mail to the ML(s).
But the cause for the breakage is actually a (Debian) packaging change and I'm 
about to revert that ...

On Friday, 10 March 2023 10:57:15 CET Diederik de Haas wrote:
> I'm 99% sure this would be a *workaround*, but let's verify anyway:
> In the /lib/firmware directory, create a symlink from
> brcm/brcmfmac4356-pcie.bin to cypress/cyfmac4356-pcie.bin

... as this was likely less of a 'workaround' and more a 'solution'.

signature.asc
Description: This is a digitally signed message part.


Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-10 Thread dkm
> 1) First remove the symlink you created above.
> 2) Get the .deb for version 20230117-2 and install that
> 3) Reboot and verify that your wifi works as it should

it works as expected...

> 4) If so, upgrade to the 20230210-1 version and reboot
> 5) verify that wifi is now broken

... and this breaks the wifi with module not finding the fw, as expected (same 
error message)

> Let me/us know how that test goes.

:)

Marc



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-10 Thread Diederik de Haas
On Friday, 10 March 2023 17:16:48 CET Diederik de Haas wrote:
> On Friday, 10 March 2023 13:07:22 CET d...@kataplop.net wrote:
> > March 10, 2023 10:57 AM, "Diederik de Haas"  wrote:
> > > I'm 99% sure this would be a *workaround*, but let's verify anyway:
> > > In the /lib/firmware directory, create a symlink from
> > > brcm/brcmfmac4356-pcie.bin to cypress/cyfmac4356-pcie.bin
> > 
> > As expected, it works with the symlink :)
> 
> Thanks, then it's a kernel issue so I'm reassigning accordingly.

New development: I now think it *is* an issue in firmware-brcm80211.
I think it would still be good if the kernel would also check the `cypress` 
directory, but this seems to be a packaging issue.

Via https://snapshot.debian.org/binary/firmware-brcm80211/ you can find
various old versions of the package, and I want you to do the following test:

1) First remove the symlink you created above.
2) Get the .deb for version 20230117-2 and install that
3) Reboot and verify that your wifi works as it should
4) If so, upgrade to the 20230210-1 version and reboot
5) verify that wifi is now broken

Let me/us know how that test goes.

signature.asc
Description: This is a digitally signed message part.


Processed: Re: Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-10 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 src:linux 6.1.15-1
Bug #1032367 [firmware-brcm80211] firmware-brcm80211: Missing 
brcmfmac4356-pcie.bin
Bug reassigned from package 'firmware-brcm80211' to 'src:linux'.
No longer marked as found in versions firmware-nonfree/20210315-3.
Ignoring request to alter fixed versions of bug #1032367 to the same values 
previously set
Bug #1032367 [src:linux] firmware-brcm80211: Missing brcmfmac4356-pcie.bin
Marked as found in versions linux/6.1.15-1.
> tag -1 -moreinfo +upstream
Bug #1032367 [src:linux] firmware-brcm80211: Missing brcmfmac4356-pcie.bin
Removed tag(s) moreinfo.
Bug #1032367 [src:linux] firmware-brcm80211: Missing brcmfmac4356-pcie.bin
Added tag(s) upstream.
> forwarded -1 
> https://lore.kernel.org/linux-wireless/2716728.5R3jveeIG6@prancing-pony/
Bug #1032367 [src:linux] firmware-brcm80211: Missing brcmfmac4356-pcie.bin
Set Bug forwarded-to-address to 
'https://lore.kernel.org/linux-wireless/2716728.5R3jveeIG6@prancing-pony/'.

-- 
1032367: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032367
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-10 Thread Diederik de Haas
Control: reassign -1 src:linux 6.1.15-1
Control: tag -1 -moreinfo +upstream
Control: forwarded -1 
https://lore.kernel.org/linux-wireless/2716728.5R3jveeIG6@prancing-pony/

On Friday, 10 March 2023 13:07:22 CET d...@kataplop.net wrote:
> March 10, 2023 10:57 AM, "Diederik de Haas"  wrote:
> > I'm 99% sure this would be a *workaround*, but let's verify anyway:
> > In the /lib/firmware directory, create a symlink from
> > brcm/brcmfmac4356-pcie.bin to cypress/cyfmac4356-pcie.bin
> 
> As expected, it works with the symlink :)

Thanks, then it's a kernel issue so I'm reassigning accordingly.

signature.asc
Description: This is a digitally signed message part.


Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-10 Thread dkm
March 10, 2023 10:57 AM, "Diederik de Haas"  wrote:

>> Let me know if I can test something else,
> 
> I'm 99% sure this would be a *workaround*, but let's verify anyway:
> In the /lib/firmware directory, create a symlink from
> brcm/brcmfmac4356-pcie.bin to cypress/cyfmac4356-pcie.bin

As expected, it works with the symlink :)

Marc



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-10 Thread Diederik de Haas
On Friday, 10 March 2023 04:00:44 CET d...@kataplop.net wrote:
> March 9, 2023 5:25 PM, "Diederik de Haas"  wrote:
> > The brcm/brcmfmac4356-pcie.bin file (f.e.) has been moved/renamed to
> > cypress/cyfmac4356-pcie.bin and *maybe* that causes the issue.
> > 
> > If you can access this file, could you try if it solves the issue?
> > https://salsa.debian.org/diederik/firmware-nonfree/-/jobs/4035730/
> > artifacts/file/debian/output/firmware-brcm80211_20230210-3+salsaci_all.deb
> 
> I've installed this package and still get the same faulty behavior:
> 
> [87955.527647] brcmfmac :01:00.0: firmware: failed to load brcm/
> brcmfmac4356-pcie.bin (-2)
> [87955.527654] brcmfmac :01:00.0: Direct firmware load for brcm/
> brcmfmac4356-pcie.bin failed with error -2
> 
> Let me know if I can test something else,

I'm 99% sure this would be a *workaround*, but let's verify anyway:
In the /lib/firmware directory, create a symlink from 
brcm/brcmfmac4356-pcie.bin to cypress/cyfmac4356-pcie.bin

signature.asc
Description: This is a digitally signed message part.


Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-09 Thread dkm
March 9, 2023 5:25 PM, "Diederik de Haas"  wrote:

> On Thursday, 9 March 2023 03:38:13 CET d...@kataplop.net wrote:
> 
>> Here's the result of using latest package:
>> 
>> [38.546040] brcmfmac :01:00.0: firmware: failed to load
>> brcm/brcmfmac4356-pcie.bin (-2) [ 38.546408] brcmfmac :01:00.0:
>> firmware: failed to load brcm/brcmfmac4356-pcie.bin (-2) [ 38.546416]
>> brcmfmac :01:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.bin
>> failed with error -2
>> 
>> Downgrading it and reloading the module brings the interface up:
> 
> The brcm/brcmfmac4356-pcie.bin file (f.e.) has been moved/renamed to cypress/
> cyfmac4356-pcie.bin and *maybe* that causes the issue.
> 
> If you can access this file, could you try if it solves the issue?
> https://salsa.debian.org/diederik/firmware-nonfree/-/jobs/4035730/artifacts
> file/debian/output/firmware-brcm80211_20230210-3+salsaci_all.deb

Hi!

I've installed this package and still get the same faulty behavior:

[87955.527414] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie 
for chip BCM4356/2
[87955.527517] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin (-2)
[87955.527553] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin (-2)
[87955.527561] brcmfmac :01:00.0: Direct firmware load for 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin failed with error -2
[87955.527608] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.bin (-2)
[87955.527647] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.bin (-2)
[87955.527654] brcmfmac :01:00.0: Direct firmware load for 
brcm/brcmfmac4356-pcie.bin failed with error -2

Let me know if I can test something else,
Thanks,
Marc



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-09 Thread dkm
> If you can access this file, could you try if it solves the issue?
> https://salsa.debian.org/diederik/firmware-nonfree/-/jobs/4035730/artifacts
> file/debian/output/firmware-brcm80211_20230210-3+salsaci_all.deb

Hi,

I don't have access, so I've tried to create an account... which failed on some 
internal error. Retrying to create an account then fails because the username 
(dkm) and/or email (dkm+sa...@kataplop.net) are already used (probably because 
of my initial try).

If there's no other way, I'll go ask on IRC for support with my account 
creation.

Marc



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-09 Thread Diederik de Haas
On Thursday, 9 March 2023 03:38:13 CET d...@kataplop.net wrote:
> Here's the result of using latest package:
> 
> [38.546040] brcmfmac :01:00.0: firmware: failed to load
> brcm/brcmfmac4356-pcie.bin (-2) [   38.546408] brcmfmac :01:00.0:
> firmware: failed to load brcm/brcmfmac4356-pcie.bin (-2) [   38.546416]
> brcmfmac :01:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.bin
> failed with error -2
> 
> Downgrading it and reloading the module brings the interface up:

The brcm/brcmfmac4356-pcie.bin file (f.e.) has been moved/renamed to cypress/
cyfmac4356-pcie.bin and *maybe* that causes the issue.

If you can access this file, could you try if it solves the issue?
https://salsa.debian.org/diederik/firmware-nonfree/-/jobs/4035730/artifacts/
file/debian/output/firmware-brcm80211_20230210-3+salsaci_all.deb

signature.asc
Description: This is a digitally signed message part.


Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-08 Thread dkm
Here's the result of using latest package:

[   38.435659] brcmfmac :01:00.0: enabling device ( -> 0002)
[   38.544255] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie 
for chip BCM4356/2
[   38.545212] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin (-2)
[   38.545221] firmware_class: See https://wiki.debian.org/Firmware for 
information about missing firmware
[   38.545965] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin (-2)
[   38.545975] brcmfmac :01:00.0: Direct firmware load for 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin failed with error -2
[   38.546040] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.bin (-2)
[   38.546408] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.bin (-2)
[   38.546416] brcmfmac :01:00.0: Direct firmware load for 
brcm/brcmfmac4356-pcie.bin failed with error -2

Downgrading it and reloading the module brings the interface up:

dpkg: warning: downgrading firmware-brcm80211 from 20230210-2 to 20210315-3

modprobe -r brcmfmac
modprobe brcmfmac

[  201.775746] usbcore: registered new interface driver brcmfmac
[  201.884033] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie 
for chip BCM4356/2
[  201.884157] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin (-2)
[  201.884202] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin (-2)
[  201.884210] brcmfmac :01:00.0: Direct firmware load for 
brcm/brcmfmac4356-pcie.gpd-win-pocket.bin failed with error -2
[  201.884873] brcmfmac :01:00.0: firmware: direct-loading firmware 
brcm/brcmfmac4356-pcie.bin
[  201.884996] brcmfmac :01:00.0: firmware: direct-loading firmware 
brcm/brcmfmac4356-pcie.gpd-win-pocket.txt
[  201.885119] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.clm_blob (-2)
[  201.885153] brcmfmac :01:00.0: firmware: failed to load 
brcm/brcmfmac4356-pcie.gpd-win-pocket.clm_blob (-2)
[  201.885208] brcmfmac :01:00.0: firmware: direct-loading firmware 
brcm/brcmfmac4356-pcie.clm_blob
[  202.054220] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Aug 29 
2019 02:05:27 version 7.35.180.197 (r722171 CY) FWID 01-4c8512f9
[  202.146372] brcmfmac :01:00.0 wlp1s0: renamed from wlan0

Let me know if I can be of any help to investigate this...

Thanks,
Marc



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-05 Thread Marc
On March 5, 2023 11:01:02 AM UTC, Diederik de Haas  
wrote:
>Control: tag -1 moreinfo
>
>On Sunday, 5 March 2023 09:26:20 CET Marc wrote:
>> Package: firmware-brcm80211
>> Version: 20210315-3
>> 
>> The firmware for the wifi hardware found on the GPD Pocket 1 is missing in
>> latest firmware package. Installing an old package from bullseyes fixes the
>> issue.
>
>You are running not running the latest version of the firmware package.
>Can you try it with the latest version?
>Updated package is now in the non-free-firmware archive area, so make sure 
>that's enabled in your sources.list.
That's the reason my WiFi broke... I've enabled the non-free-firmware 
repository (for another unrelated issue with audio not working). It installed 
several packages and after reboot, wifi was not working anymore with kernel 
complaining about missing .bin file. A search in the archive pointed to 
bullseyes package as anything more recent doesn't include it.

I'll test it again for completeness and send the result here.

Thanks



Processed: Re: Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-05 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 moreinfo
Bug #1032367 [firmware-brcm80211] firmware-brcm80211: Missing 
brcmfmac4356-pcie.bin
Added tag(s) moreinfo.

-- 
1032367: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032367
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-05 Thread Diederik de Haas
Control: tag -1 moreinfo

On Sunday, 5 March 2023 09:26:20 CET Marc wrote:
> Package: firmware-brcm80211
> Version: 20210315-3
> 
> The firmware for the wifi hardware found on the GPD Pocket 1 is missing in
> latest firmware package. Installing an old package from bullseyes fixes the
> issue.

You are running not running the latest version of the firmware package.
Can you try it with the latest version?
Updated package is now in the non-free-firmware archive area, so make sure 
that's enabled in your sources.list.

signature.asc
Description: This is a digitally signed message part.


Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin

2023-03-05 Thread Marc
Package: firmware-brcm80211
Version: 20210315-3
Severity: important
X-Debbugs-Cc: dkm+report...@kataplop.net

Dear Maintainer,

The firmware for the wifi hardware found on the GPD Pocket 1 is missing in 
latest firmware package. Installing an old package from bullseyes fixes the 
issue.

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

firmware-brcm80211 depends on no packages.

firmware-brcm80211 recommends no packages.

Versions of packages firmware-brcm80211 suggests:
ii  initramfs-tools  0.142

-- no debconf information