misc/59876: APM suspend/resume broken with FreeBSD 5.2-BETA on IBM Thinkpad A30p

Jesse D.Guardiani jesse at wingnet.net
Mon Dec 1 10:40:21 PST 2003


>Number:         59876
>Category:       misc
>Synopsis:       APM suspend/resume broken with FreeBSD 5.2-BETA on IBM Thinkpad A30p
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 10:40:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jesse D. Guardiani
>Release:        FreeBSD 5.2-BETA i386
>Organization:
WingNET Internet Services
>Environment:
System: FreeBSD trevarthan.int.wingnet.net 5.2-BETA FreeBSD 5.2-BETA #3: Sun Nov 30 14:21:53 EST 2003 jesse at trevarthan.int.wingnet.net:/usr/src/sys/i386/compile/TREVARTHAN i386


	
>Description:
	
        I enable the software watchdog, then suspend the machine and capture
        output on serial console:

Lock GEOM topology not exclusively locked @ ../../.
./geom/geom_subr.c:261
acd0: WARNING - removed from configuration
sio4: detached

       The machine is fully suspended at this point. Now I resume the machine:

pci_cfgintr: 0:29 INTA BIOS irq 9
pci_cfgintr: 0:29 INTB BIOS irq 11
pci_cfgintr: 0:29 INTC BIOS irq 9
pci_cfgintr: 0:31 INTB BIOS irq 5
pci_cfgintr: 0:31 INTB BIOS irq 5
pci_cfgintr: 0:31 INTB BIOS irq 5
pci_cfgintr: 1:0 INTA BIOS irq 9
pci_cfgintr: 2:0 INTA BIOS irq 9
pci_cfgintr: 2:0 INTB BIOS irq 5
pci_cfgintr: 2:0 INTC BIOS irq 9
pci_cfgintr: 2:2 INTA BIOS irq 9
pci_cfgintr: 2:8 INTA BIOS irq 10
ata0: resetting devices ..

       Normally the machine would lock at this point with the hard disk light on.
       The only way to fix it is to power down and back on. However, since I have
       enabled the software watchdog, I simply wait a few seconds and I receive
       this:

interrupt                   total
irq0: clk                          18254
irq1: atkbd0                           9
irq3: sio1                             6
irq4: sio0                           882
irq6: fdc0                             1
irq9: cbb0 wi0++                      37
irq13: npx0                            1
irq14: ata0                         3524
irq15: ata1                           32
Total                       22746
watchdog_fire(c073ba80,2,c06d9616,f5,d2a0bca4) at watchdog_fire+0xb5
hardclock(d2a0bca4,0,c06f57a0,bf,c3a6bd00) at hardclock+0x10a
clkintr(d2a0bca4,d2a0bc70,c0526125,c07134e0,0) at clkintr+0xa9
intr_execute_handlers(c072c880,d2a0bca4,c07134e0,2bc530c4,c19d2c5c) at intr_exec
ute_handlers+0xb8
atpic_handle_intr(0) at atpic_handle_intr+0xbf
Xatpic_intr0() at Xatpic_intr0+0x1e
--- interrupt, eip = 0xc06925b5, esp = 0xd2a0bce8, ebp = 0xd2a0bce8 ---
cpu_idle_default(d2a0bd10,c050b55c,c0739bc0,2,c06da083) at cpu_idle_default+0x5
cpu_idle(c0739bc0,2,c06da083,53,c050b520) at cpu_idle+0x1f
idle_proc(0,d2a0bd48,c06d9f44,311,0) at idle_proc+0x3c
fork_exit(c050b520,0,d2a0bd48) at fork_exit+0xb4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd2a0bd7c, ebp = 0 ---
Debugger("watchdog timeout")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db>

       I hope the above information is helpful. I'm not a kernel programmer. I AM
       familiar with C, but I'm not very good with debuggers. Please let me know
       if you need additional info. Thanks!

>How-To-Repeat:
	
        Step 1: Fn + F4 to suspend machine
        Step 2: Fn to resume machine
>Fix:

	
        unknown.



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list