*BSD News Article 11278


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1493 ; Tue, 23 Feb 93 14:44:26 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!swrinde!emory!wupost!howland.reston.ans.net!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!Germany.EU.net!news
From: cs@Germany.EU.net (Chris Schmidt)
Newsgroups: comp.unix.bsd
Subject: [386bsd] bad sect table (again)
Date: 16 Feb 1993 22:03:44 +0100
Organization: EUnet Deutschland GmbH, Dortmund, Germany
Lines: 38
Distribution: world
Message-ID: <1lrkrg$440@Germany.EU.net>
NNTP-Posting-Host: obsolete.germany.eu.net

Folks,
We have a severe problem here :-(
setup: 386 clone, WREN-III ESDI on a WD-1007 (whatever)
20 megabyte DOS 5.0 fdisk partition, 124 meg 386bsd partition;
disk set to 34 sectors per track, controller not doing any re-vectoring

The snag is that disklabel -r -e wd0 works insofar as it is indeed possible
to re-edit the partition table and to include the "badsect" flag. It is
also possible to get the information about bad sectors location by dd'ing off
rwd0d with a modified kernel and using this information for bad144 -v -a -c
wd0 [sectors].

This information is kept in place nicely across re-boots, and both bad144
and disklabel are able to find their respective information and display it
nicely in human-readable form. However, dd'ing off wd0c or newfs'ing wd0a
(or wd0h, for that matter) keep complaining corrupted bad block information.

Removing the "badsect" flag from the disklabel isn't really helpful, either.

In other words, what appears to be correct re-vectoring information is just
ignored. This is getting to an annoying stage, so we'd be really grateful
for useful hints.

BTW We've seen it work before on a WD-1007 with the same type of drive,
and it does work indeed with that type of drive on a wd-1009.

Cheers,
	
-- 

	Chris Schmidt

  ===    ____                          ===       EUnet Deutschland GmbH
  ===   /      /   /   ___    ___  _/_ ===       News-Support
  ===  /----  /   /  /   /  /___/  /   ===       Emil-Figge-Str. 80
  === /____  /___/  /   /  /___   /    ===       D-W-4600 Dortmund 50, Germany
  =====                              =====       Tel. +49 231 755 2444
  ===== Connecting Europe since 1982 =====       Fax  +49 231 755 2386