Discussion about U-Boot and the kernel.
by replabrobin » Sat Dec 11, 2010 1:53 pm
I have tried to boot Arch Linux ARM install from an SD card, but am having problems related to the disk mounts. The SD is partitioned
$this->bbcode_second_pass_quote('', '/')boot ext2 10Mb
/ ext2 6.9Gb
swap swap 1Gb
my fstab looks like
$this->bbcode_second_pass_quote('', '#') cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot ext2 defaults,noatime 0 1
/dev/mmcblk0p2 / ext2 defaults,noatime 0 1
/dev/mmcblk0p3 swap swap defaults 0 0
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
The boot proceeds normally starting like this
$this->bbcode_second_pass_quote('', 'U')SB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SD08G", revision 3.8
Serial number: 3221812274
Manufacturing date: 9/2008
CRC: 0x00, b0 = 0
2935340 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.36
Created: 2010-12-02 8:37:06 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2935276 Bytes = 2.8 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36 (root@Arch Linux ARM install) (gcc version 4.4.3 (GCC) ) #1 PREEMPT Thu De
c 2 02:36:31 CST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell SheevaPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=5
PID hash table entries: 2048 (order: 1, 8192 bytes)
...
but it fails during fsck phase with the message$this->bbcode_second_pass_quote('', ':'): Mounting Root Read-only [DONE]
:: Checking Filesystems [BUSY] root: clean, 44706/421824 files, 151208/1686784 blocks
/dev/mmcblk0p1 is mounted. e2fsck: Cannot continue, aborting.
[FAIL]
***************** FILESYSTEM CHECK FAILED ****************
* *
* Please repair manually and reboot. Note that the root *
* file system is currently mounted read-only. To remount *
* it read-write type: mount -n -o remount,rw / *
* When you exit the maintenance shell the system will *
* reboot automatically. *
* *
************************************************************
Give root password for maintenance
(or type Control-D to continue):