-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
RPi + Allo USBridge Sig | Ethernet driver ax88179_178a fails #3725
Comments
Hi, Many thanks for your message. Just as information, DietPi is not and will not create any kernel version. The kernel is provided by the underlying Debian base image, always. |
@Joulinar - Looks like I'm going to have to find an O/S other than DietPi for audio use going forward. The kernel choices have been a disaster for this use case. I understand that you don't create the kernels, but the ones you've been choosing to include in DietPi releases have made DietPi nearly unusual for audio applications. This is so disappointing since DietPi was otherwise excellent. for this purpose. Cheers. |
Still a misunderstanding. DietPi is not choosing for a kernel. It's provided by the Debian Base image. Depending on the SBC used, DietPi is using different Debian images like Armbian or Meveric. In case of Raspberry Pi, the kernel is provided by Raspberry OS. The version of the kernel is not influenced by DietPi. |
We install a special version that is provided by Allo, contains some ARM enhancements and makes their USBridge Signature running better, coincidence? It is pulled from here: http://3.230.113.73:9011/Allocom/USBridgeSig/ When you upgrade the kernel to lastet version:
It worked fine in my case btw:
|
I also have this issue with Allo UsbBridge & latest DietPi OS (6.32). First boot UsbBridge have lan connection, upgrade with 5.4 kernel, and no networks at the reboot. |
Can you please as well check if the file exists and if the module version matches loaded kernel:
|
First boot 👍 During upgrade : Reboot after update : |
Okay so the modules have been installed successfully. The dietpi-config error means that
Or can it be loaded?
|
Yes
Return nothing (empty)
Return "ERROR : could not insert 'ax88179_178a' : Exec format error" Try to use : The Allo module is no longer compatible with the 5.4 kernel ? |
Hmm, the only explanation is that the module from Allo is broken. Generally Linux 5.4 is not an issue, they build it for (nearly) all versions, even the ones not packaged for RPi repo: http://3.230.113.73:9011/Allocom/USBridgeSig/
Reported to Allo: allocom/USBridgeSig#1 |
Oh no :( There is an sound quality impact ? |
I'm afraid yes, but I don't know the details. Here are the driver sources, you could try to build it yourself, Worst case is that you need to downgrade the kernel + bootloader + firmware, I guess: http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/?C=M;O=D |
@MichaIng |
It's when you use this: https://allo.com/sparky/usbridge-signature-pcb.html |
Thx for explanation @MichaIng |
Running into this error when trying to compile the module: https://askubuntu.com/questions/1215551/ubuntu-server-19-10-ax88179-driver-problem |
So the next step is that Allo ask to ASIX to upgrade the module to be compatible with the current 5.4 kernel ? |
Yes indeed that should be done. I'm not sure how Allo manages to build the module with this error. I just commented this deprecated (now removed) option definitions, like it was done here: acooks/tn40xx-driver#9 (comment) Please try this:
|
curl https://dietpi.com/downloads/misc/ax88179_178a.ko_new => 403 ;) |
Whoopsie, just fixed permissions 😄. |
I just tested with the October 22nd DietPi_RPi-ARMv7-Buster_AlloGUI.img image, which is still v6.32.2, IIRC. The Allo USBridge Signature booted with no networking (missing a working ax88179_178a). I transferred the microSD card to another RPi and applied the workaround:
After that, I was able to use
So, Allo USBridge Signature owners are still in for a bumpy ride with the October 22nd image, but if the image after this one includes this new driver, they should be good to go. Thanks again, @MichaIng and @allocom for working on this. If they have another Raspberry Pi and a USB microSD card reader, they can use these commands to "patch" the October 22nd image so that it boots with networking:
|
BTW, while testing the above "patch" process, I observed a few 404 errors in the output. @allocom , this may be worth looking into: FWIW, it looks like fall-back to the default driver actually worked, but fixing these 404's should be easy and is probably the right thing to do. Here's a recording of the complete first-boot and dietpi-update process for the October 22nd image with my "patch" from above: https://youtu.be/rIt3jVPn6RM |
Not related to this issue, but I should add that the October 22nd kernel (5.4.72-v7+) is unusable for audio. When playing out to a USB DAC (what the USBridge Signature was made for), there's a constant stream of pops and ticks. :-\ Trying this workaround to roll back to the previous kernel (5.4.51-v7+):
This seems to have resolved the pops and ticks for now. @allocom - please let me know if you have experienced the same thing in your testing of the 5.4.72-v7+ kernel on the USBridge Signature. |
I've tossed these kernel downgrade steps into a script to make it a bit easier:
|
Thanks for the hint, yes totally makes sense to add the fixed driver to our Allo GUI image! EDIT: Done The issue with Possible 404 errors during kernel update are btw expected, note the "No matching stable driver found, trying to...". A pain that ASIX did not manage until now to push the updated driver to mainstream Linux. RPi Foundation refused to accept the new drivers when done coming from upstream 😞. @dsnyder0pc |
@MichaIng - Yes. http://3.230.113.73:9011/Allocom/USBridgeSig/stable_rel/rpi-usbs-5.4.51-v7+/ax88179_178a.ko works fine for me. I've verified that it's the same as what I'm currently running:
I think the "No matching driver found. Cleaning up and aborting…" bit was the most concerning. I did notice that it was part of an "[INFO]" message, so, I didn't think I should take it too seriously. I guess if I was checking for a number of resources that may or may not exist, I'd probably just do a series of HEAD requests and say something like:
or
Of course, if there's an error actually pulling down the driver, you should report that (eg., no space or whatever). But, probably no need to report the HTTP status code from the HEAD request. For example:
|
Many thanks for your suggestion. That would match a bid the way we perform downloads within But indeed here we expect at least one 404 for at least one of the two kernels (v7+ and v8+). An alternative to the separate HEAD request is to redirect error outputs into a variable first, and only if it's present + no 404, print it to console, if it's 404, print the smoother "No matching stable branch driver found, trying master branch driver..." actually is enough. |
Well, the USBridge Signature is a Raspberry Pi Compute Module 3+
Probably only a small percentage of non-industrial end users are running DietPi on CM 3+ boards, so perhaps you could only go to this trouble if you detect that you're installing on a CM 3+. :) |
Good point, theoretically it could be completely skipped on non-CM3 🤔. |
Hi, same issue on my Raspberry Pi 2 Model B V1.1 first setup of DietPi hangs in endless loop, trying to get Kernel-Module from this strange Server http://3.230.113.73:9011/Allocom/USBr..... Raspi OS works like a charm without this stuff, but i want to use DietPi because of the other nice features is there a option in the dietpi.txt to skip this step? below is the console output of my 3rd try to finish setup :/ BR
|
@theskystalker |
@Joulinar you were right. |
Hmm probably your ISP is blocking it? 🤔 |
Looks like only the Webserver on this machine blocks my IP. There is also running an FTP Server and from there I got an answer. 🤷♂️ Maybe it would be an good idea to load the source from Github an compile it on the pi, because loading "Stuff" from unknown sources is not best practice, at least comparing the hash would be fine, but there is nothing provided on github |
This is the Allo web server. But maybe there is something else in between blocking HTTP traffic? |
Strange that curl is retrying, as actually by default it should give up on a failure. Ah when updating from v6.32 to v6.33 then it is still the old script that used wget which does 20 retries by default. So that is solved already. Okay, let's make this a minimal noise implementation:
@theskystalker |
Nice, and thanks for the Tip, will try it tomorrow 👍
Oh, ok that's 40 minutes 😁 , nearly endless loop 😆 |
Another reason why migrating all downloads to Reopened to not forget about this. |
Will now only be applied on CM 3+ now and only for v7+ kernel: d8ace2f A build for the latest stable kernel is btw available now: http://3.230.113.73:9011/Allocom/USBridgeSig/stable_rel/ |
ADMIN EDIT
Workaround for 32-bit kernel users:
Creating a bug report/issue
Required Information
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
The text was updated successfully, but these errors were encountered: