Monday, April 30, 2007

consolidating blogs

rm -rf * will no longer be updated. this is the end.

readers, if you like to read more about what i've got to say technology-wise, please point your browsers to my weblog: big mango.

Friday, April 13, 2007

Gut Wrenching Pain

Boards across the Internet are burning up for a few hours now!
iPhone has already passed several of its required certification tests and is on schedule to ship in late June as planned. We can’t wait until customers get their hands (and fingers) on it and experience what a revolutionary and magical product it is. However, iPhone contains the most sophisticated software ever shipped on a mobile device, and finishing it on time has not come without a price — we had to borrow some key software engineering and QA resources from our Mac OS X team, and as a result we will not be able to release Leopard at our Worldwide Developers Conference in early June as planned. While Leopard's features will be complete by then, we cannot deliver the quality release that we and our customers expect from us. We now plan to show our developers a near final version of Leopard at the conference, give them a beta copy to take home so they can do their final testing, and ship Leopard in October. We think it will be well worth the wait. Life often presents tradeoffs, and in this case we're sure we've made the right ones. [Apr 12, 2007] (from apple.com)
I'll wait until you can catch your breath.

Got it back? Okay.

With Apple's announcement, frankly the Faithful everywhere can feel this gut wrenching pain--- but it makes perfect sense. iPhone represents billions of dollars of revenue for the Cupertino-based computer maker. Whereas a new release of OSX can potentially give a few million dollars of revenue, it can wait. Apple needs to ship the iPhone as soon as possible and if it takes developers away from all other resources then so be it.

Leopard represents the next phase of Apple's flagship Operating System. A few months delay in making sure it is fit to run Macs everywhere is good enough to know. Our disappointment is huge, but the payback is even greater later on. It is nice to know that the boys and girls running things at Apple have their priorities set right. A few more months waiting for perhaps the best operating system since Tiger is well worth the wait.

Thursday, April 05, 2007

OctaMac: Raw Power


Have you ever wondered what raw POWER feels like? The 8-Core Mac has arrived.

This baby sports a pair of Quad Intel Xeon Processors, running at 3Ghz, each. Pump in at least 4GB of RAM and plug-in the full 3 terabytes of storage, and you've got one hell of a Machine.

The 8-Core Mac Pro is the Ferrari of the Computing World.

Mac Pro: Raw Processing Muscle.
details can be found at Apple's site.

Tuesday, April 03, 2007

war journal 16: sabayon and beryl

fifteen year-old upstart Linux is the programming geek's idea of an operating system. freely available for download, installation and distribution, since its inception in the early 1990s, Linux's popularity has skyrocketed. One could say, Linux's story is the computing world's version of rags to riches. yet, its road to world dominance has hit a bit of a snag, it remains far from being a viable desktop alternative for the everyman.

The world has embraced the penguin. there is no doubt that much of the Internet's infrastructure uses Linux boxes. Enterprise and backrooms of companies everywhere are on Linux. If there was any doubt of the power and capability of Linux, one just has to look at the prestigious list of the Top 500 supercomputers in the world, where Linux is the obvious choice of scientists and researchers everywhere.

in spite of all this, Linux has not breached the desktop. is it because linux has had the reputation of being bland?




Sabayon Linux is one of many linux distributions that is getting eye candy. This video isn't my desktop. i picked it up off youTube to feature the beauty that is sabayon linux.



I've just finished reinstalling my linux box and moved from gentoo to sabayon, the latter is based on the former, much like ubuntu is based on debian. Sabayon Linux has one thing going for it: sabayon runs beryl out of the box.

So whats the big deal? Getting Beryl to run is more of a hit and miss mission. I should know, the past month has been dedicated to getting beryl to run on my gentoo-driven amd64 box. at one point, I was so desperate that i even reformatted the drive and installed ubuntu 7 (feisty) just to get it to work. The farthest i've reach using gentoo had been to get linux to run 3d rendering on my ati 9250 video card.

Sabayon solved my need. it ran aiglx right off the livecd installation. in fact it was the first thing it asked going through the installation. though i've had problems getting it to connect to my dsl modem (my linux box is the router which connects my internal network to the internet). it took a bit of work, and a bit of a hack via the good old gentoo installer: i chrooted to my installed sabayon and updated its rp-pppoe setup. it was the only way to make it happen.

Sabayon, Ubuntu Feisty are just some of the distros that give linux the eye candy and hopefully will attract the attention of people. Yet i must say this: Linux has a long way to go before it can be an excellent Desktop box. More on that for my next post.

Monday, April 02, 2007

war journal 15: what the bloody heck is wrong!?!

i've been spending the better part of the day installing gentoo@home.

i wanted to scrap my current gentoo install which uses reiserfs because i've been having problems with it. i use this box as a backup/file server. i upload all my os x dmg (disk image files) to linux. i upload videos and music there as well. so its typical to find 100MB to 2GB files.
reseirfs corrupted one of those files.

i wanted to switch to jfs.

no i have a gentoo livecd of amd64. i wanted to use the binary packages. no big right? should be a straight forward process. in my opinion should take bout an hour. 2 at the most.

i started at 8am. its now 3pm. i've hacked my way through the installed partition because the livecd install failed to compile the kernel.

no big, right? its also easy to recover... chroot to the partition and run emerge from there to build the broken packages.

what typically shouldn't be a major problem has turned to a disaster.

rsync keeps failing.

now i can't seem to install the pppoe daemon which is required to connect to the adsl because my rsync keeps failing (equivalent to update repository sa ubuntu). this box also serves as my router see, why i need pppoe.

what the bloody heck is wrong!?!

Wednesday, March 28, 2007

war journal 14b: windows games on linux, snapshots

last time, we were talking about how things crash when running windows games on linux, via wine.

here are some screenshots from my amd64 box.


star wars: jedi academy, character selection


image 2:

star wars knights of the old republic, intro



after this shot, the game one wine crashes. what is suppose to happen is that this is suppose to go to the character selection box.
well at least there is some progress. i suspect my dated hardware needs some upgrading. those games are being ran off an amd64, 1.8ghz box, 1gb ram, ati (yikes!) 9250 radeon card.

Tuesday, March 27, 2007

war journal 14: running windows games on linux

one must always trust one's distro. for about a month now, i've been trying to run windows games on linux. a crazy notion, given the bleeding edge nature of wine. i went crazy and even went so far as to install ubuntu on my linux box--- as a separate partition beside my gentoo. i was desperate to get direct rendering running and thus opengl.

the applications for third world nations would be great! people can run games on cheap hardware, something most internet cafes would probably benefit from. after all, if you could somehow do away with windows and its inherent security flaws, that would be great isn't it?

i don't mean to emphasize the flaws of windows--- i rather think there is a place in the world for it. but given a public terminal that lets you browse the internet, play games and do limited word processing, one can not possible contain the myriad users who would be running the system. linux would be an ideal platform for a multi-role public terminal because you'd be able to limit their access rights. and no, vista would just be too darn expensive to deploy.

i've been going crazy trying to get gentoo to run direct rendering. i couldn't get it to work. and a quick look at the gentoo forums said that though ati's linux drivers are sucky, my radeon 9250 card should run. hmm. insane.

i decided to run ubuntu on a separate partition. i just need to know my video card could work.

ubuntu feisty is a great distro! it ran direct rendering out of the box. its installer is one of the prettiest i've seen--- and very easy to run. it was able to detect all my peripherals. my one comment is this: i had to manually run pppoeconf to get my dsl running and the network panel remains a close sibling of the one windows xp has. it may be because mac os x has spoiled me on that regard--- networking is a breeze on os x with zeroconf networking.

wine--- on the other hand wasn't available on feisty. it is on edgy and some of the drivers had to be installed. still: no big, right? so i did and winehq's wiki worked rather well.

knights of the old republic's install ran pretty well just as it did on my gentoo. it is my only game, so pretty much there isn't much of a choice. then i hit a snag. the game wouldn't play, wouldn't go past the menu. winehq's app db revealed that there have been successful installs of knights and that they were able to play.

i decided to copy my ubuntu's xorg config and transfer it to my gentoo box. after all if that worked... it should on gentoo right? it didin't. direct rendering wouldn't work.

i killed X, ran eselect opengl set xorg-x11 then, rsync'd and updated portage and downloaded the newest gentoo-sources (gentoo's patched linux kernel). i decided to remove the dri--- (it was recommended by the gentoo howtos for ati) from the kernel but i wouldn't be installing the ati-drivers. i fetched xorg-x11's drm instead. the compile was a success. reboot.

login to gnome and ran glxinfo | grep rendering yielded: success! direct rendering was working! i loaded up kotor's disc one. then ran wine. start game. and kotor's video came to life! yes!

then it crashed.

Monday, March 19, 2007

coming to the computer, sooner than you think

What would you do if you could touch your music, your photos, your videos and that report you need to submit to your boss... on a computer display?

Twenty years ago, the icon-window-mouse-keyboard quartet we are so familiar with today, changed the way we communicate and interact. It appeared on the Macintosh, then on Microsoft's Windows and into every desktop and notebook computer in the last two decades or so.

For the past few years, researchers have been developing 3D windowing interfaces. Project Looking Glass and Beryl are an examples of this effort, as is the work of Jeff Han. So it hasn't been a question of, "can we do it". The question is: how useful would it be?

Apple Inc., the maker of such iconic devices as the Macintosh and the iPod, launched the iPhone during Macworld last January 2007, which they promised will revolutionize the way we use, the umm... phone... to call. hhhmmm.

What has the iPhone got to do with a new window interface?

This is the biggest, most exciting potential of the iPhone and it is a feature called "Multi-Touch". This piece of technology allows the user to interact with the computer with just using your hands. Too science fiction-Minority Report, you say?

Macrumors.com in March 2006 posted this on their site:
"Operation of a computer with touch screen interface". Again, individuals at Apple appear to be spending a lot of time on the potential interface for users of a touch screen device. The patent describes the the possible advantage of touch screens by being able to "glean much more information about a user's actions" than from conventional keyboards.

The methods described are intriguing in that it appears that there could be a level of refinement to the touch interface that has not been present in previous devices. Again, Apple describes the utility of offering a multi-touch capable display which can process multiple figures and gestures to provide additional information.

A few days ago, BingeBoy posted this amazing video:



In the next three months or so, Apple is not only launching iPhone... it is also expected to launch the next version of its flagship software: Mac OS X 10.5 (code name:Leopard). The rumor mill has been buzzing with the tantalizing possibility... that Multi-Touch could make its way to the desktop sooner than most of us may think, "as in, is three months or so, too soon?"

what makes people say this? A quick look at this short preview from Apple about one of the corner stones of Leopard, called Core Animation promises that Leopard will not only bring a better User Interface but also this same capability is found on the iPhone. How difficult would it be to enable multi-touch for the desktop when you've done it on a small device like iPhone?

The potential for this kind of user interface will usher in a new universe of how we interact with computers. No longer will applications be chained to the limitations of the GUI and the keyboard-mouse-display. we can build interfaces that are application specific. For example, you can interact with your photos as if you were holding them and shuffling them or arranging them as you would, developed film. the same with video, with music. you can re-arrange your report to your boss in potentially the same manner and configure, theoretically, a keyboard you are comfortable with writing. the possibilities are endless.

With two applications known to be using it, Time Machine (which will be part of Mac OS X 10.5 is an animated way to interact with your data backup) and iPhone multi-touch will be part of our daily work-flow. Whether or not Multi-Touch ready displays will be around, or if Leopard will have Multi-Touch for the desktop enabled, the fact that this piece of technology will be functional in a computer called iPhone, only time will tell when we can expect to be touching our data, our photos, our music, our videos, and working with it on the desktop.

Wednesday, March 14, 2007

Don't Do This @ Home

I must really be getting good at this. This is my second time to fatally crash the mac in a year. to this day, i don't know what The Faithful call it, when your mac says in a black screen to press the power button because the system did something fatal. in this case, user (i.e. the guy whose blog you're reading now) did something stupid.

panic(cpu 0 caller 0x001A429B): Unresolved kernel trap (CPU 0, Type 14=page fault), registers:
CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x01753000, CR4: 0x000006e0
EAX: 0x00000000, EBX: 0x00134b5e, ECX: 0x000036b8, EDX: 0x0000dae0
CR2: 0x00000000, EBP: 0x1d0bbf88, ESI: 0x0585b624, EDI: 0x00000000
EFL: 0x00010206, EIP: 0x001963ce, CS: 0x00000008, DS: 0x00190010

Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x1d0bbdb8 : 0x128d08 (0x3cb134 0x1d0bbddc 0x131de5 0x0)
0x1d0bbdf8 : 0x1a429b (0x3d0e4c 0x0 0xe 0x3d0670)
0x1d0bbf08 : 0x19ada4 (0x1d0bbf1c 0x12d99c 0xdae4 0xe)
0x1d0bbf88 : 0x35695712 (0x22 0x4ba970 0x1d09bba4 0x0)
0x1d0bbfa0 : 0x35634177 (0x297 0x1d0bbfc8 0x356aabaa 0x1d09bba4)
0x1d0bbfac : 0x356aabaa (0x1d09bba4 0x1d09bba4 0x2d4cb000 0x1d09bba4)
0x1d0bbfc8 : 0x19ac1c (0x1d09bba4 0x0 0x19e0b5 0x4c99640) Backtrace terminated-invalid frame pointer 0x0
Kernel loadable modules in backtrace (with dependencies):
org.openafs.filesystems.afs(1.5.15)@0x3562d000

Kernel version:
Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386

Model: iMac4,1, BootROM IM41.0055.B08, 2 processors, Intel Core Duo, 1.83 GHz, 1.5 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x89), Broadcom BCM43xx 1.0 (4.80.79.1)
Bluetooth: Version 1.7.14f14, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, PPP (PPPoE), ppp0
Network Service: Parallels Host-Guest, Ethernet, en2
Network Service: Parallels NAT, Ethernet, en3
Serial ATA Device: WDC WD1600JS-40NGB2, 149.05 GB
Parallel ATA Device: MATSHITADVD-R UJ-846
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
USB Device: Optical USB Mouse, Logitech, Up to 1.5 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA

