QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3502|回复: 0

attempt to access beyond end

[复制链接]
发表于 2007-3-19 16:33:01 | 显示全部楼层 |阅读模式
添加ramdisk(ramfs2048.img),在向/ramdisk下拷贝大于1M的文件时出现如下错误信息:
...
attempt to access beyond end of device
01:01: rw=1, want=1025, limit=1024
attempt to access beyond end of device
01:01: rw=1, want=1026, limit=1024
attempt to access beyond end of device
...
从网上搜了一下,在http://mailman.uclinux.org/pipermail/uclinux-dev/2004-October/029045.html发现一封邮件和我的问题有些相似,内容如下
> I have config a ramdisk for 2MB. This seams to be OK when I look at it with
> df /var.
>
> But when I copy a file greater than 1MB I get some error outprints.
>
> attempt to access beyond end of device
>
> 01:00: rw=0, want=1347, limit=1024
>
> Why does this text appear ?

Looks like you RD is limited to 1Mb

> I have config the ramdisk to 2048KB in Misc. configuration  -> (2048K) RAMFS
> Image.
>
> Do I need to make any changes to the kernel ?

Only if you kernel has set the RD size lower than the default of 4096,check your kernel config for the ram disk size,  that may be your problems,

但是怎样设置RD啊?

试图在kernel/Block devices/RAM disk support/Default RAM disk size中修改default ram disk size(默认值是1024),但是这一项修改不了.

怎么办呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-28 22:48 , Processed in 0.092235 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表