Jump to content
Cassio

Demora no boot, todas as kexts são lidas

Recommended Posts

Atualizado:


Na versão 2.1 r2109 do Chameleon tem um module KernelPatcher.dylib que possibilita o carregamento do kernelcache (que é padrão) juntamente com kexts extras. Coloque em /Extra/modules

http://Olarila.com/forum/viewtopic.php?f=9&t=70


O Clover também carrega kexts da pasta EFI junto com o kernelcache

http://Olarila.com/forum/viewtopic.php?f=9&t=1032



A informação abaixo refere-se a versões anteriores do Chameleon ou se não usar o KernelPatcher.

Se o Chameleon não estiver usando cache de kexts ou kernelcache, todas as kexts serão lidas no boot, e se você usar -v (verbose) o boot vai demorar bastante, mas o que demora é mostrar o nome das kexts na tela, não a leitura em si. Se não usar -v não deve demorar tanto, apenas alguns segundos a mais que o Snow Leopard.


Isso acontece porque o Lion não usa o Extensions.mkext como o Snow Leopard (o cache de kexts não é criado automaticamente), ao invés disso ele usa o kernelcache (pre-linked kernel + kexts), mas o Chameleon não usa esse arquivo por padrão.


Se quiser que o Chameleon use esse arquivo você precisa ativar a opção UseKernelCache (pode usar este app). Com essa opção ativada as kexts de /Extra/Extensions (ou /Extra/Extensions.mkext) não serão carregadas, então você precisa botar todas as kexts em /System/Library/Extensions.


Caso o kernelcache seja mais antigo que a pasta Extensions, ele não será usado e o Chameleon mostrará a seguinte mensagem


Para verificar o que está impedindo o kernelcache de ser atualizado, rode o comando

sudo kextcache -prelinked-kernel

 

Outra alternativa, se você fizer questão de ter as kexts "hack" na pasta /Extra, é criar o arquivo Extensions.mkext manualmente, mas lembre de atualizá-lo sempre que fizer qualquer mudança na pasta Extensions do sistema

sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8

Link to comment
Share on other sites

Ótima dica, realmente dá raiva ele carregando tudo a cada boot, fica perfeito dessa forma.

SERVER->Asus P6T Deluxe V2 | i7 920@3.6ghz | 6Gb Patriot Viper 1333mhz | Ssd Ocz 120Gb Sata3 | 1TB Samsung | USB Dvd-Rw LG | Radeon HD5870 + HD5850 (QE/CI) | Mountain Lion 10.8 DP3 + Windows 7 X64

WORKSTATION->Macbook PRO 2009 | 8GB DDR3| 500GB Hybrid SSD | Lion 10.7.1[/size]

Link to comment
Share on other sites

Apareceu essa mensagem quando dou o comando sudo kextcache -prelinked-kernel

"Kernel file /mach_kernel does not contain requested arch: i386" Alguma susgestão?

NB Dell N4110

Placa Mãe: Intel 6 Series

Processador: Core i5 2410M 3MB Turbo Boost

Chipset: Mobile Intel® HM67 Express Chipsets

AMD Radeon HD 6470M - Seymour XT 1GB

Intel Centrino Wireless-N 1030 1x2 bgn + Bluetooth3.0

Audio: ALC 269 HD

Link to comment
Share on other sites

Se você poder analisar o erro, eu agradeço, pois não sei identificar!

 

Chimera 1.11.0 (svn-r1394) [2012-07-20 08:32:13]
CPU: Brand String:                Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
CPU: Vendor:                      0x756e6547
CPU: Family / ExtFamily:          0x6 / 0x0
CPU: Model / ExtModel / Stepping: 0x2a / 0x2 / 0x7
CPU: Number of Cores / Threads:   2 / 4
CPU: Features:                    0x000002ff
CPU: TSC Frequency:               2292 MHz
CPU: FSB Frequency:               99 MHz
CPU: CPU Frequency:               2292 MHz
CPU: Minimum Bus Ratio:           8
CPU: Maximum Bus Ratio:           23
CPU: Current Bus Ratio:           23
Invalid mach magic 0x2
Module 'Symbols.dylib' by 'Chameleon' Loaded.
Description: Chameleon symbols for linking
Version: 0
Compat:  0
Read HFS+ file: [hd(0,1)/Extra/Themes/Default/theme.plist] 2798 bytes.
Read HFS+ file: [hd(0,1)/Extra/Themes/Default/background.png] 966 bytes.

