Kernel panic when building HEAD on OS X 10.6.4

John Meacham john at repetae.net
Mon Jan 31 10:15:21 CET 2011


Any chance a cooling fan inside died and you are overheating it?

Can you reproduce the failure with other heavy load programs, can you
run a widget that monitors the internal temperatures and other sensors
during the build?

It does seem odd...

    John

On Mon, Jan 31, 2011 at 12:46 AM, Johan Tibell <johan.tibell at gmail.com> wrote:
> On Mon, Jan 31, 2011 at 4:33 AM, Manuel M T Chakravarty
> <mchakravarty at mac.com> wrote:
>> Are you building inside a Parallels VM?  If so, it is probably a Parallels bug (which also explain why compiling GHC can lead to a kernel panic).
>>
>> If the GHC build is not in a Parallels VM, I would suggest to shut down Parallels and try again.  If the problem does not occur without Parallels running, it's probably a bug in some of Parallel's virtualisation infrastructure.
>
> I'm not running in a VM. I shut down parallels and also unloaded its
> kernel extensions by running:
>
> sudo launchctl stop com.parallels.vm.prl_naptd
> sudo launchctl stop com.parallels.desktop.launchdaemon
> sudo kextunload -b com.parallels.kext.prl_hypervisor
> sudo kextunload -b com.parallels.kext.prl_hid_hook
> sudo kextunload -b com.parallels.kext.prl_usb_connect
> sudo kextunload -b com.parallels.kext.prl_netbridge
> sudo kextunload -b com.parallels.kext.prl_vnic
>
> It still panics. Here's the crash log without the parallels extensions:
>
> =====
>
> Interval Since Last Panic Report:  109637 sec
> Panics Since Last Report:          3
> Anonymous UUID:                    32C0D5F6-F2B2-4DB3-A784-F4B33799DE63
>
> Mon Jan 31 09:42:12 2011
> panic(cpu 1 caller 0x2a8ab2): Kernel trap at 0x0046d801, type 14=page
> fault, registers:
> CR0: 0x8001003b, CR2: 0x00000018, CR3: 0x00100000, CR4: 0x00000660
> EAX: 0x08014cb4, EBX: 0x08014cb4, ECX: 0x09af4304, EDX: 0x00000000
> CR2: 0x00000018, EBP: 0x56b9be68, ESI: 0x09af4304, EDI: 0x0728c7e0
> EFL: 0x00010297, EIP: 0x0046d801, CS:  0x00000008, DS:  0x072d0010
> Error code: 0x00000000
>
> Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
> 0x56b9bc88 : 0x21b455 (0x5cf328 0x56b9bcbc 0x2238b1 0x0)
> 0x56b9bcd8 : 0x2a8ab2 (0x591664 0x46d801 0xe 0x59182e)
> 0x56b9bdb8 : 0x29e9a8 (0x56b9bdd0 0x90853d4 0x56b9be68 0x46d801)
> 0x56b9bdc8 : 0x46d801 (0xe 0x48 0x56b90010 0x72d0010)
> 0x56b9be68 : 0x49cf8c (0x8014cb4 0x9af4304 0x56b9bebc 0x0)
> 0x56b9be88 : 0x46ec97 (0x9af4304 0x0 0x1da230 0x18)
> 0x56b9bed8 : 0x4933de (0x72da9e0 0x12baec80 0x0 0x0)
> 0x56b9bf78 : 0x4ed78d (0x9a157e0 0x87ae7c0 0x87ae804 0x0)
> 0x56b9bfc8 : 0x29eef8 (0x8957060 0x0 0x10 0x8954fc0)
>
> BSD process name corresponding to current thread: ghc-stage2
>
> Mac OS version:
> 10F569
>
> Kernel version:
> Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010;
> root:xnu-1504.7.4~1/RELEASE_I386
> System model name: MacBookPro7,1 (Mac-F222BEC8)
>
> System uptime in nanoseconds: 429843412257
> unloaded kexts:
> com.parallels.kext.prl_usb_connect      6.0 11828.615184 (addr 0x5807e000,
> size 0x24576) - last unloaded 317902627354
> loaded kexts:
> com.pgp.kext.PGPnke     1.1.0 - last loaded 64160566115
> com.sophos.kext.sav     7.2.0
> com.pgp.iokit.PGPwdeDriver      1.2.0d1
> com.apple.driver.AppleHWSensor  1.9.3d0
> com.apple.filesystems.autofs    2.1.0
> com.apple.driver.AGPM   100.12.12
> com.apple.driver.AudioAUUC      1.4
> com.apple.Dont_Steal_Mac_OS_X   7.0.0
> com.apple.iokit.CHUDUtils       364
> com.apple.driver.AppleMikeyHIDDriver    1.2.0
> com.apple.iokit.CHUDProf        364
> com.apple.driver.AppleMikeyDriver       1.8.7f1
> com.apple.driver.AppleIntelPenrynProfile        17.1
> com.apple.driver.AppleHDA       1.8.7f1
> com.apple.driver.AppleUpstreamUserClient        3.3.2
> com.apple.driver.AudioIPCDriver 1.1.2
> com.apple.driver.AppleLPC       1.4.12
> com.apple.driver.AppleBacklight 170.0.24
> com.apple.driver.SMCMotionSensor        3.0.0d4
> com.apple.iokit.AppleBCM5701Ethernet    2.3.9b3
> com.apple.driver.ACPI_SMC_PlatformPlugin        4.1.2b1
> com.apple.GeForce       6.1.8
> com.apple.driver.AirPortBrcm43224       425.16.2
> com.apple.kext.AppleSMCLMU      1.5.0d3
> com.apple.driver.AppleUSBTCButtons      1.8.1b1
> com.apple.driver.AppleIRController      303.8
> com.apple.driver.AppleUSBTCKeyboard     1.8.1b1
> com.apple.driver.AppleUSBCardReader     2.5.4
> com.apple.iokit.SCSITaskUserClient      2.6.5
> com.apple.iokit.IOAHCIBlockStorage      1.6.2
> com.apple.driver.AppleUSBHub    4.0.0
> com.apple.driver.AppleUSBEHCI   4.0.2
> com.apple.BootCache     31
> com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
> com.apple.driver.AppleUSBOHCI   3.9.6
> com.apple.driver.AppleFWOHCI    4.7.1
> com.apple.driver.AppleAHCIPort  2.1.2
> com.apple.driver.AppleEFINVRAM  1.3.0
> com.apple.driver.AppleRTC       1.3.1
> com.apple.driver.AppleHPET      1.5
> com.apple.driver.AppleSmartBatteryManager       160.0.0
> com.apple.driver.AppleACPIButtons       1.3.2
> com.apple.driver.AppleSMBIOS    1.6
> com.apple.driver.AppleACPIEC    1.3.2
> com.apple.driver.AppleAPIC      1.4
> com.apple.driver.AppleIntelCPUPowerManagementClient     105.10.0
> com.apple.security.sandbox      0
> com.apple.security.quarantine   0
> com.apple.nke.applicationfirewall       2.1.11
> com.apple.driver.AppleIntelCPUPowerManagement   105.10.0
> com.apple.driver.AppleProfileReadCounterAction  17
> com.apple.driver.AppleProfileTimestampAction    10
> com.apple.driver.AppleProfileThreadInfoAction   14
> com.apple.driver.AppleProfileRegisterStateAction        10
> com.apple.driver.AppleProfileKEventAction       10
> com.apple.driver.AppleProfileCallstackAction    20
> com.apple.iokit.IOSurface       74.0
> com.apple.iokit.IOBluetoothSerialManager        2.3.7f1
> com.apple.iokit.IOSerialFamily  10.0.3
> com.apple.iokit.CHUDKernLib     365
> com.apple.driver.DspFuncLib     1.8.7f1
> com.apple.driver.AppleSMBusController   1.0.8d0
> com.apple.iokit.IOAudioFamily   1.7.6fc2
> com.apple.kext.OSvKernDSPLib    1.3
> com.apple.driver.AppleHDAController     1.8.7f1
> com.apple.iokit.IOHDAFamily     1.8.7f1
> com.apple.driver.NVSMU  2.2.7
> com.apple.driver.IOPlatformPluginFamily 4.1.2b1
> com.apple.driver.AppleSMBusPCI  1.0.8d0
> com.apple.nvidia.nv50hal        6.1.8
> com.apple.iokit.AppleProfileFamily      41.4
> com.apple.NVDAResman    6.1.8
> com.apple.iokit.IONDRVSupport   2.1
> com.apple.iokit.IO80211Family   311.1
> com.apple.iokit.IOFireWireIP    2.0.3
> com.apple.iokit.IONetworkingFamily      1.9
> com.apple.driver.AppleSMC       3.0.1d2
> com.apple.iokit.IOGraphicsFamily        2.1
> com.apple.driver.BroadcomUSBBluetoothHCIController      2.3.7f1
> com.apple.driver.AppleUSBBluetoothHCIController 2.3.7f1
> com.apple.iokit.IOBluetoothFamily       2.3.7f1
> com.apple.driver.AppleUSBMultitouch     205.32
> com.apple.iokit.IOUSBHIDDriver  4.0.2
> com.apple.driver.XsanFilter     402.1
> com.apple.iokit.IOUSBMassStorageClass   2.6.1
> com.apple.iokit.IOSCSIBlockCommandsDevice       2.6.5
> com.apple.driver.AppleUSBMergeNub       4.0.0
> com.apple.driver.AppleUSBComposite      3.9.0
> com.apple.iokit.IOSCSIMultimediaCommandsDevice  2.6.5
> com.apple.iokit.IOBDStorageFamily       1.6
> com.apple.iokit.IODVDStorageFamily      1.6
> com.apple.iokit.IOCDStorageFamily       1.6
> com.apple.iokit.IOAHCISerialATAPI       1.2.4
> com.apple.iokit.IOSCSIArchitectureModelFamily   2.6.5
> com.apple.iokit.IOUSBUserClient 4.0.0
> com.apple.iokit.IOUSBFamily     4.0.2
> com.apple.iokit.IOFireWireFamily        4.2.6
> com.apple.iokit.IOAHCIFamily    2.0.4
> com.apple.driver.AppleEFIRuntime        1.3.0
> com.apple.iokit.IOHIDFamily     1.6.5
> com.apple.iokit.IOSMBusFamily   1.1
> com.apple.security.TMSafetyNet  6
> com.apple.kext.AppleMatch       1.0.0d1
> com.apple.driver.DiskImages     283
> com.apple.iokit.IOStorageFamily 1.6.1
> com.apple.driver.AppleACPIPlatform      1.3.2
> com.apple.iokit.IOPCIFamily     2.6
> com.apple.iokit.IOACPIFamily    1.3.0
> Model: MacBookPro7,1, BootROM MBP71.0039.B05, 2 processors, Intel Core
> 2 Duo, 2.66 GHz, 4 GB, SMC 1.62f6
> Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
> Memory Module: global_name
> AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D),
> Broadcom BCM43xx 1.0 (5.10.131.16.1)
> Bluetooth: Version 2.3.7f1, 2 service, 12 devices, 1 incoming serial ports
> Network Service: AirPort, AirPort, en1
> Serial ATA Device: APPLE SSD TS128B, 113 GB
> Serial ATA Device: MATSHITADVD-R   UJ-898
> USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403,
> 0x26100000
> USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0x24600000
> USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06600000
> USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.),
> 0x8213, 0x06610000
> USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x06500000
> USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.),
> 0x0236, 0x06300000
>
> =====
>
>> If it also happens without Parallels running, the suggestion to check your RAM sounds like good advice.
>
> The (OS X modified version of) memtest86 reports no problems.
>
> Johan
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>



More information about the Glasgow-haskell-users mailing list