Granfalloner / macosx-nosleep-extension

Automatically exported from code.google.com/p/macosx-nosleep-extension
0 stars 0 forks source link

Kernel Extension not loaded after reboot #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install NoSleep 1.3.3 on MacOS X 10.6.8. 
2. Reboot the System
3. Dialog pops up on boot "Oops!, NoSleep Kernel Extension is not loaded."

What is the expected output? What do you see instead?
Displays error message on boot, also displays same error message when accessing 
Preferences dialog.
Tray-Icon is not shown on boot anymore.

It worked right after the installation. After the first reboot i got the 
message about the Kernel Extension.

What version of the product are you using? On what operating system?
Mac OS X 10.6.8 (latest updates)
NoSleep 1.3.3

Is there any was to manually load the kernel extension, to see if this is still 
possible?

best regards,
 Philip

Original issue reported on code.google.com by philip.w...@gmail.com on 25 Apr 2013 at 5:44

GoogleCodeExporter commented 8 years ago
Hi Philip,

Could you check if the extension exists in: 
/System/Library/Extensions/NoSleep.kext
You can also try to load it manually by: sudo modprobe 
/System/Library/Extensions/NoSleep.kext

--Pavel.

Original comment by integral...@gmail.com on 25 Apr 2013 at 6:10

GoogleCodeExporter commented 8 years ago
Hi Pavel,

Yes it is there. Permissions and ownership seems to be OK too.

cp23-219:~ mp4$ sudo kextload /System/Library/Extensions/NoSleep.kext -verbose 6
Kext user-space log filter changed from 0xff2 to 0xfff.
Kext kernel-space log filter changed from 0xff2 to 0xfff.
Requesting load of /System/Library/Extensions/NoSleep.kext.
/System/Library/Extensions/NoSleep.kext loaded successfully (or already loaded).
Kext library architecture set to i386.

Now everything works fine again. I was able to start the application and use 
the preferences dialog again.

What now? :)

Original comment by philip.w...@gmail.com on 25 Apr 2013 at 6:24

GoogleCodeExporter commented 8 years ago
From my understanding there has to be a load request from the NoSleep 
application to trigger the kext to be loaded. Maybe something is wrong there?

Original comment by philip.w...@gmail.com on 25 Apr 2013 at 6:28

GoogleCodeExporter commented 8 years ago
No, actually the kext should be loaded automatically by the system on startup. 
Could you restart and verify that the issue is gone, if no - please attach a 
dmesg output here, it can contain something useful.

Original comment by integral...@gmail.com on 25 Apr 2013 at 6:45

GoogleCodeExporter commented 8 years ago
no, same issue after reboot.

How do you tell the system to load the kext on startup? From:

https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTCon
cept/KEXTConceptAnatomy/kext_anatomy.html#//apple_ref/doc/uid/20002364-SW1

i figured it would not be loaded without request.

dmesg output attached:

npvhash=4095
PAE enabled
Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; 
root:xnu-1504.15.3~1/RELEASE_I386
vm_page_bootstrap: 246132 free pages and 16012 wired pages
standard timeslicing quantum is 10000 us
mig_table_max_displ = 73
AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 5242 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S3 S4 S5] (S3)
PFM64 0x10000000, 0xf0000000
[ PCI configuration begin ]
PCI configuration changed (bridge=1 device=1 cardbus=0)
[ PCI configuration end, bridges 4 devices 17 ]
AppleIntelCPUPowerManagement: (built 16:44:45 Jun  7 2011) initialization 
complete
mbinit: done (64 MB memory set for mbuf pool)
rooting via boot-uuid from /chosen: 5F1E93C7-3E75-3AB5-A438-757AE63BE18F
Waiting on <dict ID="0"><key>IOProviderClass</key><string 
ID="1">IOResources</string><key>IOResourceMatch</key><string 
ID="2">boot-uuid-media</string></dict>
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
AppleIntelCPUPowerManagementClient: ready
Got boot device = 
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2@
2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriv
er/ST96812AS Media/IOGUIDPartitionScheme/OS@2
BSD root: disk0s2, major 14, minor 2
FireWire (OHCI) Lucent ID 5811 built-in now active, GUID 0019e3fffe99a3f8; max 
speed s400.
[Bluetooth::CSRHIDTransition] switchToHCIMode (legacy)
[Bluetooth::CSRHIDTransition] transition complete.
CSRUSBBluetoothHCIController::setupHardware super returned 0
AppleYukon2: Marvell Yukon Gigabit Adapter 88E8053 Singleport Copper SA
AppleYukon2: RxRingSize <= 1024, TxRingSize 256, RX_MAX_LE 1024, TX_MAX_LE 768, 
ST_MAX_LE 3328
yukon: Ethernet address 00:19:e3:38:a1:57
systemShutdown false
Previous Shutdown Cause: 3
DSMOS has arrived
Atheros: mac 10.3 phy 6.1 radio 10.2
AirPort_AthrFusion21: Ethernet address 00:17:f2:48:f1:47
IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM 
notification
AirPort: Link Down on en1. Reason 1 (Unspecified).
en1: 802.11d country code set to 'AT'.
en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 
100 104 108 112 116 120 124 128 132 136 140
AirPort: Link Up on en1
Notice - new kext com.cisco.nke.ipsec, v2.0.1 matches prelinked kext but can't 
determine if executables are the same (no UUIDs).
 CiscoVPN : attempting to attach to all available ethernet interfaces.
 CiscoVPN : checking if we are already attached to interface: en1

 CiscoVPN : no, not yet attached to interface: en1

 CiscoVPN : interface: en1, filter attached.
 CiscoVPN : current MTU for en1 is 1500, saving it.

 CiscoVPN : checking if we are already attached to interface: en0

 CiscoVPN : no, not yet attached to interface: en0

 CiscoVPN : interface: en0, filter attached.
 CiscoVPN : current MTU for en0 is 1500, saving it.

 CiscoVPN : loading cisco ipsec kernel module.
display: Not usable
CODE SIGNING: cs_invalid_page(0x1000): p=139[GoogleSoftwareUp] clearing CS_VALID

Original comment by philip.w...@gmail.com on 25 Apr 2013 at 8:14

GoogleCodeExporter commented 8 years ago
osx definetely loads kexts from /System/Library/Extensions on boot, even in 
your link there is a statement:

"
If your kext needs to be loaded during boot loading, it must be installed in 
/System/Library/Extensions for the operating system to locate it.
"

I can't see anything relevant in the dmesg log...

To prove that the issue cause is in kext not loading - check the "kextstat" 
after reboot.

--Pavel.

Original comment by integral...@gmail.com on 25 Apr 2013 at 10:12

GoogleCodeExporter commented 8 years ago
Yes, it states "IF it needs to be loaded". I interpret this, as this is the 
location where it looks for it, when it is requested. Since it seems to be 
working for you, i guess my interpretation is wrong.

Fresh reboot, waited 5 minutes, not loaded:

Index Refs Address    Size       Wired      Name (Version) <Linked Against>
    1   69 0          0          0          com.apple.kpi.bsd (10.8.0)
    2    4 0          0          0          com.apple.kpi.dsep (10.8.0)
    3   92 0          0          0          com.apple.kpi.iokit (10.8.0)
    4   98 0          0          0          com.apple.kpi.libkern (10.8.0)
    5   84 0          0          0          com.apple.kpi.mach (10.8.0)
    6   32 0          0          0          com.apple.kpi.private (10.8.0)
     8    0 0          0          0          com.apple.kernel.6.0 (7.9.9)
    9    0 0          0          0          com.apple.kernel.bsd (7.9.9)
   10    0 0          0          0          com.apple.kernel.iokit (7.9.9)
   11    0 0          0          0          com.apple.kernel.libkern (7.9.9)
   12    0 0          0          0          com.apple.kernel.mach (7.9.9)
   13   22 0x928000   0x17000    0x16000    com.apple.iokit.IOPCIFamily (2.6.5) <7 6 5 4 3>
   14   12 0x914000   0x4000     0x3000     com.apple.iokit.IOACPIFamily (1.3.0) <7 6 4 3>
   15    2 0xb65000   0x43000    0x42000    com.apple.driver.AppleACPIPlatform (1.3.6) <14 13 7 6 5 4 3>
   16    0 0xe58000   0x24000    0x23000    com.apple.driver.AppleIntelCPUPowerManagement (142.6.0) <7 6 5 4 3 1>
   17    8 0xc7c000   0x19000    0x18000    com.apple.iokit.IOStorageFamily (1.6.3) <7 6 5 4 3 1>
   18    0 0x101a000  0x11000    0x10000    com.apple.driver.DiskImages (289.1) <17 7 6 5 4 3 1>
   19    0 0x1128000  0x8000     0x7000     com.apple.nke.applicationfirewall (2.1.14) <7 6 5 4 3 1>
   20    0 0x1130000  0x3000     0x2000     com.apple.security.TMSafetyNet (6) <7 6 5 4 2 1>
   21    2 0x1133000  0x3000     0x2000     com.apple.kext.AppleMatch (1.0.0d1) <4 1>
   22    0 0x1136000  0x5000     0x4000     com.apple.security.quarantine (0) <21 7 6 5 4 2 1>
   23    0 0x113b000  0x8000     0x7000     com.apple.security.sandbox (1) <21 7 6 5 4 2 1>
   24    0 0xe7c000   0x3000     0x2000     com.apple.driver.AppleIntelCPUPowerManagementClient (142.6.0) <7 6 5 4 3 1>
   25    0 0xbcf000   0x3000     0x2000     com.apple.driver.AppleAPIC (1.4) <4 3>
   26    2 0xbac000   0x3000     0x2000     com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>
   27    0 0xbaf000   0x6000     0x5000     com.apple.driver.AppleACPIEC (1.3.6) <26 15 14 5 4 3>
   28    0 0xf45000   0x4000     0x3000     com.apple.driver.AppleSMBIOS (1.7) <7 4 3>
   29    6 0xb29000   0x3c000    0x3b000    com.apple.iokit.IOHIDFamily (1.6.6) <7 6 5 4 3 1>
   30    0 0xba8000   0x4000     0x3000     com.apple.driver.AppleACPIButtons (1.3.6) <29 15 14 7 6 5 4 3 1>
   31   12 0xe16000   0x36000    0x35000    com.apple.iokit.IOUSBFamily (4.2.4) <13 7 5 4 3 1>
   32    0 0xff5000   0x10000    0xf000     com.apple.driver.AppleUSBUHCI (4.2.0) <31 13 7 5 4 3 1>
   33    2 0xf01000   0xd000     0xc000     com.apple.iokit.IOATAFamily (2.5.1) <5 4 3 1>
   34    0 0xf0e000   0x9000     0x8000     com.apple.driver.AppleIntelPIIXATA (2.5.1) <33 13 5 4 3>
   35    0 0xe13000   0x3000     0x2000     com.apple.driver.AppleHPET (1.5) <14 7 5 4 3>
   36    0 0xf3f000   0x6000     0x5000     com.apple.driver.AppleRTC (1.3.1) <14 5 4 3 1>
   37    1 0xc09000   0x3000     0x2000     com.apple.driver.AppleEFIRuntime (1.4.0) <7 6 5 4 3>
   38    0 0xc0c000   0x6000     0x5000     com.apple.driver.AppleEFINVRAM (1.4.0) <37 7 5 4 3>
   39    0 0xfa8000   0x17000    0x16000    com.apple.driver.AppleUSBEHCI (4.2.4) <31 13 7 5 4 3 1>
   40    4 0x95b000   0x17000    0x16000    com.apple.iokit.IONetworkingFamily (1.10) <7 6 5 4 3 1>
   41    0 0x1051000  0x2c000    0x2b000    com.apple.iokit.AppleYukon2 (3.2.1b1) <40 13 5 4 3 1>
   42    0 0x909000   0x6000     0x5000     com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>
   43    0 0x90f000   0x5000     0x4000     com.apple.BootCache (31.1) <7 6 5 4 3 1>
   45    0 0x10f8000  0x2000     0x1000     com.apple.iokit.IOUSBUserClient (4.2.4) <31 7 5 4 3 1>
   46    0 0xfbf000   0x12000    0x11000    com.apple.driver.AppleUSBHub (4.2.4) <31 5 4 3 1>
   47    0 0xf4b000   0x7000     0x6000     com.apple.driver.AppleSmartBatteryManager (160.0.0) <26 14 5 4 3 1>
   48    2 0xbb5000   0x6000     0x5000     com.apple.iokit.IOAHCIFamily (2.0.6) <5 4 3 1>
   49    0 0xbbb000   0x14000    0x13000    com.apple.driver.AppleAHCIPort (2.1.7) <48 13 5 4 3 1>
   50    2 0xc12000   0x43000    0x42000    com.apple.iokit.IOFireWireFamily (4.2.6) <5 4 3 1>
   51    0 0xc55000   0x27000    0x26000    com.apple.driver.AppleFWOHCI (4.7.3) <50 13 7 6 5 4 3 1>
   52    0 0x1095000  0x14000    0x13000    com.apple.iokit.IOAHCIBlockStorage (1.6.4) <48 17 5 4 3 1>
   53    3 0x10a9000  0x1a000    0x19000    com.apple.iokit.IOSCSIArchitectureModelFamily (2.6.8) <5 4 3 1>
   54    0 0x10c3000  0x5000     0x4000     com.apple.iokit.IOATAPIProtocolTransport (2.5.1) <53 33 5 4 3 1>
   55    0 0x1044000  0x3000     0x2000     com.apple.driver.XsanFilter (402.1) <17 5 4 3 1>
   56    3 0x10d1000  0x8000     0x7000     com.apple.iokit.IOCDStorageFamily (1.6.1) <17 5 4 3 1>
   57    2 0x10d9000  0x6000     0x5000     com.apple.iokit.IODVDStorageFamily (1.6) <56 17 5 4 3 1>
   58    1 0x10fa000  0x5000     0x4000     com.apple.iokit.IOBDStorageFamily (1.6) <57 56 17 5 4 3 1>
   59    0 0x10ff000  0x17000    0x16000    com.apple.iokit.IOSCSIMultimediaCommandsDevice (2.6.8) <58 57 56 53 17 5 4 3 1>
   60    0 0x1121000  0x7000     0x6000     com.apple.iokit.SCSITaskUserClient (2.6.8) <53 17 5 4 3 1>
   61    1 0xfa4000   0x4000     0x3000     com.apple.driver.AppleUSBComposite (3.9.0) <31 4 3 1>
   62    0 0xfd1000   0x4000     0x3000     com.apple.driver.AppleUSBMergeNub (4.2.4) <61 31 4 3 1>
   63    2 0xe4c000   0x7000     0x6000     com.apple.iokit.IOUSBHIDDriver (4.2.0) <31 29 5 4 3 1>
   64    0 0xfd7000   0x4000     0x3000     com.apple.driver.AppleUSBTCKeyboard (201.6) <63 31 29 7 6 5 4 3 1>
   65    0 0xfd5000   0x2000     0x1000     com.apple.driver.AppleUSBTCKeyEventDriver (201.6) <29 5 4 3>
   66    0 0xfdb000   0x1a000    0x19000    com.apple.driver.AppleUSBTrackpad (201.6) <31 29 5 4 3>
   68    0 0xe53000   0x5000     0x4000     com.apple.driver.AppleIRController (303.8) <63 31 29 5 4 3>
   69    2 0xf5b000   0x3e000    0x3d000    com.apple.iokit.IOBluetoothFamily (2.4.5f3) <7 5 4 3 1>
   70    1 0xf99000   0xb000     0xa000     com.apple.driver.AppleUSBBluetoothHCIController (2.4.5f3) <69 31 7 5 4 3>
   71    0 0x1016000  0x4000     0x3000     com.apple.driver.CSRUSBBluetoothHCIController (2.4.5f3) <70 69 31 5 4 3>
   72   10 0xbd2000   0x22000    0x21000    com.apple.iokit.IOGraphicsFamily (2.2.1) <13 7 5 4 3>
   73    4 0xbf4000   0xd000     0xc000     com.apple.iokit.IONDRVSupport (2.2.1) <72 13 7 5 4 3>
   74    0 0xf23000   0x3000     0x2000     com.apple.driver.AppleLPC (1.5.1) <13 5 4 3>
   75    0 0xeb6000   0x11000    0x10000    com.apple.driver.AppleIntelIntegratedFramebuffer (6.3.6) <72 14 13 7 5 4 3 1>
   76    0 0xe7f000   0x37000    0x36000    com.apple.driver.AppleIntelGMA950 (6.3.6) <73 72 13 7 5 4 3 1>
   78    1 0xc01000   0x3000     0x2000     com.apple.driver.AppleBacklightExpert (1.0.1) <73 72 13 5 4 3>
   79    0 0xc04000   0x5000     0x4000     com.apple.driver.AppleBacklight (170.0.46) <78 73 72 13 5 4 3>
   81    3 0x918000   0xa000     0x9000     com.apple.driver.AppleSMC (3.1.0d5) <14 7 5 4 3>
   82    1 0x93f000   0xc000     0xb000     com.apple.driver.IOPlatformPluginFamily (4.7.0a1) <14 7 6 5 4 3>
   83    0 0x94b000   0x10000    0xf000     com.apple.driver.ACPI_SMC_PlatformPlugin (4.7.0a1) <82 81 14 13 7 6 5 4 3>
   84    7 0xec7000   0x2c000    0x2b000    com.apple.iokit.AppleProfileFamily (41.4) <13 7 6 5 4 3 1>
   88    0 0xf1e000   0x5000     0x4000     com.apple.driver.AppleIntelYonahProfile (14) <84 6 4 3>
   89    1 0x972000   0x24000    0x23000    com.apple.iokit.IO80211Family (320.1) <40 7 6 5 4 3 1>
   90    0 0xa5d000   0xcc000    0xcb000    com.apple.driver.AirPort.Atheros21 (425.14.7) <89 40 13 7 5 4 3 1>
   92    2 0xcd1000   0x7000     0x6000     com.apple.iokit.IOHDAFamily (2.0.5f14) <5 4 3 1>
   93    1 0xcd8000   0x15000    0x14000    com.apple.driver.AppleHDAController (2.0.5f14) <92 72 13 6 5 4 3 1>
   94    2 0xcb5000   0x4000     0x3000     com.apple.kext.OSvKernDSPLib (1.3) <5 4>
   95    4 0xcb9000   0x18000    0x17000    com.apple.iokit.IOAudioFamily (1.8.3fc2) <94 5 4 3 1>
   96    0 0x100f000  0x4000     0x3000     com.apple.driver.AudioIPCDriver (1.1.6) <95 5 4 3 1>
   97    2 0x107d000  0x5000     0x4000     com.apple.iokit.CHUDKernLib (365) <7 6 5 4 3 1>
   98    0 0x1082000  0xc000     0xb000     com.apple.iokit.CHUDProf (366) <97 7 6 5 4 3>
   99    0 0x108e000  0x7000     0x6000     com.apple.iokit.CHUDUtils (364) <97 5 4 3 1>
  100    0 0x922000   0x6000     0x5000     com.apple.Dont_Steal_Mac_OS_X (7.0.0) <81 7 4 3 1>
  101    1 0x102b000  0x9000     0x8000     com.apple.iokit.IOSerialFamily (10.0.3) <7 6 5 4 3 1>
  102    0 0x10c8000  0x9000     0x8000     com.apple.iokit.IOBluetoothSerialManager (2.4.5f3) <101 7 5 4 3 1>
  103    0 0x1116000  0xb000     0xa000     com.apple.iokit.IOSurface (74.2) <7 5 4 3 1>
  104    0 0xf2d000   0x3000     0x2000     com.apple.driver.AppleProfileCallstackAction (20) <84 5 4 3 1>
  105    0 0xf30000   0x3000     0x2000     com.apple.driver.AppleProfileKEventAction (10) <84 4 3 1>
  106    0 0xf36000   0x3000     0x2000     com.apple.driver.AppleProfileRegisterStateAction (10) <84 4 3 1>
  107    0 0xf39000   0x3000     0x2000     com.apple.driver.AppleProfileThreadInfoAction (14) <84 6 4 3 1>
  108    0 0xf3c000   0x3000     0x2000     com.apple.driver.AppleProfileTimestampAction (10) <84 5 4 3 1>
  109    0 0x100a000  0x5000     0x4000     com.apple.driver.AudioAUUC (1.57) <95 72 14 13 7 5 4 3 1>
  110    0 0x10ef000  0x9000     0x8000     com.apple.iokit.IOFireWireIP (2.0.3) <50 40 5 4 3 1>
  111    0 0xf26000   0x7000     0x6000     com.apple.driver.AppleMCCSControl (1.0.20) <72 13 7 5 4 3 1>
  112    0 0x1005000  0x5000     0x4000     com.apple.driver.AppleUpstreamUserClient (3.5.7) <72 14 13 7 5 4 3 1>
  114    0 0x1038000  0x7000     0x6000     com.apple.driver.SMCMotionSensor (3.0.1d2) <81 5 4 3>
  115    0 0xf33000   0x3000     0x2000     com.apple.driver.AppleProfileReadCounterAction (17) <84 6 4 3>
  117    1 0xced000   0x80000    0x7f000    com.apple.driver.DspFuncLib (2.0.5f14) <95 94 5 4 3 1>
  118    0 0xd6d000   0xa4000    0xa3000    com.apple.driver.AppleHDA (2.0.5f14) <117 95 93 92 73 72 6 5 4 3 1>
  120    0 0x1047000  0xa000     0x9000     com.apple.filesystems.autofs (2.1.0) <7 6 5 4 3 1>
  121    0 0x1143000  0x6f000    0x6e000    com.cisco.nke.ipsec (2.0.1) <4 1>

Original comment by philip.w...@gmail.com on 25 Apr 2013 at 10:18

GoogleCodeExporter commented 8 years ago
Do you have any 3rd party tools or apps which can prevent non-system kexts from 
loading? Any MacCleaners or similar?

You also can try to update your kernel exts cache. In Snow Leopard it can be 
done by something like this, but be sure what r you doing:

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

--P.

Original comment by integral...@gmail.com on 25 Apr 2013 at 10:55

GoogleCodeExporter commented 8 years ago
FYI. in a regular case the installer updates cache for you.

Original comment by integral...@gmail.com on 25 Apr 2013 at 10:56

GoogleCodeExporter commented 8 years ago
Still not loaded. Maybe the kext-loading-behaviour changed with more recent 
MacOS X Versions?

Back in 2007 someone also wrote about this:
http://lists.apple.com/archives/darwin-kernel/2007/Oct/msg00021.html

Original comment by philip.w...@gmail.com on 25 Apr 2013 at 11:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm having the same issue.

What steps will reproduce the problem?
1. Install NoSleep 1.3.3 on MacOS X 10.5.8. (note that I'm on Leopard, not Snow 
Leopard)
2. Reboot the System
3. No extension is loaded, when accessing the pref panel, dialog pops up 
stating "Oops!, NoSleep Kernel Extension is not loaded."

What is the expected output? What do you see instead?
Error message when accessing Preferences dialog. No error message obviously 
displayed on boot.
Tray-Icon is not shown on boot anymore.

It did not work right after the installation.

What version of the product are you using? On what operating system?
Mac OS X 10.6.8 (latest updates)
NoSleep 1.3.3

Original comment by waka2...@gmail.com on 13 Aug 2013 at 12:43

GoogleCodeExporter commented 8 years ago
Hopefully this helps...

sudo kextload /System/Library/Extensions/NoSleep.kext
28com_protech_nosleepextension is not compatible with its superclass, 
9IOService superclass changed?
kextload: a link/load error occured for kernel extension 
/System/Library/Extensions/NoSleep.kext
link/load failed for extension /System/Library/Extensions/NoSleep.kext
 (run kextload with -t for diagnostic output)

sudo kextload -t /System/Library/Extensions/NoSleep.kext
kernel extension /System/Library/Extensions/NoSleep.kext has problems:
Validation failures:
{
    "Executable file doesn't contain kernel extension code" = true
}

Original comment by waka2...@gmail.com on 13 Aug 2013 at 12:59

GoogleCodeExporter commented 8 years ago
Maybe the priority should be changed to "HIGH"?

Original comment by waka2...@gmail.com on 13 Aug 2013 at 6:30

