[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package rtl8812au -
4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4

---
rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4) focal; urgency=medium

  * Support linux 5.15: (LP: #1960169)
- debian/patches/0020-drop-ipx-and-apple-talk-support.patch

 -- Andrea Righi   Sun, 06 Feb 2022 18:06:19
+

** Changed in: rtl8812au (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-04-27 Thread Dimitri John Ledkov
1) launched focal lxd VM, removed kvm kernel, installed v5.15
hwe-20.04-edge kernel.

2) checked that existing module fails to install

Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
Building for 5.15.0-25-generic
Building initial module for 5.15.0-25-generic
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/rtl8812au-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for 
more informati
on.
dpkg: error processing package rtl8812au-dkms (--configure):
 installed rtl8812au-dkms package post-installation script subprocess returned 
error exit s
tatus 10
Errors were encountered while processing:
 rtl8812au-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

3) checked that new package installs correctly

Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4) over 
(4.3.8.12175.20
140902+dfsg-0ubuntu13~20.04.3) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
Building for 5.15.0-25-generic
Building initial module for 5.15.0-25-generic
Can't load /var/lib/shim-signed/mok/.rnd into RNG
140687348028736:error:2406F079:random number generator:RAND_load_file:Cannot 
open file:../c
rypto/rand/randfile.c:98:Filename=/var/lib/shim-signed/mok/.rnd
Generating a RSA private key
...
.+
..+
writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
-
Done.

8812au.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-25-generic/updates/dkms/

depmod...

DKMS: install completed.


** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-04-27 Thread Dimitri John Ledkov
Opened bug report about the dkms.conf bug at
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1970635

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-04-27 Thread Dimitri John Ledkov
1) launched focal lxd container
2) enabled proposed
3) installed the v5.15 based kernel
apt install linux-generic-hwe-20.04-edge
4) disabled proposed

5) observed that it fails to install

# apt install rtl8812au-dkms=4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following NEW packages will be installed:
  rtl8812au-dkms
0 upgraded, 1 newly installed, 0 to remove and 34 not upgraded.
Need to get 1116 kB of archives.
After this operation, 8906 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 
rtl8812au-dkms all 4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3 [1116 kB]
Fetched 1116 kB in 1s (1761 kB/s)  
Selecting previously unselected package rtl8812au-dkms.
(Reading database ... 79023 files and directories currently installed.)
Preparing to unpack 
.../rtl8812au-dkms_4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3_all.deb 
...
Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
It is likely that 5.13.0-40-generic belongs to a chroot's host
Building for 5.15.0-25-generic
Building initial module for 5.15.0-25-generic
Error! Bad return status for module build on kernel: 5.15.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for 
more informati
on.
dpkg: error processing package rtl8812au-dkms (--configure):
 installed rtl8812au-dkms package post-installation script subprocess returned 
error exit s
tatus 10
Errors were encountered while processing:
 rtl8812au-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

6) enabled proposed once again

7) observed that from proposed does not build and install fine it
seems that despite being in a chroot and requesting to build against
v5.15 kernel it tries to build against the host kernel:

Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4) over 
(4.3.8.12175.20
140902+dfsg-0ubuntu13~20.04.3) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
It is likely that 5.13.0-40-generic belongs to a chroot's host
Building for 5.15.0-25-generic
Building initial module for 5.15.0-25-generic
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/rtl8812au-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for 
more informati
on.
dpkg: error processing package rtl8812au-dkms (--configure):
 installed rtl8812au-dkms package post-installation script subprocess returned 
error exit s
tatus 10
dmesg: read kernel buffer failed: Operation not permitted
 Errors were 
encountered while proc
essing:
 rtl8812au-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@normal-snake:~# cat 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log
DKMS make.log for rtl8812au-4.3.8.12175.20140902+dfsg for kernel 
5.15.0-25-generic (x86_64)
Wed Apr 27 15:22:31 UTC 2022
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.0-40-generic/build 
M=/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build  modules
make[1]: *** /lib/modules/5.13.0-40-generic/build: No such file or directory.  
Stop.
make: *** [Makefile:1457: modules] Error 2

this needs to be verified in a VM. And the bug that dkms module is not
built against requested kernel version should be filed and fixed
separately.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-04-06 Thread Andy Whitcroft
Hello Andrea, or anyone else affected,

Accepted rtl8812au into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/rtl8812au/4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: rtl8812au (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-04-06 Thread Dimitri John Ledkov
This could have been a backport of jammy's
4.3.8.12175.20140902+dfsg-0ubuntu15 including jammy's changelog and then
version number 4.3.8.12175.20140902+dfsg-0ubuntu15~20.04.1

or it can be 4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4 (as in .N+1
increment on the last upload).

But 4.3.8.12175.20140902+dfsg-0ubuntu14~20.04.3 does not make sense, as
this upload is unrelated to 4.3.8.12175.20140902+dfsg-0ubuntu14 which
adds v5.10 support which landed as
4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3 already.

Uploading this as 4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.4.

In the future, if it is desired to ship backports of later development
series dkms modules into prior series one can use `backportpackage`
command to create correctly versioned backports with devel series
changelogs included.

** Also affects: rtl8812au (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: rtl8812au (Ubuntu)
   Status: New => Fix Released

** Changed in: rtl8812au (Ubuntu Focal)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-02-06 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-02-06 Thread Andrea Righi
** Description changed:

  [Impact]
  
  /home/ubuntu/rtl8812au-4.3.8.12175.20140902+dfsg/core/rtw_br_ext.c:25:10: 
fatal error: net/ipx.h: No such file or directory
-25 | #include 
-   |  ^~~
+    25 | #include 
+   |  ^~~
  compilation terminated.
  
  [Test case]
  
-  $ sudo apt install rtl8812au-dkms
+  $ sudo apt install rtl8812au-dkms
  
  [Fix]
  
- Backport patches from jammy to properly support linux 5.15.
+ Drop IPX support (deprecated in newer kernel). Same patch has been
+ applied in jammy (this fix is a backport of the same patch).
  
  [Regression potential]
  
- We may see regressions restricted to the rtl8812au driver.
+ IPX is not supported anymore, so we may experience regressions for those
+ that are still using and relying on this protocol with the rtl8821ce
+ driver.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960169] Re: rtl8812au fails to build on focal with linux hwe 5.15

2022-02-06 Thread Andrea Righi
debdiff in attach fixes build failures on focal with linux hwe 5.15.

** Patch added: "rtl8812au-support-linux-5.15.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+attachment/5559389/+files/rtl8812au-support-linux-5.15.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960169

Title:
  rtl8812au fails to build on focal with linux hwe 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1960169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs