🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.comp.os.linux
Article #11

Re: Don't buy Foxcon Mboards being sold with dodgy BIOS

#11
From: Nix
Date: Sun, 27 Jul 2008 15:19
42 lines
3508 bytes
On 26 Jul 2008, Conor verbalised:

> In article <Rc-dneAF9umxxxbVnZ2dneKdnZydnZ2d@pipex.net>, Big and Blue 
> says...
>> ���hwأf wrote:
>> 
>> > Theres a hack for Grub that tells the mobo its runniing windoze.
>> 
>> Which, to me at least, indicates that the problem lies in the 
>> motherboard.  The motherboard shouldn't need to know what OS is running. 
>
> How the fuck does the motherboard know what OS it's running, dumbass?

It asks the OS via the _OSI predefined object. (ACPI does after all
involve the operating system executing BIOS-provided AML code via an
interpreter which is *part* of the operating system. This isn't like
SMIs: the OS maintains control.)

(A tiny little bit of research in the topic you're arguing in wouldn't
go amiss. A couple of quick searches showed me pages 172--173 of
<http://www.acpi.info/DOWNLOADS/ACPIspec30a.pdf> (labelled 154--155)
which plainly describe this interface. This took me less than a minute
to find, and anyone else who can use Google could have done the same.)


Unfortunately the interface isn't much use as specified there. Nothing,
not even Linux, returns true for _OSI("Linux"), because what would it
mean? Different versions of the Linux kernel have different bugs and
different capabilities in regard to hardware interaction. So Linux
pretends to be Windows via _OSI and has to emulate its bugs.

There is discussion of ways to get around this, because it's plainly
inelegant to have to emulate Windows's hardware-interaction bugs, but
nothing firm has resulted yet. The _OSI interface is probably broken: we
really need feature-test macros instead. However, even that is fraught
with problems, because vendors can't very well add a macro that states
that they have, or don't have, a bug before the bug is known. So we'd
need at least three states: we have this bug/feature, we don't have it,
and we don't know: and then there'd be bugs when BIOSes interpreted
`we don't know' in an unwise manner... this is a nest of snakes, and
it is definitely not a sign of dumbassery to find the whole thing
thoroughly confusing.
Technical Details
Message-ID: <87zlo3uzgg.fsf@hades.wkstn.nix>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!zen.net.uk!demorgan.zen.co.uk!news-peer1!btnet-feed3!btnet!peer.news.zetnet.net!master.news.zetnet.net!not-for-mail
References: <WYCik.33137$E41.31782@text.news.virginmedia.com> <pan.2008.07.26.16.06.08.862285@netscape.net> <Rc-dneAF9umxxxbVnZ2dneKdnZydnZ2d@pipex.net> <6f1jejF9eemkU3@mid.individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d8ad,71aabdb4563c4437
X-Google-Thread: 1063f0,71aabdb4563c4437
X-Google-Thread: faa3c,71aabdb4563c4437
X-Google-Attributes: gid10d8ad,gid1063f0,gidfaa3c,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!zen.net.uk!demorgan.zen.co.uk!news-peer1!btnet-feed3!btnet!peer.news.zetnet.net!master.news.zetnet.net!not-for-mail
From: Nix <nix-razor-pit@esperi.org.uk>
Newsgroups: uk.comp.os.linux,uk.comp.homebuilt,24hoursupport.helpdesk
Subject: Re: Don't buy Foxcon Mboards being sold with dodgy BIOS
Date: Sun, 27 Jul 2008 16:19:27 +0100
Organization: the Core
Message-ID: <87zlo3uzgg.fsf@hades.wkstn.nix>
References: <WYCik.33137$E41.31782@text.news.virginmedia.com> <pan.2008.07.26.16.06.08.862285@netscape.net> <Rc-dneAF9umxxxbVnZ2dneKdnZydnZ2d@pipex.net> <6f1jejF9eemkU3@mid.individual.net>
Reply-To: Nix <$}xinix{$@esperi.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Emacs: impress your (remaining) friends and neighbors.
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (linux)
Cancel-Lock: sha1:jRPal67vAcDaNsebuIk2C6GC6vY=
Lines: 42
NNTP-Posting-Host: 41-052.adsl.zetnet.co.uk
X-Trace: 1217174407 master.news.zetnet.net 766 194.247.41.52:48922