Menu Content/Inhalt
Home
2009_04_11-01_08_20 2009_04_10-01_59_44 2009_04_10-01_32_57_3 2009_04_11-01_28_47 2009_04_19-11_46_00

Online

No Users Online

Login

Syndicate

feed image
Booted PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Friday, 07 April 2006

Finally!!! I got Windows XP installed on our Intel iMac at work. It only took 4 different WinXP SP2 install CDs until I found one that worked. And now I think the ntkrnlmp.exe error I had might have just been due to a bad CD, though I'm not sure. At any rate I think the biggest problem with most of the install CDs that I tried was with the keyboard. For some reason the keyboard (the standard Apple USB keyboard) just wasn't recognized. I don't know what was different in the final install CD I used, but the keyboard worked with it.

So now that I've got Boot Camp working with Windows XP installed along comes Parallels and introduces a beta of their virtualization application for Mac OS X. This is just like VirtualPC or VMWare in that it lets you run another operating system on top of your current OS. This is really the type of solution I think most people will want to use. I really don't want to be rebooting all the time when I need to test something on Windows. Having a virtual machine to just run Windows for a few minutes when I need it is the ideal solution. There's only one thing lacking right now with Parallels' VM - it doesn't support multiple CPUs. That is, the Intel iMac has two CPUs - a dual-core Intel Core Duo processor - Now that's a nice mouthful. Parallels' current application only virtualizes a single CPU, though they say that they have plans to support SMP in future versions. Now that would be juicy! As it is, it does run quite speedy and I look forward to using it more in the future.

I like John Gruber's description of the whole situation - Windows: The New Classic.

But everything about Boot Camp is calibrated to position Windows-on-Mac as the next Classic-style ghetto — a compatibility layer that you might need but that you wish you didn’t.

Ain't that the truth! As I installed Windows today a long with a bunch of other applications I must have restarted at least 6 or 7 times. It was almost like every single application was forcing me to restart. Plus I had to be sure to get an Anti-Virus program running, download Firefox, wrestle with the task bar, etc. Running Windows was a continual reminder as to how much I prefer Mac OS X over Windows.

I'm sure the novelty will wear off in a few days. After a week or so I'll probably forget that I ever installed Windows on the iMac. The memory will fade into a shadow of other nightmares such as those from June 6, 2005. That is until someone remembers that I can run Windows on my iMac and wants me to help track down some bugs.

Be first to comment this article | Add as favourites (114) | Quote this article on your site | Views: 4399

Last Updated ( Monday, 01 May 2006 )
 
Boot Camp PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Thursday, 06 April 2006

Installing Windows is a lot like Boot Camp.

Alright, so Hell must have frozen over today. As most everyone has probably heard by now, Apple released a new utility called Boot Camp to allow you to easily install and run Windows on your brand new Intel Mac. So why did I put easily in italics? Well, because if you don't do it just right then it won't work at all.

So let's examine what the requirements are for using Boot Camp. Apple says that in order to install Boot Camp you must use a single-disk, Windows XP SP2 installation CD. But why not a normal Window XP CD, why must it include SP2? Is there some major reason why WinXP sans XP2 won't run? Probably not, my guess is that it's just a bug in the WinXP installer that keeps you from being able to install any old WinXP version.

So what might the problem be? Well, I tried to install Windows XP SP2 today on our Intel iMac at work. The first thing I tried was to use an MSDN DVD from our large collection of MSDN disks that includes several versions of Windows including Windows XP SP2. The disk started up and presented me with a selection screen where I could choose the version of Windows I wanted to install. I tried to select WinXP SP2 but the keyboard wouldn't work. (And yes, it's a wired USB keyboard and yes I installed the iMac Firmware update.)

So then we thought that we'd try just a plain WinXP SP2 CD. We didn't have any of those around but our MSDN collection included a disk with a WinXP SP2 ISO that we could create a CD from. So we tried that and the installer looked like it was starting up and running. But then it got hung up and eventually returned an error:

File \i386\ntkrnlmp.exe could not be loaded.
The error code is 7

Setup cannot continue. Press any key to exit.

That was it, there was no getting past this. Oh, and to top it off I still couldn't use the keyboard to press the Any key. ;-) Next I googled for ntkrnlmp.exe and found that this is a known issue. Microsoft's workaround for it is to press the F7 key when the installer prompts you to press F6 to install any custom SCSI drivers. Press F7 when it asks you to press F6!? Oh isn't that completely obvious. I guess we have to leave it to Microsoft keep things simple, right? Anyway, I can't do this either because the damn keyboard still doesn't work at this point in the installation. So assuming that this workaround would work, I still can't do it. Right now, I'm waiting for a true Win XP SP2 CD and hoping that it works. We're guessing that the ones we got from MSDN are somehow different from the SP2 CD you get in stores or with computers.

Which leads me to my last point, which is really just a wild-ass guess. I'm guessing that the reason why Apple requires Windows XP SP2 install disks is because they're probably the first installation CDs that fix the ntkrnlmp.exe bug. If it weren't for this stupid bug I'd bet that you could install any version of Win XP. So thank you Microsoft for producing such great, bug-free software!

So why install Windows on a Mac anyway? I despise Windows but we could really use a Multi-CPU/Mulit-Core Windows box right now to help in reproducing and debugging threading issues that only show up on multi-CPU machines. Right now almost everything we have that has more than one CPU is a Mac. Multi-CPU Windows machines just haven't been very common until recently. Plus I'd like to be able to build and run my profiling application on Windows whenever I need to.

