Opened 7 years ago
Closed 5 years ago
#5784 closed (fixed)
Busybox - Invalid argument since r31533 Broadcom K2.6
| Reported by: | doktornotor | Owned by: | BrainSlayer |
|---|---|---|---|
| Keywords: | Cc: | RuiPereira, kernel-panic69 |
Description
Dead simple things like
echo foo > /tmp/bar
fail with
-sh: 1: Invalid argument
Breaks startup scripts and tons of other things. Also reported here: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1070010#1070010
Still broken on E4200 with dd-wrt.v24-31722_NEWD-2_K2.6_mega-nv60k.bin
Attachments (3)
Change History (23)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
This project sucks big time. You could as well close the bug tracker, completely useless. Switching to LEDE.
comment:3 by , 7 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:4 by , 7 years ago
| Cc: | added |
|---|---|
| Resolution: | wontfix |
| Status: | closed → reopened |
I confirm this is still the case for a E2000 as of r33679 (k2.6), which is a major problem since that a lot of things do not work correctly (eg. wifi scheduling or anything needing to write into files).
It works however using K3X firmwares, but my router just crawls under the extra load (transfer speeds are 10x slower), so that's not an option.
I tried to search for the bug in the commits, but the changeset [31277:31533] is quite daunting...
comment:5 by , 7 years ago
As a side note, a similar bug was reported upstream, but it seems to be a problem with the busybox config or compilation in dd-wrt.
comment:6 by , 7 years ago
Still an issue as of R33679 (E4200/dd-wrt.v24-33679_NEWD-2_K2.6_big-nv60k).
This is kind of critical since more recent builds are required for the krack vulnerability fix.
Only workaround I've found is to change the following: echo foo > /tmp/bar TO echo foo | tee /tmp/bar echo foo >> /tmp/bar TO echo foo | tee -a /tmp/bar
comment:7 by , 6 years ago
And still an issue with r36808, in fact, it got MUCH worse, see https://svn.dd-wrt.com/ticket/6373
Bad joke, really.
comment:8 by , 6 years ago
Tested up to r37406 (r37405, K2.6 builds seem to be one off in version number), still an issue in K2.6 builds.
Also to note, the webUI command shell also has issues, which could be related somehow: https://svn.dd-wrt.com/ticket/4121
comment:9 by , 6 years ago
| Cc: | added |
|---|
follow-up: 13 comment:12 by , 5 years ago
It has been 2 years that the following things are broken because of this bug:
- OpenVPN not working
- running scripts from USB not working
- running commands from WebUI Command form not working
- startup scripts not working
- telnet working but disconnects when executing stuff like 'echo xxx > /tmp/tmp.tmp'
Will it be fixed in the nearest future?
Edit: still broken as 37305
comment:13 by , 5 years ago
Replying to darxis:
Will it be fixed in the nearest future?
Sure thing, planned right after human landing on Mars.
comment:14 by , 5 years ago
| Owner: | set to |
|---|---|
| Status: | reopened → new |
| Summary: | Busybox - Invalid argument since r31533 → Busybox - Invalid argument since r31533 Broadcom K2.6 |
comment:15 by , 5 years ago
by , 5 years ago
| Attachment: | Screenshot from 2019-08-17 03-00-32.png added |
|---|
by , 5 years ago
| Attachment: | Screenshot from 2019-08-17 03-03-07.png added |
|---|
by , 5 years ago
| Attachment: | Screenshot from 2019-08-17 03-05-47.png added |
|---|
comment:17 by , 5 years ago
| Resolution: | → provide more info and reopen |
|---|---|
| Status: | new → closed |
comment:18 by , 5 years ago
| Resolution: | provide more info and reopen |
|---|---|
| Status: | closed → reopened |
comment:19 by , 5 years ago
Finally, some progress:
https://svn.dd-wrt.com/ticket/6373#comment:23
https://svn.dd-wrt.com/changeset/40707
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1173893#1173893
Should be able to close this ticket soon enough, if the commit fixes these issues.
comment:20 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Tested in alpha builds 40708 and 40711, looks like it's good to go! https://svn.dd-wrt.com/ticket/6373#comment:37

Anyone alive here? Kinda high priority breakage if you ask me.