Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Modules #106

Open
pilotnbr1 opened this issue Dec 16, 2018 · 20 comments
Open

Missing Modules #106

pilotnbr1 opened this issue Dec 16, 2018 · 20 comments

Comments

@pilotnbr1
Copy link
Contributor

In an effort to document and stay organized it pains me to open this 😔

@pilotnbr1
Copy link
Contributor Author

Just started looking into the 88xx problem. Anyone aware of some of the problems reported by 5.3.4? Sorry if this is already mentioned. I am just getting up to speed..
t6x/reaver-wps-fork-t6x#265 (comment)

@pilotnbr1
Copy link
Contributor Author

To further resolve this issue I am wondering if journald (or perhaps some other log) should be enabled to get more log output.

@Yes21
Copy link
Contributor

Yes21 commented Dec 17, 2018

The issue is : with 5.3.4 on the airPi, no video transmission to the ground and error message "injection failed".

@RespawnDespair
Copy link
Owner

RespawnDespair commented Dec 17, 2018

Its definitely a better decision to move back to 5.2.20, there appear to be more people with issues (in regards to monitor mode etc.):
t6x/reaver-wps-fork-t6x#265
I will try to go back while maintaining all the current improvements.

@Yes21
Copy link
Contributor

Yes21 commented Dec 17, 2018

I agree. Thanks.
I will test and confirm if it works again.

@pilotnbr1
Copy link
Contributor Author

To go back to 5.2.20 is it as simple as changing the git request? Or is it more involved than it appears?

@RespawnDespair
Copy link
Owner

A little more involved, since the rest of the modifications still needs to work

@pilotnbr1
Copy link
Contributor Author

@JelleTigchelaar just want to point out that the makefile for 5.2.20 now (as of a week ago) has option specific to pi3b+

CONFIG_PLATFORM_ARM_RPI = n
CONFIG_PLATFORM_ARM64_RPI = n

@pilotnbr1
Copy link
Contributor Author

pilotnbr1 commented Dec 19, 2018

something else interesting- it has been some time since I have gone thru the terminal output while an image is being built. So here is some output with warnings of duplicate module aliases when depmod is called

/usr/bin/make -C /lib/modules/4.14.71+/build M=/home/pi/flir/v4l2loopback modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.14.71+'
INSTALL /home/pi/flir/v4l2loopback/v4l2loopback.ko
DEPMOD 4.14.71+
make[1]: Leaving directory '/usr/src/linux-headers-4.14.71+'
Unknown host QEMU_IFLA type: 47
Unknown host QEMU_IFLA type: 48
Unknown host QEMU_IFLA type: 43
Unknown host QEMU_IFLA type: 47
Unknown host QEMU_IFLA type: 48
Unknown host QEMU_IFLA type: 43
Unknown host QEMU_IFLA type: 47
Unknown host QEMU_IFLA type: 48
Unknown host QEMU_IFLA type: 43
depmod: WARNING: duplicate module alias:
usb:v043Ep7A32ddcdscdpiciscipin rt2800usb
depmod: WARNING: duplicate module alias:
usb:v0BDAp8176ddcdscdpiciscipin 8192cu
depmod: WARNING: duplicate module alias:
usb:v0BDAp8191ddcdscdpiciscipin 8192cu
depmod: WARNING: duplicate module alias:
usb:v0BDAp8813ddcdscdpiciscipin 88XXau
depmod: WARNING: duplicate module alias:
usb:v0BDApA811ddcdscdpiciscipin 88XXau
depmod: WARNING: duplicate module alias:
usb:v2001p3313ddcdscdpiciscipin 88XXau
depmod: WARNING: duplicate module alias:
usb:v0BDAp881Addcdscdpiciscipin 88XXau
depmod: WARNING: duplicate module alias:
usb:v0BDAp8812ddcdscdpiciscipin 88XXau
depmod: WARNING: duplicate module alias:
usb:v0421p00E9ddcdscdpic02isc02ipFFin* cdc_acm

