LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-10-2012, 05:08 AM   #1
Changes
Member
 
Registered: Oct 2008
Posts: 190

Rep: Reputation: 16
Hard disk behaving oddly


I've been given a Packard Bell MH35 laptop that "quit working" some time ago - indeed Windows Vista bluescreens on boot. I immediately ran a Live-CD distro, but it gave "revalidation failed" errors at boot and refused to work properly. Running the all_generic_ide boot parameter as per this made the live boot with no errors, but when I installed Parsix on the hard disk and it started booting from that the parameter fix no longer worked. It didn't always do the error at the same point during the boot process.

I spent some time swearing at this, then because the source of the problem seemed to be hard-disk related I swapped the drive with a spare. Problem solved, computer boots fine.

Bad risk, right? Except if I hook it up to any computer with a SATA-to-USB adapter it seems to be working perfectly. No transfer errors, no bad sectors that a badblocks scan can determine.

I'll put the "bad" disk in an enclosure and use it to shuffle data, but I'm still curious - what can cause a disk to no longer work as a boot device, but work perfectly externally?
 
Old 05-10-2012, 07:57 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,

'bad sectors' can cause problem(s). If you get a head hit then the drive can fail. Most head crashes are destructive and the drive is then unusable. Sometimes 'bad sectors' can be caused by electronics malfunctioning due to power issues. Leaky capacitors can cause issues.

If you value your data, I would be sure to diagnose the problem. Not place a known problem disk in a enclosure to move data that could be 'garbage' data at some point in time.

Try to use the disk manufactures diagnotic set or get;
UBCD Ultimate Boot CD <- 'UBCD allows users to run floppy-based diagnostic tools from most CDROM drives on Intel-compatible machines, no operating system required. The cd includes many diagnostic utilities.'
or
SystemRescueCd <- 'is a Linux system on a bootable CD-ROM for repairing your system and recovering your data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It contains a lot of system utilities (parted, partimage, fstools, ...) and basic tools (editors, midnight commander, network tools).' + 'Online-Manual

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 05-10-2012, 08:08 AM   #3
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
I sure as hell won't be using it to move important data.

I'm aware of the problems caused by bad sectors, having encountered plenty, but they don't usually result in this behaviour, and badblocks usually catches them. Admittedly I haven't tried a destructive test (badblocks gets seriously slow when doing that).

I'll clarify one thing: when the computer runs with the "bad" drive in, the simple fact that the disk is plugged in causes "revalidation failed" errors. When booting a live-CD the hard disk isn't accessed at all, so there's no way bad sectors could be influencing the boot sequence.

I'm suspecting something in the disk's electronics, but then it shouldn't be working on a USB adapter either...
 
Old 05-10-2012, 08:12 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,254

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Another reason is drive levels. Putting it at it's simplest, highs might not be high or lows may not be low when they are sampled by whatever is reading the circuit. As you speed up, the chance of this type of error increases. A drive caddy has controller beside drive and not loaded by anything else, and so things might perform better.
 
Old 05-10-2012, 08:31 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,

Quote:
Originally Posted by Changes View Post
I sure as hell won't be using it to move important data.

I'm aware of the problems caused by bad sectors, having encountered plenty, but they don't usually result in this behaviour, and badblocks usually catches them. Admittedly I haven't tried a destructive test (badblocks gets seriously slow when doing that).

I'll clarify one thing: when the computer runs with the "bad" drive in, the simple fact that the disk is plugged in causes "revalidation failed" errors. When booting a live-CD the hard disk isn't accessed at all, so there's no way bad sectors could be influencing the boot sequence.

I'm suspecting something in the disk's electronics, but then it shouldn't be working on a USB adapter either...
Sorry, but the kernel will attempt to recognize or init devices be it for a LiveCD or install. Look at: Linux Kernel Interactive Map

Silicon does not heal! Platters do not heal!
Your device, so use it as you will. Just expect issues.

I still suggest that you diagnose the drive first with manufactures diagnostic set or one of the before mentioned LiveCD. It's one thing to speculate and another to confirm there is a problem or not.

My
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quorum disk not behaving Learning Curve Red Hat 0 10-12-2010 04:21 AM
[SOLVED] Terminals behaving oddly all except xterm Josh000 Slackware 8 04-24-2010 03:33 PM
Quantum DLT-V4 Tape Drive Behaving Oddly davidstvz *BSD 0 09-18-2008 04:54 PM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
Amarok behaving oddly little_penguin Linux - Software 2 07-10-2005 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration