On Thu, Jun 2, 2011 at 6:40 PM, Jayabharath, Goluguri
<jayab...@ti.com> wrote:
> Hello All,
> If you have had a problem re-sizing the SD card with Ubuntu 11.04 image can
> you share the following information so that we can get to the bottom of it.
> Please include the following information
>
> Size & Brand of SD card
Kingston SD6G2/8GB
> PandaBoard Revision
A2
> Command you were using the load the image on the SD card
root@arco:/home/michele/Downloads# zcat
ubuntu-11.04-preinstalled-headless-armel+omap4.img.gz > /dev/sde
root@arco:/home/michele/Downloads# sync
under Debian 5, 2.6.32
> If possible attach the file /var/log/jasper.log
It is a binary file. How would I read it?
After your email, I tried and it worked OK twice, even though it
stopped at the line Creating bootloader configuration and never
rebooted.
I then tried other two times and it stopped here, (I could not mount
the card afterward).
U-Boot 2011.03 (Apr 20 2011 - 07:37:43)
CPU : OMAP4430
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0
Using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
reading boot.scr
350 bytes read
Running bootscript from mmc0 ...
## Executing script at 82000000
reading uImage
4174740 bytes read
reading uInitrd
3467529 bytes read
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Ubuntu Kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4174676 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
Image Name: Ubuntu Initrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3467465 Bytes = 3.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Caching vfat content in /dev/.initramfs/jasper-vfat ...
Resizing root partition ...
Re-writing vfat partition ...
Resizing root filesystem. Please wait, this will take a moment ...
Resizing root filesystem ...
Checking filesystem before resizing...
Resizing, please wait...
Resizing, pass: 1 [100/100]Enabling serial console login
Setting up fstab
Setting up swap
Enabling oem-config
Writing flash-kernel configuration
Creating bootloader configuration
mv: can't stat '/root/var/log/': Input/output error
[ 117.722534] (stk) :line disc installation timed out
[ 118.594238] mmcblk0: error -110 transferring data, sector 15398089,
nr 8, card 0
[ 118.621246] end_request: I/O error, dev mmcblk0, sector 15398089
[ 118.627563] Buffer I/O error on device mmcblk0p2, logical block 1906688
[ 118.824096] (stk) :line disc installation timed out
[ 119.650115] mmcblk0: error -110 transferring data, sector 15414473,
nr 8, card 0
[ 119.668121] end_request: I/O error, dev mmcblk0, sector 15414473
[ 119.674438] Buffer I/O error on device mmcblk0p2, logical block 1908736
[ 119.988128] (stk) :line disc installation timed out
[ 121.089721] (stk) :line disc installation timed out
[ 122.191253] (stk) :line disc installation timed out
Disk /dev/mmcblk0: 480 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
/dev/mmcblk0p2 9 199 191 1534207+ 83 Linux
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 0 - 0 0 0 Empty
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
/dev/mmcblk0p2 9 479 471 3783307+ 83 Linux
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
mkdosfs 3.0.9 (31 Jan 2010)
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mmcblk0p2: 45075/192576 files (0.1% non-contiguous), 280830/384893 blocks
resize2fs 1.41.14 22-Dec-2010 Resizing the filesystem on
/dev/mmcblk0p2 to 945826 4k blocks. Begin pass 1 max = 17
Extending the inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/mmcblk0p2 is now 945826 blocks long.
tune2fs 1.41.14 (22-Dec-2010)
0 value set
Generating locales...
en_US.UTF-8... done
Generation complete.
Image Name: Ubuntu boot script
Created: Tue Apr 26 00:07:25 2011
Image Type: ARM Linux Script (uncompressed)
Data Size: 309 Bytes = 0.30 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 301 Bytes = 0.29 kB = 0.00 MB
Filesystem was clean when I mounted it with my PC. Booting looked like
this on the serial console:
Texas Instruments X-Loader 1.5.0 (Apr 11 2011 - 09:48:22)
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.03 (Apr 20 2011 - 07:37:43)
CPU : OMAP4430
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0
Using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
reading boot.scr
373 bytes read
Running bootscript from mmc0 ...
## Executing script at 82000000
reading uImage
4174740 bytes read
reading uInitrd
3467529 bytes read
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Ubuntu Kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4174676 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
Image Name: Ubuntu Initrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3467465 Bytes = 3.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
fsck from util-linux-ng 2.17.2
/dev/mmcblk0p2: clean, 45081/465392 files, 298169/945826 blocks
Texas Instruments X-Loader 1.5.0 (Apr 11 2011 - 09:48:22)
Reading boot sector
Loading u-boot.bin from mmc
And this loop would continue.
--
Evil will always triumph, because good is dumb