...

 

Read HFS+ file: [hd(0,1)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 232 bytes.
Read HFS+ file: [hd(0,1)/System/Library/CoreServices/SystemVersion.plist] 475 bytes.
Loading Darwin 10.8
Loading kernel mach_kernel
Read HFS+ file: [hd(0,1)/mach_kernel] 4096 bytes.
Read HFS+ file: [hd(0,1)/mach_kernel] 8187616 bytes.
ACPI table not found: DSDT.aml
No DSDT found, using 0 as uid value.
Using PCI-Root-UID value: 0
Read HFS+ file: [hd(0,1)/Extra/smbios.plist] 596 bytes.
SMBus CmdReg: 0x3
Scanning SMBus [8086:1c22], mmio: 0xe1804004, ioport: 0xefa0, hostc: 0x1
SPD[0] (size): 255 @0x50
SPD[0] (size): 255 @0x51
SPD[0] (size): 146 @0x52
Slot: 2 Type 24 4096MB (DDR3 SDRAM) 1333MHz Vendor=Smart Modular
     PartNo=SH564128FH8NZPHSCG SerialNo=0328FF69
SPD[0] (size): 255 @0x53
SPD[0] (size): 255 @0x54
SPD[0] (size): 255 @0x55
SPD[0] (size): 255 @0x56
SPD[0] (size): 255 @0x57

Type: 0, Length: 24, Handle: 0x0
BIOSInformation:
vendor: AppleInc.
version: MBP81.88Z.0047.B0E.1104221557
releaseDate: 11/06/2009

Type: 1, Length: 27, Handle: 0x1
SystemInformation:
manufacturer: AppleInc.
productName: MacBookPro8,1
version: 1.0
serialNumber: C02GM4G1DH2G
uuid: 44454C4C-2000-1020-8020-A0C04F202020
wakeupReason: 0x3
skuNumber: System SKUNumber
family: MacBookPro

Type: 2, Length: 15, Handle: 0x2
BaseBoard:
manufacturer: Apple Inc.
product: Mac-94245B3640C91C81
version: A01
serialNumber: .       .CN4864314PJ440.
assetTagNumber: 
locationInChassis: Part Component
boardType: 0xA

Type: 3, Length: 21, Handle: 0x3
SystemEnclosure:
manufacturer: Dell Inc.         
type: 8
version: 0.1
serialNumber:        
assetTagNumber:           

Type: 8, Length: 9, Handle: 0x4
Type: 8, Length: 9, Handle: 0x5
Type: 8, Length: 9, Handle: 0x6
Type: 8, Length: 9, Handle: 0x7
Type: 8, Length: 9, Handle: 0x8
Type: 8, Length: 9, Handle: 0x9
Type: 8, Length: 9, Handle: 0xa
Type: 8, Length: 9, Handle: 0xb
Type: 8, Length: 9, Handle: 0xc
Type: 8, Length: 9, Handle: 0xd
Type: 8, Length: 9, Handle: 0xe
Type: 8, Length: 9, Handle: 0xf
Type: 8, Length: 9, Handle: 0x10
Type: 8, Length: 9, Handle: 0x11
Type: 8, Length: 9, Handle: 0x12
Type: 8, Length: 9, Handle: 0x13
Type: 8, Length: 9, Handle: 0x14
Type: 8, Length: 9, Handle: 0x15
Type: 8, Length: 9, Handle: 0x16
Type: 8, Length: 9, Handle: 0x17
Type: 8, Length: 9, Handle: 0x18
Type: 8, Length: 9, Handle: 0x19
Type: 8, Length: 9, Handle: 0x1a
Type: 8, Length: 9, Handle: 0x1b
Type: 9, Length: 17, Handle: 0x1c
Type: 9, Length: 17, Handle: 0x1d
Type: 9, Length: 17, Handle: 0x1e
Type: 9, Length: 17, Handle: 0x1f
Type: 9, Length: 17, Handle: 0x20
Type: 9, Length: 17, Handle: 0x21
Type: 10, Length: 6, Handle: 0x22
Type: 10, Length: 6, Handle: 0x23
Type: 12, Length: 5, Handle: 0x25
Type: 13, Length: 22, Handle: 0x26
Type: 32, Length: 11, Handle: 0x28
Type: 18, Length: 23, Handle: 0x29
Type: 21, Length: 7, Handle: 0x2a
Type: 23, Length: 13, Handle: 0x2b
Type: 24, Length: 5, Handle: 0x2c
Type: 27, Length: 14, Handle: 0x2d
Type: 4, Length: 42, Handle: 0x2e
ProcessorInformation:
socketDesignation: CPU
processorType: 3
processorFamily: 0xC6
manufacturer: Intel(R) Corporation
processorID: 0x206A7
processorVersion: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
externalClock: 99MHz
maximumClock: 2292MHz
currentClock: 2300MHz
serialNumber: Not Supported by CPU
assetTag: TBD By OEM
partNumber: TBD By OEM

Type: 7, Length: 19, Handle: 0x2f
Type: 7, Length: 19, Handle: 0x30
Type: 7, Length: 19, Handle: 0x31
Type: 16, Length: 15, Handle: 0x32
Type: 17, Length: 28, Handle: 0x33
MemoryDevice:
deviceLocator: ChannelA-DIMM0
bankLocator: BANK 0
memoryType: RAM
memorySpeed: 0MHz
manufacturer: N/A
serialNumber: N/A
assetTag: 9876543210
partNumber: N/A

Type: 17, Length: 28, Handle: 0x34
MemoryDevice:
deviceLocator: ChannelB-DIMM0
bankLocator: BANK 2
memoryType: DDR3
memorySpeed: 1333MHz
manufacturer: N/A
serialNumber: N/A
assetTag: 9876543210
partNumber: N/A

Type: 20, Length: 19, Handle: 0x35
Type: 19, Length: 15, Handle: 0x36
Type: 129, Length: 8, Handle: 0x37
Type: 15, Length: 29, Handle: 0x39
Type: 176, Length: 5, Handle: 0x3a
Type: 177, Length: 12, Handle: 0x3b
Type: 208, Length: 16, Handle: 0x3c
Type: 212, Length: 17, Handle: 0x3d
Type: 216, Length: 9, Handle: 0x3e
Type: 218, Length: 245, Handle: 0xda00
Type: 220, Length: 22, Handle: 0x40
Type: 221, Length: 19, Handle: 0x41
Type: 222, Length: 16, Handle: 0x42
Type: 11, Length: 5, Handle: 0x43
Type: 126, Length: 4, Handle: 0x44
Type: 131, Length: 6, Handle: 0xda00
AppleProcessorType:
ProcessorType: 0x601

Type: 132, Length: 6, Handle: 0xda01
AppleProcessorBusSpeed:
ProcessorBusSpeed (QPI): 0.1GT/s

Type: 127, Length: 4, Handle: 0xda02

Customizing SystemID with : 44454c4c-2000-1020-8020-a0c04f202020
efi_inject_get_devprop_string NULL trying stringdata
ACPI table not found: DSDT.aml
ACPI table not found: SSDT.aml
FADT: Restart Fix applied!
FADT: Restart Fix applied!
LoadDrivers: Loading from [/Extra/Extensions.mkext]
Read HFS+ file: [hd(0,1)/Extra/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,1)/Extra/Extensions.mkext] 107389 bytes.
Read HFS+ file: [hd(0,1)/System/Library/Extensions/Accusys6xxxx.kext/Contents/Info.plist] 2409 bytes.
Read HFS+ file: [hd(0,1)/System/Library/Extensions/acfs.kext/Contents/Info.plist] 1319 bytes.
Read HFS+ file: [hd(0,1)/System/Library/Extensions/acfsctl.kext/Contents/Info.plist] 1197 bytes.

..

 

Read HFS+ file: [hd(0,1)/System/Library/Extensions/webdav_fs.kext/Contents/MacOS/webdav_fs] 4096 bytes.
Read HFS+ file: [hd(0,1)/System/Library/Extensions/webdav_fs.kext/Contents/MacOS/webdav_fs] 40352 bytes.
Starting Darwin x86_64
Boot Args: boot-uuid=9CC6E5DD-9F5A-3C48-8395-20B9749553B9 rd=*uuid -v

NB Dell N4110

Placa Mãe: Intel 6 Series

Processador: Core i5 2410M 3MB Turbo Boost

Chipset: Mobile Intel® HM67 Express Chipsets

AMD Radeon HD 6470M - Seymour XT 1GB

Intel Centrino Wireless-N 1030 1x2 bgn + Bluetooth3.0

Audio: ALC 269 HD

Link to comment
Share on other sites

Chimera 1.11.0 (svn-r1394) [2012-07-20 08:32:13]

Nunca usei Chimera, uso Chameleon e funciona.

 

Loading Darwin 10.8

Loading kernel mach_kernel

Não parece ter ativado UseKernelCache.


Deveria aparecer

Loading Darwin 10.8

Loading kernel cache /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache

 

LoadDrivers: Loading from [/Extra/Extensions.mkext]

