Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-14 Thread Richard Fish
Ian K wrote:

>>
>> Some of the other things that I have read or can think of that might
>> effect the fans would be:
>>
>> 1. In dual boot system with Windows, warm or cold restarts from Windows
>> to Linux can affect whether the fans spin up.
>>
>>
> What would you recommend along those lines?


Why, my Standard Operating Procedure of course!


 (Start)
|
 [ Try Something ]
|
< Problem Fixed? >  <-
/   \|
   Y N   |
  /   \  |
   (Quit)   [Try Something Else]

;->

Seriously, I've seen posts that:

1. Booting into Windows and letting it run for a while, then
warm-rebooting into linux, lets the fans work.
2. or also, that #1 makes things worse in Linux; That things work best
with a cold boot into Linux.


>
> On the topic of ACPI, I found this post on LinuxQuestions. I post as
> omega21
> there. The thread is in the SuSe Forum, but I doubt it matters too much.
> What do you make of it?
>
> http://www.linuxquestions.org/questions/showthread.php?s=&threadid=288588
>

Looks like the A65 and A70 laptops have serious problems with fan
control, reboots, and static discharge issuesas far as what I make
of it...well, maybe the problem with my Sager 5680 of cracking plastic
around the hinges of that requires me to continually repair/glue the
thing together isn't such a bad problem after all!  (Sorry, I couldn't
resist)

> As well, someone else on LQ advised trying APM, instead of ACPI(?). Im not
> sure if its a good idea or not.
>

I say go for it.  ACPI isn't doing much for youdoesn't even know the
difference between battery power and AC!

You will probably want to configure your kernel with both APM and ACPI
support, then you can switch between them by adding the appropriate
"apm=off" or "acpi=off" entries to the kernel command line.

> Lastly, I found another project that packs Toshiba features into the
> kernel.
> Im not sure if I should try it though.
>
> http://sourceforge.net/projects/omke/
>

Project seems nearly dead.  Only 5 posts (including yours) between the
two forums this year.  And the last release of anything was in
Februrary, which doesn't list anything but an updated Makefile and a
change to some documentation as features

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-13 Thread Ian K
Richard Fish wrote:

>Ian K wrote:
>
>  
>
>>Heres the bad news.. I turned my laptop on today, and the fans didn't
>>come on like
>>they did before, and within five minutes and 1 compile, the laptop was off.
>>
>> 
>>
>>
>>
>
>Ok, so you defintely have some kind of problem with your fans.  Did you
>follow the cleaning instructions that others provided?  Maybe they are
>just too gummed up to spin up reliably?
>  
>
The strange thing is though, they do work fine under Windows.
Im just Guessing that Linux cant activate them.

>Also, does anyone else here have the same model laptop that can confirm
>that the ACPI stuff looks right??  I mean, not even a thermal sensor??
>That seems weird!
>
>Some of the other things that I have read or can think of that might
>effect the fans would be:
>
>1. In dual boot system with Windows, warm or cold restarts from Windows
>to Linux can affect whether the fans spin up.
>  
>
What would you recommend along those lines?

>2. Firmware (BIOS) updates.  (See Sager 9880 and 9860 and "stuck fans"!!)
>  
>
I tried that, the BIOS came updated to the most recent version.
I should point out its a Phoenix BIOS too, so the toshiba-utils does
not work on my system.

>3. Whether you are running on AC or battery.
>  
>
Always AC, I never run off of a battery if I can help it.

>
>  
>
>>I get:
>>
>>CONFIG_ACPI=y
>> 
>>
>>
>>
>
>Looks sane to me
>
>
>  
>
>>Jul 12 16:45:03 Avalon ACPI: AC Adapter [ACAD] (off-line)
>>Jul 12 16:45:03 Avalon ACPI: Battery Slot [BAT1] (battery present)
>> 
>>
>>
>>
>
>Do you get better results if you start with the AC power connected? 
>  
>
The strange thing is, it was connected. That was a detection error
in th log.

>What if you do a truly cold restart? (remove the battery, unplug then
>connect the AC, and then power up).
>  
>
I will try that.

On the topic of ACPI, I found this post on LinuxQuestions. I post as omega21
there. The thread is in the SuSe Forum, but I doubt it matters too much.
What do you make of it?

http://www.linuxquestions.org/questions/showthread.php?s=&threadid=288588

As well, someone else on LQ advised trying APM, instead of ACPI(?). Im not
sure if its a good idea or not.

Lastly, I found another project that packs Toshiba features into the kernel.
Im not sure if I should try it though.

http://sourceforge.net/projects/omke/

Cheers,
Ian

PS>> I hope we can solve this. I forgot how icky Windows XP is. ;)

>-Richard
>
>  
>

begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: "PentaQuad"=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-13 Thread Richard Fish
Ian K wrote:

>Heres the bad news.. I turned my laptop on today, and the fans didn't
>come on like
>they did before, and within five minutes and 1 compile, the laptop was off.
>
>  
>

Ok, so you defintely have some kind of problem with your fans.  Did you
follow the cleaning instructions that others provided?  Maybe they are
just too gummed up to spin up reliably?

Also, does anyone else here have the same model laptop that can confirm
that the ACPI stuff looks right??  I mean, not even a thermal sensor??
That seems weird!

Some of the other things that I have read or can think of that might
effect the fans would be:

1. In dual boot system with Windows, warm or cold restarts from Windows
to Linux can affect whether the fans spin up.

2. Firmware (BIOS) updates.  (See Sager 9880 and 9860 and "stuck fans"!!)

3. Whether you are running on AC or battery.


>I get:
>
>CONFIG_ACPI=y
>  
>

Looks sane to me


>Jul 12 16:45:03 Avalon ACPI: AC Adapter [ACAD] (off-line)
>Jul 12 16:45:03 Avalon ACPI: Battery Slot [BAT1] (battery present)
>  
>

Do you get better results if you start with the AC power connected? 
What if you do a truly cold restart? (remove the battery, unplug then
connect the AC, and then power up).

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-12 Thread Ian K
Richard Fish wrote:

>Ian K wrote:
>
>  
>
>>>Probably not KDE, but possibly X itself.  Maybe it isn't the CPU, but
>>>the GPU that is overheating.
>>>
>>>The radeon driver has a "DynamicClocks" setting (man radeon).  Do you
>>>have this option in your xorg.conf file? 
>>>
>>>
>>>   
>>>
>>>  
>>>
>>Nope, but after setting it to 'true' (and restarting my computer)
>>I notice that my laptop cooling fans are on (probably about mid-speed)
>>*constantly*. I'm looking over, and seeing my computer idling at
>>0% CPU usage. Its fans are blasting cool air through it, and its running
>>a lot less hot. Looks like you solved the problem. Heck, it doesn't matter
>>if its the CPU or GPU warming up too much, the whole system is on
>>at full blast after KDE is started. Its AWESOME! :)
>>
>>I will let you know if I have further problems.
>>
>> 
>>
>>
>>
>
>I seem to recall some kind of kernel problem with ACPI and fans not
>turning onI can't remember the details though, and I didn't have
>this problem myself.
>
>Now, why setting DynamicClocks in the xorg.conf file would turn your
>fans on, I cannot possibly comprehend!!!
>  
>
Heres the bad news.. I turned my laptop on today, and the fans didn't
come on like
they did before, and within five minutes and 1 compile, the laptop was off.

>But, I'm glad it's working.
>
>  
>
>>I do, but the directory "structure(?)" ends at thermal_zone. There
>>is nothing in it.
>>
>> 
>>
>>
>>
>Interesting...maybe we should double check your ACPI configuration
>options.  I have:
>
>carcharias linux # grep ^CONFIG.*ACPI /usr/src/linux/.config
>CONFIG_ACPI=y
>CONFIG_ACPI_BOOT=y
>CONFIG_ACPI_INTERPRETER=y
>CONFIG_ACPI_SLEEP=y
>CONFIG_ACPI_SLEEP_PROC_FS=y
>CONFIG_ACPI_AC=y
>CONFIG_ACPI_BATTERY=y
>CONFIG_ACPI_BUTTON=y
>CONFIG_ACPI_VIDEO=y
>CONFIG_ACPI_FAN=y
>CONFIG_ACPI_PROCESSOR=y
>CONFIG_ACPI_THERMAL=y
>CONFIG_ACPI_BLACKLIST_YEAR=0
>CONFIG_ACPI_BUS=y
>CONFIG_ACPI_EC=y
>CONFIG_ACPI_POWER=y
>CONFIG_ACPI_PCI=y
>CONFIG_ACPI_SYSTEM=y
>  
>
I get:

CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_HOTKEY=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_PNPACPI=y

>And during bootup, I get the following in /var/log/messages:
>
>Jul 11 07:20:11 carcharias ACPI: AC Adapter [ADP0] (on-line)
>Jul 11 07:20:11 carcharias ACPI: Battery Slot [BAT0] (battery present)
>Jul 11 07:20:11 carcharias ACPI: Battery Slot [BAT1] (battery absent)
>Jul 11 07:20:11 carcharias ACPI: Lid Switch [LID]
>Jul 11 07:20:11 carcharias ACPI: Sleep Button (CM) [SLPB]
>Jul 11 07:20:11 carcharias ACPI: Power Button (CM) [PWRB]
>Jul 11 07:20:11 carcharias ACPI: Processor [CPU0] (supports 8 throttling
>states)
>Jul 11 07:20:11 carcharias ACPI: Processor [CPU1] (supports 8 throttling
>states)
>Jul 11 07:20:11 carcharias ACPI: Thermal Zone [THM0] (52 C)
>
>
>Do you get anything similar?
>
>  
>
Here is my boot log, Im sorry its so long, I dont know what we are
looking for.
[OT] No, I didn't name my computer after an aspect of Longhorn. I like
King Arthur. Plus, its a cool name. ;) [/OT]

Jul 12 16:45:03 Avalon ACPI: RSDP (v000
PTLTD ) @ 0x000f6b40
Jul 12 16:45:03 Avalon ACPI: RSDT (v001 PTLTDRSDT   0x0604  LTP
0x) @ 0x1bf75dd2
Jul 12 16:45:03 Avalon ACPI: FADT (v001 TOSCPL Chinook  0x0604 ATI 
0x0003) @ 0x1bf7af24
Jul 12 16:45:03 Avalon ACPI: MADT (v001 PTLTDAPIC   0x0604  LTP
0x) @ 0x1bf7af98
Jul 12 16:45:03 Avalon ACPI: SSDT (v001  PmRefCpuPm 0x3000 INTL
0x20030224) @ 0x1bf75e02
Jul 12 16:45:03 Avalon ACPI: DSDT (v001 TOSCPLSB200 0x0604 MSFT
0x010e) @ 0x
Jul 12 16:45:03 Avalon ACPI: PM-Timer IO Port: 0x8008
Jul 12 16:45:03 Avalon ACPI: Local APIC address 0xfee0
Jul 12 16:45:03 Avalon ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Jul 12 16:45:03 Avalon ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Jul 12 16:45:03 Avalon ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
Jul 12 16:45:03 Avalon ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Jul 12 16:45:03 Avalon ACPI: IOAPIC (id[0x02] address[0xfec0]
gsi_base[0])
Jul 12 16:45:03 Avalon ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2
high edge)
Jul 12 16:45:03 Avalon ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21
low level)
Jul 12 16:45:03 Avalon ACPI: IRQ0 used by override.
Jul 12 16:45:03 Avalon ACPI: IRQ2 used by override.
Jul 12 16:45:03 Avalon Using ACPI (MADT) for SMP configuration information
Jul 12 16:45:03 Avalon ACPI: bus type pci registered
Jul 12 16:45:03 Avalon ACPI: Subsystem revision 20050408
Jul 12 16:45:03 Avalon ACPI: Interpreter enabled
Jul 12 16:45:03 Avalon ACPI: Using IOAPIC for interrupt routing
Jul 12 16:45:03 Avalon ACPI: PCI Root Bridge [PCI0] (:00)
Jul 12 16:45:03 Avalon ACPI: 

Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-11 Thread Richard Fish
Ian K wrote:

>
>>Probably not KDE, but possibly X itself.  Maybe it isn't the CPU, but
>>the GPU that is overheating.
>>
>>The radeon driver has a "DynamicClocks" setting (man radeon).  Do you
>>have this option in your xorg.conf file? 
>> 
>>
>>
>>
>Nope, but after setting it to 'true' (and restarting my computer)
>I notice that my laptop cooling fans are on (probably about mid-speed)
>*constantly*. I'm looking over, and seeing my computer idling at
>0% CPU usage. Its fans are blasting cool air through it, and its running
>a lot less hot. Looks like you solved the problem. Heck, it doesn't matter
>if its the CPU or GPU warming up too much, the whole system is on
>at full blast after KDE is started. Its AWESOME! :)
>
>I will let you know if I have further problems.
>
>  
>

I seem to recall some kind of kernel problem with ACPI and fans not
turning onI can't remember the details though, and I didn't have
this problem myself.

Now, why setting DynamicClocks in the xorg.conf file would turn your
fans on, I cannot possibly comprehend!!!

But, I'm glad it's working.

>I do, but the directory "structure(?)" ends at thermal_zone. There
>is nothing in it.
>
>  
>
Interesting...maybe we should double check your ACPI configuration
options.  I have:

carcharias linux # grep ^CONFIG.*ACPI /usr/src/linux/.config
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y

And during bootup, I get the following in /var/log/messages:

Jul 11 07:20:11 carcharias ACPI: AC Adapter [ADP0] (on-line)
Jul 11 07:20:11 carcharias ACPI: Battery Slot [BAT0] (battery present)
Jul 11 07:20:11 carcharias ACPI: Battery Slot [BAT1] (battery absent)
Jul 11 07:20:11 carcharias ACPI: Lid Switch [LID]
Jul 11 07:20:11 carcharias ACPI: Sleep Button (CM) [SLPB]
Jul 11 07:20:11 carcharias ACPI: Power Button (CM) [PWRB]
Jul 11 07:20:11 carcharias ACPI: Processor [CPU0] (supports 8 throttling
states)
Jul 11 07:20:11 carcharias ACPI: Processor [CPU1] (supports 8 throttling
states)
Jul 11 07:20:11 carcharias ACPI: Thermal Zone [THM0] (52 C)


Do you get anything similar?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-11 Thread Ian K
Richard Fish wrote:

>Ian K wrote:
>
>  
>
>>Oh yes, I should also note that this seems to only happen in KDE,
>>not XFCE or FluxBox. I perosnally dont care for GNOME so I haven't
>>tried it. But I did notice that when I briefly had Ubuntu on this laptop,
>>I did not have these issues. Is KDE the culprit?
>> 
>>
>>
>>
>
>Probably not KDE, but possibly X itself.  Maybe it isn't the CPU, but
>the GPU that is overheating.
>
>The radeon driver has a "DynamicClocks" setting (man radeon).  Do you
>have this option in your xorg.conf file? 
>  
>
Nope, but after setting it to 'true' (and restarting my computer)
I notice that my laptop cooling fans are on (probably about mid-speed)
*constantly*. I'm looking over, and seeing my computer idling at
0% CPU usage. Its fans are blasting cool air through it, and its running
a lot less hot. Looks like you solved the problem. Heck, it doesn't matter
if its the CPU or GPU warming up too much, the whole system is on
at full blast after KDE is started. Its AWESOME! :)

I will let you know if I have further problems.

>  
>
>>PS>> With those temperatures, I do have all available options under
>>ACPI enabled, however, GKrellm2 says in the info tab that no such
>>sensors were found. I am also on Kernel 2.6.13-rc1-mm1. Is that
>>too bleeding edge? :)
>> 
>>
>>
>>
>
>Do you have /proc/acpi/thermal_zone/THM*/temperature?  If so, just do:
>  
>
I do, but the directory "structure(?)" ends at thermal_zone. There
is nothing in it.

>while sleep 2 ; do clear ; cat /proc/acpi/thermal_zone/THM*/temperature;
>done
>
>Again, did you check /var/log/messages to see if anything interesting
>shows up there.  If you have Machine Check Exception options in your
>kernel, many overheating, fan, or voltage problems should get reported
>there.
>
>-Richard
>
>  
>
Thank you so much!
All the best,
Ian
begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: "PentaQuad"=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-10 Thread Richard Fish
Ian K wrote:

>Oh yes, I should also note that this seems to only happen in KDE,
>not XFCE or FluxBox. I perosnally dont care for GNOME so I haven't
>tried it. But I did notice that when I briefly had Ubuntu on this laptop,
>I did not have these issues. Is KDE the culprit?
>  
>

Probably not KDE, but possibly X itself.  Maybe it isn't the CPU, but
the GPU that is overheating.

The radeon driver has a "DynamicClocks" setting (man radeon).  Do you
have this option in your xorg.conf file? 

>PS>> With those temperatures, I do have all available options under
>ACPI enabled, however, GKrellm2 says in the info tab that no such
>sensors were found. I am also on Kernel 2.6.13-rc1-mm1. Is that
>too bleeding edge? :)
>  
>

Do you have /proc/acpi/thermal_zone/THM*/temperature?  If so, just do:

while sleep 2 ; do clear ; cat /proc/acpi/thermal_zone/THM*/temperature;
done

Again, did you check /var/log/messages to see if anything interesting
shows up there.  If you have Machine Check Exception options in your
kernel, many overheating, fan, or voltage problems should get reported
there.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-10 Thread Ian K
James wrote:

>Ian K  yahoo.ca> writes:
>
>  
>
>>Hi there.
>>My new laptop (Toshiba A70) is seriously weirding me out.
>>It seems to be turning off (randomly?) while in KDE. I cannot
>>distinguish any patterns uptime-wise, nor is it an actual power
>>failure. 
>>
>>
>
>I just had this idetical problem with a Clevo (2.8GHz) p4 portable,
>with a 2.6.11-gento-r11 kernel.
>
>I built a new kernel on 2.6.12-gentoo-r4 and the problem has disappeared.
>
>I'm too busy to look at the diffs between the .config files, but, if
>you want them, I'll send them to you. I'm quite certain it was something
>in the kernel, acpi would be my guess. Building a new kernel, and 
>selecting everything from scratch did the trick. The weird thing is 
>I run 2.6.11-gentoo-r11 on several other machines, and had no problem.
>
>
>James
>
>
>
>  
>
Oh yes, I should also note that this seems to only happen in KDE,
not XFCE or FluxBox. I perosnally dont care for GNOME so I haven't
tried it. But I did notice that when I briefly had Ubuntu on this laptop,
I did not have these issues. Is KDE the culprit?
Thanks!

PS>> With those temperatures, I do have all available options under
ACPI enabled, however, GKrellm2 says in the info tab that no such
sensors were found. I am also on Kernel 2.6.13-rc1-mm1. Is that
too bleeding edge? :)
begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: "PentaQuad"=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



[gentoo-user] Re: My laptop is freaking me out.

2005-07-10 Thread James
Ian K  yahoo.ca> writes:

> 
> Hi there.
> My new laptop (Toshiba A70) is seriously weirding me out.
> It seems to be turning off (randomly?) while in KDE. I cannot
> distinguish any patterns uptime-wise, nor is it an actual power
> failure. 

I just had this idetical problem with a Clevo (2.8GHz) p4 portable,
with a 2.6.11-gento-r11 kernel.

I built a new kernel on 2.6.12-gentoo-r4 and the problem has disappeared.

I'm too busy to look at the diffs between the .config files, but, if
you want them, I'll send them to you. I'm quite certain it was something
in the kernel, acpi would be my guess. Building a new kernel, and 
selecting everything from scratch did the trick. The weird thing is 
I run 2.6.11-gentoo-r11 on several other machines, and had no problem.


James



-- 
gentoo-user@gentoo.org mailing list