From owner-freebsd-hackers Fri Feb 6 10:46:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00645 for hackers-outgoing; Fri, 6 Feb 1998 10:46:36 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00628 for ; Fri, 6 Feb 1998 10:46:24 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id LAA26158; Fri, 6 Feb 1998 11:36:58 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpd026132; Fri Feb 6 11:36:52 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id LAA12807; Fri, 6 Feb 1998 11:36:49 -0700 (MST) From: Terry Lambert Message-Id: <199802061836.LAA12807@usr01.primenet.com> Subject: Re: wd0s1e hard errors To: cgull+usenet-886763413@smoke.marlboro.vt.us (john hood) Date: Fri, 6 Feb 1998 18:36:49 +0000 (GMT) Cc: alk@pobox.com, hackers@FreeBSD.ORG In-Reply-To: <199802061118.GAA08425@smoke.marlboro.vt.us> from "john hood" at Feb 6, 98 06:18:59 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" > > Should bad144 be retired? > > Yup, from current, anyway. > > It adds complexity to the wd driver, various bits of the code have > often been broken, and I'd guess that support for > MFM/RLL/ESDI/antiqueIDE controllers has suffered enough rot that it > doesn't work anyway. The code isn't broken. You just can't have replacement sectors over the 1024 boundary. My persional opinion is that it should go "slice a", "replacement sectors", "slice b", and so on. This would better guarantee that sectors will not be over the 1024 boundry, as well as allowing for expansion of the table by reducing the amount of swap, if necessary. Even without this, the problems people see are attributable to pilot error; you can perform the same workaround (keeping the replacement sectors under 1024) by setting up two DOS partitions, and putting "slice a" in one by itself. The bad144 code doesn't belong in the disk driver, and more than the partition/disklabel/slice stuff belongs in the disk driver. Just because it's in the wrong place doesn't mean you should get rid of it -- if that were true, unless you used Julian's slice code on top of devfs, DOS partitioning and BSD disklabel management would be diked out tomorrow. The standard IDE driver works with wd drives (that's why it'still called "wd" instead of "ide"). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.