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. :)

No comments: