Reverse Engineering IRIX Multithreading For NetBSD
Anonymous Coward writes "Onlamp.com publishes the sixth paper of Emmanuel Dreyfus's series on NetBSD's IRIX binary compatibility implementation. This time, this is about reverse engineering IRIX multithreading and the odd virtual memory features involved with it. It's an adventure at kernel and userland boundaries, with a debugger as the sole weapon. A must read!"
remember this isn't the commercial software world. no-one's been tasked with providing irix compatibility. someone's doing it because they want it and thats reason enough, isn't it?
dave
I think most of Slashdot contributors miss the article point: it is not an advertising for running NetBSD instead of IRIX, it is a technical paper on the actual implementation and the reverse engineering techniques used to reveal IRIX undocumented secrets.
IRIX binary compatibility is not sexy, indeed. But IMHO, the tricks exposed in the paper are quite interesting. There is not that much documentation on kernel programming and reverse engineering available around there.
Slashdot's usual bunch of Linux fanboys are missing the point of these articles. So SGI might move to Linux and might drop IRIX. They might port there apps to Linux (their developers are certainly experienced enough). However, SGI's future operating system strategy has little bearing on NetBSD.
;-).
NetBSD has a strong following in the academic world (I'm talking about researchers and postgrads here, not undergrads running Linux file sharing apps in their dorm). The BSD license, along with clear and well documented source make Net an ideal choice for academic work. However, a lot of cutting edge work takes place outside academia, often in companies like Sun and SGI. Often this work is not publicly documented.
Reverse engineering things like IRIX's kernel can give valuable insights into advancements made by SGI. These can then suggest new avenues for research that may have been overlooked otherwise.
So those questioning the utility of IRIX binary compatability, are missing the primary motivation for such work. Of course someone may find the ability to run IRIX apps useful one day - after all, who would have thought that NetBSD's emulation of a niche operating system like Linux would have proved so useful
Chris
SGI may be moving, but what about all its IRIX customers. Some may be happy running what they have now. This way even if the OS is no longer supported by SGI, the users can still run their apps on NetBSD.