理铭 的个人资料阿闷的共享空间照片日志列表更多 工具 帮助

日志


12月20日

谈论 惊叹!联想竟然能够申请如此关于Linux的专利!!

 

引用

惊叹!联想竟然能够申请如此关于Linux的专利!!
天下之大,无奇不有!
 
联想公司在2002年申请过一个关于Linux的专利,不看不知道,一看吓一跳!这个在我国国家专利局专利号为02129337.2的专利,是一种关于取得Linux系统信息的方法,我截取其中的片段,大家一起来瞻仰瞻仰。

“技术领域:本发明涉及一种获取Linux操作系统信息的方法,尤其涉及一种获取Linux操作系统基本硬件信息和运行期间系统信息的方法,属于计算机信息采集及处理技术领域。”

恩,取得系统信息的方法……,什么方法呢?看下面的:

“本发明所涉及的获取系统信息的方法充分利用了proc文件系统的特点,可以独立于操作系统的其他服务。紧紧依靠Linux操作系统的内核就获得众多的操作系统信息。作为补充,也可以使用一些驱动程序提供的接口以获得诸如网卡连接速度、通断状态和RAID卡的信息。”

“参见图2和图3,本发明要从中获取信息的文件为:

从/proc/cpuinfo文件中获取CPU信息,从/proc/meminfo文件中获取内存信息,从/proc/ioports文件中获取输入/输出端口信息,从/proc/partitions文件中获取硬盘分区信息,从/proc/stat文件中获取内核重要数据统计信息,从/proc/version文件中获得操作系统版本信息,从/proc/ide/文件中获取IDE(智能磁盘设备接口,Interface Device Electronic)块设备信息;从/proc/scsi文件中获取SCSI (小型计算机系统接口,Small Computer System Interface) 块设备信息。”

My God!从/proc中读取系统信息竟然成了它的专利了呢?这日后可叫我怎么办啊?

而且,在他的专利的权力要求书中明确定义了这个方法:

“权利要求书

1、一种获取Linux操作系统信息的方法,其特征在于:他至少包括如下的步骤:

步骤1:通过Linux操作系统的proc文件系统,读取Linux内核中各模块的信息;
步骤2:对读出的信息进行处理;
步骤3:将处理后的信息输出到指定的接口文件。

......”

完了完了,以后我要是从/proc中读取系统信息并且处理后输出的话,我可就侵犯了人家联想公司的专利了,这可让我如何是好?

各位有心人,感兴趣的话就去国家专利局 http://www.sipo.gov.cn/sipo/zljs/ 搜索专利号 CN02129337.6 看看联想这个有趣的完整的专利书吧。
12月1日

null pointer exception only at cold temps?

关于此主题的全部 3 个帖子 - 树式浏览

I have a well-tested, ruggedized windows ce 4.2 device.  A new
application has been written for this device which is failing with a
fatal application error dialog (Exception: 0xC0000005).  I believe this
is a data access exception, usually caused by a null pointer
dereference.  The real catch here is, this exception ONLY occurs at
cold temperature, -15 deg C and below.

I do not have access to the application source code at this time.  I
only have the BSP.

Has anyone come across this type of application exception during cold
temperature use?

回复 »     


First thing to do is isolate exactly where the exception is occurring and
what the actual cause is. (It might NOT be a null dereference). The temp
factor suggests there is a code path in the BSP or the application that is
not exercised until the temperature changes. This could be due to timing and
timeouts as well as silicon status information etc... (Forgetting to read a
data ready bit on a chip that works fine at normal temps but gets sluggish
at lower temps etc.. are also possibilities). Using the "Windows Error
Reporting (e.g DrWatson Dumps), and capture COMPLETE system dumps would help
identify the exact source of the problem as well.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com

回复 »     


Thanks for replying to this Steve.

Turned out to be a RAM issue which was only present at cold temps.  RAM
tests in boot loader failed at cold temps.

Slowing the sdclk memory clock seems to help.

[Neuros-DM320] How to debug linux kernel through JTAG ( TI CodeComposer/XDS560 )?

- Compile the kernel with debug symbols.
- Start code composer and let the ARM and DSP run free so that uBoot executes.
- Load the ELF kernel image to SDRAM
- Happy debugging
 
Don't use CCS to compile Linux, it will not work.
Use the Linux toolchain and build the kernel the normal way.
At the end of the Linux build there will be an ELF image in the images directory.
Use CCS to load that ELF.
CCS can load ELF files including symbols.