Jump to content

XNU not loading my Kext.


christina_b
 Share

1 post in this topic

Recommended Posts

Hi. So basically, for some reason XNU is refusing to load my platform expert kext.  The actual error message is "Kext com.kristina.driver.omap3_pe might not load - kextd is currently unavailable.but I've included the whole boot log below anyway.

 

(PS. I'm loading the kext as a "booter extension" by passing its address in the device tree.)

 

[boot]$ run xx
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 1 Ethernet Device(s) found
ERROR: Need valid 'usbnet_devaddr' to be set
at ether.c:2369/usb_eth_init()
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.55.1; our IP address is 192.168.55.10
Filename '/boot.imgx'.
Load address: 0x90000000
Loading: EHCI timed out on TD - token=0x88008d80
T #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################################
         413.1 KiB/s
done
Bytes transferred = 4565976 (45abd8 hex)
INFO: image at 0x90000000, magic TofC
INFO: toc@90000000: 4 load commands
INFO: macho@90000060: mach.debug.omap3 cmp=1 sz=00874ba4 dst=80001000
QLZ : 0x90000060 => 0x821d3e90 ...
MMAP: mapping kernel ...
[MAP:__TEXT]: copy 0x821d3e90 =(6492160)=> 0x80001000
[MAP:__DATA]: copy 0x82804e90 =(151552)=> 0x80632000
[MAP:__DATA]: zero 0x80657000 (368640)
[MAP:__KLD]: copy 0x8282ae90 =(8192)=> 0x806b1000
[MAP:__LINKEDIT]: copy 0x8286a69c =(1958808)=> 0x806b3000
[MAP:__CTF]: copy 0x8282ce90 =(251913)=> 0x806b3000
INFO: vmsize=0x890398 paddr=0x80001000 vaddr=0x80001000
PASS: loaded kernel image (ep=800fd820)
INFO: macho@9043e498: OmapPlatform cmp=1 sz=0001a5b7 dst=80892000
QLZ : 0x9043e498 => 0x80892100 ...
PASS: loaded driver image
INFO: macho@90448c70: IOStorageFamily cmp=1 sz=0002939b dst=808ad000
QLZ : 0x90448c70 => 0x808ad100 ...
PASS: loaded driver image
DTRE: parsing XML device tree at 0x90459fd8 ...
DONE: loaded XML device tree
reading /ramdisk.dmg
40960000 bytes read in 2575 ms (15.2 MiB/s)
PASS: loaded dmg [808d7000, sz=02710000, 244 files, 67 dirs]
INFO: kmem start=0x80001000 size=0x02fe6000, vaddr=0x80001000
BOOT: allocating boot args ...
BOOT: init memory map ...
KEXT: IOStorageFamily E[0x808ad100 0x27e00] I[0x808d4f00 0x159b]
KEXT: OmapPlatform E[0x80892100 0x19f20] I[0x808ac020 0x697]
INFO: 2 kext(s) loaded
INFO: adding ramdisk [0x808d7000, sz=0x02710000] to mem map
BOOT: flattening device tree ...
DTRE: flattening (0x82fe7138) ...
BOOT: populating boot args ...
BOOT: DT__Finalize
PASS: starting kernel at 0x800fd820 ...
kprintf initialized!
lowGlo verification = "Octopus"
old dacr = 0xffffffff, new dacr=0x01
flushing all d+i caches ...
enabling d+i caches ...
ok, vm init complete
omap3_init_interrupts: gPIC=0xa0002000
omap3_init_misc: gDSS=0xa0005000 gDispC=0xa0005400
omap3_init_display: initializing DSS ...
omap3_init_display: waiting for VENC reset ...
omap3_init_display: initializing VENC ...
omap3_init_display: initializing LCD ...
omap3_init_display: waiting for dss pong ...
omap3: set_lcd_mode 1440,900
omap3: found mode[1440x900-60]
pmap_virtual_space: VM region 0xa0006000 - 0xc0001000
pmap_steal_memory: A0006000 - A04F7A00; size=004F1A00
omap3_create_framebuffer: gFramebuffer=0xa0006000 (P 83109000)
omap3_create_framebuffer: blanking out the fb ...
omap3_create_framebuffer: LCD Size is 900 x 1440
omap3_create_framebuffer: hooking to PE console ...
omap3_create_framebuffer: calling initialize_screen ...
initialize_screen: b=83109000, w=000005A0, h=00000384, r=00001680, d=00000000
omap3_create_framebuffer: ok
Architecture: ARM (0xf), Implementer: A
   CTR=82048004 CPUID=413fc082 RRRR_persist=1
Extended CPU features: jazelle_NoExcClr thumb thumb2 thumbEE
db_isa_init: idr=413fc082 rar=00c5387d sar=83004000
Darwin Kernel Version 12.2.0: Sun  7 Jul 2013 15:36:42 BST; kb:xnu-2050.18.24/BUILD/obj//DEBUG_ARM_OMAP3
pmap_steal_memory: A04F7A00 - A04F9A00; size=00002000
pmap_steal_memory: A04F9A00 - A04FAA00; size=00001000
pmap_steal_memory: A04FAA00 - A0500A00; size=00006000
pmap_steal_memory: A0500A00 - A0580A00; size=00080000
pmap_steal_memory: A0580A00 - A0598A00; size=00018000
pmap_steal_memory: A0598A00 - A0A75160; size=004DC760
Filling vm_pages with pattern: 0x5deada55
vm_page_bootstrap: 115848 free pages and 15224 wired pages
pmap_init: 131072 managed pages, mem_size = 20000000, kernel_pmap = 0x80695280
pmap_init: 1152 pages for pv_root
pmap_init: 32 pages for managed flags
zone_init: 0xa0f16000 - 0xa82d4000
Scheduler: Default of traditional
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 74
rtclock_init: Welcome to hell 2.0 ...
omap3_init_timebase: gSysTimer=0xa9c15000
omap3_init_timebase: CLCKSEL 00000000
omap3_init_timebase: 78 interrupts per second
rtc_update_freq: clock frequency set to 32768 Hz
        32768 ticks = 1 sec
        1 tick = 30517 nsec
omap3_init_timebase: ok, timer is up, enabling irqs
nanotime_to_absolutetime: 163
PE_init_iokit: Starting IOKit ...
Copyright © 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
 
MAC Framework successfully initialized
using 2370 buffer headers and 2370 cluster IO buffer headers
Kext com.kristina.driver.omap3_pe might not load - kextd is currently unavailable.
commpage_disable_timestamp: OK
IOResources: not registry member at registerService()
MAC Framework enabling singlelabel support:  ->  ()
mcache_create: bkt_1 (i) arg 0 bufsize 8 align 8 chunksize 24 bktsize 47
mcache_create: bkt_3 (i) arg 0 bufsize 16 align 8 chunksize 32 bktsize 47
mcache_create: bkt_7 (i) arg 0 bufsize 32 align 8 chunksize 48 bktsize 47
mcache_create: bkt_15 (i) arg 0 bufsize 64 align 8 chunksize 80 bktsize 31
mcache_create: bkt_31 (i) arg 0 bufsize 128 align 8 chunksize 144 bktsize 31
mcache_create: bkt_47 (i) arg 0 bufsize 192 align 8 chunksize 208 bktsize 31
mcache_create: bkt_63 (i) arg 0 bufsize 256 align 8 chunksize 272 bktsize 15
mcache_create: bkt_95 (i) arg 0 bufsize 384 align 8 chunksize 400 bktsize 15
mcache_create: bkt_143 (i) arg 0 bufsize 576 align 8 chunksize 592 bktsize 15
mcache_create: bkt_165 (i) arg 0 bufsize 664 align 8 chunksize 680 bktsize 15
mcache_create: audit (i) arg 0 bufsize 168 align 8 chunksize 184 bktsize 31
mcache_create: mcl_audit_contents (i) arg 0 bufsize 120 align 8 chunksize 136 bktsize 31
waitForSystemMapper
Backtrace 0x8003811b 0xa8320000 0 0xdadf0 0 0xd3a30 0
         can't perform kext scan: no kext summary
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

 Share

×
×
  • Create New...