ACPI Problem

7 respuestas [Último envío]
gobusto

I am a member!

Desconectado/a
se unió: 02/07/2010

After using the same laptop for just under a decade, I have finally upgraded to a shiny new machine: http://www.ebuyer.com/product/265219

However, it looks like Trisquel has a problem with ACPI. Although it works just fine when plugged in, strange things happen when running on battery power:

* The system randomly freezes.
* The system ALWAYS freezes when shutting down.
* The (wired) network connection stops working a minute of two after the machine is unplugged from the wall.

This happens with Trisquel 3.0, 4.0 and 4.5 - I haven't tried reproducing the issue with either Ubuntu or Debian yet. Windows Vista seems to work fine, so it (probably) isn't a hardware issue.

(I also tried using a really old version of OpenSolaris from 2008, but that didn't seem to recognise my ethernet hardware - and also failed to realise that it was running on battery power - so I didn't learn much from that. Still, it didn't appear to freeze up.)

Booting the Trisquel LiveCD with ACPI disabled appears to cause a crash, since all I get is a screen full of text. Presumably this is the Linux kernel breaking and filling my display with complaints about how silly my boot parameters are, since it looks like the text contains a list of function names(?).

The CPU is an i3-2310M: http://ark.intel.com/Product.aspx?id=52220

The BIOS is from American Megatrends, version 2.10.1208. I note that there have been problems with their systems before: http://en.wikipedia.org/wiki/AMIBIOS#Controversies

I can't provide much more info right now, but any help is appreciated.

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

Reading the logs of the kernel would certainly help. You can do so from the graphical utility accessible from the menu System/Administration. The logs being timestamped you should try to see what happened just before a freeze.

When you write that booting the kernel with the noacpi option causes "a crash", do you mean a "kernel panic"? It may be useful to actually understand what the system tells.

You may also want to scan your RAM for errors with the memtest86+ program (available in Trisquel's repository).

gobusto

I am a member!

Desconectado/a
se unió: 02/07/2010

Right, I'm back home now, so hopefully I can provide some more useful information.

I've just tried the latest Debian 6.0 AMD-64 Stable LiveCD and it doesn't have this problem, so this is either an Ubuntu/Trisquel issue OR a problem introduced in a newer version of something (Linux?).

gobusto

I am a member!

Desconectado/a
se unió: 02/07/2010

It's not happening with Ubuntu 11.04 either. More information as events warrant.

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

Take a look at the logs (as I write in my last message) if you want to understand the problem... and our help!

However, the fact that Ubuntu 11.04 works flawlessly is good news: the next Trisquel reusing its packages, you can expect it to work as well.

Since it is a hardware management problem, updating linux-libre on the current Trisquel should solve your problem too. In other terms, you need not wait for the next Trisquel. If you have installed the 32 bit version of Trisquel, it is pretty easy to follow the latest release of linux-libre:
1) add the repository:
$ sudo su
# echo deb http://linux-libre.fsfla.org/pub/linux-libre/planet planet main >> /etc/apt/sources.list

2) add its public key:
# wget http://linux-libre.fsfla.org/pub/linux-libre/planet/archive-key.asc -O - | apt-key add -
3) synchronize the index files (listing the newly available packages):
# apt-get update
4) upgrade:
# apt-get upgrade
5) reboot:
# reboot

With the 64 bit version of Trisquel, you need to compile the kernel...

gobusto

I am a member!

Desconectado/a
se unió: 02/07/2010

I'm currently using a 64-bit system, sadly.

I've just had the problem occur on Debian Testing (AMD-64), so it looks like the problem is simply more prevalent on Trisquel, for some reason.

Annoyingly, there doesn't seem to be anything mentioned in the logs.

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

Debian stable? If yes, notice that its kernel version is even older that that of Trisquel. The problem *may* be solved in more recent versions (like that of the last Ubuntu). That is why you may want to install the kernel of Debian testing: http://packages.debian.org/wheezy/amd64/linux-image-2.6.38-2-amd64/download (you may need, in turn, to install some of its dependences such as a newer linux-base; the package manager will tell you).

gobusto

I am a member!

Desconectado/a
se unió: 02/07/2010

This is Debian Testing, AMD-64.