MIPS kernel-level memory alignment possible?

Discussion in 'Tomato Firmware' started by rhester72, Oct 6, 2010.

  1. rhester72

    rhester72 Network Guru Member

    transmission-daemon, beyond version 1.76, has such a bevy of casted-structure alignment issues that it's all but guaranteed you'll crash on an unaligned address in less than 24 hours.

    Loads of MIPSen have complained, to no avail, because the programming model of transmission is such that finding the misalignment is like finding a needle in a haystack, especially without gdb on the router.

    However, the ARM folks thought about this, and came up with:


    What are the chances it's portable to MIPSEL (v1 or v2)? Me no speakee MIPS assembly, and I figure if it was trivial someone would have already done it, but can't hurt to ask...having an "auto-fix" for alignment issues at the kernel level isn't pretty, but it sure beats inevitable crashes that are all-but-impossible to debug.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice