[求助]vxWorks的问题的failed to create
“WARNING: Failed to create 131072 bytes of disk cache
ATA disk /ata0 configured without cache”
然后就死机了,现在老板急着要,大家给出点点子!!先谢谢了
我查了一下,主要是这个函数出了问题,
***usrAta.c****
cbio = dcacheDevCreate( (void *) pBlkDev, NULL, ATA_CACHE_SIZE, devNames );
if( cbio == NULL )
{
/* insufficient memory, will avoid the cache */
printErr ("WARNING: Failed to create %d bytes of disk cache"
" ATA disk %s configured without cache\n",
ATA_CACHE_SIZE, devNames);
cbio = cbioDevVerify( (void *) pBlkDev, FALSE );
}
其中
ATA_CACHE_SIZE=(128*1024)
[align=right][color=#000066][此贴子已经被作者于2007-5-18 19:56:19编辑过][/color][/align]
关键词: 求助 vxWorks 题的 failed crea
Disk Cache, ?
Cached Block I/O Device, handle=0x1f6d082c
Description: Disk Cache - LRU
Disk size 1440 Kbytes, RAM Size 131072 bytes
Block size 512, heads 2, blocks/track 18, # of blocks 2880
partition offset 0 blocks, type Removable, Media changed No
Total cache Blocks 181, 0 blocks (%0) dirty
Tunable Params:
Bypass Threshold 24, Max Dirty 128, Read Ahead 22 blocks, Sync interval 1 sec
Hit Stats: Cookie Hits 0 Miss 0, Hash size 269 Hits 0 Miss 0
LRU Hits 0, Misses 0, Hit Ratio %0
Write Sstats: Foreground 0, Background 0, Hidden 0, Forced 0
Subordinate Device Start:
Cached Block I/O Device, handle=0x1f6f08b8
Description: Block Device
Disk size 1440 Kbytes, RAM Size 0 bytes
Block size 512, heads 2, blocks/track 18, # of blocks 2880
partition offset 0 blocks, type Removable, Media changed No
Subordinate Device End:
Disk Cache, /ata0a:
Cached Block I/O Device, handle=0x1f6aec60
Description: Disk Cache - LRU
Disk size 37 Gbytes, RAM Size 131072 bytes
Block size 512, heads 16, blocks/track 63, # of blocks 78177792
partition offset 0 blocks, type Removable, Media changed No
Total cache Blocks 181, 0 blocks (%0) dirty
Tunable Params:
Bypass Threshold 24, Max Dirty 128, Read Ahead 22 blocks, Sync interval 1 sec
Hit Stats: Cookie Hits 0 Miss 0, Hash size 269 Hits 0 Miss 0
LRU Hits 0, Misses 0, Hit Ratio %0
Write Sstats: Foreground 0, Background 0, Hidden 0, Forced 0
Subordinate Device Start:
Cached Block I/O Device, handle=0x1f6cecec
Description: Block Device
Disk size 37 Gbytes, RAM Size 0 bytes
Block size 512, heads 16, blocks/track 63, # of blocks 78177792
partition offset 0 blocks, type Removable, Media changed No
Subordinate Device End:
Disk Cache, /ata1a:
Cached Block I/O Device, handle=0x1f68ce40
Description: Disk Cache - LRU
Disk size 115 Mbytes, RAM Size 131072 bytes
Block size 512, heads 8, blocks/track 39, # of blocks 237432
partition offset 0 blocks, type Removable, Media changed No
Total cache Blocks 181, 0 blocks (%0) dirty
Tunable Params:
Bypass Threshold 24, Max Dirty 128, Read Ahead 22 blocks, Sync interval 1 sec
Hit Stats: Cookie Hits 0 Miss 0, Hash size 269 Hits 0 Miss 0
LRU Hits 0, Misses 0, Hit Ratio %0
Write Sstats: Foreground 0, Background 0, Hidden 0, Forced 0
Subordinate Device Start:
Cached Block I/O Device, handle=0x1f6acecc
Description: Block Device
Disk size 115 Mbytes, RAM Size 0 bytes
Block size 512, heads 8, blocks/track 39, # of blocks 237432
partition offset 0 blocks, type Removable, Media changed No
Subordinate Device End:
value = 45 = 0x2d = '-'
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |