Да нет, что то кладется в своп) 9,3 мб сейчас занято)
Другое дело что это не сервер, и задачи возможно не так часто используют своп..
В любом случае найти альтернативу SD для данной задачи трудновато, при тех же затратах)
Технический форум по робототехнике.
........................................
mmc0: new SD card at address 5775
mmcblk0: mmc0:5775 SD01G 982 MiB
mmcblk0: p1
eth0: link down
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.110, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.110, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.1.114, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.114
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Looking up port of RPC 100005/1 on 192.168.1.114
VFS: Unable to mount root fs via NFS, trying floppy.
List of all partitions:
1f00 384 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 5120 mtdblock2 (driver?)
1f03 128 mtdblock3 (driver?)
1f04 125312 mtdblock4 (driver?)
b300 1006080 mmcblk0 driver: mmcblk
b301 1005958 mmcblk0p1
No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c0033228>] (dump_backtrace+0x0/0x10c) from [<c0337780>] (dump_stack+0x18/0x1c)
r7:c03bcd78 r6:00008000 r5:c3812006 r4:c044f590
[<c0337768>] (dump_stack+0x0/0x1c) from [<c03377d0>] (panic+0x4c/0x114)
[<c0337784>] (panic+0x0/0x114) from [<c0008e30>] (mount_block_root+0x1e8/0x228)
r3:00000000 r2:80000000 r1:c3823f60 r0:c03bcd10
[<c0008c48>] (mount_block_root+0x0/0x228) from [<c0008f34>] (mount_root+0xc4/0xfc)
[<c0008e70>] (mount_root+0x0/0xfc) from [<c0009094>] (prepare_namespace+0x128/0x180)
r5:c001f81d r4:c044ee00
[<c0008f6c>] (prepare_namespace+0x0/0x180) from [<c00084b0>] (kernel_init+0xe0/0x114)
r5:c001e1b0 r4:c044ebc0
[<c00083d0>] (kernel_init+0x0/0x114) from [<c004c638>] (do_exit+0x0/0x620)
r5:00000000 r4:00000000
setenv bootargs console=ttySAC0,115200 noinitrd init=/sbin/init mini2440=3tbc nfsroot=192.168.150.65:/tftproot/root_qtopia.jffs2 root=/dev/nfs rw rootfstype=jffs2 ip=192.168.150.33
galex1981 писал(а):Для загрузки с NFS каталога ./root какая строка загрузки должна быть?
RF-dev ~ # cd /tftproot/
RF-dev tftproot # dd if=/dev/zero bs=1k count=255616 | tr '\000' '\377' > ./root_qtopia.jffs2
255616+0 записей считано
255616+0 записей написано
скопировано 261750784 байта (262 MB), 30.6784 c, 8.5 MB/c
RF-dev tftproot # ls
rootfs root_qtopia.jffs2
RF-dev tftproot # modprobe block2mtd
RF-dev tftproot # modprobe mtdblock
RF-dev tftproot # echo /dev/loop0, 131072 > /sys/module/block2mtd/parameters/block2mtd
RF-dev tftproot # cat /proc/mt
mtd mtrr
RF-dev tftproot # cat /proc/mtd
dev: size erasesize name
RF-dev tftproot # mount -t jffs2 /dev/mtdblock0 ./rootfs
mount: /dev/mtdblock0 не является блочным устройством (может попробовать `-o loop'?)
calculate ~ # dd if=/dev/zero bs=1k count=255616 | tr '\000' '\377' > ./root_qtopia.jffs2
255616+0 записей считано
255616+0 записей написано
скопировано 261750784 байта (262 MB), 2.59696 c, 101 MB/c
calculate ~ # modprobe block2mtd
calculate ~ # modprobe mtdblock
calculate ~ # lsmod | grep mtd
mtdblock 2922 0
mtd_blkdevs 4172 1 mtdblock
block2mtd 3395 0
mtd 7097 5 jffs2,mtd_blkdevs,block2mtd
calculate ~ # losetup /dev/loop0 root_qtopia.jffs2
calculate ~ # losetup -a
/dev/loop/0: [0801]:1646556 (/root/root_qtopia.jffs2)
calculate ~ # echo /dev/loop0,262144 > /sys/module/block2mtd/parameters/block2mtd
calculate ~ # cat /proc/mtd
dev: size erasesize name
mtd0: 0f9a0000 00040000 "block2mtd: /dev/loop0"
calculate ~ # mkdir 1 && mount -t jffs2 /dev/mtdblock0 ./1
calculate ~ # mount
rootfs on / type rootfs (rw)
--skip--
/dev/mtdblock0 on /root/1 type jffs2 (rw)
calculate ~ # df
Файловая система 1K-блоков Исп Доступно Исп% смонтирована на
--skip--
/dev/mtdblock0 255488 5888 249600 3% /root/1