From owner-freebsd-questions Tue Aug 11 11:08:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA10324 for freebsd-questions-outgoing; Tue, 11 Aug 1998 11:08:28 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from serveri.netti.fi (serveri.netti.fi [195.16.192.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA10269 for ; Tue, 11 Aug 1998 11:08:04 -0700 (PDT) (envelope-from yurtesen@turkey.ispro.net.tr) Received: from turkey.ispro.net.tr (dyn-2-005.tku.netti.fi [195.16.222.135]) by serveri.netti.fi (8.8.8/8.8.3) with ESMTP id VAA24901; Tue, 11 Aug 1998 21:07:10 +0300 Message-ID: <35D088AC.1FB450CF@turkey.ispro.net.tr> Date: Tue, 11 Aug 1998 21:08:44 +0300 From: Evren Yurtesen X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: djv@bedford.net, "freebsd-questions@FreeBSD.ORG" Subject: Re: couldn't set disk in "badscan" mode: Inappropriate ioctl for device References: <199808111136.HAA16828@lucy.bedford.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG well, I am able to use bad144 on my ide drive at home... but here at home I have another problem with it... it just supports 126 bad sectors per slide and my hard drive has a lot more than 126 : ) CyberPeasant wrote: > Evren Yurtesen wrote: > > hello, > > I am having trouble when I am using bad144 > > does anybody know what does this mean? > > I think that I should correct this problem but how? > > > > cyl: 526, tracks: 255, secs: 63, sec/cyl: 16065, start: 0, end: 8466003 > > bad144: couldn't set disk in "badscan" mode: Inappropriate ioctl for > > device > > > I hate to add a "me too" here... so I won't. (Haven't tried bad144 on > FBSD, but have used it on NetBSD in the past.) > > My impression is that bad144 won't work on a disk whose driver does not > support it. At least in the past, only the MFM (old, pre-IDE "ST-506" PeeCee > drives) and ESDI drivers (and of course old 8"-14" form-factor Vax > drives...) supported bad144-style remapping, and this had to be > taken into account at the fdisk stage, involving manually entering > "known" bad blocks before disklabel and newfs. > > In this light, I would say that your ioctl error says simply, "This > isn't a bad144 compatible disk." I would say that non-MFM/ESDI disks > all fit this category (i.e. IDE/SCSI disks are not bad144-able), but > I have seen posts here lately that suggest that people are successfully > using bad144 on such disks, to my confusion. > > Could someone give us a thumbnail sketch of bad144 under FreeBSD? > > Dave > -- > Bedford County, PA -- 47,000 polite, friendly Appalachians, > 4,000 of whom have concealed-carry permits. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message