From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 17 Jul 2008 02:32:13 -0700 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080717093212.GA3905@dinah> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [9fans] Plan 9 on MacBook? Topicbox-Message-UUID: e971d8fe-ead3-11e9-9d60-3106f5b1d025 > I now have a more-or-less unused MacBook. I'm > considering spending some time trying to get Plan 9 > working on it. Has anyone gotten beyond confirming > that it won't work out of the box? I have Plan 9 booting on an Intel Macbook. When I was first testing it out, there were problems with the SATA driver but Erik fixed those and it works fine now. The only change that you'll have to make is in the keyboard initialization for both the kernel and 9load. Add the following at the beginning of these functions: /sys/src/9/pc/kbd.c:/^kbdinit /sys/src/boot/pc/kbd.c:/^i8042init + c = inb(Status); + if(c & Rtimeout){ + print("no keyboard present\n"); + return; + } Oh, and you're going to need to supply a plan9.ini with sufficient parameters since you don't have keyboard input until you can run usb/kb. If I get some time on Saturday, I'll post a write- up on how to bootstrap the system using a spare partition on the Mac. Also, I started an ethernet driver for the Yukon 2 chip that's in the Macbook. I had to put it aside for a while but I'm slowly getting back into it. Anthony