Re: ACPI and a Toshiba Tecra 8000

From: Andrew Thompson (andy_at_fud.org.nz)
Date: 09/22/03

  • Next message: Bruce Evans: "Re: -current brake ufs for -stable"
    Date: Mon, 22 Sep 2003 11:49:34 +1200
    To: Nate Lawson <nate@root.org>
    
    

    Nate Lawson wrote:
    > On Wed, 17 Sep 2003, Andrew Thompson wrote:
    >
    >>
    >>It has helped and the laptop is able to suspend with the serial cable
    >>attached (further than before). It now panics on the first resume with
    >>the following (gdb output at bottom).
    >>
    >>I think the serial cable is masking the problem as without it I can
    >>suspend/resume once and it only panics on the second resume. I guess I
    >>need the serail working to see that panic anyway.
    >
    >
    > You should do a quick grep through sys/dev/syscons for
    > "= sc->cur_scp->index" and replace them all with the above NULL check.
    > I'm interested if this will fix things.
    >

    Hi,

    I fixed the other null derefernce in sc_bell() and the laptop is now
    suspending with the serial console the same as without.

    Here is the output when I suspend the laptop (S3). After the first
    resume the laptop still works fine. When I suspend the laptop a second
    time no output is displayed but the laptop seems to suspend alright
    (according to the power led), but when it resumes it reboots straight
    away. Again no output on the serial.

    Is there more debugging that I can turn on?

    <suspend #1>
    ======== acpi_printcpu() debug dump ========
    gdt[0077:c04b8ce0] idt[0407:c04b9080] ldt[0028] tr[0020] efl[00000096]
    eax[00001000] ebx[c1234d00] ecx[00000000] edx[bfc00004]
    esi[00000000] edi[c09f53b0] ebp[c62ffaa8] esp[c62ffa70]
    cr0[8005003b] cr2[280b0b40] cr3[0205b000] cr4[00000091]
    cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]

    <resume #1>
    ======== acpi_printcpu() debug dump ========
    gdt[0077:c04b8ce0] idt[0407:c04b9080] ldt[0028] tr[0020] efl[00000002]
    eax[00000001] ebx[c1234d00] ecx[00008000] edx[c1286980]
    esi[00000000] edi[c09f53b0] ebp[c62ffaa8] esp[c62ffa70]
    cr0[8005003b] cr2[280b0b40] cr3[0205b000] cr4[00000091]
    cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
    pcib0: slot 4 INTA is routed to irq 11
    pcib0: slot 5 INTD is routed to irq 11
    pcib0: slot 9 INTA is routed to irq 11
    pcib0: slot 11 INTA is routed to irq 11
    pcib0: slot 11 INTB is routed to irq 11
    wakeup from sleeping state (slept 00:00:27)
    ata0: resetting devices ..
    acpi_acad0: Notify 0x80
    done
    ata1: resetting devices ..
    done
    acpi_cmbat0: battery initialization start
    acpi_cmbat0: battery initialization done, tried 1 times
    acpi_cmbat1: battery initialization start
    acpi_cmbat1: battery initialization failed, giving up

    <suspend #2 (no output)>
    <resume #2 (no output and reboot)>

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Bruce Evans: "Re: -current brake ufs for -stable"

    Relevant Pages

    • link up/link down on ndis0
      ... I'm running FreeBSD 5.2.1-RELEASE-p7 on a Centrino laptop and I'm ... <ACPI PCI bus> on pcib0 ... pcib0: slot 2 INTA is routed to irq 11 ... slot 29 INTA is routed to irq 11 ...
      (freebsd-current)
    • Re: Suspend bug
      ... I grabbed the following from dmesg when i tried to "suspend" the laptop. ... ADDRCONF: eth1: link becomes ready ... eth1: no IPv6 routers present ...
      (Fedora)
    • Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8
      ... The only way to get suspend working reasonably well is to first ... Ignore _BQC object when registering backlight device ... I tested with that patch and the problem persists, when the laptop ... Could it be an error I made while configuring the 2.6.25rc8 kernel? ...
      (Linux-Kernel)
    • Re: [PATCH] zero disk pages used by swsusp on resume
      ... >>Your laptop being stolen after resume is very much a corner case. ... I do usually suspend instead of shutdown. ... The key for dm-crypt setup is stored on an ide flash disk which isn't ... Now let's imagine the laptop gets stolen by an average thief which is ...
      (Linux-Kernel)
    • Re: [swsusp] encrypt suspend data for easy wiping
      ... >> suspend image hard. ... And if your box is up and running and an attacker gains ... very likely including the same IPSEC, dm_crypt, and ssh-agent keys as ... An attacker steals your unsuspended laptop. ...
      (Linux-Kernel)