CMMT: [PATCH 0/1 V2][SRU][U/K/J] Fix System cannot detect bluetooth after running suspend stress test

Koba Ko koba.ko at canonical.com
Wed Dec 7 07:55:34 UTC 2022


On Wed, Dec 7, 2022 at 3:48 PM Koba Ko <koba.ko at canonical.com> wrote:
>
> The original kinetic/master-next also can't pass the RISCV64 build,
> so this patch doesn't cause the build error.
> the error appears on,
> ~~~
> # Build a temporary "installed headers" directory.
> install -d /build/kinetic/debian/build/build-generic/______________________________________________________dkms
> /build/kinetic/debian/build/build-generic/______________________________________________________dkms/headers
> /build/kinetic/debian/build/build-generic/______________________________________________________dkms/build
> /build/kinetic/debian/build/build-generic/______________________________________________________dkms/source
> cp -rp "/build/kinetic/debian/linux-headers-5.19.0-27-generic/usr/src/linux-headers-5.19.0-27-generic"
> "/build/kinetic/debian/linux-headers-5.19.0-27/usr/src/linux-headers-5.19.0-27"
> "/build/kinetic/debian/build/build-generic/______________________________________________________dkms/headers"
> cp: cannot stat
> '/build/kinetic/debian/linux-headers-5.19.0-27/usr/src/linux-headers-5.19.0-27':
> No such file or directory
> make: *** [debian/rules.d/2-binary-arch.mk:204:
> /build/kinetic/debian/stamps/stamp-install-generic] Error 1
> ~~~

Push kinect master to cbd and build against RISCV64,
still got error,
~~~
#### BUILD: debian/rules build-generic
+ debian/rules build-generic
/bin/bash: line 1:
/build/kinetic/debian.master/abi/riscv64/../modules.ignore: No such
file or directory
make: *** No rule to make target 'build-generic'.  Stop.
~~~

>
> On Wed, Dec 7, 2022 at 3:07 PM Koba Ko <koba.ko at canonical.com> wrote:
> >
> >
> > @Kai-heng, he mentioned the error with riscv64.
> > check it now and will update it. if it's necessary, v3 will be provided.
> >
> > On Wed, Dec 7, 2022 at 2:46 PM Koba Ko <koba.ko at canonical.com> wrote:
> >>
> >> BugLink: https://bugs.launchpad.net/bugs/1998727
> >>
> >> [Impact]
> >>  System cannot detect bluetooth after running power-management/suspend-30-cycles-with-reboots
> >>
> >> [Fix]
> >>  Enable BT recovery on Realtek 8852CE FW, FW would detect and recover.
> >>
> >> [Test Case]
> >> 1. checkbox-cli run com.canonical.certification::power-management/suspend_30_cycles_with_reboots
> >> 2. check settings > bluetooth
> >>
> >> [Where problems could occur]
> >> just enable a function from kernel and run the code in the fw.
> >> the main risk would be related to FW.
> >> ~~~
> >> V2: Add build summary
> >> * Kinetic build
> >> remote: *** kernel-cbd *********************************************************
> >> remote: * Queueing builds (your 'k_gen_nxt'); ok to interrupt
> >> remote: * For results:  ssh cbd ls kobako-kinetic-93113911c2fe-eQys
> >> remote: * 480/960 cores busy (5/10 hosts), 0 builds queued
> >> remote: 2022-12-05 16:27:42  kobako-kinetic-93113911c2fe-eQys/amd64/BUILD-OK
> >> remote: 2022-12-05 16:30:36  kobako-kinetic-93113911c2fe-eQys/arm64/BUILD-OK
> >> remote: 2022-12-05 16:24:03  kobako-kinetic-93113911c2fe-eQys/armhf/BUILD-OK
> >> remote: 2022-12-05 16:28:56  kobako-kinetic-93113911c2fe-eQys/ppc64el/BUILD-OK
> >> remote: 2022-12-05 16:23:04  kobako-kinetic-93113911c2fe-eQys/s390x/BUILD-OK
> >> remote: 2022-12-05 16:38:16  kobako-kinetic-93113911c2fe-e7lc/riscv64/BUILD-FAILED
> >> remote: ************************************************************************
> >> * Jammy build
> >> remote: *** kernel-cbd *********************************************************
> >> remote: * Queueing builds (your 'j_gen_nxt'); ok to interrupt
> >> remote: * For results:  ssh cbd ls kobako-jammy-0456a95c8835-UE46
> >> remote: * 0/864 cores busy (0/9 hosts), 0 builds queued
> >> remote: 2022-12-05 16:58:04  kobako-jammy-0456a95c8835-UE46/amd64/BUILD-OK
> >> remote: 2022-12-05 16:56:40  kobako-jammy-0456a95c8835-UE46/arm64/BUILD-OK
> >> remote: 2022-12-05 16:53:17  kobako-jammy-0456a95c8835-UE46/armhf/BUILD-OK
> >> remote: 2022-12-05 16:55:31  kobako-jammy-0456a95c8835-UE46/ppc64el/BUILD-OK
> >> remote: 2022-12-05 16:51:10  kobako-jammy-0456a95c8835-UE46/s390x/BUILD-OK
> >> remote: ************************************************************************
> >>
> >> Ping-Ke Shih (1):
> >>   [U/K/J/OEM-6.0] wifi: rtw88: 8821c: enable BT device recovery mechanism
> >>
> >>  drivers/net/wireless/realtek/rtw88/fw.c  | 10 ++++++++++
> >>  drivers/net/wireless/realtek/rtw88/fw.h  |  6 ++++++
> >>  drivers/net/wireless/realtek/rtw88/mac.c | 18 +++++++++++++++++-
> >>  3 files changed, 33 insertions(+), 1 deletion(-)
> >>
> >> --
> >> 2.25.1
> >>



More information about the kernel-team mailing list