Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 18:59:15 +0300
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Soeren Schmidt <sos@spider.deepcore.dk>
Cc:        sos@FreeBSD.ORG
Subject:   Re: Workaround for some broken BIOSes that forgot to enable ATAchannels [patch]
Message-ID:  <20030414155915.GB23374@vega.vega.com>
In-Reply-To: <200304141415.h3EEFhuv075007@spider.deepcore.dk>
References:  <20030414120327.GA22561@vega.vega.com> <200304141415.h3EEFhuv075007@spider.deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 14, 2003 at 04:15:43PM +0200, Soeren Schmidt wrote:
> It seems Maxim Sobolev wrote:
> > > > Attached please find a patch, which workaround a bug found in
> > > > some BIOSes, which forget to enable ATA channels properly.
> > > > This results in ATA driver not attaching properly and inability
> > > > to use disk devices.
> > > 
> > > Hmm, what BIOS's do you see this on ? if that bit isn't set *alot*
> > > of other things probably arent as well, which could cause real
> > > problems if we try this.
> > 
> > This is BIOS on my new vprMatrix 175B4 notebook (P4M-1.7GHz).
> > Along with ATA, it "forgets" to enable ports on network card
> > (fxp driver), I've already committed patch for it. Funny thing
> > is that the problem doesn't exists on 4.7 - both ata and fxp
> > work here OOB. This might be somehow related to ACPI, but
> > forcefully disabling it in 5-CURRENT doesn't help.
> 
> I heard BIOSes, and now its just one :)
> 
> I'll wait and see if there is more of this, before committing code that
> might be just a one off...

:(((

I am really wonder why ata driver is so strict in this area.
Many other drivers don't rely on BIOS to do the right job and
enable ports, memory space and busmastering explicitly. And
this is the right thing (IMO), since most modern operating
systems including FreeBSD don't give a shit to BIOS settings
anyway. If device is probed and user didn't disable the driver
explicitly, it should do everything to attach to device, no
matter in which weird state the BIOS left it.

-Maxim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414155915.GB23374>