DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 5th December 2008
Gemini Gemini is offline
New User
 
Join Date: Dec 2008
Posts: 7
Default HDD formatted UFS under AMD64 experiences weirdness under I386

Background:

I installed FreeBSD 7.0-Release/AMD64 onto a 640GB SATA hard drive a few months ago. I sliced the drive with the standard assortment of partitions, but also including a large 550GB s1e partition for my media files.

Things were mostly fine with the install, except that I kept coming across an increasing number of apps that were broken under AMD64.

Eventually, I reinstalled the system using 7.0-Release/I386. I kept the original partitions, simply having sysinstall format them before unrolling the base tarballs.

Everything appeared to go fine until I rebooted. After the kernel was done initializing, garbage characters started appearing on my screen, and exec was complaining that numerous binaries were not proper ELF format. Reboot, and other files came up as garbage.

So, I grabbed my install CD and rebuilt the system again. This time, I deleted all of the partitions except for the 550GB s1e partition. Wash, rinse, repeat. Same garbage on reboot, same issue with binaries not being proper ELF format.

Move to a different computer, download the ISO again, verify Md5 checksum, burn a new CD-R, validate copy, and try again on the original system. No improvement. Run a non-destructive HDD bad sector scanner. No errors.

Grab a spare 10GB hard drive, install 7.0-Release/I386, boot off of it. No problems. Run FSCK against the s1e partition of the 640GB drive, no errors. Mount the partition, no errors. Try to play some of the media files... corrupted. The Md5 fingerprints of almost any file over a few KB in size is off.

Install 6.4-Release/AMD64 on the 10GB drive. Bring everything up and check out the media files on the 640GB drive and... all of the files are fine. Not an error to be found, not an Md5 checksum to be mismatched.

Huh. That's nice.


Question:

Has anyone else encountered this file corruption issue when moving from AMD64 to I386? I didn't see anything jump out in the bug reports.
Reply With Quote
 

Tags
amd64, file corruption, i386, migration, ufs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone with AMD64 random panics on i386? indiocolifa FreeBSD General 13 24th March 2009 02:53 AM
Allow i386 and amd64 to boot from extended DOS partitions lvlamb OpenBSD General 4 16th July 2008 03:24 PM
i386 drivers on amd64 kienjakenobi FreeBSD Ports and Packages 5 25th June 2008 05:37 PM
i386 6.x binaries not working on AMD64 7.x (with compat) lesmando24 FreeBSD General 5 29th May 2008 05:39 AM
Revert from AMD64 to i386 chavez243 FreeBSD General 6 6th May 2008 12:24 PM


All times are GMT. The time now is 08:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick