iPhoneの開発を始めました。 -2ページ目

kernal panic

パソコンが、Yosemiteにあげた時を起点に
こんなパニックを起こしています。

検索してみると「グラフィックスの自動切り替え」を切ったら治ったという
日本人のブログが見つかりました。

でも完璧な対応にはなりませんでした。

手動で切り替えるソフトを使って切り替えを試してみると
パニックに落ちました。

落ちるタイミングは、
少し時間をおいてパソコンに電源をいれ
立ち上がった直後にグラフィックスボードを内蔵ー>外部に切り替えると100%なります。

でもこのパニックってYosemiteから発生してるわけではないみたい。
俺のパソコンが偶然Yosemiteを入れたことによって問題が発生しただけだった。

どうすればいいんだ。

とりあえずサポートセンターと連絡はとってはいるが・・・。

お金かかりそう・・・。
くっそ・・・。1年しか経ってないぞ・・。
20万円もしたんに・・・。


Anonymous UUID: 4099DF8E-6ECB-CF65-FF4D-5895E3CB80E0

Thu Nov 6 21:11:22 2014

*** Panic Report ***
panic(cpu 2 caller 0xffffff7fa886dea9): "AGC GPU REGISTER RESTORE FAILED : rdar://7254528, g3d BAR0 invalid"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.7.21/src/AppleMuxControl/kext/AGCPowerManagement.cpp:1144
Backtrace (CPU 2), Frame : Return Address
0xffffff8132753db0 : 0xffffff8025d3a811
0xffffff8132753e30 : 0xffffff7fa886dea9
0xffffff8132753e70 : 0xffffff7fa887067a
0xffffff8132753ea0 : 0xffffff80262db3cd
0xffffff8132753f00 : 0xffffff8025d6be13
0xffffff8132753fb0 : 0xffffff8025e192c7
Kernel Extensions in backtrace:
com.apple.driver.AppleMuxControl(3.7.21)[32B7E2DE-1F9D-3555-B687-7A76A62B81D2]@0xffffff7fa8862000->0xffffff7fa8875fff
dependency: com.apple.driver.AppleGraphicsControl(3.7.21)[62689710-EEA7-307A-AC83-B8F25DA88A6A]@0xffffff7fa885a000
dependency: com.apple.iokit.IOACPIFamily(1.4)[70E2B65E-A91A-3522-A1A0-79FD63EABB4C]@0xffffff7fa71c8000
dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff7fa6524000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0xffffff7fa67ec000
dependency: com.apple.driver.AppleBacklightExpert(1.1.0)[0183904C-6A16-32C4-9405-EEFD7F820B02]@0xffffff7fa885d000

BSD process name corresponding to current thread: kernel_task

Mac OS version:
14A389

Kernel version:
Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
Kernel UUID: 89E10306-BC78-3A3B-955C-7C4922577E61
Kernel slide: 0x0000000025a00000
Kernel text base: 0xffffff8025c00000
__HIB text base: 0xffffff8025b00000
System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)

System uptime in nanoseconds: 31033943108
last loaded kext at 21910861248: org.pqrs.driver.Seil 10.11.0 (addr 0xffffff7fa8990000, size 32768)
loaded kexts:
org.pqrs.driver.Seil 10.11.0
org.pqrs.driver.Karabiner 10.4.0
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AppleGraphicsDevicePolicy 3.7.7
com.apple.driver.ApplePlatformEnabler 2.1.0d1
com.apple.driver.AGPM 100.14.37
com.apple.driver.X86PlatformShim 1.0.0
com.apple.iokit.IOBluetoothSerialManager 4.3.0f10
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleMikeyDriver 266.5
com.apple.driver.AppleHDAHardwareConfigDriver 266.5
com.apple.driver.AppleHDA 266.5
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.GeForce 10.0.0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.iokit.IOBluetoothUSBDFU 4.3.0f10
com.apple.driver.AppleIntelHD4000Graphics 10.0.0
com.apple.driver.AppleBacklight 170.4.12
com.apple.driver.AppleHWAccess 1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.0f10
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleMuxControl 3.7.21
com.apple.driver.AppleMCCSControl 1.2.10
com.apple.driver.AppleHV 1
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.driver.AppleLPC 1.7.3
com.apple.driver.AppleIntelFramebufferCapri 10.0.0
com.apple.nvidia.NVDAStartup 10.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleThunderboltIP 2.0.2
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleUSBTCKeyEventDriver 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.CoreStorageFsck 471
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.6.5
com.apple.driver.AirPort.Brcm4331 800.20.24
com.apple.driver.AppleSDXC 1.6.5
com.apple.driver.AppleUSBHub 705.4.1
com.apple.iokit.AppleBCM5701Ethernet 10.1.2b3
com.apple.driver.AirPort.Brcm4360 900.19.8
com.apple.driver.AppleAHCIPort 3.0.7
com.apple.driver.AppleUSBEHCI 705.4.14
com.apple.driver.AppleUSBXHCI 705.4.14
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 3.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 3.1
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall 161
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
com.apple.iokit.IOSerialFamily 11
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 266.5
com.apple.kext.OSvKernDSPLib 1.15
com.apple.iokit.IOAudioFamily 200.6
com.apple.vecLib.kext 1.2.0
com.apple.nvidia.driver.NVDAGK100Hal 10.0.0
com.apple.nvidia.driver.NVDAResman 10.0.0
com.apple.iokit.IOSurface 97
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.0f10
com.apple.iokit.IOBluetoothFamily 4.3.0f10
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleGraphicsControl 3.7.21
com.apple.driver.AppleSMBusController 1.0.13d1
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.AppleHDAController 266.5
com.apple.iokit.IOHDAFamily 266.5
com.apple.iokit.IOUSBUserClient 705.4.0
com.apple.iokit.IOAcceleratorFamily2 156.4
com.apple.AppleGraphicsDeviceControl 3.7.21
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.IOPlatformPluginFamily 5.8.0d49
com.apple.driver.AppleThunderboltEDMSink 4.0.2
com.apple.driver.AppleThunderboltDPOutAdapter 4.0.6
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.0
com.apple.driver.AppleUSBMultitouch 245.2
com.apple.iokit.IOUSBHIDDriver 705.4.0
com.apple.driver.AppleUSBMergeNub 705.4.0
com.apple.driver.AppleUSBComposite 705.4.9
com.apple.driver.CoreStorage 471
com.apple.driver.AppleThunderboltDPInAdapter 4.0.6
com.apple.driver.AppleThunderboltDPAdapterFamily 4.0.6
com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
com.apple.driver.AppleThunderboltNHI 3.1.7
com.apple.iokit.IOThunderboltFamily 4.2.1
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.iokit.IO80211Family 700.52
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOAHCIFamily 2.7.0
com.apple.iokit.IOUSBFamily 705.4.14
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 389.1
com.apple.iokit.IOStorageFamily 2.0
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 3.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.Libm 1
com.apple.kec.pthread 1

System Profile:
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (7.15.124.12.8)
Bluetooth: Version 4.3.0f10 14890, 3 services, 27 devices, 1 incoming serial ports
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Hub
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
Serial ATA Device: APPLE SSD SM512E, 500.28 GB
Model: MacBookPro10,1, BootROM MBP101.00EE.B05, 4 processors, Intel Core i7, 2.6 GHz, 8 GB, SMC 2.3f36
Network Service: Wi-Fi, AirPort, en0
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB

androidのeclipseで使われるプロジェクトの情報

同じプロジェクトをコピーしてeclipseにimportする時に、
既に同じプロジェクトがimportされてるよと言われてimport出来なかった。

今回はeclipseで先にImportされているプロジェクト名を変える訳にはいかなかったので調べてみた。
でも、情報を持っていそうなファイルがみつからない・・・。
と思ったら、.projectというファイルが隠れていた。

開いてみるとxml形式になっていて、頭にプロジェクト名が合ってので
修正して解決

macの隠しファイルのON/OFFのシェルスクリプト

#!/bin/bash

# $1 true - 隠しファイルを見せる、 false 隠す
FLAG=0
if [ $# -ne 1 ] ; then
echo "true - 隠しファイルを見せる、 false 隠す"
exit 1
elif test $1 = "true" ; then
defaults write com.apple.finder AppleShowAllFiles -boolean true
killall Finder
FLAG=1
echo "隠しファイルを表示しました"
elif test $1 = "false" ; then
defaults delete com.apple.finder AppleShowAllFiles
killall Finder
FLAG=1
echo "隠しファイルを隠しました"
else
echo true - 隠しファイルを見せる、 false 隠す
fi


使われた命令のメモ

#!/bin/bash
シェルスクリプトファイル宣言

#
コメント

if ooooo
then
fi
条件文

exit 1
終了

echo
ログ

elif
else if

$#
引数の数

test
条件が真か見るための物

とりあえず、こんな感じ~