Nate Lawson wrote: > Try the attached patch. OK, that makes the box suspend alright, but neither that nor any other box or laptop I've got can get out of suspend without locking up. If I revert just /sys/dev/acpica and /sys/i386/acpica to aug-01 both suspend and resume works (sortof, it does tend to panic later on). It starts failing around aug-05 and then detoriates from that on to the current state of locking up hard on resume. It also fails in the exact same way on non-ATA systems, so I think I'm out of the loop this time :) > > -Nate > > > ------------------------------------------------------------------------ > > Index: sys/i386/acpica/acpi_wakeup.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/acpica/acpi_wakeup.c,v > retrieving revision 1.37 > diff -u -r1.37 acpi_wakeup.c > --- sys/i386/acpica/acpi_wakeup.c 5 Aug 2004 06:29:12 -0000 1.37 > +++ sys/i386/acpica/acpi_wakeup.c 19 Aug 2004 01:01:40 -0000 > _at__at_ -189,7 +189,6 _at__at_ > AcpiSetFirmwareWakingVector(sc->acpi_wakephys); > > ef = read_eflags(); > - ACPI_DISABLE_IRQS(); > > /* Create Identity Mapping */ > if ((p = curproc) == NULL) > _at__at_ -209,6 +208,7 _at__at_ > ret_addr = 0; > if (acpi_savecpu()) { > /* Execute Sleep */ > + ACPI_DISABLE_IRQS(); > intr_suspend(); > > p_gdt = (struct region_descriptor *)Received on Thu Aug 19 2004 - 05:34:55 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC