[求助]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电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
多组DCTODC电源方案被打赏50分 | |
【我踩过的那些坑】STM32cubeMX软件的使用过程中的“坑”被打赏50分 | |
新手必看!C语言精华知识:表驱动法被打赏50分 | |
【我踩过的那些坑】杜绑线问题被打赏50分 | |
【我踩过的那些坑】STM32的硬件通讯调试过程的“坑”被打赏50分 | |
【我踩过的那些坑】晶振使用的问题被打赏100分 | |
【我踩过的那些坑】电感选型错误导致的处理器连接不上被打赏50分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏10分 | |
【我踩过的那些坑】DRC使用位置错误导致的问题被打赏100分 | |
我踩过的那些坑之混合OTL功放与落地音箱被打赏50分 |