|
本帖最后由 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)
|
|