CubieBoard中文论坛

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

安装了cb-sd-linaro-alip-12-09.img后,又出现新的问题。

[复制链接]
发表于 2013-3-7 22:55:41 | 显示全部楼层 |阅读模式
本帖最后由 play4fun 于 2013-3-8 18:38 编辑

下载Win32diskimager
下载http://dl.cubieboard.org/softwar ... naro-alip-12-09.img

使用Win32diskimager将cb-sd-linaro-alip-12-09.img写入TF卡,然后插入CB的TF卡槽中,插网线,插TTL线,插电源线运行。

然后用TTL线debug,
发现,有提示:
<5>EXT4-fs (mmcblk0p2): error count: 398
<5>EXT4-fs (mmcblk0p2): initial error at 11: ext4_lookup:1044: inode 2215
<5>EXT4-fs (mmcblk0p2): last error at 255: ext4_lookup:1044: inode 2215
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  375.030000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dbus-daemon: deleted inode referenced: 136771
comm dbus-daemon: deleted inode referenced: 136771


然后,无法安装apt-get install 新软件。
是不是文件系统出错?TF卡问题?
补充:Sandisk的TF卡,8G。Classic 4
另外,TTL线昨天能够键盘输入,获取到shell,
今天却不能了。怎么回事?


root:
apt-install get openssh-server
命令行输出:

root@linaro-alip:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libbsd0 libedit2 openssh-client
Suggested packages:
  ssh-askpass libpam-ssh keychain monkeysphere openssh-blacklist
  openssh-blacklist-extra rssh molly-guard ufw
Recommended packages:
  ssh-import-id
The following NEW packages will be installed:
  libbsd0 libedit2 openssh-client openssh-server
0 upgraded, 4 newly installed, 0 to remove and 140 not upgraded.
Need to get 1190 kB of archives.
After this operation, 2568 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ precise/main libbsd0 armhf 0.3.0-2 [28.8 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ precise/main libedit2 armhf 2.11-20080614-3ubuntu2 [55.0 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ precise/main openssh-client armhf 1:5.9p1-5ubuntu1 [809 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ precise/main openssh-server armhf 1:5.9p1-5ubuntu1 [298 kB]
Fetched 1190 kB in 49s (24.3 kB/s)                                             
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  974.790000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  974.850000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.090000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dbus-daemon: deleted inode referenced: 136771
comm dbus-daemon: deleted inode referenced: 136771
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.230000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.280000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.450000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.500000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.590000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.650000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.750000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  975.790000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  976.790000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  976.830000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.060000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.110000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.330000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.370000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.490000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.540000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.580000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.620000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.660000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.680000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.710000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.740000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
<2>EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: [  977.980000] EXT4-fs error (device mmcblk0p2): ext4_lookup:1044: inode #2215: <c>comm dpkg-preconfigu: deleted inode referenced: 129370
comm dpkg-preconfigu: deleted inode referenced: 129370
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: error: too-long line or missing newline in `/var/lib/dpkg/triggers/File'
E: Sub-process /usr/bin/dpkg returned an error code (2)

回复

使用道具 举报

发表于 2013-3-8 10:01:30 | 显示全部楼层
是文件系统有问题。
把tf卡插到pc上修复一下
fsck.ext4 /dev/sdX   (X是你的U盘)
如果修复完了还是这样,就只有格式化重新写入了。
回复 支持 反对

使用道具 举报

发表于 2013-3-8 13:25:24 | 显示全部楼层
楼主这个问题解决了吗?我也出现了这个问题,能不能说下,你是怎么解决的啊
回复 支持 反对

使用道具 举报

发表于 2013-3-8 16:38:23 | 显示全部楼层
大概是TF卡的兼容性问题  换品牌
回复 支持 反对

使用道具 举报

发表于 2013-3-8 16:38:56 | 显示全部楼层
大概是TF卡的兼容性问题  换品牌
回复 支持 反对

使用道具 举报

发表于 2013-3-8 16:38:39 | 显示全部楼层
大概是TF卡的兼容性问题  换品牌
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-3-9 00:07:23 | 显示全部楼层
maosuyun2009 发表于 2013-3-8 13:25
楼主这个问题解决了吗?我也出现了这个问题,能不能说下,你是怎么解决的啊 ...

命令行:
sudo fsck.ext4 /dev/sdb1
sudo fsck.ext4 /dev/sdb2
一直按y就可以了。

然后用TTL线cu -s 115200 -l /dev/ttyUSB0
http://cn.cubieboard.org/forum.p ... 2&page=1#pid728
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 00:31 , Processed in 0.023685 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部