A essa altura você não deveria mais ter kexts na Extra

você precisa ativar a opção UseKernelCache. Com essa opção ativada as kexts de /Extra/Extensions (ou /Extra/Extensions.mkext) não serão carregadas, então você precisa botar todas as kexts em /System/Library/Extensions.

ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8

Link to comment
Share on other sites

Deu certo, mas deu kp em AppleIntelCPUPowerManagement, o chameleon.boot.plist estava fora de extra por isso não dava certo! Como resolver esse kp?

NB Dell N4110

Placa Mãe: Intel 6 Series

Processador: Core i5 2410M 3MB Turbo Boost

Chipset: Mobile Intel® HM67 Express Chipsets

AMD Radeon HD 6470M - Seymour XT 1GB

Intel Centrino Wireless-N 1030 1x2 bgn + Bluetooth3.0

Audio: ALC 269 HD

Link to comment
Share on other sites

Comece a ler o que tá escrito. Vor repetir de novo

Com essa opção ativada as kexts de /Extra/Extensions (ou /Extra/Extensions.mkext) não serão carregadas, então você precisa botar todas as kexts em /System/Library/Extensions.

O Extensions.mkext que você tem na /Extra deve ter a NullCPUPowerManagement. Ou você instala essa kext em /System/Library/Extensions, ou faz os ajustes necessários pra ter o power management funcionando http://Olarila.com/forum/viewtopic.php?f=2&t=34

ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8

Link to comment
Share on other sites

deu certim Cassio, Obrigado pela ajuda, dps eu mexo com dsdt, quero dar prioriadade ao bluetooth! valeu pela dica do gerenciamento de energia!

NB Dell N4110

Placa Mãe: Intel 6 Series

Processador: Core i5 2410M 3MB Turbo Boost

Chipset: Mobile Intel® HM67 Express Chipsets

AMD Radeon HD 6470M - Seymour XT 1GB

Intel Centrino Wireless-N 1030 1x2 bgn + Bluetooth3.0

Audio: ALC 269 HD

Link to comment
Share on other sites

Na versão 2.1 r2109 do Chameleon tem um module KernelPatcher.dylib que possibilita o carregamento do kernelcache (que é padrão) juntamente com kexts extras. Coloque em /Extra/modules

http://Olarila.com/forum/viewtopic.php?f=9&t=70


O Clover também carrega kexts da pasta EFI junto com o kernelcache

http://Olarila.com/forum/viewtopic.php?f=9&t=1032

ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...