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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-16-2006, 10:02 AM
|
#1
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Is my hard disk dying?
I have a Toshiba Satellite Pro A10 laptop (Celeron 2.2 GHz, 256 MB of RAM, 20 GB hard drive) and it has been running Slack happily for a few months. Recently though, there has been lots of hard disk activity every couple of minutes and the system becomes unresponsive (e.g. the mouse pointer won't move) until said activity stops. Just before rebooting, I tried to "su" and I got "/bin/su: Input/output error". "ls -l /bin/su" came back with "Bus error". I flipped over to a "proper" terminal and saw messages like the following
EXT3-fs error (device ide0(3,1)): ext3_get_inode_loc: unable to read inode block - inode=x, block=y,
EXT3-fs error (device ide0(3,1)) in ext3_reserve_inode_write: IO failure
and EXT3-fs error (device ide0(3,1)): ext3_free_branches: Read failure, inode=x, block=y,
where x and y are numbers.
I'm currently using a Mepis live CD and have already backed up the important data on the disk (though there wasn't much I need). So yeah, is this hard drive dying?
Also, are laptop hard drives expensive?
Thanks.
|
|
|
07-16-2006, 10:28 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
It is possible that the disk is dying. Are those the only errors - take a look at the output from "dmesg". I'd try running fsck on the partition (when it is unmounted) from the live CD incase it is just filesystem related although it is unlikely.
2.5" drives aren't too expensive it looks like you can pick up a 40Gb one for under £50:
http://overclock.co.uk/home.php?cat=471
Just double check that it is a 2.5" ide drive. I think it will be though. You should be able to find the current model number with:
hdparm -I /dev/hda
|
|
|
07-16-2006, 11:42 AM
|
#3
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep:
|
Thanks for the reply, David. dmesg was showing some output about DMA timeout though the machine crashed and I don't have that text any more (I ran it from the live CD, since the problem also occurs when I'm running from a CD :/).
I wasn't sure which options to use with fsck, so just ran it with -v and all that comes out is
fsck 1.39-WIP (31-Dec-2005)
e2fsck 1.39-WIP (31-Dec-2005)
/dev/hda1: clean, 132208/4760768 files, 773845/4759248 blocks.
I don't know if that's good or bad :/.
The version of hdparm on this live CD didn't seem to like the -l option, but I found the model in /proc/ide/ide0/hda/model and from a Google search, it appears that the disk is a 2.5". One last thing: the product page on Toshiba's website says the interface is ATA-5, but it seems most (all?) the drives I can buy today are ATA-6. Is this a problem at all?
Thanks .
|
|
|
07-16-2006, 12:02 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
If fsck comes up as clean and there is still a problem I would suggest it is probably hardware. If you are getting dma errors then it is more than likley a hardware issue. There is a small chance it could be the controller but I'd say it's much more likely to be the hard drive, especially in a laptop where the machine is being moved around a bit.
An ATA-6 drive will work fine as a replacement. The number just relates to the maximum bus speed it will run at. If the controller doesn't support the fastest bus speed that the drive runs at it will just drop down to the highest supported instead.
|
|
|
07-16-2006, 01:05 PM
|
#5
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep:
|
Nice one, thanks .
|
|
|
07-16-2006, 02:29 PM
|
#6
|
Member
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168
Rep:
|
Though it seems there's probably little hope that the drive can be salvaged you may want to chech out some hard drive diagnosis utilities. Ultimate Boot CD has a scad of them. I'd recommend any one of the last three diagnostic tools on the list since toshiba doesn't provide them for thier drives (assuming they put their own disks in their laptops). Handy tool either way.
|
|
|
07-16-2006, 02:31 PM
|
#7
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep:
|
Thanks for that link zytsef, I'll try the CD . Indeed, Toshiba do put their own drives in their laptops.
|
|
|
All times are GMT -5. The time now is 12:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|