@pilotnbr1
Copy link
Contributor Author

So to get to the bottom of our missing modules I have attempted some fairly aggressive rollbacks on the code.

I have gone so far as to completely comment out all purges, auto-remove, completely deleted stage 4 04-run.sh.

I am about to comment out
DEBIAN_FRONTEND=noninteractive sudo apt-get -yq install raspberrypi-kernel-headers

Comparing @Yes21 11-05 image there are quite a few more drivers present within /rootfs/lib/modules/4.14.71-v7+/kernel/drivers than any new image I create. lsmod on a live image also confirms missing modules in the newer images

Ideas? not sure what changed to screw this up

@pilotnbr1 pilotnbr1 changed the title 88xx bug Missing Modules Dec 19, 2018
@pilotnbr1
Copy link
Contributor Author

pilotnbr1 commented Dec 19, 2018

Comparing the stage 2 kernel config file in @JelleTigchelaar repo and my older cloned repo there is a difference at line 1170.

my repo-
"# CONFIG_RTL8XXXU is not set"
"CONFIG_RTL8812AU=y"

this repo-
"# CONFIG_RTL8XXXU is not set"
"# CONFIG_RTL8812AU=y"
"CONFIG_RTL8821AU=m"

rtl8812au=y Its commented out. dont know if the patch comes later or some other process changes it down the road but it is a difference in the 2 repo files.

@Yes21
Copy link
Contributor

Yes21 commented Dec 19, 2018

I can confirm that the latest commit (ab0206d) does this #CONFIG_RTL8812AU=y.

But @RespawnDespair did explain me that's not an error :

Yves Chaufour
Jelle I've found 3 errors were you wrote 8821 instead of 8812. But now the driver is not compiling anymore !!
Jelle Tigchelaar
Those are not errors. The entire set if modules us 8821au to the kernel config. Within the makefile for the 88xx you determine the actual support. So i dont think that is a problem. The gnd loads the driver for you 8812 doesnt it?

@pilotnbr1
Copy link
Contributor Author

@Yes21 thanks for the reply. I am sure @JelleTigchelaar is right then... I am running out of ideas and just going earlier in the stages to figure it out.

I’ve already been building an image with older config files (that appear correct) to see what that does. Sounds like it will not fix the problem

@Yes21
Copy link
Contributor

Yes21 commented Dec 19, 2018

But I don't understand why @RespawnDespair did change to 8821 for the v5.3.4 branch of the 8812 driver ...

@kimocoder
Copy link

Pushing both major and minor updates to the v5.2.20 branch within a week.
Rolling out and may be seen here aircrack-ng/rtl8812au#246

when I finish up, I'll port them into the v5.3.4 (Edimax) base.

contains frame injection fix and lots of other important fixes. so stay tuned

@pilotnbr1
Copy link
Contributor Author

Pushing both major and minor updates to the v5.2.20 branch within a week.
Rolling out and may be seen here aircrack-ng/rtl8812au#246

when I finish up, I'll port them into the v5.3.4 (Edimax) base.

contains frame injection fix and lots of other important fixes. so stay tuned

awesome!

@Yes21
Copy link
Contributor

Yes21 commented Dec 23, 2018

Pushing both major and minor updates to the v5.2.20 branch within a week.
Rolling out and may be seen here aircrack-ng/rtl8812au#246

when I finish up, I'll port them into the v5.3.4 (Edimax) base.

contains frame injection fix and lots of other important fixes. so stay tuned

Many thanks.
I've now reverted our script to 5.2.20.
We will test again 5.3.4 later ...

@kimocoder
Copy link

Yup. v5.3.4 is good, but it got some issues still.. work in progres more or less

@Yes21
Copy link
Contributor

Yes21 commented Dec 23, 2018

Here is the real issue we had with 5.3.4 :

The issue is : with 5.3.4 on the airPi, no video transmission to the ground and error message "injection failed".

@pilotnbr1
Copy link
Contributor Author

I think we can close this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants