Kernel panic when building HEAD on OS X 10.6.4

Hi, My computer dies a horrible death (i.e. kernel panic) whenever I build GHC from HEAD (currently using the "quickest" build configuration). Anyone had the same problem in the past? Any workarounds? Johan

I'd check RAM in your computer. Build process puts heavy load on your machine so... pavel On 28.01.2011, at 16:44, Johan Tibell wrote:
Hi,
My computer dies a horrible death (i.e. kernel panic) whenever I build GHC from HEAD (currently using the "quickest" build configuration). Anyone had the same problem in the past? Any workarounds?
Johan
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

On Fri, Jan 28, 2011 at 2:44 PM, Johan Tibell
My computer dies a horrible death (i.e. kernel panic) whenever I build GHC from HEAD (currently using the "quickest" build configuration). Anyone had the same problem in the past? Any workarounds?
Here are some details: Interval Since Last Panic Report: 16798 sec Panics Since Last Report: 1 Anonymous UUID: 32C0D5F6-F2B2-4DB3-A784-F4B33799DE63 Fri Jan 28 16:26:23 2011 panic(cpu 1 caller 0x2a8ab2): Kernel trap at 0x0046d801, type 14=page fault, registers: CR0: 0x8001003b, CR2: 0x00000018, CR3: 0x00100000, CR4: 0x00000660 EAX: 0x096388b4, EBX: 0x096388b4, ECX: 0x09f81520, EDX: 0x00000000 CR2: 0x00000018, EBP: 0x50b3be68, ESI: 0x09f81520, EDI: 0x072091f8 EFL: 0x00010283, EIP: 0x0046d801, CS: 0x00000008, DS: 0x07250010 Error code: 0x00000000 Backtrace (CPU 1), Frame : Return Address (4 potential args on stack) 0x50b3bc88 : 0x21b455 (0x5cf328 0x50b3bcbc 0x2238b1 0x0) 0x50b3bcd8 : 0x2a8ab2 (0x591664 0x46d801 0xe 0x59182e) 0x50b3bdb8 : 0x29e9a8 (0x50b3bdd0 0x76e03d4 0x50b3be68 0x46d801) 0x50b3bdc8 : 0x46d801 (0xe 0x48 0x50b30010 0x7250010) 0x50b3be68 : 0x49cf8c (0x96388b4 0x9f81520 0x50b3bebc 0x0) 0x50b3be88 : 0x46ec97 (0x9f81520 0x0 0x1da230 0x18) 0x50b3bed8 : 0x4933de (0x725b960 0x7f70180 0x0 0x0) 0x50b3bf78 : 0x4ed78d (0x8110d20 0x9f29a20 0x9f29a64 0x0) 0x50b3bfc8 : 0x29eef8 (0x9b64ea0 0x0 0x10 0x76c5180) 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: 1699580392546 unloaded kexts: com.apple.driver.AppleFileSystemDriver 2.0 (addr 0x50fd3000, size 0x12288) - last unloaded 194820769886 loaded kexts: com.pgp.kext.PGPnke 1.1.0 - last loaded 54969747121 com.parallels.kext.prl_vnic 6.0 11828.615184 com.parallels.kext.prl_netbridge 6.0 11828.615184 com.parallels.kext.prl_usb_connect 6.0 11828.615184 com.sophos.kext.sav 7.2.0 com.parallels.kext.prl_hid_hook 6.0 11828.615184 com.parallels.kext.prl_hypervisor 6.0 11828.615184 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.AppleIntelPenrynProfile 17.1 com.apple.driver.AppleMikeyDriver 1.8.7f1 com.apple.driver.AppleHDA 1.8.7f1 com.apple.driver.AudioIPCDriver 1.1.2 com.apple.driver.AppleUpstreamUserClient 3.3.2 com.apple.driver.SMCMotionSensor 3.0.0d4 com.apple.driver.AppleBacklight 170.0.24 com.apple.iokit.AppleBCM5701Ethernet 2.3.9b3 com.apple.kext.AppleSMCLMU 1.5.0d3 com.apple.GeForce 6.1.8 com.apple.driver.AirPortBrcm43224 425.16.2 com.apple.driver.ACPI_SMC_PlatformPlugin 4.1.2b1 com.apple.driver.AppleLPC 1.4.12 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.BootCache 31 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1 com.apple.driver.AppleFWOHCI 4.7.1 com.apple.driver.AppleUSBHub 4.0.0 com.apple.driver.AppleAHCIPort 2.1.2 com.apple.driver.AppleEFINVRAM 1.3.0 com.apple.driver.AppleUSBOHCI 3.9.6 com.apple.driver.AppleUSBEHCI 4.0.2 com.apple.driver.AppleSmartBatteryManager 160.0.0 com.apple.driver.AppleRTC 1.3.1 com.apple.driver.AppleHPET 1.5 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.iokit.IOAudioFamily 1.7.6fc2 com.apple.kext.OSvKernDSPLib 1.3 com.apple.driver.AppleSMBusController 1.0.8d0 com.apple.driver.AppleHDAController 1.8.7f1 com.apple.iokit.IOHDAFamily 1.8.7f1 com.apple.iokit.IOFireWireIP 2.0.3 com.apple.driver.NVSMU 2.2.7 com.apple.iokit.AppleProfileFamily 41.4 com.apple.iokit.IO80211Family 311.1 com.apple.iokit.IONetworkingFamily 1.9 com.apple.driver.AppleSMC 3.0.1d2 com.apple.driver.IOPlatformPluginFamily 4.1.2b1 com.apple.driver.AppleSMBusPCI 1.0.8d0 com.apple.nvidia.nv50hal 6.1.8 com.apple.NVDAResman 6.1.8 com.apple.iokit.IONDRVSupport 2.1 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.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.driver.XsanFilter 402.1 com.apple.iokit.IOAHCISerialATAPI 1.2.4 com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5 com.apple.iokit.IOFireWireFamily 4.2.6 com.apple.iokit.IOUSBUserClient 4.0.0 com.apple.iokit.IOAHCIFamily 2.0.4 com.apple.iokit.IOUSBFamily 4.0.2 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: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0x24600000 USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26100000 USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x06500000 USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0236, 0x06300000 USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8213, 0x06610000

This is laptop so 99% no ECC RAM, however it looks like apple provides some facility to test memory in single user mode... http://www.command-tab.com/2008/01/11/how-to-test-ram-under-mac-os-x/ If that's not reliable, then have a look at http://www.memtest.org/ if this support your hardware and try to get it running. Karel On 01/28/11 04:29 PM, Johan Tibell wrote:
On Fri, Jan 28, 2011 at 2:44 PM, Johan Tibell
wrote: My computer dies a horrible death (i.e. kernel panic) whenever I build GHC from HEAD (currently using the "quickest" build configuration). Anyone had the same problem in the past? Any workarounds?
Here are some details:
Interval Since Last Panic Report: 16798 sec Panics Since Last Report: 1 Anonymous UUID: 32C0D5F6-F2B2-4DB3-A784-F4B33799DE63
Fri Jan 28 16:26:23 2011 panic(cpu 1 caller 0x2a8ab2): Kernel trap at 0x0046d801, type 14=page fault, registers: CR0: 0x8001003b, CR2: 0x00000018, CR3: 0x00100000, CR4: 0x00000660 EAX: 0x096388b4, EBX: 0x096388b4, ECX: 0x09f81520, EDX: 0x00000000 CR2: 0x00000018, EBP: 0x50b3be68, ESI: 0x09f81520, EDI: 0x072091f8 EFL: 0x00010283, EIP: 0x0046d801, CS: 0x00000008, DS: 0x07250010 Error code: 0x00000000
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack) 0x50b3bc88 : 0x21b455 (0x5cf328 0x50b3bcbc 0x2238b1 0x0) 0x50b3bcd8 : 0x2a8ab2 (0x591664 0x46d801 0xe 0x59182e) 0x50b3bdb8 : 0x29e9a8 (0x50b3bdd0 0x76e03d4 0x50b3be68 0x46d801) 0x50b3bdc8 : 0x46d801 (0xe 0x48 0x50b30010 0x7250010) 0x50b3be68 : 0x49cf8c (0x96388b4 0x9f81520 0x50b3bebc 0x0) 0x50b3be88 : 0x46ec97 (0x9f81520 0x0 0x1da230 0x18) 0x50b3bed8 : 0x4933de (0x725b960 0x7f70180 0x0 0x0) 0x50b3bf78 : 0x4ed78d (0x8110d20 0x9f29a20 0x9f29a64 0x0) 0x50b3bfc8 : 0x29eef8 (0x9b64ea0 0x0 0x10 0x76c5180)
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: 1699580392546 unloaded kexts: com.apple.driver.AppleFileSystemDriver 2.0 (addr 0x50fd3000, size 0x12288) - last unloaded 194820769886 loaded kexts: com.pgp.kext.PGPnke 1.1.0 - last loaded 54969747121 com.parallels.kext.prl_vnic 6.0 11828.615184 com.parallels.kext.prl_netbridge 6.0 11828.615184 com.parallels.kext.prl_usb_connect 6.0 11828.615184 com.sophos.kext.sav 7.2.0 com.parallels.kext.prl_hid_hook 6.0 11828.615184 com.parallels.kext.prl_hypervisor 6.0 11828.615184 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.AppleIntelPenrynProfile 17.1 com.apple.driver.AppleMikeyDriver 1.8.7f1 com.apple.driver.AppleHDA 1.8.7f1 com.apple.driver.AudioIPCDriver 1.1.2 com.apple.driver.AppleUpstreamUserClient 3.3.2 com.apple.driver.SMCMotionSensor 3.0.0d4 com.apple.driver.AppleBacklight 170.0.24 com.apple.iokit.AppleBCM5701Ethernet 2.3.9b3 com.apple.kext.AppleSMCLMU 1.5.0d3 com.apple.GeForce 6.1.8 com.apple.driver.AirPortBrcm43224 425.16.2 com.apple.driver.ACPI_SMC_PlatformPlugin 4.1.2b1 com.apple.driver.AppleLPC 1.4.12 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.BootCache 31 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1 com.apple.driver.AppleFWOHCI 4.7.1 com.apple.driver.AppleUSBHub 4.0.0 com.apple.driver.AppleAHCIPort 2.1.2 com.apple.driver.AppleEFINVRAM 1.3.0 com.apple.driver.AppleUSBOHCI 3.9.6 com.apple.driver.AppleUSBEHCI 4.0.2 com.apple.driver.AppleSmartBatteryManager 160.0.0 com.apple.driver.AppleRTC 1.3.1 com.apple.driver.AppleHPET 1.5 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.iokit.IOAudioFamily 1.7.6fc2 com.apple.kext.OSvKernDSPLib 1.3 com.apple.driver.AppleSMBusController 1.0.8d0 com.apple.driver.AppleHDAController 1.8.7f1 com.apple.iokit.IOHDAFamily 1.8.7f1 com.apple.iokit.IOFireWireIP 2.0.3 com.apple.driver.NVSMU 2.2.7 com.apple.iokit.AppleProfileFamily 41.4 com.apple.iokit.IO80211Family 311.1 com.apple.iokit.IONetworkingFamily 1.9 com.apple.driver.AppleSMC 3.0.1d2 com.apple.driver.IOPlatformPluginFamily 4.1.2b1 com.apple.driver.AppleSMBusPCI 1.0.8d0 com.apple.nvidia.nv50hal 6.1.8 com.apple.NVDAResman 6.1.8 com.apple.iokit.IONDRVSupport 2.1 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.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.driver.XsanFilter 402.1 com.apple.iokit.IOAHCISerialATAPI 1.2.4 com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5 com.apple.iokit.IOFireWireFamily 4.2.6 com.apple.iokit.IOUSBUserClient 4.0.0 com.apple.iokit.IOAHCIFamily 2.0.4 com.apple.iokit.IOUSBFamily 4.0.2 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: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0x24600000 USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26100000 USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x06500000 USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0236, 0x06300000 USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8213, 0x06610000
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

On 28/01/2011 13:44, Johan Tibell wrote:
Hi,
My computer dies a horrible death (i.e. kernel panic) whenever I build GHC from HEAD (currently using the "quickest" build configuration). Anyone had the same problem in the past? Any workarounds?
Not that this has anything to do with your problem, but I wouldn't recommend the "quickest" configuration - it doesn't optimise the libraries, so everything compiled with it (including stage2) runs horribly slowly. Cheers, Simon
participants (4)
-
Johan Tibell
-
Karel Gardas
-
Pavel Perikov
-
Simon Marlow