Foxconn BIOS breaks linux acpi.

AmberClad

Diamond Member
Jul 23, 2005
4,914
0
0
I don't recall having any issues with any Dells or my old Foxconn board in Linux.

I wouldn't put it past them to have a buggy BIOS though - my Foxconn G965 somehow permanently lost the ability to run TRAS higher than 15 after I filled it up with 4 dimms. So it effectively could no longer run JEDEC spec (luckily my RAM didn't have any issues with the slightly tighter timings).

EDIT: For clarification, I haven't owned the specific board they're referring to, and I use Slackware, not Ubuntu. So YMMV.

The Microsoft conspiracy theory is sort of amusing to read, in any case.
 

Soulkeeper

Diamond Member
Nov 23, 2001
6,714
143
106
that's why i stick to more name brand, well know manufacturers like Abit and Asus with a history of supporting all OS's
not worth the risk, i mean c'mon there are like 20+ board makers out there, i'll stick to the top 5 for my choices
 

toadeater

Senior member
Jul 16, 2007
488
0
0
I don't think MS was doing anything malicious here, I think they were just caught being negligent. I wonder if they even bothered to test the board, or do they just hand out WHQL certificates to anyone who bribes them? You know, it's not like Nvidia and ATI's WHQL drivers have been bug-free, so what does WHQL mean anymore? It does not guarantee anything really.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,554
10,171
126
Originally posted by: toadeater
I don't think MS was doing anything malicious here, I think they were just caught being negligent. I wonder if they even bothered to test the board, or do they just hand out WHQL certificates to anyone who bribes them? You know, it's not like Nvidia and ATI's WHQL drivers have been bug-free, so what does WHQL mean anymore? It does not guarantee anything really.

According to the dissassembly, it appears that the ACPI code is apparently thus:
if (OS = Microsoft)
working_ACPI_table();
else if (OS = Linux)
subltely_broken_ACPI_table();

Btw, does anyone know if the Foxconn 780G mobo is afflicted with this issue? I was debating picking one up, they are $67 shipped at NewEgg.
 

toadeater

Senior member
Jul 16, 2007
488
0
0
Originally posted by: VirtualLarry
Originally posted by: toadeater
I don't think MS was doing anything malicious here, I think they were just caught being negligent. I wonder if they even bothered to test the board, or do they just hand out WHQL certificates to anyone who bribes them? You know, it's not like Nvidia and ATI's WHQL drivers have been bug-free, so what does WHQL mean anymore? It does not guarantee anything really.

According to the dissassembly, it appears that the ACPI code is apparently thus:
if (OS = Microsoft)
working_ACPI_table();
else if (OS = Linux)
subltely_broken_ACPI_table();

Yes, but was it broken intentionally, or was it just badly made?

Btw, apparently there is an Intel ACPI spec and an MS Vista ACPI spec. Anyone know more about this?
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
well, appernatly redirecting linux to the vista table fixes a lot of the bugs, but not all of them, he said there were 7 other hidden checks inside there to see if you run linux that cause issues, and he changed them as well to hide it further...
It is also not implemeting ACPI, instead it detects what OS you have (win95, 98, NT, 2000/XP, vista, or linux are the options it detects) and then sends each one to a table that makes it "sorta work" with it... if they had just implemented ACPI with the full intel spec it would work with ALL oses without any issue as long as the OS supports ACPI...

It seems to be a combination of sabotage AND poor coding. Or they could have INTENDED to support linux, and then left it half finished (which does more damage then linking it to the vista table) and that caused it to break.

Either option is feasable.

BTW, no way in hell this board will work with windows 7 without a bios update... so again... crappy coding, but why are there 7 hidden windows check within the windows table itself? he says the only reason would be to deter someone from pointing linux at it for a quick fix.
He is also pissed at the responses they gave him which were "we don't support linux, buy windows vista" and "sure it is written to ACPI spec, microsoft would not have given us their WHQL certification if it wasn't"
 

NXIL

Senior member
Apr 14, 2005
774
0
0
The Microsoft conspiracy theory is sort of amusing to read, in any case.

http://hehe2.net/thedarkside/m...n-the-foxconn-debacle/

After looking through the disassembled BIOS for the last several hours, rebooting it, and tweaking it more, I?d say this is very intentional, I?ve found redundant checks to make sure it?s really running on Windows, regardless what the OS tells it it is, and then of course fatal errors that will kernel panic FreeBSD or Linux, scattered all over the place, even in the table path for Windows 9x, NT, 2000, XP, and Vista, and had to correct them (Well, at least divert them off into a segment of RAM I hope to god I?m sure about)

