新闻  |   论坛  |   博客  |   在线研讨会
printk-2
xiajiashan | 2012-08-28 16:27:11    阅读:813   发布文章

 

作者:下家山(转载,请注明)

六:kmsg查看结果

# ls /proc/

1 6 diskstats locks stat

10 7 driver meminfo swaps

11 8 execdomains misc sys

12 9 filesystems modules sysrq-trigger

13 buddyinfo fs mounts sysvipc

18 bus interrupts mtd tty

2 cmdline iomem net uptime

28 cpu ioports partitions version

3 cpuinfo kallsyms schedstat vmstat

4 crypto kmsg self zoneinfo

5 devices loadavg slabinfo

# cat proc/kmsg

<5>Linux version 2.6.15 (root@pc-ubuntu) (gcc version 3.4.1) #100 Tue Jan 13 13:44:09 CST 2009

<4>CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)

<4>Machine: SMDK2410

<4>Warning: bad configuration page, trying to continue

<4>Memory policy: ECC disabled, Data cache writeback

<7>On node 0 totalpages: 4096

<7> DMA zone: 4096 pages, LIFO batch:0

<7> DMA32 zone: 0 pages, LIFO batch:0

<7> Normal zone: 0 pages, LIFO batch:0

<7> HighMem zone: 0 pages, LIFO batch:0

<4>to Call s3c_lookup_cpu

<4>Call s3c_lookup_cpu end

<4>CPU S3C2410A (id 0x32410002)

<4>S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz

<6>S3C2410 Clocks, (c) 2004 Simtec Electronics

<4>CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on

<4>CPU0: D VIVT write-back cache

<4>CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

<4>CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

<4>Built 1 zonelists

<5>Kernel command line: noinitrd console=ttySAC0,115200 root=/dev/nfs rw nfsroot=10.128.34.77:/home/cgm/Linux/root_nfs ip=10.128.34.43:10.128.34.77:10.128.34.102:255.255.255.0:host:eth0:off

<4>irq: clearing subpending status 00000002

<4>PID hash table entries: 128 (order: 7, 2048 bytes)

<4>timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c

<4>Console: colour dummy device 80x30

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<4>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

<4>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

<6>Memory: 16MB = 16MB total

<5>Memory: 13820KB available (1899K code, 367K data, 100K init)

<7>Calibrating delay loop... 50.48 BogoMIPS (lpj=126208)

<6>io scheduler anticipatory registered

<6>io scheduler deadline registered

<6>io scheduler cfq registered

<4>S3C2410 RTC, (c) 2004 Simtec Electronics

<4>cs89x0.c: v2.4.3-pre1 Russell Nelson , Andrew Morton

 

<6>eth0: cs8900 rev K found at 0xf1300300

<6>NET: Registered protocol family 2

<4>IP route cache hash table entries: 256 (order: -2, 1024 bytes)

<4>TCP established hash table entries: 1024 (order: 0, 4096 bytes)

<4>TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

<6>TCP: Hash tables configured (established 1024 bind 1024)

<6>TCP reno registered

<6>TCP bic registered

<6>NET: Registered protocol family 1

<6>eth0: using half-duplex 10Base-T (RJ-45)

<4>IP-Config: Complete:

<4> device=eth0, addr=10.128.34.43, mask=255.255.255.0, gw=10.128.34.102,

<4> host=host, domain=, nis-domain=(none),

<4> bootserver=10.128.34.77, rootserver=10.128.34.77, rootpath=

<5>Looking up port of RPC 100003/2 on 10.128.34.77

<5>Looking up port of RPC 100005/1 on 10.128.34.77

<4>VFS: Mounted root (nfs filesystem).

<6>Freeing init memory: 100K

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<7>selected clock c020e26c (pclk) quot 27, calc 113169

<4>printk_test: module license 'unspecified' taints kernel.

<0>Hello0

<1>Hello1

<2>Hello2

<3>Hello3

<4>Hello4

<5>Hello5

<6>Hello6

<7>Hello7

<7>Hello7

<7>Hello7-1

<7>No external FW image

<7>No external FW image

<6>success!

转载:请注明,作者,下家山 请尊重原创!

*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。

参与讨论
登录后参与讨论
02年接触ARM和ucos,开发过有线和无线图像报警器,IPCamera,人脸识别系统,OCR识别系统,指纹识别系统,05年开始从事Linux及Rtems下WiFi,camera,Ethernet等驱动开发工作,专做嵌入式linux培训,致力于把我十年来的研发经验传授给每一个学员,招人的可以找我,ximenpiaoxue4016@sina.com
推荐文章
最近访客