public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Several problems on a toshiba S3000-X11
@ 2002-09-27 14:23 Éric Brunet
       [not found] ` <20020927142320.GB2821-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Éric Brunet @ 2002-09-27 14:23 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: mcelrath-/+vdk8Lzq6wBYXXUC76CrNADJCGDAxhI

[-- Attachment #1: Type: text/plain, Size: 4223 bytes --]

Hi !

I am using acpi-20020829 with a 2.4.20pre5 kernel on a toshiba satellite
3000-X11, with the custom DSDT made by Bruno Ducrot. The previous acpi
patch I used was acpi-20020503 (I think) with the native DSDT.
I also use the toshiba_3000 module by Bruno.

I have one big problem: my computer shuts down without warning. I have
also some minor problems, and I will begin with those.

	MINOR PROBLEMS
	==============

When I read the battery state for the first couple of times, the
/proc/acpi files claim that I have two batteries present, and that both
batteries have a charge of 2040 mAh (capacity is 4000 mAh). After a
couple of readings, I have the truth (only one battery and whatever
capacity I have left.) That's annoying, and it didn't happen with my
previous kernel. I don't now if it comes from the patched DSDT or from
the new version of the acpi patch.

When ACPI assigns interrupts at boot, I get
	ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 *10 11 12 14 15)
	ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 *10 11 12 14 15)
	ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *9 10 11 12 14 15)
	ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11 12 14 15)
Now I am __nearly__ sure that there was a version of the ACPI patch where
the interrupts were more evenly distributed. Did I dream that or was a
patch reverted ?

In order to have S1 working, I have to apply this patch (originally by
Bruno Ducrot)
----------------------------------------------------------------------------
--- drivers/acpi/hardware/hwsleep.c.orig        Sun Sep  1 16:54:05 2002
+++ drivers/acpi/hardware/hwsleep.c     Sun Sep  1 18:24:33 2002
@@ -269,6 +269,9 @@

        ACPI_FLUSH_CPU_CACHE ();

+       /* Disable BM arbitration */
+       acpi_set_register(ACPI_BITREG_ARB_DISABLE, 1, ACPI_MTX_DO_NOT_LOCK);
+
        status = acpi_hw_register_write (ACPI_MTX_LOCK, ACPI_REGISTER_PM1A_CONTROL, PM1Acontrol);
        if (ACPI_FAILURE (status)) {
                return_ACPI_STATUS (status);
@@ -309,6 +312,9 @@

        } while (!in_value);

+       /* Restore BM arbitration */
+       acpi_set_register(ACPI_BITREG_ARB_DISABLE, 0, ACPI_MTX_DO_NOT_LOCK);
+
        return_ACPI_STATUS (AE_OK);
 }
--------------------------------------------------------------------------------
(note that I have only tried vanilla acpi patch; acpi patch + this two
liners; and acpi patch + this two liners + patched DSDT.  Maybe S1 works
fine with acpi patch + patched DSDT __without__ this two liners. I will
check)

With this patch, when I come back from S1, the computer hangs if I try to
use DMA on the DVD player. Whereas, of course, DMA on the hard drive
works fine. (Maybe I should play with hdparm on the DVD after wake-up...)

		MAJOR PROBLEM
		=============
So the computer shuts down, without warning, while it is not particulary
hot, with nothing written in the logs, while the user was just using vim
in a xterm, at irregular times, and it can happen two or three times in
an afternoon.

That's a major nuisance. By the way, I can confirm that ext3 works very
nicely at recovering a filesystem.

I have an hypothesis; somehow I think there is something wrong in the
reading of the temperature. When I read the temperature, there are some
very unnatural pics; the computer was at 53 degree, then jumps 3 seconds
at 60 and comes back at 53. I believe that, some time to time, this
unnatural jump goes over the critical trippoint and the computer shuts
down in emergency.

The reading of temperatures was made with
while true; do cat /proc/toshiba3k/temperature | awk '{print $1}' >> t; sleep 1;done

I have attached a postscript file showing the result. Note the pics at
around 500 seconds, 800 seconds, etc. (My trip points are 48 and 53
degrees)

Now, what can cause this ? And, more important for me, is there a way to
desactivate emergency shutdown at critical temperature ? Or, better, make
the emergency shutdown occurs only if the __average__ temperature over,
say, the last 5 seconds is over some thresold ?

If you have any idea, I would love to hear it... Meanwhile, I will try
the latest patch.

Regards,

	Éric Brunet

[-- Attachment #2: temp.ps --]
[-- Type: application/postscript, Size: 23486 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: laptop turns itself off
@ 2002-07-31 15:46 Huw H
       [not found] ` <E17Zvfr-000N02-00-Fua/sgysUDkox3rIn2DAYQ@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Huw H @ 2002-07-31 15:46 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I seem to have the same trouble, with my laptop turning itself off randomly
without warning. I have a Toshiba Satellite 3000 (model PS302A-00Q5k) and still
use the former (20020517) patch against 2.4.18. In addition I have installed
Bruno's dsdt table for the 3000-601, which as far as I could tell has identical
specs (excepting a 1.13GHz max clock as opposed to 1GHz). I also use the tosh3k
module to set the fan to keep the laptop at between 45-50C.

Time to upgrade kernel and get someone to patch my dsdt propperly I guess.

Huw

<h.hawkins-keaFvQtjc6i7NGdpmJTKYQ@public.gmane.org>



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <20020710132039.B17998@draal.physics.wisc.edu>]

end of thread, other threads:[~2002-10-01 10:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-27 14:23 Several problems on a toshiba S3000-X11 Éric Brunet
     [not found] ` <20020927142320.GB2821-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
2002-09-27 15:45   ` Ducrot Bruno
     [not found]     ` <20020927154542.GH7904-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-09-30 15:50       ` Éric Brunet
     [not found]         ` <20020930155044.GA21015-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
2002-09-30 16:33           ` Bob McElrath
     [not found]             ` <20020930234303.GA6392@bender.fimaluka.org>
     [not found]               ` <20020930215142.GA413@bender.fimaluka.org>
     [not found]                 ` <20020930163324.GF25319-/+vdk8Lzq6wBYXXUC76CrNADJCGDAxhI@public.gmane.org>
     [not found]                   ` <20020930234303.GA6392-/NKw+Yvz+g6ASgUTbsq1wEB+6BGkLq7r@public.gmane.org>
     [not found]                     ` <20020930215142.GA413-/NKw+Yvz+g6ASgUTbsq1wEB+6BGkLq7r@public.gmane.org>
2002-10-01  3:00                       ` laptop turns itself off Bob McElrath
     [not found]                         ` <20021001030010.GG25319-/+vdk8Lzq6wBYXXUC76CrNADJCGDAxhI@public.gmane.org>
2002-10-01 10:06                           ` Ralf-P. Weinmann
2002-09-27 16:01   ` Several problems on a toshiba S3000-X11 Bob McElrath
2002-09-30  2:21   ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2002-07-31 15:46 laptop turns itself off Huw H
     [not found] ` <E17Zvfr-000N02-00-Fua/sgysUDkox3rIn2DAYQ@public.gmane.org>
2002-09-20 16:36   ` Bob McElrath
     [not found] <20020710132039.B17998@draal.physics.wisc.edu>
2002-07-23 18:33 ` [ACPI] " Éric Brunet
     [not found]   ` <20020723183320.GA25180-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
2002-07-23 20:17     ` Bob McElrath
     [not found]       ` <20020730080803.GA10077@lps.ens.fr>
     [not found]         ` <20020730080803.GA10077-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
2002-07-30 16:27           ` Bob McElrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox