Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 21:08:44 +0300
From:      Evren Yurtesen <yurtesen@turkey.ispro.net.tr>
To:        djv@bedford.net, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: couldn't set disk in "badscan" mode: Inappropriate ioctl for device
Message-ID:  <35D088AC.1FB450CF@turkey.ispro.net.tr>
References:  <199808111136.HAA16828@lucy.bedford.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35D088AC.1FB450CF>