what crazy thing did i do? installed openafs 1.5.15 (distributed file system) on the imac. the install never did get to finish. anyway, don't worry, this isn't a sign of bad design on apple's part. the tech IS bleeding edge and most users will never ever touch it.

Thursday, February 22, 2007

Touch your Data

Every App has its own User Interface. This was the promise of Apple's iPhone. No keyboard on your phone--- just a touch screen. Jobs had a point. Every app needs its own User Interface. On a phone or any handheld device is more obvious.

Handheld devices are being used in almost every setting. Take this news from Mobile Computing, with the promise to deliver tablet PCs to the hospital setting.

Imagine, a display only, 13" lcd "tablet"--- no keyboard, just a touch screen, running full speed OS X in all its desktop glory. secure shell to your server? open a terminal.app on your tablet mac and there you go... logging onto your server. oh right, you're in the office with wifi all around... thats ok... your linux server just emailed you the hourly log from /var/log/messages but you have to meet your staff for coffee just across the street, so you're reading the log while sipping coffee in starbucks.

what about the desktop? with the advent of better User Interfaces--- could mark the end of the mouse and quite possibly the keyboard. i'd trade my mouse for touching stuff on my display. The keyboard could quite possibly remain--- for typing reports and such.

We might even see an age where every display follows us. User configurable displays--- based on your function/role in an organization. It sounds very Star Trek-ish, with each LCARS terminal configured specifically for the task at hand but manipulated in a very Minority Report-ish way.

Our machines are becoming faster, more powerful with the arrival of multicores. what are we going to do with all that power? our future machines will allow for better ways of interacting with our data, a more stimulating experience communicating with our friends, family and business contacts.

Future User Interfaces will liberate us from boring device-interfaces and spur creativity in designing appropriate but exciting human-computer interaction. More than ever, every person becomes a node on the network and more importantly, for both work and play, we get to touch our data.

Wednesday, February 21, 2007

Applegoo

i never open my gmail. ok, almost never, yet my gmail account remains to be my primary email address. in fact, the only reason i keep my yahoo email now is because of my yahoo messenger--- where most of my friends are attached to.

i've taken to using gmail's pop3 features. i've set my gmail account to archive all email after my apple mail has downloaded it. it saves me a browser tab. and i don't have to keep looking at a browser window to see if i have new messages: Apple Mail like every other email client does that for you.

don't get me wrong. i love the clean look and feel of gmail. its functionality is the best with yahoo's new beta the worst of the lot. gmail's clean interface lets me effortlessly search for email--- which i do and hardly the only time i ever open it. that and finding out some obscure email address that hasn't found its way to my computer's contact list.

there is also a way to get your mail through rss but i find rss news readers to be overwhelming, whereas if the message is already with me on Apple Mail... i can simply answer it and gmail's threading identification thingy is somewhat simulated in Apple Mail where related threads are highlighted. Still nothing beats the real thing which really turns your emails into conversations.

I delete all mail i get from my gmail account. why the heck should i keep it together with all the clutter on my hard drive? Google has an archive of my mail online for me to search. So my Apple Mail is empty. Google has done a spectacular job of archiving my email.

if you're interested in using the same work flow click here to visit Gmail Help Center to help you configure your own pop3--- which works for almost every email client in Linux, Windows and the Mac.

Saturday, February 10, 2007

Nifty Summarize

Don't have time to read all the stuff being sent to you? Here's one more reason to love (and if you haven't, switch to) Mac OS X! I learned about this feature while watching Mac Break Episode 62: Summarize. Its a nifty little thing that lets you auto summarize any text be it from your web browser, a pdf file.

Select the text you want to summarize like so:


then... click on the menu...



the summary window will come out:


you can set how long the summary would be, by moving the slider and/or selecting the sentence or paragraph buttons like so:


i've tried it with the pdf viewer and it works, and no it doesn't work with Firefox but it does on Camino. This feature works for all cocoa apps.

here's the Camino screenshot:

This cool little tool and apparently has been with OSX for a long time, the boys from Macbreak said.

Sunday, November 12, 2006

war journal 013 - gentoo on parallels for mac

previously, i posted (also here: the case of parallels 2.1 beta and the crashing iMac and Ubuntu on OS X that i have had a heck of a time trying to get gentoo to work on parallels for the mac. its been a couple of months now, and i realize that i haven't posted the resolution to that problem.

it was quite simple really, and i banged by head several times after realizing how simple the answer was:
gentoo noapic acpi=off
and gentoo live cd (i used 2006.0) would boot properly and using the grp packages (i wanted to get up and running very quickly) a gentoo system was live on my core duo iMac.

Sunday, April 23, 2006

war journal 012 - Ubuntu on OSX

(Updated) - The world turned upside down the past few weeks as Boot Camp went into full swing. And no they won't be joining the boys and girls in Iraq pretty soon, rather--- hell froze over and Windows once stuck in black, borning boxes could now reside on the stylish Mac hardware.

Dual booting has been around for years--- linux users have been booting windows in their boxes thanks to bootloaders like lilo and grub. now, Boot Camp is a similar tool--- essentially getting windows to boot on an intel mac. now as hackers have showed in the past few months, it takes a little bit of hack to pull it off. for one thing, the mac has no legacy bios to worry about--- which is problematic in that Windows lives in the archaic past and does not support (nor will Windows Vista) EFI. thanks to Apple, it can now be done.

Many people have tried boot camp and have successfully dual booted windows xp and os x--- you'd have to bring your own licensed copy of XP to the party though. Still, after years of being a Linux user, i've had my fair share of dual booting. And yes certainly it is very helpful to dual boot especially for that app that only exist in Windows that you couldn't live without and for the occassional games one might want to play. Take it from me--- six years of this dual booting thing is a hassle. Nothing is better than running on one single operating system or having another computer do that one other thing you might need it to do.

Now here comes the solution. Virtualization. It isn't new--- its been around (the technique anyway) since the day mainframes were king of the world. And there are many companies/organization that offer such solution--- VMware, Microsoft, Xen, OpenVZ but this upstart--- Parallels runs on OSX, among other things. You could for instance run, in near native speed, Windows XP side-by-side with OSX, and switch by just tapping on your keyboard.




Now, we've all seen and heard the promise that Virtualization has given. I have had numerous opportunities in the past to try it out, and at the end of the day, preferred to run my apps on a separate machine.

Still, its been years--- and the business has matured and everything else looks promising so why not give it a try? So I spent a week's Easter vacation running through hoops to get Parallels a shot. And after several failed attempts to get it to do what i want, like system crashes, did i just say that?

Parallels was finally running Ubuntu Linux beside my OS X. The choice of Ubuntu is simply to get one distro running in my experiment. Parallels has several options--- Windows, Red Hat, Suse, Debian and many others, though personally i'd love to put gentoo linux on this thing, but the lack of network support and the fact i crashed my mac several times doing it... i just wanted to get something to work. (Update) - Was able to get the networking stuff going by using dhcp--- though i still haven't been able to get it when i plug the mac direct to my adsl modem, i was able to do it by building a home-router-dhcp-linux box.



Man, it responds in near native performance, it even has sound to boot. The only thing I have problems with this and a lot of people, judging by the forum responses over at Parallels is having the same--- the lack of good network support. A guest OS still can't connect to the internet.



There are a few people over at the forums and over at Macworld who have done this using Windows. You might want to check them out, if you haven't already.

Now I'd like nothing more than to run Gentoo Linux on my iMac Core Duo--- it saves me a lot of trouble maintining just one single machine to do my testing and leave my server to stand as purely production and i'm sure the day will come when Parallels can get network support right and it will be an amazing thing!

Wednesday, April 12, 2006

war journal 011 - the case of parallels 2.1 beta and the crashing iMac

(updated)
a shadow suddenly fell on my iMac Core Duo, and a small black window in the middle of my screen appeared requesting i reset the system--- press the power button for a few seconds.


And i did.

what madness! i broke my mac! the horror! the insanity!

ok thats putting too much into it.

what happened?

quite simple really, i was playing with Parallels 2.1 beta. i downloaded it from their website--- hoping to test out the virtualization stuff. i of course don't have a licensed copy of windows (except the one that came with my laptop, which is not being used as it is running gentoo linux), so i opted to go gentoo, my linux distro of choice. all right the system was up. gentoo live cd booted all right. i had done what any gentoo user would have at that stage, setup lan, and made my partition.

so far so good.

fdisk went well. did my mkreiserfs /dev/hda1 and did my mkswap /dev/hda2 and ran swapon /dev/hda2

all great stuff.

then i mounted /dev/hda1 on /mnt/gentoo---- all normal, all doing fine.

now the next step is fetch stage3 tar balls. now, my style is to fetch the link from via links--- and save the stage3 tarball and a portage snapshot on /mnt/gentoo, then do the necessary untar as stated on the gentoo handbook. now normally i would be at tty1 so i did control+alt+f2 to switch to tty2--- then the black screen of death appeared!!!!



after the imac restarted, i logged on to my user account and a window was waiting for me. it was an error window, asking the error to be sent to apple. now i've been using linux for quite sometime and unix pedigree is really hard to crash. i mean, fatal crash that halts the entire system kinda thingy. so why a kernel panic?!

here is the text of what was sent to apple:

panic(cpu 0 caller 0x0034FC40): freeing free mbuf
Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x1c723b08 : 0x128b5e (0x3bbeb8 0x1c723b2c 0x131bbc 0x0)
0x1c723b48 : 0x34fc40 (0x3db934 0x2e33bc00 0x1c723b78 0x2e276400)
0x1c723b68 : 0x34ffe7 (0x2e276400 0x312ecbf 0x6 0x2e276400)
0x1c723b88 : 0x6d9983 (0x2e276400 0xe 0x1c723bc8 0x1c723c38)
0x1c723bc8 : 0x1f7240 (0x3232004 0x2e276400 0x2 0x1c723c38)
0x1c723c28 : 0x227af5 (0x3232004 0x2 0x2e276400 0x41baa04)
0x1c723d68 : 0x232de5 (0x2e33bc00 0x0 0x0 0x2d503f0)
0x1c723dd8 : 0x3549e0 (0x32b8dd0 0x0 0x2e33bc00 0x4a0d604)
0x1c723e78 : 0x35932e (0x32b8dd0 0x4a0d604 0x3e38180 0x2e33bc00)
0x1c723ed8 : 0x3595ca (0x3e38180 0x0 0x37f46a0 0x0)
0x1c723f78 : 0x36d8e4 (0x39951f4 0x37f465c 0x37f46a0 0x0)
0x1c723fd8 : 0x197e7e (0x3996ef0 0x3996ef0 0x4a1000 0x1c723d0c) No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xbfffe008
Kernel loadable modules in backtrace (with dependencies):
com.apple.iokit.IONetworkingFamily(1.5.0)@0x6cf000

Kernel version:
Darwin Kernel Version 8.6.1: Tue Mar 7 16:55:45 PST 2006; root: xnu-792.9.22.obj~1/RELEASE_I386

Model: iMac4,1, BootROM IM41.0039.B00, 2 processors, Intel Core Duo, 1.83 GHz, 1.5 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Memory Module: DIMM0/BANK 0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: DIMM1/BANK 1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x89), 103.2 (3.120.28.3)
Bluetooth: Version 1.7.3f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, PPP (PPPoE), ppp0
Network Service: Bluetooth, PPP (PPPSerial), ppp1
Serial ATA Device: WDC WD1600JS-40NGB2, 149.05 GB
Parallel ATA Device: MATSHITADVD-R UJ-846
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 500 mA
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
other stuff--- intel virtualization (core duo has the intel-vt thing running and was active when parallels was running). i had several apps running (bon echo).

anyway going back to play with parallels now. will update when more news comes back. don't know though if i could figure out why this happened. i'd certainly like to know more about it. maybe will do a google on it.

UPDATE-1 well it happened again. well this time around was certainly my fault. i force quit parallels while it was running something. and i had iTunes running in the background etc. etc. i guess the system just had too many things on ram that it went crazy. anyway, there is an excellent forums for parallels here. seems my problems has occured before. sort of.

UPDATE-2 2nd panic log:

panic(cpu 0 caller 0x0019CAEF): Unresolved kernel trap (CPU 0, Type
14=page fault), registers:
CR0: 0x8001003b, CR2: 0x2e4b0000, CR3: 0x00d0e000, CR4: 0x000026e0
EAX: 0x2e4afff0, EBX: 0x1c4d3764, ECX: 0x03223c04, EDX: 0x4524a65a
ESP: 0x2e4b0000, EBP: 0x1c4d36f4, ESI: 0x2e4afffe, EDI: 0x00000022
EFL: 0x00010202, EIP: 0x4524a672, CS: 0x00000014, DS: 0x0000001c

Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x1c4d3594 : 0x128b5e (0x3bbeb8 0x1c4d35b8 0x131bbc 0x0)
0x1c4d35d4 : 0x19caef (0x3c1340 0x0 0xe 0x3c10f8)
0x1c4d3684 : 0x197b53 (0x1c4d3698 0x1c4d36f4 0x4524a672 0x210048)
0x1c4d3690 : 0x4524a672 (0x210048 0x2e4a001c 0x312001c 0x1c)
0x1c4d36f4 : 0x1f720f (0x3959d80 0x3223c04 0x22 0x1c4d3764)
0x1c4d3754 : 0x20f9a0 (0x3223c04 0x22 0x2e4aff00 0x0)
0x1c4d3784 : 0x322e43d5 (0x3223c04 0x22 0x2e1c6100 0x0)
0x1c4d37c4 : 0x322e6a08 (0x3223c04 0x2e1c6100 0x3218a32 0x8864)
0x1c4d3814 : 0x322e6afc (0x3218804 0x2e1c6100 0x3218a32 0x8864)
0x1c4d3844 : 0x322e737a (0x3218804 0x2e1c6100 0x3000000 0x26ebd670)
0x1c4d3884 : 0x322001ea (0x35a9504 0x2e1c6100 0x2da2e80 0x1c4d38c8)
0x1c4d38b4 : 0x321feb89 (0x35a9504 0x2e1c6100 0xf5fc628 0xb36)
0x1c4d3904 : 0x321fee27 (0x3453a04 0x2e1c6100 0x1c4d3924 0x19ba56)
0x1c4d3964 : 0x321ff060 (0x3453a04 0x2e1c6100 0x1 0x3453a04)
0x1c4d39c4 : 0x1f7240 (0x3453a04 0x2e1c6100 0x304db94 0x1c4d39ec)
0x1c4d3a24 : 0x227af5 (0x3453a04 0x2 0x2e1c6100 0x37c9f04) Backtrace
continues...
Kernel loadable modules in backtrace (with dependencies):
com.apple.nke.pppoe(1.4)@0x322e3000
dependency: com.apple.nke.ppp(1.4.1)@0x321fc000
com.apple.nke.ppp(1.4.1)@0x321fc000
com.parallels.kext.Pvsnet(2.1)@0x45248000

Kernel version:
Darwin Kernel Version 8.6.1: Tue Mar 7 16:55:45 PST 2006;
root:xnu-792.9.22.obj~1/RELEASE
_I386

Model: iMac4,1, BootROM IM41.0039.B00, 2 processors, Intel Core Duo,
1.83 GHz, 1.5 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Memory Module: DIMM0/BANK 0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: DIMM1/BANK 1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x89),
103.2 (3.120.28.3)
Bluetooth: Version 1.7.3f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, PPP (PPPoE), ppp1
Network Service: Bluetooth, PPP (PPPSerial), ppp0
Serial ATA Device: WDC WD1600JS-40NGB2, 149.05 GB
Parallel ATA Device: MATSHITADVD-R UJ-846
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 500 mA
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
* * *

anyway, i just emailed the two panic logs to parallels and hope they find a solution to it. :)

Saturday, April 08, 2006

war journal 010 - Parallels 2.1 and Xen 3

parallels is a desktop virtual machine solution for Mac OS X. i installed it on my 17" Core Duo iMac with 1.5GB RAM, 160GB Hard Drive. i was able to create a virtual environment for linux 2.6. i downloaded a gentoo 2006.0 mini cd. parallels was able to boot it with some minor adjustments: i set it so that the vm would use the physical (super)drive.

gentoo booted very well. though i did notice that my machine is designated as celeron-a, 2.7 ghz. i allocated 512MB ram to the machine. i have activity monitor in the background to monitor system performance. needless to say, i had 0% idle time on the real machine while using parallels.

parallels is registered compiled for intel. and i had several apps in the background including my browser which is designated as powerpc. this is bon echo.

anyway--- back to parallels-gentoo. i reached to command prompt the problem now is, parallels has the network as "bridge" now i have to figure out how to set the network card in that regard on gentoo. i'll try to do that tomorrow.

all in all, parallels is a very easy thing to setup. i did it under 5 minutes. so far so good.

in other news, was able to get xen to run domain 0 on my gentoo amd64 linux box. i have yet to compile a kernel for domain 1... which i'm having problems running. i think its just a matter of getting the configuration properly. i did notice a system slowdown (slightly sluggish running gnome on domain0), since the box is now running xen on domain 0, probably because everything passes through the hypervisor. when executing top on domain 0, you could see that the system had already lost ~256mb--- from 1024mb.

so far those have been my observations.

Tuesday, March 14, 2006

war journal 009 - xgl

Kororaa XGL live CD that demonstrates Xorg7 features can only be described as uber-wow!

i got the torrent from above, burned it (400+mb) then popped it into my centrino laptop. sadly, a kernel panic happened. don't know why. anyway, i popped it into a dell precision 340, pentium4 512mb machine with 32mb nvidia video card. and oh wow! wish i could have screenshots of that thing.

transparent window borders. workspace switching was supersmooth. even the animation of the windows and the border shading. i'll be studying how to migrate my gentoo64 at home to xorg7--- if kororaa is a sign of things to come, it is well worth it!

Saturday, March 04, 2006

war journal 008

success!!!!

everything works now.

i can browse all the sites. i did some minor kernel tweeking. and some updates. and a reboot to gentoo-linux and here we are. all systems are operating normally. i can now get podcasts on my iTunes over at this imac.

:D

warjournal 007

ok. i finally found sometime to fix up my home network! as of this posting, i'm writing this on my imac which is connected to my gentoo box. my gentoo box provided local dhcp, masq, and firewall features.

everything ought to work.

but somehow... software like itunes, and system update won't work. heck, just pointing my browser to www.apple.com i get a dead link. as do mac dev center and many other sites.

i just don't know why. and still tracing the problem through my logs. could it be that these services use a different port? because my firewall blocks all other ports except ones that i allow of course. or something else?

i dunno. but i'll try to figure it out soon.

Sunday, February 19, 2006

from a newbie: an intel imac

several posts ago, i mentioned getting a macbook pro. well i had that cancelled because i really needed a new computer and couldn't wait for a few more weeks. so instead, i picked up a brand new intel core duo-based iMac.

my imac is an 1.83 ghz, 17" lcd, 1.5gb ram, 160gb sata drive, with frontrow, isight, the mighty mouse, keyboard and a 2.1 harman/kardon sound stick 2.

right now i only have 512mb because the local apple center didn't have a 1gb stick and i was asked to bring the unit back this coming week of the 20th for it. no prob.

right now with only 512mb, i have no complaints. and this coming from a guy who demands more ram. nothing beats, more ram, i know.

this machine is my first mac. i've been a pc user since i was 10. i have been using pcs for 16 years. and this is the first time i have ever powered open a mac. or even touched one.

the white screen booted. and the local tech at the imac store walked me through the registration process. and introduced me to the dock, and stuff.

while i'm not new to unix boxes, the interface was kind of familiar. it was like kde. make a change, and the system would automatically adapt to it. wow. no need to select "apply" it just worked.

the mighty mouse is another device that took some getting used to. i'm used to feel the buttons on my mouse. here i had to adjust to the fact that all i needed to do was move the mouse to click. and plus the fact that i have at least 5 buttons all could be programmed to do a specific task.

wow.

when i brought the unit home and got it out of the box, all i had to do was plug the unit in, configure my pppoe stuff and off it went. of course it was the first time in years i turned to the help menu to figure things out. but yes it did work on the first try. all i needed was to put my user name and password for the dsl modem and off it went. all systems go.

now, if you're expecting to start working right away you'll probably could. osx has the browsers, a copy of office test drive, ilife and all the neat stuff. but being me, i was looking for xcode, particularly gcc. now i'm sure more mac users don't need gcc. thats fine. so i went to apple's developer center. being already a registered user long before i got the mac, i logged in and fetched xcode. ok, its an 800mb download, no big right? in this day and age of broadband internet, thats nothing. hell pirates on the net can fetch gigabytes of stolen movies with today's tech.

now, apple is great in offering xcode 2.2 as a download but they could at least provide a torrent file or at least enable people to resume download if they get cut off. i had to restart my download at least 5 times. i'm sure a lot of people would love to develop using xcode for the mac, if they could have the free development tools with less trouble.

now while downloading i was playing with the stuff. truly, osx just gets you to start working on your office, or personal stuff as soon as you plug in the unit and log in. you can't beat that kind of service. it just works.

i installed my camino browser, downloaded adobe acrobat reader (osx already has a pdf viewer and a browser) but i prefer my apps over the default stuff that goes with osx but for most users, everything just works on the fly--- flash, pdf viewer, java, python, vim, etc.

performance. i haven't ran any benchmarks on this machine. but at 512mb, i've yet to experience a system slowdown. or a chappy mp3 playback. i don't know about any rosetta stuff if any of my apps are working by running through rosetta. my browser, the camino is already universal binary. and ilife is already universal. so i really wouldn't know. but so far, i'm very very happy with its performance. and i expect better as the ram gets bigger this coming week.

there was a slight hitch though. i've noted in two incidence that the keyboard stopped working. i was merely browsing. what i did was remove and reattach the keyboard and it worked. so far thats my biggest complaint. and there is also that slow loading of a disc, which to me seemed to take longer than in the windows world. i don't know. it was just an impression, never actually timed it.

the superdrive without an eject button does take getting used to. coming from the pc world, our optical drives have buttons outside for physical eject.

another stuff that took a bit of getting used to is installing apps. to me the dmg thing is like mounting an iso image in linux--- via loop back but without the commandline stuff. i don't know how osx does it or if it does something similar. but its a good way of doing things.

i also miss wget, and other normal tools i'd have running on linux from the get go. but since this machine is more geared towards the general user, i'm sure apple didn't feel the need to include them as default stuff.

overall, being a newbie in the macworld, wow it blew me away. i have a windows laptop and a linux box at home. i'm utterly convinced that i'd be buying macs for my desktops and notebooks for years to come and that linux for me will be for my business server space. i love my mac. seriously. it just works.