Muli Ben-Yehuda's journal

February 17, 2006

Calgary running with translation enabled

Filed under: Uncategorized — Muli Ben-Yehuda @ 2:31 PM

Calgary is now running with translation enabled in the lab on our x366 servers. We’ve been working on this for a while now, bug after bug, but yesterday I had a fit of inspiration, fixed the last one, and now it boots all the way to userspace, with SAS, NICs and USB all DMA’ing fine(!!!). The last bug was particularly stupid – we were writing a 64 bit quantity into the 64 bit TCE Table Address register – with a 32 bit call (writel instead of writeq). Argh!

I’ll detail the more interesting bugs we had for All Code Sucks, eventually. At the moment Calgary is running with static mappings (the identity translation – TCE ‘x’ maps physical address ‘x’, and all physical addresses have corresponding TCEs), and the next step is dynamic mappings. Which I’ve worked on until 2 AM last night. It doesn’t work yet. But it will. Real Soon Now 🙂


  1. No fair pointing fun at the intermezzo code. Everyone knows it’s vestigial.

    Comment by taral — February 17, 2006 @ 11:21 PM | Reply

    • I still have the scars from when I last looked at it.

      Comment by mulix — February 18, 2006 @ 4:05 PM | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: