CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 7884|回复: 6

cb2,怎么只有2G???

[复制链接]
发表于 2014-5-27 21:00:38 | 显示全部楼层 |阅读模式
cb2:
cb-a20-lubuntu-12.10-v1.05.img

以前没注意,后来df -h  看只有2G,网上搜一下说有部分是留给用户用的。nande可以挂载来用。
于是
mkfs.ext4 /dev/nande
mkdir /test
然后修改了/etc/fstab
增加了一行
/dev/nande   /test   ext4   defaults  0   0

reboot

结果,就没结果了,直接开不鸟机了
请大神们,cubie科技帮忙,看怎么才能用那剩余的空间。

启动不了了,dmesg:
  1. <6>EXT4-fs (nandd): mounted filesystem with ordered data mode. Opts: (null)
  2. <6>EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: (null)
  3. switch_root: can't execute '/sbin/init': No such file or directory
  4. <0>Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100

  5. [    4.154234] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
  6. [    4.154248]
  7. Backtrace: [    4.164346] Backtrace:

  8. [<c0012b5c>] (dump_backtrace+0x0/0x10c) from [<c05efd48>] (dump_stack+0x18/0x1c)
  9. [    4.174125] [<c0012b5c>] (dump_backtrace+0x0/0x10c) from [<c05efd48>] (dump_stack+0x18/0x1c)
  10. r6:c097175c[    4.183603]  r6:c097175c r5:c097175c r5:c097175c r4:c09f93c0 r4:c09f93c0 r3:00000001 r3:00000001

  11. [<c05efd30>] (dump_stack+0x0/0x1c) from [<c05f0124>] (panic+0x94/0x1d4)
  12. [    4.198977] [<c05efd30>] (dump_stack+0x0/0x1c) from [<c05f0124>] (panic+0x94/0x1d4)
  13. [<c05f0090>] (panic+0x0/0x1d4) from [<c003b1e8>] (do_exit+0x6d4/0x7c4)
  14. [    4.212886] [<c05f0090>] (panic+0x0/0x1d4) from [<c003b1e8>] (do_exit+0x6d4/0x7c4)
  15. r3:ef048000[    4.221495]  r3:ef048000 r2:00000000 r2:00000000 r1:00000100 r1:00000100 r0:c084c720 r0:c084c720

  16. r7:ef03c000[    4.231572]  r7:ef03c000

  17. [<c003ab14>] (do_exit+0x0/0x7c4) from [<c003b558>] (do_group_exit+0x50/0xb8)
  18. [    4.241071] [<c003ab14>] (do_exit+0x0/0x7c4) from [<c003b558>] (do_group_exit+0x50/0xb8)
  19. r7:000000f8[    4.250201]  r7:000000f8

  20. [<c003b508>] (do_group_exit+0x0/0xb8) from [<c003b5d8>] (__wake_up_parent+0x0/0x28)
  21. [    4.260309] [<c003b508>] (do_group_exit+0x0/0xb8) from [<c003b5d8>] (__wake_up_parent+0x0/0x28)
  22. r7:000000f8[    4.270045]  r7:000000f8 r6:b6f7a774 r6:b6f7a774 r5:b6f7a774 r5:b6f7a774 r4:000708ee r4:000708ee

  23. [<c003b5c0>] (sys_exit_group+0x0/0x18) from [<c000edc0>] (ret_fast_syscall+0x0/0x30)
  24. [    4.286547] [<c003b5c0>] (sys_exit_group+0x0/0x18) from [<c000edc0>] (ret_fast_syscall+0x0/0x30)
  25. <2>CPU1: stopping
  26. [    4.296988] CPU1: stopping
  27. Backtrace: [    4.300659] Backtrace:

  28. [<c0012b5c>] (dump_backtrace+0x0/0x10c) from [<c05efd48>] (dump_stack+0x18/0x1c)
  29. [    4.310423] [<c0012b5c>] (dump_backtrace+0x0/0x10c) from [<c05efd48>] (dump_stack+0x18/0x1c)
  30. r6:c0954170[    4.319900]  r6:c0954170 r5:ef064000 r5:ef064000 r4:c09685f0 r4:c09685f0 r3:c0970194 r3:c0970194

  31. [<c05efd30>] (dump_stack+0x0/0x1c) from [<c0014268>] (handle_IPI+0x194/0x1c8)
  32. [    4.335794] [<c05efd30>] (dump_stack+0x0/0x1c) from [<c0014268>] (handle_IPI+0x194/0x1c8)
  33. [<c00140d4>] (handle_IPI+0x0/0x1c8) from [<c000853c>] (gic_handle_irq+0x58/0x60)
  34. [    4.351085] [<c00140d4>] (handle_IPI+0x0/0x1c8) from [<c000853c>] (gic_handle_irq+0x58/0x60)
  35. [<c00084e4>] (gic_handle_irq+0x0/0x60) from [<c000e980>] (__irq_svc+0x40/0x70)
  36. [    4.366461] [<c00084e4>] (gic_handle_irq+0x0/0x60) from [<c000e980>] (__irq_svc+0x40/0x70)
  37. Exception stack(0xef065f58 to 0xef065fa0)
  38. [    4.378454] Exception stack(0xef065f58 to 0xef065fa0)
  39. 5f40:                                                       ffffffed 00000001
  40. [    4.390357] 5f40:                                                       ffffffed 00000001
  41. 5f60: 0febd000 00000000 ef064000 ef064000 c09eac88 c05fba14 c096cb10 410fc074
  42. [    4.405387] 5f60: 0febd000 00000000 ef064000 ef064000 c09eac88 c05fba14 c096cb10 410fc074
  43. 5f80: ef064000 ef065fac ef065fb0 ef065fa0 c000f9c4 c000f9c8 60000013 ffffffff
  44. [    4.420416] 5f80: ef064000 ef065fac ef065fb0 ef065fa0 c000f9c4 c000f9c8 60000013 ffffffff
  45. r6:ffffffff[    4.429632]  r6:ffffffff r5:60000013 r5:60000013 r4:c000f9c8 r4:c000f9c8 r3:c000f9c4 r3:c000f9c4

  46. [<c000f998>] (default_idle+0x0/0x38) from [<c000fd64>] (cpu_idle+0xd8/0x11c)
  47. [    4.445438] [<c000f998>] (default_idle+0x0/0x38) from [<c000fd64>] (cpu_idle+0xd8/0x11c)
  48. [<c000fc8c>] (cpu_idle+0x0/0x11c) from [<c05ece78>] (secondary_start_kernel+0xfc/0x11c)
  49. [    4.461250] [<c000fc8c>] (cpu_idle+0x0/0x11c) from [<c05ece78>] (secondary_start_kernel+0xfc/0x11c)
  50. [<c05ecd7c>] (secondary_start_kernel+0x0/0x11c) from [<405ec814>] (0x405ec814)
  51. [    4.477234] [<c05ecd7c>] (secondary_start_kernel+0x0/0x11c) from [<405ec814>] (0x405ec814)
  52. r6:10c0387d[    4.486537]  r6:10c0387d r5:00000015 r5:00000015 r4:6f05406a r4:6f05406a r3:c05ec7fc r3:c05ec7fc

  53. <6>[hotplug]: cpu(0) try to kill cpu(1)
  54. [    4.499131] [hotplug]: cpu(0) try to kill cpu(1)
  55. <3>[hotplug]: try to kill cpu:1 failed!
  56. [    5.507168] [hotplug]: try to kill cpu:1 failed!
复制代码
回复

使用道具 举报

发表于 2014-5-27 22:18:11 | 显示全部楼层
为何要用糖糖 的头像??
回复 支持 反对

使用道具 举报

发表于 2014-5-28 11:06:26 | 显示全部楼层
用cubian-nandinstall,可以把SD卡上的系统转移到nand上,并且利用全部空间
回复 支持 反对

使用道具 举报

发表于 2014-5-28 16:39:05 | 显示全部楼层
You cantry $  resize2fs /dev/nandb
回复 支持 反对

使用道具 举报

发表于 2014-5-28 20:53:50 | 显示全部楼层
resize2fs /dev/nandb

正解
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-6-1 12:33:59 | 显示全部楼层
Cannikin 发表于 2014-5-28 20:53
resize2fs /dev/nandb

正解

这个 已经做过。resize2fs。。。。从nanda~nande都做过。
nande,还有1.8G左右,不知道怎么挂载来用。mkfs.ext4 /dev/nande 开不了机,打出一堆log
版主,这可怎么办,那剩余的1.8g,不知道怎么用,现在的空间已经满了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-6-1 12:36:28 | 显示全部楼层
aaron 发表于 2014-5-28 16:39
You cantry $  resize2fs /dev/nandb

已经踹过了。。nande还有1.8g,用这个命令不行。
请问怎么挂载使用?
能合并分区更好,挂到某个目录也行啊。
我格式化挂在就开不了机了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-23 04:22 , Processed in 0.023200 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部