Opened 16 years ago

Closed 11 years ago

#273 closed defect (unknown)

Suspend/resume, Toshiba A100 - Hangs on resume after suspend

Reported by: dpr11 Owned by:
Priority: major Milestone: Feedback pending
Component: ACPI PSD Version: 3.10
Keywords: Suspend Resume Cc:

Description

(Transferred from eComStation bug tracker - issue id 0002137)

Both Lan and WiFi? connections hang (pings never return) if the system issues a warning beep, eg adding file to trash, command line filename completion in 4OS2 etc. The connections never return until a reboot is made. I am working round the issue by disabling the warning beep in the control panel.

I have also noticed that if a USB mouse is attached when the network hangs, the mouse stops responding and a few minutes later the machine hangs, but the network problem occurs whether a mouse is attached or not.

I have no audio drivers installed as they weren't auto-detected. When I did install uniaud the sound was flaky, so I reinstalled the system without audio.

Is there some way I can force a new connection to be made? I've tried plugging and unplugging the LAN and reconnecting to the wireless point, but the connections don't come back until I reboot.

Thanks!

This might be useful -

Toshiba Laptop

  • Series: EQUIUM A100-338
  • Model No: PSAAQE-006008AV
  • Intel 82801G (ICH7 Family) High Def Audio - 8086:27D8
  • Intel Pro Wireless 3945 A/B/G Wireless Network - 8086:4222
  • Intel Pro/100 VE Wired Network - 8086:1092

Attachments (7)

acpi.log (13.2 KB) - added by dpr11 16 years ago.
pci.log (26.4 KB) - added by dpr11 16 years ago.
acpi-log-Toshiba-Equium-A100-338.ziq (70.2 KB) - added by dpr11 16 years ago.
hang_debug.JPG (80.7 KB) - added by dpr11 16 years ago.
hang_debug.2.JPG (80.7 KB) - added by dpr11 16 years ago.
trap_debug.JPG (67.6 KB) - added by dpr11 16 years ago.
acpi-log-Toshiba-Equium-A100-338-20090801.ziq (114.5 KB) - added by dpr11 15 years ago.

Download all attachments as: .zip

Change History (26)

comment:1 Changed 16 years ago by dpr11

Joachim Benjamins [Joachim] -

This sounds like ACPI issues to me. You could have a look at the ACPI documentation and try some different switches on the PSD=ACPI.PSD line in the config.sys.

Des RMVIEW /IRQ (issued on the commandline) show any interrupt numbers higher than 15? That would be an indication of properly installed ACPI. Also, you can have a look at tips & tricks at: http://en.ecomstation.ru/projects/acpitools/?action=faq []

[ecs8806] (reporter) -

e-co:

Genmac..

which protocols do you use? NETBEUI or Netbios over TCP/IP?

comment:2 Changed 16 years ago by dpr11

Thanks for replying. If this isn't the correct place for this discussion, please let me know!

(I'm using TCP/IP and NETBIOS over TCP/IP. Not NETBEUI.)

Here's the results of rmview /irq:

RMVIEW: Physical view

IRQ Level = 0 PCI Pin = NONE Flg = EXCLUSIVE TIMER_CH_0
IRQ Level = 1 PCI Pin = NONE Flg = EXCLUSIVE KBD_0 Keyboard Controller
IRQ Level = 2 PCI Pin = NONE Flg = EXCLUSIVE PIC_1
IRQ Level = 8 PCI Pin = NONE Flg = EXCLUSIVE RTC
IRQ Level = 9 PCI Pin = NONE Flg = EXCLUSIVE ACPI Interface
IRQ Level = 10 PCI Pin = B Flg = SHARED UHCI Compliant USB Host Controller
IRQ Level = 10 PCI Pin = D Flg = SHARED UHCI Compliant USB Host Controller
IRQ Level = 11 PCI Pin = A Flg = SHARED EHCI Compliant USB Host Controller
IRQ Level = 11 PCI Pin = A Flg = SHARED UHCI Compliant USB Host Controller
IRQ Level = 11 PCI Pin = A Flg = SHARED Intel 3945 a/b/g
IRQ Level = 11 PCI Pin = C Flg = SHARED UHCI Compliant USB Host Controller
IRQ Level = 12 PCI Pin = NONE Flg = SHARED AUX_0 PS/2 Auxiliary Device Controller
IRQ Level = 14 PCI Pin = A Flg = SHARED IDE_0 xATA Controller
IRQ Level = 15 PCI Pin = NONE Flg = EXCLUSIVE IDE_1 xATA Controller

Looks like a lot of devices are using IRQ11 including some of the USB controllers and the wireless LAN.

I'm not entirely sure what I'm doing, but I did some research in google and someone suggested using SPCIIRQ.SYS to move a device to a separate IRQ if devices are misbehaving on shared IRQs. I tried this with the Intel 3945 wireless device but the machine either hangs on boot or gives me an error: "PCI error 88: Set failed" depending on what spare IRQ number I use. I've run out of IRQs to try.

So I tried using the /APCI flag in config.sys - I think this is what you mean by being interrupt numbers above 15.

The machine boots, but I get neither support for a USB mouse or from either wireless or wired networks. The wireless network stays on amber and doesn't connect, but the wired lan seems to be connecting partially as it causes my network switch to flash, but the pings don't return.

rmview /irq now looks like this:

RMVIEW: Physical view

IRQ Level = 0 PCI Pin = NONE Flg = EXCLUSIVE TIMER_CH_0
IRQ Level = 1 PCI Pin = NONE Flg = EXCLUSIVE KBD_0 Keyboard Controller
IRQ Level = 2 PCI Pin = NONE Flg = EXCLUSIVE PIC_1
IRQ Level = 8 PCI Pin = NONE Flg = EXCLUSIVE RTC
IRQ Level = 9 PCI Pin = NONE Flg = EXCLUSIVE ACPI Interface
IRQ Level = 12 PCI Pin = NONE Flg = SHARED AUX_0 PS/2 Auxiliary Device Controller
IRQ Level = 14 PCI Pin = A Flg = SHARED IDE_0 xATA Controller
IRQ Level = 15 PCI Pin = NONE Flg = EXCLUSIVE IDE_1 xATA Controller
IRQ Level = 16 PCI Pin = D Flg = EXCLUSIVE UHCI Compliant USB Host Controller
IRQ Level = 18 PCI Pin = C Flg = EXCLUSIVE UHCI Compliant USB Host Controller
IRQ Level = 19 PCI Pin = B Flg = EXCLUSIVE UHCI Compliant USB Host Controller
IRQ Level = 23 PCI Pin = A Flg = EXCLUSIVE EHCI Compliant USB Host Controller

I have tried using combinations of /APIC /EIS and /CD in config.sys

I have also tried using the REMAP option in acpi.cfg to remap the wireless and wired networks to their original IRQs when using /APIC -

REMAP 18 TO 11
REMAP 20 TO 10

I'm not using the SMP kernel despite the machine having a core 2 duo processor as it hung on boot when I tried to enable it the first time using the ACPI wizard. I thought I'd get it working in single core mode first and then figure out how to get both cores working - maybe that was a bad idea?

Not at all sure what to try next ...

comment:3 Changed 16 years ago by pasha

REMAP, /APIC work only with SMP kernel. I see, that you have multicore CPU. Try use SMP kernel? You may need in /SMP /APIC or /SMP /APIC /CD.

comment:4 Changed 16 years ago by dpr11

Ahah! Now I'm getting somewhere.

Adding /SMP works great. The network connections stays up even after a system beep. Thanks!

Now to get my suspend/resume to work ... have much experimenting to do ...

comment:5 Changed 16 years ago by eco

Toshiba A-100 - try use /SMP /APIC or /SMP /APIC /CD

comment:6 Changed 16 years ago by dpr11

Thanks . Yes, have tried /SMP /APIC and /SMP /APIC /CD

Each time it suspends fine, but won't resume. I get -

/SMP /APIC - Trap 000c in OS2KRNL before desktop appears
/SMP /APIC /CD - Trap 0008 before desktop appears

I'm now in process of remming out USB, Network and mouse devices in config.sys to see if I get anywhere.

comment:7 Changed 16 years ago by eco

OK.. try suspend-resume.

btw,

there is report about Toshiba A-100: http://ecomstation.ru/hardware.php?action=item&id=1133

you can post additional report to this hardware database: http://ecomstation.ru/hardware.php?action=addnew&section=brand

Changed 16 years ago by dpr11

Attachment: acpi.log added

Changed 16 years ago by dpr11

Attachment: pci.log added

Changed 16 years ago by dpr11

Changed 16 years ago by dpr11

Attachment: hang_debug.JPG added

Changed 16 years ago by dpr11

Attachment: hang_debug.2.JPG added

Changed 16 years ago by dpr11

Attachment: trap_debug.JPG added

comment:8 Changed 16 years ago by dpr11

Summary: Toshiba - Network connections die when system warning beepsToshiba A100 - Hangs on resume after suspend

Thanks for the link - I have seen the report on the website. Unforunately it doesn't list the correct combination of acpi.psd flags that work. I'll post a new report for my model of laptop once I'm sure I have all the info. I can also add that wifi does work. 8-)

Some progress on my suspend-resume problem (I have renamed this ticket more appropriately).

I'm using psd=acpi.psd /SMP /APIC

Strangely, if I add /CD the machine won't hang on booting if a USB mouse is attached. If I leave off the /CD and later attach a mouse it works fine. I have not included /CD and did not attach a mouse in all the remaining tests.

I started removing wireless network, all networking (os2lan etc), mmos2, mouse drivers, usbehcd, all usb lines from config.sys to see what is causing the trap.

  • I get a various traps on resume - sometimes 0008, sometimes 0004 and sometimes 000c, sometimes no trap just a hang, if the wireless network is loaded - genm32w.os2 and helperw.exe.
  • I started removing items from config.sys in the order given above.
  • I get a blank grey screen on resume with a flashing cursor in top left each time I removed any of the above.
  • I ended up with none of the above loaded (having no keyboard or mouse access) but I used a batch file calling shutdown /S in the startup folder. I got the same grey screen with flashing cursor.

In this state I tried different extra flags for acpi.psd - /EIS, /VBE, /CD. Each gave the same result.

I tried all my tests with the acpi.psd 3.10 and apm 1.25.

I checked that I had the latest versions of danis506 - I upgraded from 1.8.4 (came with ECS 2.0 RC5) to 1.8.5 from hobbes, and also tried the /APM and /BAY switches to see if this would change anything. No - same result.

I tried the different settings for suspend - S1->S4. S1&S2=won't suspend, S3=won't resume, s4=poweroff

I moved os2logo aside and tried to use the debug acpi.psd 3.10 so that I could get some debugging output onscreen when the machine hung on resume, but using this acpi.psd the machine didn't suspend properly - the screen went to black but the power never went to suspend.

I downloaded the acpi21072008.zip experimental files from the betazone and managed to get the machine to suspend. On resume I get the following text on the grey screen:

LeaveSuspend? CPU0
Max LVT=6
Begin wakeup APP CPU
Send INI App Proc, save:FA21900

then a trap 0008 a few seconds later - a screenshot is attached trap_debug.jpg

The second time I tried this I didn't get a trap, but the machine hung with some debug ouput - a screenshot is attached hang_debug.jpg

I've also attached -

acpi-log-Toshiba-Equium-A100-338.ziq from the acpi logs collector.
acpi.log from acpica$
pci.log from pci.exe

Hope some of this will be useful in helping you with this model of laptop.

comment:9 Changed 16 years ago by eco

Summary: Toshiba A100 - Hangs on resume after suspendSuspend/resume, Toshiba A100 - Hangs on resume after suspend

comment:10 Changed 15 years ago by pasha

Suspend don't support in IBM kernel

comment:11 Changed 15 years ago by ecsnl

Dear customer,

A short reply. This is still in research and the statement "suspend don't possible in IBM kernel" is meant its currently not supported.

Best regards,

Roderick Klein Mensys

comment:12 Changed 15 years ago by Steven Levine

Keywords: Suspend Resume added
Milestone: Release version 3.15Release version 3.16
Owner: pasha deleted

comment:13 Changed 15 years ago by Steven Levine

Milestone: Release version 3.17Feedback pending

Please retry with acpi version 3.16 or cpi316-07-23.zip from BetaZone?.

comment:14 Changed 15 years ago by dpr11

I've retested this with cpi316-07-23.zip from the betazone and unfortunately it's still not working.

  • S1 - doesn't do anything
  • S2 - doesn't do anything
  • S3 - screen goes blank, fan increases and stays like this until I force a power off
  • S4 - screen goes blank, fan increases and stays like this until I force a power off

So before with version 3.10 it was suspending but not resuming, now with 3.16 it is not suspending either.

I've attached a new .ziq file using the log collector - acpi-log-Toshiba-Equium-A100-338-20090801.ziq

By the way, do I have to do anything with the os2krnl file that is included in the zip file?

Hope this helps.

comment:15 Changed 15 years ago by pasha

can you rem usbuhcd.sys and try again?

comment:16 Changed 15 years ago by dpr11

The config.sys now looks like this:

REM [ Base Device Drivers ]
BASEDEV=IBMKBD.SYS
BASEDEV=TIMER0.SYS
BASEDEV=PRINT01.SYS
BASEDEV=CHKDSK.SYS
BASEDEV=USBEHCD.SYS
rem BASEDEV=USBUHCD.SYS
rem BASEDEV=USBUHCD.SYS
rem BASEDEV=USBUHCD.SYS
rem BASEDEV=USBUHCD.SYS
BASEDEV=USBD.SYS
BASEDEV=USBHID.SYS
BASEDEV=CADH.SYS
BASEDEV=IBM1FLPY.ADD
REM BASEDEV=IBM2FLPY.ADD
BASEDEV=DANIS506.ADD /!BIOS
BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:1[[BR]] BASEDEV=DANIATAP.FLT
BASEDEV=OS2DASD.DMD
BASEDEV=OS2LVM.DMD

This change didn't make a difference to how the laptop behaved with all 4 sleep states, but it did mean I couldn't use an external USB mouse.

If I removed the line usbehcd.sys it hung completely on booting.

comment:17 Changed 15 years ago by Steven Levine

Milestone: Feedback pendingRelease version 3.17

comment:18 Changed 12 years ago by David Azarewicz

Milestone: Release version 3.19Feedback pending

Please try the current version.

comment:19 Changed 11 years ago by David Azarewicz

Resolution: unknown
Status: newclosed

No response from reporter. Ticket is very old.

Note: See TracTickets for help on using tickets.