-->Donations via PayPal [External Link Removed for Guests] :guitar
-->Installation/Post Installation Tutorial [Local Link Removed for Guests]
-->Useful Links [Local Link Removed for Guests]
-->Olarila Images - Updated images [Local Link Removed for Guests]
-->Guides and Tutorials [Local Link Removed for Guests]
-->Clover Folder for All Chipsets [Local Link Removed for Guests]
-->DSDT Patch Requests [Local Link Removed for Guests]

Demora no boot, todas as kexts são lidas

Post Reply
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Demora no boot, todas as kexts são lidas

Post by Cassio » 13 Sep 2011, 23:26

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
[Local Link Removed for Guests]

O Clover também carrega kexts da pasta EFI junto com o kernelcache
[Local Link Removed for Guests]


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 [Local Link Removed for Guests]). 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

Code: [Local Link Removed for Guests]

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

Code: [Local Link Removed for Guests]

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: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
User avatar
jyraia
Posts: 9
Joined: 10 Jun 2011, 02:09
Location: Rio Grande - RS

Re: Demora no boot, todas as kexts são lidas

Post by jyraia » 17 Sep 2011, 17:10

Ó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]
Marombeiro
Posts: 11
Joined: 30 Dec 2010, 03:46

Re: Demora no boot, todas as kexts são lidas

Post by Marombeiro » 05 Jan 2012, 12:59

Realmente a dica é excelente, acabou a demora ao carregar o sistema em -v.

Valeu ˆˆ
MB            Asus Rampage III Extreme
PROC        Intel Core i7 980x
MEMO       Corsair 6GB XMS 3
VGA's        EVGA SLI GTX580
HD's          2x Ocz Vertex SSD / 1x Seagate 320GB ( Lion ) / 1x Sansumg 2T / 1x Sansumg 1.5T
deivin503
Posts: 35
Joined: 12 Jul 2012, 03:54

Re: Demora no boot, todas as kexts são lidas

Post by deivin503 » 09 Aug 2012, 23:26

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
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Demora no boot, todas as kexts são lidas

Post by Cassio » 10 Aug 2012, 04:26

Rode este app e procure por erros no bdmesg [Local Link Removed for Guests]
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
deivin503
Posts: 35
Joined: 12 Jul 2012, 03:54

Re: Demora no boot, todas as kexts são lidas

Post by deivin503 » 10 Aug 2012, 20:21

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

Code: [Local Link Removed for Guests]

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

Code: [Local Link Removed for Guests]

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

Code: [Local Link Removed for Guests]

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
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Demora no boot, todas as kexts são lidas

Post by Cassio » 10 Aug 2012, 20:36

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
Cassio wrote: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: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
deivin503
Posts: 35
Joined: 12 Jul 2012, 03:54

Re: Demora no boot, todas as kexts são lidas

Post by deivin503 » 10 Aug 2012, 22:07

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
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Demora no boot, todas as kexts são lidas

Post by Cassio » 10 Aug 2012, 22:21

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 [Local Link Removed for Guests]
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
deivin503
Posts: 35
Joined: 12 Jul 2012, 03:54

Re: Demora no boot, todas as kexts são lidas

Post by deivin503 » 10 Aug 2012, 22:56

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
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Demora no boot, todas as kexts são lidas

Post by Cassio » 08 Nov 2012, 00:31

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
[Local Link Removed for Guests]

O Clover também carrega kexts da pasta EFI junto com o kernelcache
[Local Link Removed for Guests]
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
iHackintosh_PT
Geek
Geek
Posts: 131
Joined: 16 Jun 2011, 03:06
CPU: core i7
Motherboard: Asus P7H55M PRO
GPU: AMD 6990 Dual GPU 4 GB DDR5

Re: Demora no boot, todas as kexts são lidas

Post by iHackintosh_PT » 08 Nov 2012, 00:39

Boa Cassio !! Vlw
Asus P7H55M PRO Core i7 2.81 GHz RAM 8 GB 1333 MHz DDR3 AMD 6990 Dual GPU 4 GB DDR5 OS X 10.10.3 Toshiba TV 42* 1920x1080 Samsung SyncMaster 22* 1920x1080 Apple Cinema Display 20ª
Post Reply

Return to “Lion (10.7)”