Toshiba Libretto/Transmeta CPU based machine runs at 50% cpu performance all the time.

Bug #30272 reported by Ali Ross
16
Affects Status Importance Assigned to Milestone
toshset (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Hi.

  This issue has stayed with me into Dapper (which I am now testing). I thought I'd let you know about it now before Dapper goes to final build.

Essentially, I've tried to get in touch with the author of toshset to no avail, but the issue seems to be with the toshiba_acpi module in the kernel since breezy.

Sorry about the length of this post, but most of it is debugging that would just get asked of me anyway.

The laptop runs at around 400MHz, but it's supposed to be 800MHz. The toshset has a feature for fast or slow mode, depending upon how long you want the batteries to last. Problem is, this mode can't be set because it can't hook it's necessary (proc?) interface.

 Here is a bit of debugging (take note especially the following 2 lines
error when querying feature: CPU speed: FAILURE
error when querying feature: CPU sleep mode: FAILURE).

toshset -v -q gives:

machine id: 0xfc8b BIOS version: 1.40 SCI version: 200.196
toshset version: 1.70 Toshiba Model: Libretto L5
error when querying feature: battery save mode: FAILURE
error when querying feature: power source: FAILURE
HCI/SCI access mode: kernel LCD backlight: on
error when querying feature: select bay: FAILURE
error when querying feature: select bay lock: FAILURE
error when querying feature: IR port: FAILURE
error when querying feature: USB legacy mode: FAILURE
error when querying feature: USB FDD emulation mode: FAILURE
fan: off LAN controller: enabled
error when querying feature: sound logo: FAILURE
error when querying feature: startup logo: FAILURE
error when querying feature: HibInfo: BIOS size: FAILURE
error when querying feature: HibInfo: memory size: FAILURE
error when querying feature: HibInfo: VRAM size: FAILURE
error when querying feature: Hibernation LBA: FAILURE
Video out: internal: LCD flat panel: 1280x600, 18 bit TFT
error when querying feature: system beep: FAILURE
lcd brightness: bright lcd intensity: 2/7
error when querying feature: CPU speed: FAILURE
error when querying feature: CPU sleep mode: FAILURE
error when querying feature: Display stretch: FAILURE
error when querying feature: CPU cache: FAILURE
error when querying feature: cache policy: FAILURE
error when querying feature: speaker volume: FAILURE
error when querying feature: battery alarm: FAILURE
error when querying feature: panel alarm: FAILURE
error when querying feature: panel power: FAILURE
error when querying feature: hard disk auto-off time: FAILURE
error when querying feature: display auto-off time: FAILURE
error when querying feature: power-up mode: FAILURE
battery percent: 26% cooling method: performance
error when querying feature: power-up alarm: FAILURE
error when querying feature: auto-off time: FAILURE
error when querying feature: parallel port mode: FAILURE
error when querying feature: second battery: FAILURE
error when querying feature: Standby time: FAILURE
error when querying feature: Hibernation: FAILURE
error when querying feature: Pointer: FAILURE
boot method: floppy->CDROM->hard disk
...

 I note that /proc/acpi/toshiba contains only entries for fan, keys, lcd, version and video, probably explaining the above output.

I attempt to set it to 'fast' mode with the -cpu flag but I get the following error:

% toshset -cpu 1 -v
SciFeature:action: error setting CPU speed
        SciSet returned: FAILURE

This is the end of my kernel audit output when I insert toshiba_acpi manually (modprobe):

[4297632.326000] Toshiba System Managment Mode driver v1.11 26/9/2001
[4299557.707000] Toshiba System Managment Mode driver v1.11 26/9/2001
[4299565.835000] toshiba_acpi: Toshiba Laptop ACPI Extras unloaded
[4299571.654000] Toshiba System Managment Mode driver v1.11 26/9/2001
[4299640.786000] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.19a-dev
[4299640.788000] toshiba_acpi: HCI method: \_SB_.VALD.GHCI
[4299640.930000] toshiba_acpi: Toshiba hotkeys are sent as ACPI events
[4299640.930000] toshiba_acpi: ktoshkeyd will check 2 times per second
[4299641.302000] toshiba_acpi: Dropped 0 keys from the queue on startup

I know the machine is working fine speedwise because when it's in Windows the speed settings are set for performance, and it definitely feels about double the speed.

I am not the only Toshiba Libretto L series user running ubuntu out there, so i'm sure it's worth looking at this for a fix/update, Ubuntu is unusable on it now at Transmeta ~400MHz (feels like Intel 200MHz!).

Regards,

Ali Ross

Revision history for this message
Simon Law (sfllaw) wrote :

Hi Ali,

Does this still happen with modern Flights of Dapper?

There have been a couple of kernel revisions since you reported
your bug.

If not, could you please attach toshset and dmesg output to this
bug?

As well, information from an strace log of `toshset -v -q` would be
highly useful! Please follow the instructions at:
        https://wiki.ubuntu.com/Strace

Thanks.

Changed in toshset:
status: Unconfirmed → Needs Info
Revision history for this message
Ali Ross (gnu2tux) wrote : Re: [Bug 30272] Re: Toshiba Libretto/Transmeta CPU based machine runs at 50% cpu performance all the time.

Simon,

 Thanks for getting in touch.

I will fire up the Libretto and update to Flight 7 and let you know.

Kindest Regards,

Alistair Ross

On Monday 08 May 2006 22:26, Simon Law wrote:
> Hi Ali,
>
> Does this still happen with modern Flights of Dapper?
>
> There have been a couple of kernel revisions since you reported
> your bug.
>
> If not, could you please attach toshset and dmesg output to this
> bug?
>
> As well, information from an strace log of `toshset -v -q` would be
> highly useful! Please follow the instructions at:
> https://wiki.ubuntu.com/Strace
>
> Thanks.
>
> ** Changed in: toshset (Ubuntu)
> Status: Unconfirmed => Needs Info

--
Tune into the Ally Bally Show on Subcity Radio!

Sunday breakfast from 9am-11am at www.subcity.org
For more info, check out www.aliross.co.uk/radio

Revision history for this message
Ali Ross (gnu2tux) wrote :
Download full text (22.3 KiB)

Simon,

 Thanks for getting in touch.

I have just done a full update and it appears it is still an issue:

toshset shows "error when querying feature: CPU speed: FAILURE" and when
trying to set CPU speed of fast, I get this:

root /proc/acpi % toshset -cpu fast
SciFeature:action: error setting CPU speed
        SciSet returned: FAILURE

Output of TOSHSET and DMESG are attached.

If you require any further information, please do not hesitate to get back in
touch.

Kindest Regards,

Alistair Ross

root /proc/acpi % toshset -v -q

 machine id: 0xfc8b BIOS version: 1.40 SCI version: 247.132
 toshset version: 1.71 Toshiba Model: Libretto L5
error when querying feature: battery save mode: FAILURE
error when querying feature: power source: FAILURE
 HCI/SCI access mode: kernel LCD backlight: on
error when querying feature: select bay: FAILURE
error when querying feature: select bay lock: FAILURE
error when querying feature: IR port: FAILURE
error when querying feature: USB legacy mode: FAILURE
error when querying feature: USB FDD emulation mode: FAILURE
 fan: off LAN controller: enabled
error when querying feature: sound logo: FAILURE
error when querying feature: startup logo: FAILURE
error when querying feature: HibInfo: BIOS size: FAILURE
error when querying feature: HibInfo: memory size: FAILURE
error when querying feature: HibInfo: VRAM size: FAILURE
error when querying feature: Hibernation LBA: FAILURE
 Video out: internal: LCD flat panel: 1280x600, 18 bit TFT
error when querying feature: system beep: FAILURE
 lcd brightness: bright lcd intensity: 7/7
error when querying feature: CPU speed: FAILURE
error when querying feature: CPU sleep mode: FAILURE
error when querying feature: Display stretch: FAILURE
error when querying feature: CPU cache: FAILURE
error when querying feature: cache policy: FAILURE
error when querying feature: speaker volume: FAILURE
error when querying feature: battery alarm: FAILURE
error when querying feature: panel alarm: FAILURE
error when querying feature: panel power: FAILURE
error when querying feature: hard disk auto-off time: FAILURE
error when querying feature: display auto-off time: FAILURE
error when querying feature: power-up mode: FAILURE
error when querying feature: battery percent: FAILURE
error when querying feature: second battery: FAILURE
error when querying feature: power-up alarm: FAILURE
error when querying feature: auto-off time: FAILURE
error when querying feature: parallel port mode: FAILURE
error when querying feature: Standby time: FAILURE
error when querying feature: Hibernation: FAILURE
error when querying feature: Pointer: FAILURE
 cooling method: performance boot method: floppy->CDROM->hard disk
 wireless support: not present wireless switch: unavailable
Bluetooth unavailable
                                        user password: not registered
 supervisor password: not registered owner string: [ max length: 513]

On Monday 08 May 2006 22:26, Simon Law wrote:
> Hi Ali,
>
> Does this still happen with modern Flights of Dapper?
>
> There have been a couple of...

Revision history for this message
Simon Law (sfllaw) wrote :

Hi Ali,

Could you please run strace on `toshset -cpu fast`, as described
in https://wiki.ubuntu.com/Strace

Also, could you use Malone's attachment system? If you e-mail
directly in, it puts the attachment inline, which is rather difficult
to read.

Thanks!

Revision history for this message
Ali Ross (gnu2tux) wrote : dmesg output

Taken from system exhibiting the issue (Toshiba L5/080TNLN) with 800MHz crusoe cpu

Revision history for this message
Ali Ross (gnu2tux) wrote : toshset output

toshset -v -q (as root) on machine presenting issue

Revision history for this message
Ali Ross (gnu2tux) wrote : strace for toshset -cpu fast

output of toshset -cpu fast executed through strace

Revision history for this message
Ali Ross (gnu2tux) wrote : Re: [Bug 30272] Re: Toshiba Libretto/Transmeta CPU based machine runs at 50% cpu performance all the time.

Simon,

 No problem.

I've attached them to the issue in malone.

Kindest Regards,

Ali Ross

On Wednesday 10 May 2006 04:23, you wrote:

> Hi Ali,
>
> Could you please run strace on `toshset -cpu fast`, as described
> in https://wiki.ubuntu.com/Strace
>
> Also, could you use Malone's attachment system? If you e-mail
> directly in, it puts the attachment inline, which is rather difficult
> to read.
>
> Thanks!

Revision history for this message
Simon Law (sfllaw) wrote :

Interesting. toshset seems to be asking the kernel for something that fails.

Can you run:
$ lsmod | grep toshiba
for me and paste the output in your reply?

It should list:
toshiba
toshiba_acpi

If one of those is missing, try:
$ sudo modprobe toshiba 2>&1 | tee /tmp/modprobe.log
$ sudo modprobe toshiba_acpi 2>&1 | tee -a /tmp/modprobe.log

And attach /tmp/modprobe.log to this bug.

Thanks for your help.

Revision history for this message
Ali Ross (gnu2tux) wrote :

Simon,

ajross % lsmod |grep -i toshiba

toshiba_acpi 10940 0

so I try to modprobe toshiba:

root % modprobe toshiba
FATAL: Error inserting toshiba
(/lib/modules/2.6.15-22-386/kernel/drivers/char/toshiba.ko): Device or
resource busy

Please note that this is stock latest ubuntu kernel (2.6.15-22-386 PREEMPT).

Regards,

Ali Ross

On Thursday 11 May 2006 00:13, Simon Law wrote:
> Interesting. toshset seems to be asking the kernel for something that
> fails.
>
> Can you run:
> $ lsmod | grep toshiba
> for me and paste the output in your reply?
>
> It should list:
> toshiba
> toshiba_acpi
>
> If one of those is missing, try:
> $ sudo modprobe toshiba 2>&1 | tee /tmp/modprobe.log
> $ sudo modprobe toshiba_acpi 2>&1 | tee -a /tmp/modprobe.log
>
> And attach /tmp/modprobe.log to this bug.
>
> Thanks for your help.

Revision history for this message
Ali Ross (gnu2tux) wrote : modprobe for toshiba

modprobe for toshiba

Simon Law (sfllaw)
Changed in toshset:
status: Needs Info → Confirmed
Revision history for this message
royirby (roy-irby) wrote :

I had the same speed issues with 5.10 on a Fujitsu P2120 (crusoe 933mhz). Installed ok, but dreadfully slow.. to the point of giving up and switching back to windows. So, it's likely not so much an issue w/ Toshiba, but more likely an issue w/ the Transmeta cpu.

Revision history for this message
Ali Ross (gnu2tux) wrote :

Indeed,

 The issue is that the toshset driver cannot set the cpu speed to normal (100% cpu speed). This is likely because the toshiba modules are not loaded correctly (as identified by Simon Law). I think toshset -cpu fast fails because it tries to call a kernel call which simply doesn't exist due to the module not being inserted. Worse still, the module can't be inserted, and gives some error :(

Hopefully within a few kernel upgrades this issue can be resolved. Check back here to see progress and maybe you can switch back from Windows!

Regards,

Ali Ross

Revision history for this message
DanW (launchpad-daniel) wrote :

This is happening to me on Feisty, too, on my Tecra A2. I've tried the 386, the low-latency and the default kernels.

uname -a at present:

Linux dan-laptop 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Result from toshset:

~$ sudo toshset -cpu fast
SciFeature:action: error setting CPU speed
        SciSet returned: FAILURE
CPU speed: fast

Toshset strace attached.

Revision history for this message
DanW (launchpad-daniel) wrote :

Sorry, forgot to run that strace as root!

Correct one attached.

Revision history for this message
DanW (launchpad-daniel) wrote :

I have been having very similar trouble with my Toshiba Tecra A2 - Eventually, I discovered this thread:

http://www.tabletpcbuzz.com/forum/topic.asp?TOPIC_ID=14562&whichpage=9

A bootable CD with the pom200t150.IMA as the boot image (you can create this with the k3b tool) will allow you to

"I ran through Option #2 on the disk (Repair Initial Config Set). Then, I chose option #1 (Initial Configuration). This ran a series of config programs that ran fine on the Banias processor. However, when I put the Dothan in, it threw up an error. This error was received when running the file that sets up the CPU Table information. I believe it uses a file called CPINFTBL.BIN for the processor settings and writes them to the BIOS to tell the BIOS about the processor. However, I also believe that the CPINFTBL.BIN is processor-specific. The file I used is for Banias processors and I believe there is another CPINFTBL.BIN file out there for Dothan processors."

It is, i think, aimed at M200 tablet PCs but it worked okay on my Tecra. YMMV, no warranty is expressed or implied.

Obviously, if you haven't ever had the CPU or Motherboard replaced by Toshiba then the situation is not the same.

(cross-posted to bounty page)

Revision history for this message
LumpyCustard (orangelumpycustard) wrote :

This is an old bug... can this be closed or does it still apply?

Revision history for this message
Ali Ross (gnu2tux) wrote :

AFAIK the issue still applies. No fix has been made available.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Have you still this problem?

Revision history for this message
royirby (roy-irby) wrote : Re: [Bug 30272] Re: Toshiba Libretto/Transmeta CPU based machine runs at 50% cpu performance all the time.

Alas, I eventually gave up... I sold my Fujitsu P2000. I still have
a P2120, but it's filed away w/ other relics. I occasionally take it
out just to see if newer livecd distros will work on it, but install
times and performance are so slow that I grow impatient and put it
back in the drawer. Still seems to me that Win2000 was the best fit
OS for it, performance-wise.

Roy

On Thu, Sep 20, 2012 at 4:33 AM, Thomas Hotz <email address hidden> wrote:
> Have you still this problem?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/30272
>
> Title:
> Toshiba Libretto/Transmeta CPU based machine runs at 50% cpu
> performance all the time.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/toshset/+bug/30272/+subscriptions

Changed in toshset (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for toshset (Ubuntu) because there has been no activity for 60 days.]

Changed in toshset (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.