Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

MoBo Manufacturer Foxconn Refuses To Support Linux

Posted by kdawson on Fri Jul 25, 2008 08:19 AM
from the must-be-some-good-explanation dept.
Noodlenose notes a thread up on the Ubuntu forums, where a user is questioning the practices of hardware manufacturer Foxconn. The user describes how his new Foxconn motherboard caused his Linux install to freeze and fire off weird kernel errors. He disassembles the BIOS and concludes that a faulty DSDT table is responsible for the errors. Even though the user makes Foxconn aware of the problem, they refuse to correct it, as 'it doesn't support Linux' and is only 'Microsoft certified.' The user speculates darkly on Foxconn's motives. Read the forum, read the code, and come to your own conclusions. "I disassembled my BIOS to have a look around, and while I won't post the results here, I'll tell you what I did find. They have several different tables, a group for Windows XP and Vista, a group for 2000, a group for NT, Me, 95, 98, etc. that just errors out, and one for LINUX. The one for Linux points to a badly written table that does not correspond to the board's ACPI implementation.' The worst part is Foxconn's insistence that the product is ACPI compliant because their tables passed to Windows work, and that Microsoft gave the the magic WHQL certification."
+ -
story

Related Stories

[+] Technology: Foxconn Releases Test BIOS Fixing Linux Crashes 196 comments
Ryan1984 writes "Only a week after the bad press coverage regarding the Linux-related bugs in a number of motherboards released by Foxconn (which turned out to be the AMI BIOS that several board makers use), Foxconn is the first vendor out with a publicly released test patch that fixes the bulk of the problems, allowing kernel 2.6.26 to run well on the afflicted boards. The remaining issues appear to either be kernel bugs in builds earlier than 2.6.26, issues with the Intel chipset itself, or minor annoyances that Foxconn is still working to resolve. Foxconn representative Heart Zhang has posted on the Ubuntu forums (where the situation began), apologizing for the issues, thanking Foxconn customers and the community at-large for their feedback, and promising that Foxconn will take Linux support and testing seriously, going forward."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Zebra_X (13249) on Friday July 25 2008, @08:23AM (#24332653)

    Return it and buy from a manufacturer... no need to disassemble the BIOS, your time is worth more than that.

    • by Kamokazi (1080091) on Friday July 25 2008, @08:32AM (#24332783)
      Exactly. Vote for Linux support with your money. The problem is, there aren't nearly enough Linux users to make a dent they will notice. If it makes you feel any better, I bought a (crappy) Foxconn board once and won't be buying one again.
  • Workaround (Score:5, Informative)

    by eltoyoboyo (750015) on Friday July 25 2008, @08:24AM (#24332673) Journal
    It appears that within an hour there was a workaround posted on the same forum.
  • by Ikonoclasm (1139897) on Friday July 25 2008, @08:25AM (#24332685)
    If you're planning on running a Linux OS on your machine, don't use Foxconn. If they don't want customers, that's their business.
    • by Dorkmaster Flek (1013045) on Friday July 25 2008, @08:33AM (#24332809)
      Why is this modded Troll? That's exactly what you should do. I know when I'm building a machine in the future, I sure as hell won't be buying a Foxconn mobo (not that I was planning to anyway).
    • by houghi (78078) on Friday July 25 2008, @08:45AM (#24332935) Homepage

      If you do not run Linux, don't buy them as well. Could be that you want to run it in 3 years time and then you are forced to buy new hardware.

    • by Average (648) on Friday July 25 2008, @08:46AM (#24332947)

      Sure, caveat emptor. Mark it one star on Newegg. But there are huge problems with that.

      Foxconn makes bits for hundreds of rebranders, so it's harder than you think to avoid it. And, whose mobo is in yeah random OEM PC?

      Then there is the problem with evangelism. Joe comes to you and says "Vista sucks". You hand him a Hardy Heron disk? Or, do we ask him for a BIOS dump because Linux works with some Windows PCs, but has random reboots with others?

  • by A beautiful mind (821714) on Friday July 25 2008, @08:25AM (#24332687)
    ...Windows hardware back. Seriously, who is stupid enough today not to support linux?
  • by ScrewMaster (602015) on Friday July 25 2008, @08:25AM (#24332701)
    there is more than one motherboard manufacturer. Foxconn is more than welcome to take a FISS approach with regards to their customer base: the market will issue any required adjustments to their attitude.
  • by domatic (1128127) on Friday July 25 2008, @08:27AM (#24332731)

    In my workplace we run Windows, OS X, and Linux. I have the expectation of being able to use Linux on any x86 kit we buy. Absent an explanation or attitude change from this vendor, I won't recommend their kit here for Windows use either. That seems somewhat important so I'll repeat it:

    I will not buy Foxconn kit for Windows use if Linux compatibility is impaired.

  • Quick Fix (Score:5, Informative)

    by slashflood (697891) <flow.howflow@com> on Friday July 25 2008, @08:30AM (#24332761) Homepage Journal
    The title of this trick [howflow.com] is misleading. It should solve those problems by pretending to be Windows to the BIOS.
  • Par for the course. (Score:5, Interesting)

    by FellowConspirator (882908) on Friday July 25 2008, @08:38AM (#24332851)
    First, Foxconn's hardware isn't the only with DSDT errors. Every use a Dell? HP? Considering how sloppily lots of this BIOS code is written, it's a miracle anything works at all. These errors only mean that he's stuck using APM in place of ACPI. If the user wanted a decent motherboard, he'd have bought it from ASUS, Gigabyte, MSI, etc. It's not some conspiracy, it's a cheap motherboard vendor using a defective BIOS that doesn't give crap about it's customers. Really, how's that not normal?
  • by pieleric (917714) on Friday July 25 2008, @08:38AM (#24332855) Homepage

    Although this vendor seems definitely not trying to support Linux with it's BIOS, the hard truth is that it's not so easy even for those who try. For more information, there is currently a thread on the LKML disussing this [lkml.org] and how to improve the situation.

    In particular, latest kernels claim to be every versions of Windows at the same time, and not Linux! That's not easy to handle for the BIOS writer...

  • by Sir_Real (179104) on Friday July 25 2008, @08:44AM (#24332917)

    This is active sabotage.

    They haven't lost a customer, they've gained an enemy. This is an attack. Do not let them get away with it.

  • by Anonymous Coward on Friday July 25 2008, @08:46AM (#24332951)

    Here is most of the original article.
    The pesky junk filter meant I had to snip some of the code out - sorry.
    Posting AC for the usual reason(s).

    Foxconn deliberately sabotaging their BIOS to destroy Linux ACPI
    Edit: Please tell Foxconn what you think of their behavior:

    http://www.foxconnchannel.com/support/online.aspx [foxconnchannel.com]

    You need to put in an email, and then it will bring up a form, choose Complain/Suggest.

    Edit: Welcome Digg, Reddit, and Slashdot.

    http://digg.com/linux_unix/Foxconn_d..._destroy_Linux [digg.com]
    http://www.reddit.com/comments/6tcv8...their_bios_to/ [reddit.com]
    (Will add Slashdot when I know the final URL)
    ------------
    I disassembled my BIOS to have a look around, and while I won't post the results here,I'll tell you what I did find.

    They have several different tables, a group for Windws XP and Vista, a group for 2000, a group for NT, Me, 95, 98, etc. that just errors out, and one for LINUX.

    The one for Linux points to a badly written table that does not correspond to the board's ACPI implementation, causing weird kernel errors, strange system freezing, no suspend or hibernate, and other problems, using my modifications below, I've gotten it down to just crashing on the next reboot after having suspended, the horrible thing about disassembling any program is that you have no commenting, so it's hard to tell which does what, but I'll be damned if I'm going to buy a copy of Vista just to get the crashing caused by Foxconn's BIOS to stop, I am not going to be terrorized.

    -----
    How to fix:

    Get Intel's BIOS ACPI source compiler:

    sudo apt-get install iasl

    Dump your DSDT table:

    sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.dat

    Disassemble it:

    iasl -d dsdt.dat

    Open it in Gedit:

    gedit dsdt.dsl

    Fix Foxconn sabotage:

    Find, the section that starts out with

    Code:

    If (_OSI ("Windows 2000"))
    {
    Store (0x04, OSVR)
    }

    Go down til you get to the first

    Code:

    }
    Else
    {

    Past that you should see Linux alongside Windows NT, which is above another Else that leads to Windows Me.

    Should look like:

    Code:

    If (MCTH (_OS, "Linux"))

    {
    Store (0x3, OSVR)
    }

    Change it to:
    Code:

    If (_OSI ("Linux"))
    {
    Store (Zero, OSVR)
    }

    Copy the section, and remove it and the other characters (CAREFULLY PRESERVING SYNTAX!!!!)

    Then move the Linux section to right underneath Windows 2006 section.

    _Code removed to get past junk filter_

    So there you have it!

    • Re:Homework (Score:5, Insightful)

      by Anonymous Coward on Friday July 25 2008, @08:25AM (#24332699)

      Yeah, except for the part where the motherboard claims to be ACPI compliant when it really isn't. That's sort of false advertising.

    • Re:Homework (Score:5, Insightful)

      by hansraj (458504) * on Friday July 25 2008, @08:35AM (#24332827)

      If you follow the link in the story, you would see that the poster claims the following:

      1) Foxconn advertises its motherboard as ACPI compliant thus potentially misleading people into thinking that linux should be able to handle the board. The company does nothing to counter such possible misunderstandings. One could argue that Foxconn is not obliged to do anything of that sort but for customers it is not as simple as "doing homework" as you suggest. Foxconn doesn't say that things break on linux. They only say "works with windows" and "ACPI compliant". The only way to check is to buy and use (at least until this story).

      2) The BIOS actively looks for the OS and passes a modified table to linux. It does not even ask the OS to identify itself and go along with that identification. It rather keeps on having random checks to ensure it is running on windows. I can't think of any good reason why they need to do that unless they want to actively break things for linux.

      3) The poster smells something fishy in Foxconn's behavior. Right or wrong, I don't know. But if the poster is right in his suspicion (which s/he must believe), it would be a natural, rational and justified behavior to bitch and moan about it rather than just return the board for a refund. Society owes a lot to such "troublemakers".

      • Re:Homework (Score:5, Insightful)

        by pimpimpim (811140) on Friday July 25 2008, @08:47AM (#24332959)
        Have to agree with you here. This is a case of false advertising if it isn't acpi compliant (there is no 90% compliant, or compliant if you use this-or-that software, all that is just non-compliant). I don't know about the slashdot readers that answer with "so what, just return it", but when I am looking for new hardware, I am very happy if people like him figure out who is trying to screw me with false claims, so I can skip these manufacturers from my list.
    • Re:So what? (Score:5, Informative)

      by Anonymous Coward on Friday July 25 2008, @08:33AM (#24332795)

      The trouble here isn't that it doesn't support Linux, it's that the motherboard appears to be actively sabotaging Linux. That's a really weird thing to do and deserves investigation.

    • Re:So what? (Score:5, Insightful)

      by miffo.swe (547642) <daniel.solle@se> on Friday July 25 2008, @08:34AM (#24332817) Homepage Journal

      The problem is that Foxconn says its ACPI compliant but its not. It also looks as if they botched Linux by pure purpouse. Why on earth would they have a Linux section in the bios when they dont support it? Something is very smelly here thats for sure. I will keep miles away from Foxconn at my departments no matter if my systems are intended for Windows or Linux.

    • Re:So what? (Score:5, Insightful)

      by RAMMS+EIN (578166) on Friday July 25 2008, @08:42AM (#24332897) Homepage Journal

      No, actually.

      File this under having done the world a service by publishing their findings.

      Now we know that at least some Foxconn motherboards do not work with Linux, and Foxconn is not interested in doing anything about that. That's useful information.

      From other posts, I gather that the motherboard actually has a table specifically targeted at Linux, which supplies broken settings. So it's more than Foxconn simply not supporting Linux; they've actually gone and broken things.

      Finally, it seems there is already a workaround available. I guess Linux is willing to support Foxconn, even if Foxconn doesn't want it to. And, really, this is a case of "yay, open source!"

    • Re:So what? (Score:5, Interesting)

      by Anonymous Coward on Friday July 25 2008, @08:42AM (#24332903)

      Foxconn has no obligation to support

      They went out of their way and expended extra effort to prevent Linux from working on their system. This moved beyond "not supporting", to "breaking" hardware that should have functioned without any effort at all on foxconns part, using what was probably considerable effort on their part to detect what kernel was booting, then developing a fake ACPI table to show only when it detected linux.

      The interesting part is that a year or so back, there was an article here about how Microsoft floated a letter around manufacturers asking how to make ACPI harder for Linux to implement. Everyone asserted that we were just paranoid and the only reason ACPI was hard for Linux was because "Linux developers suck", but now it seems we know.

    • Re:Yay tinfoil hats! (Score:5, Informative)

      by FauxPasIII (75900) on Friday July 25 2008, @08:49AM (#24332985)

      > So let me get this straight. Some small motherboard manufacturer has flawed ACPI tables and
      > refuses to fix them, therefore they MUST out to sabotage Linux?

      Nope. Let's get you straightened out.

      The BIOS provides two sets of ACPI tables; one good, working and one which isn't even intended to work. It checks what OS string the kernel hands it when it boots. If Windows, it sends the good tables. If Linux, it sends the deliberately faulty ones.

      The more you know!