|
|
|
|
|
|
| Author |
Message |
almeidaraf *nix forums beginner
Joined: 20 Mar 2006
Posts: 2
|
Posted: Mon Mar 20, 2006 12:10 am Post subject:
Hard disk issue
|
|
|
Hello,
I have a ATA/ATAPI-5 hard disk (smartctl says its device model is
BI-MJDAS2-02 and serial numeber is 4 T444YZ7693). I don't know much
about the laptop's hardware, except it's a acer travelmate 612TXCi.
Having said that, while I was compiling the ghc on pkgsrc I ran into
what seems to be a hard disk problem. The kernel yielded "wd0e: error
reading fsbn 23121248 of 13121248-23121375 (wd0 bn 26268287; cn 26059
tn 14 sn 47) wd0: (uncorrectable data error)" and after that the
compilation segfaulted. Is it a hard-disk issue, or could it be a
filesystem problem (fsck_ffs didn't seem to find anything wrong) or
something else? Whatever it is, could someone hint me on what should I
read in order to fix this problem, or tell me some known workaround or
something?
Thank you for your attention,
Rafael |
|
| Back to top |
|
 |
toby *nix forums addict
Joined: 01 Jul 2005
Posts: 87
|
Posted: Mon Mar 20, 2006 3:51 am Post subject:
Re: Hard disk issue
|
|
|
almeidaraf wrote:
| Quote: | Hello,
I have a ATA/ATAPI-5 hard disk (smartctl says its device model is
BI-MJDAS2-02 and serial numeber is 4 T444YZ7693). I don't know much
about the laptop's hardware, except it's a acer travelmate 612TXCi.
Having said that, while I was compiling the ghc on pkgsrc I ran into
what seems to be a hard disk problem. The kernel yielded "wd0e: error
reading fsbn 23121248 of 13121248-23121375 (wd0 bn 26268287; cn 26059
tn 14 sn 47) wd0: (uncorrectable data error)" and after that the
compilation segfaulted. Is it a hard-disk issue,
|
Yes. I don't know if NetBSD does bad block sparing for ATA, or whether
you can fix this with a reformat and bad block scan. Probably you
should look for a new drive, and obviously make sure no valuable data
remains on this one.
| Quote: | or could it be a
filesystem problem (fsck_ffs didn't seem to find anything wrong) or
something else? Whatever it is, could someone hint me on what should I
read in order to fix this problem, or tell me some known workaround or
something?
Thank you for your attention,
Rafael |
|
|
| Back to top |
|
 |
jpd *nix forums Guru
Joined: 22 Feb 2005
Posts: 877
|
Posted: Mon Mar 20, 2006 4:40 am Post subject:
Re: Hard disk issue
|
|
|
Begin <1142826671.644513.5920@v46g2000cwv.googlegroups.com>
On 2006-03-20, toby <toby@telegraphics.com.au> wrote:
| Quote: | Yes. I don't know if NetBSD does bad block sparing for ATA, or whether
you can fix this with a reformat and bad block scan.
|
AFAIK that's a function of the drives nowadays. They present a perfect
disk and remap themselves if necessairy. Until they run out of remap
space. One could try and run mfr diags on them, might be worth a shot.
| Quote: | Probably you should look for a new drive, and obviously make sure no
valuable data remains on this one.
|
That too, of course.
--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law. |
|
| Back to top |
|
 |
almeidaraf *nix forums beginner
Joined: 20 Mar 2006
Posts: 2
|
Posted: Mon Mar 20, 2006 9:26 pm Post subject:
Re: Hard disk issue
|
|
|
Hi,
I couldn't find that diag thing on pkgsrc, or anywhere, for that
matter. What I did find was a site saying that if I would try to write
to the bad sector then the hd should automaticly place them to the bad
blocks list. So I did
# dd if=/dev/zero of=/dev/wd0d seek=26268351 count=127
Actually, let me go back for a bit, I've compiled the kernel with
WD_SOFTBADSECT option, then I tried to compile ghc. After that I was
able to see the bad sectors using
# dkctl wd0 badsector list
which were 26268351-26268478.
Well, after the dd command I already posted it seems like the bad
blocks left are only the ones from 26268400 to 26268403. I tried to run
# dd if=/dev/zero of=/dev/wd0d seek=26268400 count=3
but it didn't help this time. I ran
# smartctl -a /dev/wd0d
and, in the errors shown there, the commands passed to the harddisk
were read commands, which doesn't make too much sense to me. Any ideas
about what I should try? |
|
| Back to top |
|
 |
Chris Kantarjiev *nix forums beginner
Joined: 25 Feb 2005
Posts: 27
|
Posted: Fri Apr 28, 2006 8:34 pm Post subject:
Re: Hard disk issue
|
|
|
jpd wrote:
| Quote: | Begin <1142826671.644513.5920@v46g2000cwv.googlegroups.com
On 2006-03-20, toby <toby@telegraphics.com.au> wrote:
Yes. I don't know if NetBSD does bad block sparing for ATA, or whether
you can fix this with a reformat and bad block scan.
AFAIK that's a function of the drives nowadays. They present a perfect
disk and remap themselves if necessairy. Until they run out of remap
space. One could try and run mfr diags on them, might be worth a shot.
|
Find yourself a copy of the standalone SMART utilities; pretty much all 'modern'
drives support SMART, which lets you interrogate and manage the low-level drive
statistics and diagnositcs. Fits on a bootable floppy. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Dec 03, 2008 2:00 am | All times are GMT
|
|
Debt Help | MPAA | Loans | AdSense Optimization Tutorials | Houses for Sale
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|