Date: Thu, 29 Oct 1998 19:46:59 +0100 From: Harold Gutch <logix@foobar.franken.de> To: Mike Smith <mike@smith.net.au> Cc: stable@FreeBSD.ORG Subject: Re: HD problems Message-ID: <19981029194659.A3202@foobar.franken.de> In-Reply-To: <199810282247.OAA00727@dingo.cdrom.com>; from Mike Smith on Wed, Oct 28, 1998 at 02:47:27PM -0800 References: <19981028234141.A913@foobar.franken.de> <199810282247.OAA00727@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 28, 1998 at 02:47:27PM -0800, Mike Smith wrote: > > > Your disk is taking longer to handle the error than we allow it to. Your > > > best bet at this point is probably to mount the partition forced > > > readonly (mount -f -o ro), copy everything meaningful off the the > > > partition, then dd zeroes over it to give the drive a chance to remap > > > the sector(s) in question. > > > > > Is there an easy way to set the timeout-values higher, like patch > > a couple of lines in the wd-driver to at least give me enough > > time to backup the whole thing, and then nuke the data that currently > > still is on it ? > > Yup. Look for the code that looks like this: > > if (wdtab[ctrlr].b_errcnt == 0) > du->dk_timeout = 1 + 10; > else > du->dk_timeout = 1 + 3; > > > and change the 10 to 30 or so. > That's from a -CURRENT /usr/src/sys/isa/i386/wd.c, it looks a little different in -STABLE, still i found it, thanks. After a recompile it didn't have any effect, then i switched to the other solution, mounting forced, backed up the stuff, dd'd over the disk and repartitioned. It seems to work again now. I just checked and saw that my wd.c still contains the unpatched line, so I guess I didn't save after patching it *sigh*. Anyway, thanks for the help, I hope the disk is OK now again :). -- bye, logix <Shabby> Sleep is an abstinence syndrome wich occurs due to lack of caffein. Wed Mar 4 04:53:33 CET 1998 #unix, ircnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981029194659.A3202>