Hi Alex, Alex Potapenko wrote,
Hi Leonid!
2016-02-15 16:59 GMT+02:00 Leonid Lisovskiy lly.dev@gmail.com:
Which MIPS version you are using, exactly? i.e. mips32r2? mips64r6? Could you provide your .config?
mips32r2. The config is the default buildroot config (except for prefix and locales): see attached.
Are you able to bisect commits between 1.0.9 - 1.0.10 ? The single MIPS-specific changes, I can see, is - "Replace MIPS specific memcpy.S/memset.S with version from glibc/newlib." 2636b17616
Bingo! After I reverted memcpy.S/memset.S to pre-2636b17616 (e3c3bf2b580), the issue with transmission is gone. So does the deluge sslv3 handshake issue I described.
I'll add patch to Optware-ng to revert memcpy.S/memset.S for now.
I still trying to reproduce the bug here. It seems the Debian torrent is loading fine on my RB532 MIPS32: transmission-daemon -a 10.* -f [1970-01-01 01:13:02.504 CET] Transmission 2.84 (14307) started (session.c:736) [1970-01-01 01:13:02.520 CET] RPC Server Adding address to whitelist: 10.* (rpc-server.c:824) [1970-01-01 01:13:02.524 CET] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033) [1970-01-01 01:13:02.529 CET] RPC Server Whitelist enabled (rpc-server.c:1037) [1970-01-01 01:13:02.533 CET] UDP Failed to set receive buffer: requested 4194304, got 311296 (tr-udp.c:78) [1970-01-01 01:13:02.539 CET] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:83) [1970-01-01 01:13:02.543 CET] UDP Failed to set send buffer: requested 1048576, got 311296 (tr-udp.c:89) [1970-01-01 01:13:02.548 CET] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:94) [1970-01-01 01:13:02.552 CET] DHT Generating new id (tr-dht.c:310) [1970-01-01 01:13:02.556 CET] Using settings from "/root/.config/transmission-daemon" (daemon.c:557) [1970-01-01 01:13:02.560 CET] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70) [1970-01-01 01:13:02.564 CET] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70) [1970-01-01 01:13:02.568 CET] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214) [1970-01-01 01:13:02.573 CET] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92) [1970-01-01 01:13:02.580 CET] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92) [1970-01-01 01:13:23.504 CET] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:248) [1970-01-01 01:13:27.504 CET] Searching for web interface file "/root/.local/share/transmission/web/index.html" (platform.c:405) [1970-01-01 01:13:27.508 CET] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:405) [1970-01-01 01:14:39.504 CET] Saved "/root/.config/transmission-daemon/torrents/debian-8.3.0-amd64-CD-1.iso.c388a78f357c7023.torrent" (variant.c:1214) [1970-01-01 01:14:39.508 CET] debian-8.3.0-amd64-CD-1.iso Queued for verification (verify.c:264) [1970-01-01 01:14:39.512 CET] debian-8.3.0-amd64-CD-1.iso Verifying torrent (verify.c:219) [1970-01-01 01:14:39.516 CET] debian-8.3.0-amd64-CD-1.iso Starting IPv4 DHT announce (poor, 30 nodes) (tr-dht.c:576)
[1970-01-01 01:18:57.508 CET] Saved "/root/.config/transmission-daemon/resume/debian-8.3.0-amd64-CD-1.iso.c388a78f357c7023.resume" (variant.c:1214) [1970-01-01 01:18:57.514 CET] Saved "/root/.config/transmission-daemon/stats.json" (variant.c:1214)
Is your toolchain soft-float or hard-float?
best regards Waldemar