Oh yeah, and I really need to play some computer Solitaire. What else is Windows good for other than games?

Be first to comment this article | Add as favourites (128) | Quote this article on your site | Views: 5049

Last Updated ( Tuesday, 11 April 2006 )
 

Warning: Division by zero in /home/cuttterp/public_html/mambots/content/geshibot/geshi.class.php on line 2285
GCC instruction scheduling is retarded PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Tuesday, 28 March 2006

OK, GCC instruction scheduling and register usage is retarded. I've got a nice big, complex Altivec function that I've been optimizing and the biggest problem I've had with it is running out of registers. I was using around 31-32 and GCC was spilling registers left and right. So I've been reducing the register usage to try and fix this. I can count the maximum number of registers that should be used and it's well under 32, it's more like 23-25. And a good compiler should be able to reduce that number even further. But even after reducing the number of registers used to 23-25 GCC was still spilling registers like crazy.

So I happened to see a post by Sanjay Patel on the Altivec mailing list about some GCC compiler options that you can use for hand-tuned code:

  1. -fno-schedule-insns -fno-schedule-insns2
 

I found a PPCZone forum thread about these options as well. Sure enough if I use these options then I don't have any problems with registers spilling onto the stack. So why is GCC so retarded when these options aren't used!? The problem is that these options basically disable any optimized instruction scheduling that GCC might try to do. For hand-tuned Altivec code this is fine, but for generic scalar code it's usually bad. Since the file that my Altivec code is in has both generic scalar code & hand-tuned Altivec code I'm not sure if using these compiler options is a good thing overall.

Why can't GCC just do the right thing in the first place and not be so damn retarded!?

PS - I should mention that I'm still using GCC 3.3. =( I'm hoping to be able to start using GCC 4 soon so I'll have to see if it's any less retarded than GCC 3.3.

Be first to comment this article | Add as favourites (138) | Quote this article on your site | Views: 2274

 
XP is here! PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Thursday, 16 March 2006
Well, it's being widely reported that someone has figured out how to get Windows XP running on an Intel Mac. Yawn. If you want to run Windows, why not just buy a PC? Okay, okay, so Mac users do have to run Windows apps every now and then.

Anyway, as far as I can tell the only real reason why you'd want to dual-boot a Mac with Windows and Mac OS X is to play games. Other than that, this is really just a good temporary solution for people that need to run Windows applications every now and then. For those people a better solution would be VirtualPC or VMWare so that they can run Windows side by side with Mac OS X. That would be a much better solution in the long run.

Games require graphics acceleration from the video card though. So a virtual solution (VirtualPC or VMWare) still doesn't work well for games. For that you really need to be able to dual-boot. The problem though, is that, at least right now, there is no video acceleration on the Intel Macs when run under WinXP. Yes, the video card is likely just a standard ATI X1600, but from all of the reports I've read so far the driver isn't being loaded for it. Maybe this is a simple fix and maybe it isn't. But at least for now, the Intel Macs won't be great for gaming under Windows.

In the mean time, I've got my XBox and Halo 2. :)
 

Be first to comment this article | Add as favourites (104) | Quote this article on your site | Views: 1825

Last Updated ( Monday, 01 May 2006 )
 
Brazilian Barbecue PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Saturday, 11 March 2006
Greens isn't food. Greens is what food eats!

Today we had some of the department heads from Japan visit for meetings and interviews. For dinner we took them out to a Brazilian BBQ place called Greenfields, a.k.a. "Meat on a Stick", or as John more appropriately put it - "Meat on a Sword." For those familiar with Tucanos or the Rodizio Grill then you know what I'm talking about.

I really love these places. In fact, the last time I was in Utah I insisted on eating at the Rodizio Grill because I hadn't found any place like it in New York yet. Anyway, it also seems that I tend to eat the most whenever I go to these places and tonight was no exception. There's just something about all-you-can-eat meat that I just can't pass up.

At the end of the night it looks like I tied with Keita, one of our managers from Japan, for being the biggest eater. I only wish they had grilled pineapple at this place, that's one of my favorites... Mmmm, grilled pineapple.... aaaaaggghhhhhh
 

Be first to comment this article | Add as favourites (122) | Quote this article on your site | Views: 2519

Last Updated ( Monday, 01 May 2006 )
 
Building the site PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Saturday, 11 March 2006

OK, so far the site is just hideous. Right now I'm really limited in what I can do with it, but that will change in the future. So far I've got some nice trees up under the title, a pic of me and one from Yellowstone.

The next thing to do is design some artwork I think. What exactly is a Cutterpillow though? I guess I'll figure it out eventually. For now I'll just stick with some good looking pictures.

There's just one problem with that though, the site layout builder doesn't let me change the size of the images for the title background and the corner image. I don't know why this is, but I won't be using the stupid site builder for too much longer. But for now, this is what I have to live with.

Be first to comment this article | Add as favourites (102) | Quote this article on your site | Views: 1468

 
Welcome to Cutterpillow! PDF Print E-mail
News - Latest News
Written by Dave Thorup   
Thursday, 09 March 2006

Cutterpillow.com - infested with jello like fishes no melotron wishes

Welcome to Cutterpillow, my slice of the web. It's not much to look at now, but be patient and it'll grow.

the cat and the pillow and the jello like fishes

Be first to comment this article | Add as favourites (96) | Quote this article on your site | Views: 1452

Last Updated ( Tuesday, 11 April 2006 )
 
<< Start < Prev 11 Next > End >>

Results 71 - 77 of 77
designed by www.madeyourweb.com | joomla templates