Fix: time stamp mismatch on celog.rel
来源:互联网 发布:sql group by where 编辑:程序博客网 时间:2024/05/17 22:11
Posting a full explanation of this error from CE 5.0.
Error: Mismatched time stamp on .rel file for module celog.dll requesting
kernel fixup. Valid .rel file is required for kernel fixups.
It happens if you set the IMGCELOGENABLE build option ("enable event tracking during boot"), use some of our remote tools, and try to make an image again.
When you connect the CE5 Remote Kernel Tracker or Remote Call Profiler to a device, the tool copies celog.dll from under c:/program files/common files/microsoft shared/windows ce
tools/platman/target (I'm not sure if it's under wce500 or just directly under target, sorry) to your release directory, regardless of whether there's already a celog.dll there or not. If you already had celog.dll and you were including it into your image with IMGCELOGENABLE, then the problem is then that celog.dll and celog.rel in your release directory don't match. celog.rel will be from your old build of celog.dll while celog.dll will be from the platman target directory. celog.rel is used to figure things out about the DLL when putting it into the "MODULES" section during makeimg. So your options are:
- If you don't need to collect CeLog event tracking data during boot, then turn off IMGCELOGENABLE. You can still connect Kernel Tracker without having that variable set. Unsetting that variable will remove celog.dll from your image and get rid of the makeimg error.
- Setting IMGCELOGENABLE starts collection really early in boot, before most of the kernel and file system initialization. If you don't really need it that early, but still want to collect data for what happens during boot after the kernel and file system are initialized, do this:
- Turn off IMGCELOGENABLE and IMGAUTOFLUSH.
- Look at common.bib and common.reg to see what those variables do. Copy those settings (perhaps to platform.bib and platform.reg), except make sure that celog.dll is in the FILES section instead of the MODULES section. Putting celog.dll into MODULES makes it load automatically really early, and makes it require the .rel file. Moving it to FILES means that something else will have to load it -- probably CeLogFlush.exe, which is where the IMGAUTOFLUSH settings come in. Changing it from MODULES to FILES gets rid of the requirement for the .rel file, and will get rid of the makeimg error.
- If you really want to set IMGCELOGENABLE in order to get early boot data, then rebuild your own celog.dll so that it matches the .rel file. You can do a full rebuild (sysgen) to get it, but the quick version is:
- From the Build menu click "Open Release Directory"
- Type "sysgen celog" to rebuild celog.dll from the command line.
- Verify that the timestamp on celog.dll and celog.rel now match
- Now you should be able to make an image
- Note that every time you connect Kernel Tracker or Call Profiler it'll overwrite this file. You can also copy your newly rebuilt file to the platman/target directory listed above, so that Kernel Tracker / Call Profiler use YOUR build of celog.dll which matches celog.rel.
This problem is fixed in CE 6.0; Kernel Tracker and Call Profiler will use the build of celog.dll from the platman/target directory without overwriting the file in your release directory.
NOTE: this post is specifically about the mismatched timestamp error on celog.dll, not on other modules. If you are getting this error on some other module then you'll probably have to do your own debugging to figure out why the .rel file doesn't match. You will probably have to rebuild the module or take it out of the MODULES section of your image in order to get around the error.
- Fix: time stamp mismatch on celog.rel
- Fix: time stamp mismatch on celog.rel
- PB编译错误:Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup. Valid .rel file is required for kernel fix
- PB编译错误:Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup. Valid .rel file
- PB编译错误:Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup. Valid .rel file
- ORA-15038: disk '/dev/mapper/mpath' mismatch on 'Time Stamp' 解决
- 【Oracle ASM数据恢复】ORA-15038: disk ‘XXXXXXX’ mismatch on ‘Time Stamp’ with Target Disk Group错误解析
- Benchmark Code on DSP using the Time Stamp Counter (TSC)
- time stamp convert tools 1.0.0.1 on vs2010
- time stamp data format
- 再论 Time stamp counter
- Jar mismatch! Fix your dependencies
- Jar mismatch! Fix your dependencies
- Jar mismatch! Fix your dependencies
- Jar mismatch! Fix your dependencies
- Jar mismatch! Fix your dependencies
- Jar mismatch! Fix your dependencies
- Jar mismatch! Fix your dependencies
- MySQL Proxy─官方MySQL连接池和代理工具
- Html中的特殊字符
- SC.exe使用完全指南 (创建系统服务)
- Python Embedding 开发 - Hello World (一)
- C++中的stdafx.h
- Fix: time stamp mismatch on celog.rel
- 关于const在深入一点
- Android开发笔记
- 安装tomcat5时停在jvm.dll的解决
- 收集贴
- radasm 中使用msvcrt的库的方法
- 用VC++遍历某一目录下的所有文件
- 不上qq的日子
- 用C#实现局域网点对点通讯