Errors encountered when performing hibernate / suspend

Garrett Cooper yanefbsd at gmail.com
Sun May 30 06:34:40 UTC 2010


2010/5/29 Wei Yang Tan <hallucinator7 at hotmail.com>:
>
>> Date: Sat, 29 May 2010 21:46:34 -0700
>> Subject: Re: Errors encountered when performing hibernate / suspend
>> From: yanefbsd at gmail.com
>> To: hallucinator7 at hotmail.com
>> CC: freebsd-acpi at freebsd.org
>>
>> 2010/5/29 Wei Yang Tan <hallucinator7 at hotmail.com>:
>> >
>> >> From: hallucinator7 at hotmail.com
>> >> To: freebsd-acpi at freebsd.org
>> >> Date: Thu, 13 May 2010 21:56:20 +0800
>> >> Subject: Errors encountered when performing hibernate / suspend
>> >>
>> >>
>> >> Hi!
>> >>
>> >>
>> >> First, thank you very much for your help. I am very new to FreeBSD, so
>> >> do bear with me for a while. Anyway, the problem is as follows:
>> >>
>> >>
>> >> Whenever I tried to hibernate, it will not be successful and I get the
>> >> following error at my ~/.xession-error file:
>> >>
>> >>
>> >> ** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
>> >> the computer.
>> >> ** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
>> >> the computer.
>> >>
>> >> ** (xfce4-session:1124): WARNING **: xfsm-shutdown-helper.c:234: Failed
>> >> to contact HAL: No back-end for your operating system
>> >>
>> >>
>> >>
>> >> When I tried to suspend, it will not be successful and I will get the
>> >> error message at my ~/.xession-error file:
>> >>
>> >>
>> >> ** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
>> >> the computer.
>> >> ** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
>> >> the computer.
>> >> thunar-volman: No property info.capabilities on device with id
>> >> /org/freedesktop/Hal/devices/usb_device_45e_83_noserial.
>> >>
>> >>
>> >>
>> >> I read the Handbook and I thought it may help by trying out the command
>> >> "acpiconf -s1". Of course it is not successful and the error message ar
>> >> ~/.xsession-error is:
>> >>
>> >>
>> >> ** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
>> >> the computer.
>> >> ** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
>> >> the computer.
>> >> thunar-volman: No property info.capabilities on device with id
>> >> /org/freedesktop/Hal/devices/usb_device_45e_83_noserial.
>> >>
>> >>
>> >>
>> >>
>> >> while the following is my "dmesg" output:
>> >>
>> >>
>> >> Copyright (c) 1992-2009 The FreeBSD Project.
>> >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
>> >> 1994
>> >>       The Regents of the University of California. All rights reserved.
>> >> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> >> FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
>> >>     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
>> >> Timecounter "i8254" frequency 1193182 Hz quality 0
>> >> CPU: Intel Pentium III (996.77-MHz 686-class CPU)
>> >>   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
>> >>
>> >> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>> >> real memory  = 537395200 (512 MB)
>> >> avail memory = 510431232 (486 MB)
>> >> ACPI APIC Table: <COMPAQ SOLANO  >
>> >> ioapic0: Changing APIC ID to 8
>> >> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>> >> kbd1 at kbdmux0
>> >> acpi0: <COMPAQ CPQ0005> on motherboard
>> >> acpi0: [ITHREAD]
>> >> acpi0: Power Button (fixed)
>> >> acpi0: reservation of 0, a0000 (3) failed
>> >> acpi0: reservation of 100000, 1ff00000 (3) failed
>> >> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
>> >> acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0
>> >> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> >> pci0: <ACPI PCI bus> on pcib0
>> >> agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> on hostb0
>> >> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
>> >> pci1: <PCI bus> on pcib1
>> >> vgapci0: <VGA-compatible display> mem
>> >> 0x41000000-0x41ffffff,0x44000000-0x45ffffff irq 18 at device 0.0 on pci1
>> >> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
>> >> pci2: <ACPI PCI bus> on pcib2
>> >> fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0x1000-0x103f
>> >> mem 0x40000000-0x40000fff irq 20 at device 8.0 on pci2
>> >> miibus0: <MII bus> on fxp0
>> >> inphy0: <i82562EM 10/100 media interface> PHY 1 on miibus0
>> >> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> >> fxp0: Ethernet address: 00:02:a5:94:97:26
>> >> fxp0: [ITHREAD]
>> >> isab0: <PCI-ISA bridge> at device 31.0 on pci0
>> >> isa0: <ISA bus> on isab0
>> >> atapci0: <Intel ICH2 UDMA100 controller> port
>> >> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2460-0x246f at device 31.1 on pci0
>> >> ata0: <ATA channel 0> on atapci0
>> >> ata0: [ITHREAD]
>> >> ata1: <ATA channel 1> on atapci0
>> >> ata1: [ITHREAD]
>> >> uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port
>> >> 0x2440-0x245f irq 23 at device 31.4 on pci0
>> >> uhci0: [ITHREAD]
>> >> uhci0: LegSup = 0x0030
>> >> usbus0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci0
>> >> pcm0: <Intel ICH2 (82801BA)> port 0x2000-0x20ff,0x2400-0x243f irq 17 at
>> >> device 31.5 on pci0
>> >> pcm0: [ITHREAD]
>> >> pcm0: <Analog Devices AD1885 AC97 Codec>
>> >> acpi_button0: <Power Button> on acpi0
>> >> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>> >> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>> >> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> >> kbd0 at atkbd0
>> >> atkbd0: [GIANT-LOCKED]
>> >> atkbd0: [ITHREAD]
>> >> ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77d irq 7 drq 3 on acpi0
>> >> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
>> >> ppc0: FIFO with 16/16/13 bytes threshold
>> >> ppc0: [ITHREAD]
>> >> ppbus0: <Parallel port bus> on ppc0
>> >> ppbus0: IEEE1284 device found /NIBBLE
>> >> ppbus0: Probing for PnP devices:
>> >> ppbus0: <Canon S400SP/1.06> PRINTER BJL,BJRaster3,BSCC,TXT01,BJScan2
>> >> plip0: <PLIP network interface> on ppbus0
>> >> plip0: [ITHREAD]
>> >> lpt0: <Printer> on ppbus0
>> >> lpt0: [ITHREAD]
>> >> lpt0: Interrupt-driven port
>> >> ppi0: <Parallel I/O> on ppbus0
>> >> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>> >> uart0: [FILTER]
>> >> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
>> >> uart1: [FILTER]
>> >> fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
>> >> acpi0
>> >> fdc0: [FILTER]
>> >> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>> >> cpu0: <ACPI CPU> on acpi0
>> >> acpi_throttle0: <ACPI CPU Throttling> on cpu0
>> >> pmtimer0 on isa0
>> >> orm0: <ISA Option ROM> at iomem 0xe0000-0xeffff pnpid ORM0000 on isa0
>> >> sc0: <System console> at flags 0x100 on isa0
>> >> sc0: VGA <16 virtual consoles, flags=0x300>
>> >> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
>> >> isa0
>> >> Timecounter "TSC" frequency 996770364 Hz quality 800
>> >> Timecounters tick every 1.000 msec
>> >> usbus0: 12Mbps Full Speed USB v1.0
>> >> ad0: 39205MB <Maxtor 6E040L0 NAR61HA0> at ata0-master UDMA100
>> >> ugen0.1: <Intel> at usbus0
>> >> uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
>> >> usbus0
>> >> acd0: CDROM <LTN486S/YQS8> at ata1-master PIO4
>> >> pcm0: measured ac97 link rate at 55945 Hz
>> >> uhub0: 2 ports with 2 removable, self powered
>> >> Root mount waiting for: usbus0
>> >> ugen0.2: <Microsoft> at usbus0
>> >> ums0: <Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2>
>> >> on usbus0
>> >> ums0: 3 buttons and [XYZ] coordinates ID=0
>> >> Trying to mount root from ufs:/dev/ad0s1a
>> >> acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
>> >> acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00
>> >> acd0: FAILURE - READ_DISK_INFO ILLEGAL REQUEST asc=0x20 ascq=0x00
>> >> acd0: FAILURE - READ_DISK_INFO ILLEGAL REQUEST asc=0x20 ascq=0x00
>> >> acpi0: AcpiEnterSleepState failed - AE_BAD_ADDRESS
>> >> wakeup from sleeping state (slept 00:00:03)
>> >> ugen0.2: <Microsoft> at usbus0 (disconnected)
>> >> ums0: at uhub0, port 2, addr 2 (disconnected)
>> >> ugen0.2: <Microsoft> at usbus0
>> >> ums0: <Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2>
>> >> on usbus0
>> >> ums0: 3 buttons and [XYZ] coordinates ID=0
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> The output of "sysctl hw.acpi":
>> >>
>> >>
>> >> hw.acpi.supported_sleep_state: S1 S3 S4 S5
>> >> hw.acpi.power_button_state: S5
>> >> hw.acpi.sleep_button_state: S1
>> >> hw.acpi.lid_switch_state: NONE
>> >> hw.acpi.standby_state: S1
>> >> hw.acpi.suspend_state: S3
>> >> hw.acpi.sleep_delay: 1
>> >> hw.acpi.s4bios: 0
>> >> hw.acpi.verbose: 0
>> >> hw.acpi.disable_on_reboot: 0
>> >> hw.acpi.handle_reboot: 0
>> >> hw.acpi.reset_video: 0
>> >> hw.acpi.cpu.cx_lowest: C1
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> I am using FreeBSD 8.0 and Xfce desktop environment (Thunar is the file
>> >> manager). For hardware, I am using Pentium III; Compaq Deskpro EN.
>> >>
>> >> I am not sure if all these information are sufficient; do let me know
>> >> if you need more information. Once again, thank you very much for your help.
>> >
>> > Hi! Erm... just wondering, is my debug info sufficient or is the problem
>> > not an ACPI one? Also, may I know what can I do to help in solving the
>> > problem?
>>
>> Does ACPI even work on your laptop (try reading the handbook chapter:
>> http://www.freebsd.org/doc/handbook/acpi-debug.html )?
>
>
> Hi!
>
> I have managed to get hold of Linux Mint 8 LiveCD and test the Sleep feature
> and it works. It is using ACPI, since only ACPI is displayed on dmesg
> instead of APM. So I believe ACPI should work on my Compaq Deskpro desktop,
> am I right?

Yeah.. that's great that S3 works on your hardware, but you aren't
helping determine whether or not things function with FreeBSD using
FreeBSD standard tools instead of hal (which is primarily targeted and
ported to Linux).
Thanks,
-Garrett


More information about the freebsd-acpi mailing list