GoogleCodeExporter commented 8 years ago
Hi, this might help.

When I did the automatic update from 1.3.3 to 1.4.0, it broke with the "NoSleep 
Kernel Extension is not loaded." message.

I found the old 1.3.3 DMG and tried to install it again. No luck.

Inside the 1.3.3 DMG is an "Unistall.command" script. I ran that, then 
reinstalled 1.3.3. That worked! I was back to running 1.3.3 just fine.

Then, I manually downloaded 1.4.0 and ran its installer manually. Same issue: 
"NoSleep Kernel Extension is not loaded."

I tried both "Uninstall.command" scripts (from 1.3.3 and 1.4.0), followed by 
manual installation of 1.4.0. No dice. Still got, "NoSleep Kernel Extension is 
not loaded."

Finally, I gave up, ran the 1.3.3 "Unistall.command" and reinstalled 1.3.3. 
That worked.

My conclusion: Something in the 1.4.0 installer isn't registering the kext 
extension properly. At least not on Mac OS X 10.8.5. Your best bet is to stick 
with 1.3.3 if 1.4.0 doesn't work for you.

Original comment by j...@andersoninnovative.com on 17 Nov 2014 at 1:52

GoogleCodeExporter commented 8 years ago
Same issue here, I'm running Yosemite and just tried to update to 1.4 and it 
complained that the kernel extension is not loaded. Reinstalled 1.3.3 and it 
works fine. 

Original comment by cha...@gmail.com on 22 Nov 2014 at 6:39

GoogleCodeExporter commented 8 years ago
Hi chadcf, your issue looks different actually. Could you check issue #148 and 
try attached version.

Original comment by integral...@gmail.com on 23 Nov 2014 at 12:20