No, this looks extremely calculated, it?s like they knew someone would probably go tearing it apart eventually and so tried to scatter landmines out so as to where you?d probably hit one eventually.

So if it is a mistake, or incompetence, then it?s the most meticulous, targeted, and dare I say, anal retentive incompetence I?ve seen.


Bill Gates said in an email:

One thing I find myself wondering about is whether we shouldn?t try to make the ?ACPI? extensions somehow Windows specific.

It seems unfortunate if we do this work and get our partners to do the work and the result is that Linux works great without having to do the work.

Maybe there is no way to avoid this problem but it does bother me.

Maybe we could define the API?s so that they work well with NT and not the others even if they are open.

Or maybe we could patent something related to this.


Maybe not a "conspiracy" in the "24" or CSI, but you may recall the saying "DOS isn't done till Lotus won't run"....Wordperfect going belly up because Office/Word ran better on Windows using undocumented OS calls and hooks......the Microsoft monopoly trial where they swore under oath that Internet Explorer had to be part of the operating system....(hence Netscape's demise).

Interesting that Asus is embracing Linux, as are other manufacturers....makes sense, for low cost hardware i.e 3-400$ laptop: not good for margins to have to pay Microsoft tax of 50-100$....

NXIL
 

tcsenter

Lifer
Sep 7, 2001
18,559
347
126
After looking through the disassembled BIOS for the last several hours, rebooting it, and tweaking it more, I?d say this is very intentional, I?ve found redundant checks to make sure it?s really running on Windows, regardless what the OS tells it it is, and then of course fatal errors that will kernel panic FreeBSD or Linux, scattered all over the place, even in the table path for Windows 9x, NT, 2000, XP, and Vista, and had to correct them (Well, at least divert them off into a segment of RAM I hope to god I?m sure about).
I thought I would give an update on the conclusion of this saga after a "real" programmer with Linux kernel and BIOS expertise delved into the matter.

It appears that almost every "problem" detailed by Ryan was in fact due to bugs in the Linux kernel, not Foxconn's BIOS. Foxconn's BIOS did have one trivial bug that was not central to any of the serious problems Ryan reported. Garrett tested the latest Linux release candidate on a Foxconn G33M board running the same "defective" Foxconn BIOS version. Other than the restart issue, no problems were noted or encountered.

The OS 'sniffing' code in Foxconn's BIOS is in reality completely incapable of detecting whether it is running any _OSI supporting Linux version released in the past four years, treating it identically to Windows XP, 2003, or Vista.

In response, Ryan dismisses Garrett's contribution as nothing more than a personal attack against him. Ever better, Ryan goes on to suggest that, instead of making poor little Ryan look like an idiot by exposing his understanding of code as barely rank amateur, Garrett's time and energies would be better spent helping Foxconn and AMI write better BIOS code, and getting the bugs fixed in Linux.


Cliffs:

- "Ryan" a.k.a "TheAlmightyCthulhu" accuses Foxconn of deliberately sabotaging Linux, presumably at the behest of Microsoft

- His claims are Digged and Slashdotted to death, even reported or blurbed uncritically by supposedly reputable tech-centric webzines

- Ryan becomes an instant celebrity, an angry mob grows behind him calling for boycotts of Foxconn, complaints to government agencies, investigations of Microsoft

- Foxconn responds as one might expect any company to under such negative publicity, it apologizes and pledges to fix the problems in a forth-coming BIOS

- A "real" coder with Linux kernel and BIOS expertise examines Ryan's analysis of Foxconn's BIOS, then weighs in on the merits

- Ryan is proven to be fantastically wrong on almost every count, dismisses Garrett's expert rebuttal as a personal attack

- Ryan's exposure as a complete idiot and Foxconn's exoneration receives 1/1000th as much publicity or attention
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Originally posted by: VirtualLarry
Originally posted by: toadeater
I don't think MS was doing anything malicious here, I think they were just caught being negligent. I wonder if they even bothered to test the board, or do they just hand out WHQL certificates to anyone who bribes them? You know, it's not like Nvidia and ATI's WHQL drivers have been bug-free, so what does WHQL mean anymore? It does not guarantee anything really.

According to the dissassembly, it appears that the ACPI code is apparently thus:
if (OS = Microsoft)
working_ACPI_table();
else if (OS = Linux)
subltely_broken_ACPI_table();

Btw, does anyone know if the Foxconn 780G mobo is afflicted with this issue? I was debating picking one up, they are $67 shipped at NewEgg.

It does have the issue too.

Also, these bios are bought straight from a company and then customized for the hardware. It likely had preset tables for different OSes (perhaps even working around bugs within windows) and foxconn never bothered to handle anything other than vista/xp.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |