Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Forum about Parallella boot process, linux kernel, distros, SD-cards, etc.

Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby phoyd » Thu Mar 06, 2014 2:47 pm

(Moved post from the SDK Category to this)

I'm having trouble with the Parallella16_z7020wGPIO_131224.zip file from ftp://ftp.parallella.org/parallella/gen1/

Downloading the file from the ftp server gets me a file with the right size:

Code: Select all
ftp> ls
200 PORT command successful. Consider using PASV.
c150 Here comes the directory listing.
drwxr-xr-x    2 0        0            4096 Dec 21 14:26 Archive
-rw-r--r--    1 0        0        3002401716 Dec 21 14:46 Parallella16_z7020wGPIO_131220.zip
-rw-r--r--    1 0        0        3033021488 Dec 24 12:13 Parallella16_z7020wGPIO_131224.zip
-rw-r--r--    1 0        0            1188 Dec 26 09:05 README.txt

ftp> !ls -l
total 18520092
drwxrwxr-x 2 marco marco        4096 Mär  6 15:07 new
-rw-rw-r-- 1 marco marco 15931539456 Dez 20 12:57 Parallella16_z7020wGPIO_131220.img
-rw-rw-r-- 1 marco marco  3033021488 Mär  6 12:01 Parallella16_z7020wGPIO_131224.zip
ftp>


However, unzipping the file gave me a CRC error:
Code: Select all
$ unzip Parallella16_z7020wGPIO_131224.zip
Archive:  Parallella16_z7020wGPIO_131224.zip
  inflating: Parallella16_z7020wGPIO_131220.img   bad CRC 431390a4  (should be b8eafce7)


The MD5 of the ZIP is as following:

Code: Select all
$ md5sum Parallella16_z7020wGPIO_131224.zip
d5f0735780b302baedaf854dd4bc845c  Parallella16_z7020wGPIO_131224.zip


I wrote the image to my sdcard anyway. It mounts two partitions and checking the ext4 file system on the second partition yields this:

Code: Select all
$ sudo fsck.ext4 /dev/sdh2
e2fsck 1.42 (29-Nov-2011)
fsck.ext4: Group descriptors look bad... trying backup blocks...
One or more block group descriptor checksums are invalid.  Fix<y>?


What's going on here? The file has the same size as on the server, yet it is invalid. Did anyone else encounter this problem?
phoyd
 
Posts: 7
Joined: Mon Dec 17, 2012 3:22 am

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby aolofsson » Thu Mar 06, 2014 2:54 pm

Really sorry about this...we have been working on a new and imporoved distro. It will be uploaded to the server by tonight (or worst case by tomorow morning...)
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby shodruk » Thu Mar 06, 2014 3:39 pm

aolofsson wrote:Really sorry about this...we have been working on a new and imporoved distro. It will be uploaded to the server by tonight (or worst case by tomorow morning...)
Andreas


Could you mention the md5sum in README.txt?
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby shodruk » Thu Mar 06, 2014 4:43 pm

On Ubuntu 13.10 / i386,

I redownloaded the file just now,

$ ls -l Parallella16_z7020wGPIO_131224.zip
Code: Select all
-rw------- 1 ubuntu ubuntu 3033021488 Mar  6 00:00 Parallella16_z7020wGPIO_131224.zip


$ md5sum Parallella16_z7020wGPIO_131224.zip
Code: Select all
d5f0735780b302baedaf854dd4bc845c  Parallella16_z7020wGPIO_131224.zip


$ unzip Parallella16_z7020wGPIO_131224.zip
Code: Select all
Archive:  Parallella16_z7020wGPIO_131224.zip
  inflating: Parallella16_z7020wGPIO_131220.img 

I got no error.

$ md5sum Parallella16_z7020wGPIO_131220.img
Code: Select all
3aae08f5d14bc238d799a0da1fceb01a  Parallella16_z7020wGPIO_131220.img


$ sudo losetup /dev/loop0 Parallella16_z7020wGPIO_131220.img

$ sudo fdisk -l /dev/loop0

Code: Select all
Disk /dev/loop0: 15.9 GB, 15931539456 bytes
255 heads, 63 sectors/track, 1936 cylinders, total 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a07b6

      Device Boot      Start         End      Blocks   Id  System
/dev/loop0p1              63       96389       48163+   b  W95 FAT32
/dev/loop0p2           96390    15518789     7711200   83  Linux


$ sudo losetup -d /dev/loop0

$ sudo losetup -o 32256 /dev/loop0 Parallella16_z7020wGPIO_131220.img

$ sudo fsck.vfat /dev/loop0
Code: Select all
dosfsck 3.0.14, 23 Jan 2023, FAT32, LFN
/dev/loop0: 39 files, 92771/94812 clusters


$ sudo losetup -d /dev/loop0

$ sudo losetup -o 49351680 /dev/loop0 Parallella16_z7020wGPIO_131220.img

$ sudo fsck.ext4 /dev/loop0
Code: Select all
e2fsck 1.42.5 (29-Jul-2012)
rootfs: recovering journal
Clearing orphaned inode 314306 (uid=0, gid=0, mode=0100640, size=39)
Clearing orphaned inode 309241 (uid=0, gid=0, mode=0100640, size=1009)
Clearing orphaned inode 306346 (uid=0, gid=0, mode=0100640, size=98)
rootfs has been mounted 114 times without being checked, check forced.
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
Free blocks count wrong (776528, counted=793244).
Fix<y>? yes
Free inodes count wrong (308164, counted=307339).
Fix<y>? yes

rootfs: ***** FILE SYSTEM WAS MODIFIED *****
rootfs: 175045/482384 files (0.2% non-contiguous), 1134556/1927800 blocks

Yes, there are some minor filesystem errors. But it can be fixed.

$ sudo fsck.ext4 /dev/loop0
Code: Select all
e2fsck 1.42.5 (29-Jul-2012)
rootfs: clean, 175045/482384 files, 1134556/1927800 blocks


$ sudo mount /dev/loop0 /mnt

$ ls /mnt
Code: Select all
bin   dev  home  lost+found  mnt  proc  run   selinux  sys  usr
boot  etc  lib   media       opt  root  sbin  srv      tmp  var


$ sudo umount /mnt

$ sudo losetup -d /dev/loop0
Last edited by shodruk on Fri Mar 07, 2014 5:43 pm, edited 1 time in total.
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby phoyd » Fri Mar 07, 2014 9:06 am

shodruk wrote:
$ unzip Parallella16_z7020wGPIO_131224.zip
Code: Select all
Archive:  Parallella16_z7020wGPIO_131224.zip
  inflating: Parallella16_z7020wGPIO_131220.img 

I got no error.

$ md5sum Parallella16_z7020wGPIO_131220.img
Code: Select all
3aae08f5d14bc238d799a0da1fceb01a  Parallella16_z7020wGPIO_131220.img




What is going on here? I've just double-checked, that 3aae08f5d14bc238d799a0da1fceb01a is the md5sum of the image in Parallella16_z7020wGPIO_131220.zip. The image in Parallella16_z7020wGPIO_131224.zip has d609d9c819d1ed3809c41e4f9ebc7f0c here.
phoyd
 
Posts: 7
Joined: Mon Dec 17, 2012 3:22 am

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby 9600 » Fri Mar 07, 2014 2:32 pm

I just checked the image I extracted from that ZIP and got: 3aae08f5d14bc238d799a0da1fceb01a.

Cheers,

Andrew
Andrew Back (a.k.a. 9600 / carrierdetect)
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby aolofsson » Fri Mar 07, 2014 10:31 pm

I have moved this questaionable file into the "old" directory. Please DO NOT use it and instead follow the SD card creation recipe shown at:

http://www.parallella.org/create-sdcard

Cheers,
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby phoyd » Tue Mar 11, 2014 7:43 pm

Thanks. The SD card creation recipe worked great for me.
phoyd
 
Posts: 7
Joined: Mon Dec 17, 2012 3:22 am

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby aolofsson » Tue Mar 11, 2014 8:49 pm

Great to hear! Does your board boot ok?
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Corrupted Parallella16_z7020wGPIO_131224.zip on server?

Postby phoyd » Tue Mar 11, 2014 9:45 pm

Yes, the board boots fine and runs the demos. I'm using a 16 GB Sandisk Ultra Class 10 Card and power the board with a 5V/2.5A power supply from an old D-Link Router. The Zynq and the Epiphany chips are getting quite hot even in idle mode (around 70°C), but setting a fan from an old CPU Cooler next to the board pulled the temperature down to 40°C within a minute. I've tried the serial console with an FTDI TTL-serial adapter and OpenSSH. HDMI testing in the next days.
phoyd
 
Posts: 7
Joined: Mon Dec 17, 2012 3:22 am

Next

Return to Linux/U-Boot

Who is online

Users browsing this forum: No registered users and 2 guests

cron