Bug 2719

Summary: S5 reboots if Wake up on RTC enabled - ATI 9100I
Product: ACPI Reporter: Per Weijnitz (per.weijnitz)
Component: Power-OffAssignee: Alexey Starikovskiy (alexei.y.starikovsky)
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal CC: acpi-bugzilla, shaohua.li
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.6 Subsystem:
Regression: --- Bisected commit-id:

Description Per Weijnitz 2004-05-16 16:44:03 UTC
Distribution:         Debian GNU/Linux i386 testing
Hardware Environment: Shuttle ST62K (P4-based barebone machine)
                         - ATI 9100 IGP chipset
                         - BIOS: AWARD/Phoenix ft62s00p
Software Environment: the shutdown command 
Problem Description:
I cannot "shutdown -h now" the computer when "Wakeup on RTC" is
enabled in the BIOS. Instead, it reboots. If I disable "Wakeup
on RTC", it shuts down properly. I downloaded Knoppix 3.3 and 3.4,
and found one combination where linux managed to shutdown the
system with "wakeup on RTC" enabled: 2.4.22-xfs (that was the
uname I got, it was Knoppix 3.3). In Knoppix 3.4, this no longer
worked (neither in its 2.4.26 nor 2.6.5 mode).


Steps to reproduce:
0. Enable "Wakeup on RTC" in the BIOS
1. Boot
2. 'shutdown -h now'

Result: system reboots.


In the appendix:
 * lspci
 * lsmod
 * dmesg

----------- APPENDIX ------------
---- lspci
0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev 02)
0000:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5838
0000:00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01)
0000:00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01)
0000:00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01)
0000:00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 17)
0000:00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349
0000:00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c
0000:00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342
0000:00:14.5 Multimedia audio controller: ATI Technologies Inc SoundMAX
Integrated Digital Audio
0000:01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5834
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
0000:02:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
0000:02:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 11)



---- lsmod
ipt_TOS                 3072  12 
ipt_MASQUERADE          4224  1 
ipt_LOG                 6784  6 
ipt_REJECT              6400  4 
ipt_pkttype             2432  4 
ipt_state               2560  16 
ip_nat_irc              4592  0 
ip_nat_tftp             3824  0 
ip_nat_ftp              5232  0 
ip_conntrack_irc       71444  1 ip_nat_irc
ip_conntrack_tftp       3860  0 
ip_conntrack_ftp       71956  1 ip_nat_ftp
ipt_multiport           2688  3 
ipt_conntrack           3072  31 
iptable_filter          3200  1 
iptable_mangle          3200  1 
iptable_nat            20516  5 ipt_MASQUERADE,ip_nat_irc,ip_nat_tftp,ip_nat_ftp
ip_conntrack           30340  10 ipt_MASQUERADE,ipt_state,ip_nat_irc,ip_nat_tftp
,ip_nat_ftp,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp,ipt_conntrack,ip
table_nat
ip_tables              16640  11 ipt_TOS,ipt_MASQUERADE,ipt_LOG,ipt_REJECT,ipt_p
kttype,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptab
le_nat
af_packet              14216  4 
usbnet                 15624  0 
eth1394                18568  0 
ohci1394               31236  0 
ieee1394              300728  2 eth1394,ohci1394
snd_bt87x              12100  0 
tuner                  17676  0 
tda9887                 7300  0 
bttv                  140652  1 
video_buf              17028  1 bttv
i2c_algo_bit            9480  1 bttv
v4l2_common             5888  1 bttv
btcx_risc               4872  1 bttv
i2c_core               19204  4 tuner,tda9887,bttv,i2c_algo_bit
videodev                8192  2 bttv
snd_pcm_oss            55588  1 
snd_atiixp             16292  1 
snd_ac97_codec         57988  1 snd_atiixp
snd_pcm                94368  3 snd_bt87x,snd_pcm_oss,snd_atiixp
snd_timer              23684  1 snd_pcm
snd_page_alloc         10116  3 snd_bt87x,snd_atiixp,snd_pcm
snd_mixer_oss          18816  1 snd_pcm_oss
snd                    52196  7 snd_bt87x,snd_pcm_oss,snd_atiixp,snd_ac97_codec,
snd_pcm,snd_timer,snd_mixer_oss




---- dmesg
May 16 16:32:30 pvr syslogd 1.4.1#10: restart.
May 16 16:32:30 pvr kernel: klogd 1.4.1#10, log source = /proc/kmsg started.
May 16 16:32:30 pvr kernel: Inspecting /boot/System.map-2.6.6.1
May 16 16:32:30 pvr kernel: Loaded 26665 symbols from /boot/System.map-2.6.6.1.
May 16 16:32:30 pvr kernel: Symbols match kernel version 2.6.6.
May 16 16:32:30 pvr kernel: No module symbols loaded - kernel modules not enabled. 
May 16 16:32:30 pvr kernel: Linux version 2.6.6.1 (root@pvr) (gcc version 3.3.3
(Debian 20040401)) #1 SMP Thu May 13 08:44:51 CEST 2004
May 16 16:32:30 pvr kernel: BIOS-provided physical RAM map:
May 16 16:32:30 pvr kernel:  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
May 16 16:32:30 pvr kernel:  BIOS-e820: 000000000009fc00 - 00000000000a0000
(reserved)
May 16 16:32:30 pvr kernel:  BIOS-e820: 00000000000f0000 - 0000000000100000
(reserved)
May 16 16:32:30 pvr kernel:  BIOS-e820: 0000000000100000 - 000000000def0000 (usable)
May 16 16:32:30 pvr kernel:  BIOS-e820: 000000000def0000 - 000000000def3000
(ACPI NVS)
May 16 16:32:30 pvr kernel:  BIOS-e820: 000000000def3000 - 000000000df00000
(ACPI data)
May 16 16:32:30 pvr kernel:  BIOS-e820: 00000000fec00000 - 0000000100000000
(reserved)
May 16 16:32:30 pvr kernel: 222MB LOWMEM available.
May 16 16:32:30 pvr kernel: found SMP MP-table at 000f4dc0
May 16 16:32:30 pvr kernel: On node 0 totalpages: 57072
May 16 16:32:30 pvr kernel:   DMA zone: 4096 pages, LIFO batch:1
May 16 16:32:30 pvr kernel:   Normal zone: 52976 pages, LIFO batch:12
May 16 16:32:30 pvr kernel:   HighMem zone: 0 pages, LIFO batch:1
May 16 16:32:30 pvr kernel: DMI 2.2 present.
May 16 16:32:30 pvr kernel: ACPI: RSDP (v000 XPC                               
       ) @ 0x000f6880
May 16 16:32:30 pvr kernel: ACPI: RSDT (v001 XPC    AWRDACPI 0x42302e31 AWRD
0x00000000) @ 0x0def3000
May 16 16:32:30 pvr kernel: ACPI: FADT (v001 XPC    AWRDACPI 0x42302e31 AWRD
0x00000000) @ 0x0def3040
May 16 16:32:30 pvr kernel: ACPI: MADT (v001 XPC    AWRDACPI 0x42302e31 AWRD
0x00000000) @ 0x0def6240
May 16 16:32:30 pvr kernel: ACPI: DSDT (v001 XPC        ST62 0x00001000 MSFT
0x0100000e) @ 0x00000000
May 16 16:32:30 pvr kernel: ACPI: PM-Timer IO Port: 0x4008
May 16 16:32:30 pvr kernel: ACPI: Local APIC address 0xfee00000
May 16 16:32:30 pvr kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
May 16 16:32:30 pvr kernel: Processor #0 15:2 APIC version 20
May 16 16:32:30 pvr kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
May 16 16:32:30 pvr kernel: Processor #1 15:2 APIC version 20
May 16 16:32:30 pvr kernel: ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
May 16 16:32:30 pvr kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
May 16 16:32:30 pvr kernel: ACPI: IOAPIC (id[0x02] address[0xfec00000]
global_irq_base[0x0])
May 16 16:32:30 pvr kernel: IOAPIC[0]: Assigned apic_id 2
May 16 16:32:30 pvr kernel: IOAPIC[0]: apic_id 2, version 17, address
0xfec00000, GSI 0-23
May 16 16:32:30 pvr kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
May 16 16:32:30 pvr kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21 low
level)
May 16 16:32:30 pvr kernel: Enabling APIC mode:  Flat.  Using 1 I/O APICs
May 16 16:32:30 pvr kernel: Using ACPI (MADT) for SMP configuration information
May 16 16:32:30 pvr kernel: Built 1 zonelists
May 16 16:32:30 pvr kernel: Kernel command line: root=/dev/hda4 ro 
May 16 16:32:30 pvr kernel: Initializing CPU#0
May 16 16:32:30 pvr kernel: PID hash table entries: 1024 (order 10: 8192 bytes)
May 16 16:32:30 pvr kernel: Detected 2395.055 MHz processor.
May 16 16:32:30 pvr kernel: Using pmtmr for high-res timesource
May 16 16:32:30 pvr kernel: Console: colour VGA+ 80x25
May 16 16:32:30 pvr kernel: Memory: 221900k/228288k available (2205k kernel
code, 5688k reserved, 979k data, 168k init, 0k highmem)
May 16 16:32:30 pvr kernel: Checking if this processor honours the WP bit even
in supervisor mode... Ok.
May 16 16:32:30 pvr kernel: Calibrating delay loop... 4751.36 BogoMIPS
May 16 16:32:30 pvr kernel: Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
May 16 16:32:30 pvr kernel: Inode-cache hash table entries: 16384 (order: 4,
65536 bytes)
May 16 16:32:30 pvr kernel: Mount-cache hash table entries: 512 (order: 0, 4096
bytes)
May 16 16:32:30 pvr kernel: CPU:     After generic identify, caps: bfebfbff
00000000 00000000 00000000
May 16 16:32:30 pvr kernel: CPU:     After vendor identify, caps: bfebfbff
00000000 00000000 00000000
May 16 16:32:30 pvr kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
May 16 16:32:30 pvr kernel: CPU: L2 cache: 512K
May 16 16:32:30 pvr kernel: CPU: Physical Processor ID: 0
May 16 16:32:30 pvr kernel: CPU:     After all inits, caps: bfebfbff 00000000
00000000 00000080
May 16 16:32:30 pvr kernel: Intel machine check architecture supported.
May 16 16:32:30 pvr kernel: Intel machine check reporting enabled on CPU#0.
May 16 16:32:30 pvr kernel: CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
May 16 16:32:30 pvr kernel: CPU#0: Thermal monitoring enabled
May 16 16:32:30 pvr kernel: Enabling fast FPU save and restore... done.
May 16 16:32:30 pvr kernel: Enabling unmasked SIMD FPU exception support... done.
May 16 16:32:30 pvr kernel: Checking 'hlt' instruction... OK.
May 16 16:32:30 pvr kernel: POSIX conformance testing by UNIFIX
May 16 16:32:30 pvr kernel: CPU0: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
May 16 16:32:30 pvr kernel: per-CPU timeslice cutoff: 1462.31 usecs.
May 16 16:32:30 pvr kernel: task migration cache decay timeout: 2 msecs.
May 16 16:32:30 pvr kernel: enabled ExtINT on CPU#0
May 16 16:32:30 pvr kernel: ESR value before enabling vector: 00000000
May 16 16:32:30 pvr kernel: ESR value after enabling vector: 00000000
May 16 16:32:30 pvr kernel: Booting processor 1/1 eip 3000
May 16 16:32:30 pvr kernel: Initializing CPU#1
May 16 16:32:30 pvr kernel: masked ExtINT on CPU#1
May 16 16:32:30 pvr kernel: ESR value before enabling vector: 00000000
May 16 16:32:30 pvr kernel: ESR value after enabling vector: 00000000
May 16 16:32:30 pvr kernel: Calibrating delay loop... 4784.12 BogoMIPS
May 16 16:32:30 pvr kernel: CPU:     After generic identify, caps: bfebfbff
00000000 00000000 00000000
May 16 16:32:30 pvr kernel: CPU:     After vendor identify, caps: bfebfbff
00000000 00000000 00000000
May 16 16:32:30 pvr kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
May 16 16:32:30 pvr kernel: CPU: L2 cache: 512K
May 16 16:32:30 pvr kernel: CPU: Physical Processor ID: 0
May 16 16:32:30 pvr kernel: CPU:     After all inits, caps: bfebfbff 00000000
00000000 00000080
May 16 16:32:30 pvr kernel: Intel machine check architecture supported.
May 16 16:32:30 pvr kernel: Intel machine check reporting enabled on CPU#1.
May 16 16:32:30 pvr kernel: CPU#1: Intel P4/Xeon Extended MCE MSRs (12) available
May 16 16:32:30 pvr kernel: CPU#1: Thermal monitoring enabled
May 16 16:32:30 pvr kernel: CPU1: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
May 16 16:32:30 pvr kernel: Total of 2 processors activated (9535.48 BogoMIPS).
May 16 16:32:30 pvr kernel: cpu_sibling_map[0] = 1
May 16 16:32:30 pvr kernel: cpu_sibling_map[1] = 0
May 16 16:32:30 pvr kernel: ENABLING IO-APIC IRQs
May 16 16:32:30 pvr kernel: init IO_APIC IRQs
May 16 16:32:30 pvr kernel:  IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19,
2-20, 2-22, 2-23 not connected.
May 16 16:32:30 pvr kernel: ..TIMER: vector=0x31 pin1=2 pin2=-1
May 16 16:32:30 pvr kernel: Using local APIC timer interrupts.
May 16 16:32:30 pvr kernel: calibrating APIC timer ...
May 16 16:32:30 pvr kernel: ..... CPU clock speed is 2394.0094 MHz.
May 16 16:32:30 pvr kernel: ..... host bus clock speed is 199.0507 MHz.
May 16 16:32:30 pvr kernel: checking TSC synchronization across 2 CPUs: passed.
May 16 16:32:30 pvr kernel: Brought up 2 CPUs
May 16 16:32:30 pvr kernel: NET: Registered protocol family 16
May 16 16:32:30 pvr kernel: PCI: PCI BIOS revision 2.10 entry at 0xfae60, last bus=2
May 16 16:32:30 pvr kernel: PCI: Using configuration type 1
May 16 16:32:30 pvr kernel: mtrr: v2.0 (20020519)
May 16 16:32:30 pvr kernel: ACPI: Subsystem revision 20040326
May 16 16:32:30 pvr kernel: ACPI: Interpreter enabled
May 16 16:32:30 pvr kernel: ACPI: Using IOAPIC for interrupt routing
May 16 16:32:30 pvr kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
May 16 16:32:30 pvr kernel: PCI: Probing PCI hardware (bus 00)
May 16 16:32:30 pvr kernel: PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
May 16 16:32:30 pvr kernel: Transparent bridge - 0000:00:14.4
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10
11) *0, disabled.
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10
11) *0, disabled.
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10
11) *0, disabled.
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10
11) *0, disabled.
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
May 16 16:32:30 pvr kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
May 16 16:32:30 pvr kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
May 16 16:32:30 pvr kernel: SCSI subsystem initialized
May 16 16:32:30 pvr kernel: usbcore: registered new driver usbfs
May 16 16:32:30 pvr kernel: usbcore: registered new driver hub
May 16 16:32:30 pvr kernel: 00:00:0e[A] -> 2-17 -> IRQ 17 level low
May 16 16:32:30 pvr kernel: 00:00:0e[B] -> 2-18 -> IRQ 18 level low
May 16 16:32:30 pvr kernel: 00:00:0e[C] -> 2-19 -> IRQ 19 level low
May 16 16:32:30 pvr kernel: 00:00:0e[D] -> 2-16 -> IRQ 16 level low
May 16 16:32:30 pvr kernel: number of MP IRQ sources: 16.
May 16 16:32:30 pvr kernel: number of IO-APIC #2 registers: 24.
May 16 16:32:30 pvr kernel: testing the IO APIC.......................
May 16 16:32:30 pvr kernel: IO APIC #2......
May 16 16:32:30 pvr kernel: .... register #00: 02000000
May 16 16:32:30 pvr kernel: .......    : physical APIC id: 02
May 16 16:32:30 pvr kernel: .......    : Delivery Type: 0
May 16 16:32:30 pvr kernel: .......    : LTS          : 0
May 16 16:32:30 pvr kernel: .... register #01: 00170011
May 16 16:32:30 pvr kernel: .......     : max redirection entries: 0017
May 16 16:32:30 pvr kernel: .......     : PRQ implemented: 0
May 16 16:32:30 pvr kernel: .......     : IO APIC version: 0011
May 16 16:32:30 pvr kernel: .... register #02: 02000000
May 16 16:32:30 pvr kernel: .......     : arbitration: 02
May 16 16:32:30 pvr kernel: .... IRQ redirection table:
May 16 16:32:30 pvr kernel:  NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
May 16 16:32:30 pvr kernel:  00 000 00  1    0    0   0   0    0    0    00
May 16 16:32:30 pvr kernel:  01 0FF 0F  0    0    0   0   0    1    1    39
May 16 16:32:30 pvr kernel:  02 0FF 0F  0    0    0   0   0    1    1    31
May 16 16:32:30 pvr kernel:  03 0FF 0F  0    0    0   0   0    1    1    41
May 16 16:32:30 pvr kernel:  04 0FF 0F  0    0    0   0   0    1    1    49
May 16 16:32:30 pvr kernel:  05 0FF 0F  0    0    0   0   0    1    1    51
May 16 16:32:30 pvr kernel:  06 0FF 0F  0    0    0   0   0    1    1    59
May 16 16:32:30 pvr kernel:  07 0FF 0F  0    0    0   0   0    1    1    61
May 16 16:32:30 pvr kernel:  08 0FF 0F  0    0    0   0   0    1    1    69
May 16 16:32:30 pvr kernel:  09 0FF 0F  0    0    0   0   0    1    1    71
May 16 16:32:30 pvr kernel:  0a 0FF 0F  0    0    0   0   0    1    1    79
May 16 16:32:30 pvr kernel:  0b 0FF 0F  0    0    0   0   0    1    1    81
May 16 16:32:30 pvr kernel:  0c 0FF 0F  0    0    0   0   0    1    1    89
May 16 16:32:30 pvr kernel:  0d 0FF 0F  0    0    0   0   0    1    1    91
May 16 16:32:30 pvr kernel:  0e 0FF 0F  0    0    0   0   0    1    1    99
May 16 16:32:30 pvr kernel:  0f 0FF 0F  0    0    0   0   0    1    1    A1
May 16 16:32:30 pvr kernel:  10 003 03  1    1    0   1   0    1    1    C9
May 16 16:32:30 pvr kernel:  11 003 03  1    1    0   1   0    1    1    B1
May 16 16:32:30 pvr kernel:  12 003 03  1    1    0   1   0    1    1    B9
May 16 16:32:30 pvr kernel:  13 003 03  1    1    0   1   0    1    1    C1
May 16 16:32:30 pvr kernel:  14 000 00  1    0    0   0   0    0    0    00
May 16 16:32:30 pvr kernel:  15 0FF 0F  0    1    0   1   0    1    1    A9
May 16 16:32:30 pvr kernel:  16 000 00  1    0    0   0   0    0    0    00
May 16 16:32:30 pvr kernel:  17 000 00  1    0    0   0   0    0    0    00
May 16 16:32:30 pvr kernel: IRQ to pin mappings:
May 16 16:32:30 pvr kernel: IRQ0 -> 0:2
May 16 16:32:30 pvr kernel: IRQ1 -> 0:1
May 16 16:32:30 pvr kernel: IRQ3 -> 0:3
May 16 16:32:30 pvr kernel: IRQ4 -> 0:4
May 16 16:32:30 pvr kernel: IRQ5 -> 0:5
May 16 16:32:30 pvr kernel: IRQ6 -> 0:6
May 16 16:32:30 pvr kernel: IRQ7 -> 0:7
May 16 16:32:30 pvr kernel: IRQ8 -> 0:8
May 16 16:32:30 pvr kernel: IRQ9 -> 0:9
May 16 16:32:30 pvr kernel: IRQ10 -> 0:10
May 16 16:32:30 pvr kernel: IRQ11 -> 0:11
May 16 16:32:30 pvr kernel: IRQ12 -> 0:12
May 16 16:32:30 pvr kernel: IRQ13 -> 0:13
May 16 16:32:30 pvr kernel: IRQ14 -> 0:14
May 16 16:32:30 pvr kernel: IRQ15 -> 0:15
May 16 16:32:30 pvr kernel: IRQ16 -> 0:16
May 16 16:32:30 pvr kernel: IRQ17 -> 0:17
May 16 16:32:30 pvr kernel: IRQ18 -> 0:18
May 16 16:32:30 pvr kernel: IRQ19 -> 0:19
May 16 16:32:30 pvr kernel: IRQ21 -> 0:21
May 16 16:32:30 pvr kernel: .................................... done.
May 16 16:32:30 pvr kernel: PCI: Using ACPI for IRQ routing
May 16 16:32:30 pvr kernel: Machine check exception polling timer started.
May 16 16:32:30 pvr kernel: Starting balanced_irq
May 16 16:32:30 pvr kernel: devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
May 16 16:32:30 pvr kernel: devfs: boot_options: 0x1
May 16 16:32:30 pvr kernel: NTFS driver 2.1.8 [Flags: R/W].
May 16 16:32:30 pvr kernel: udf: registering filesystem
May 16 16:32:30 pvr kernel: Initializing Cryptographic API
May 16 16:32:30 pvr kernel: ACPI: Power Button (FF) [PWRF]
May 16 16:32:30 pvr kernel: ACPI: Fan [FAN] (on)
May 16 16:32:30 pvr kernel: ACPI: Processor [CPU0] (supports C1, 8 throttling
states)
May 16 16:32:30 pvr kernel: ACPI: Processor [CPU1] (supports C1, 8 throttling
states)
May 16 16:32:30 pvr kernel: ACPI: Thermal Zone [THRM] (44 C)
May 16 16:32:30 pvr kernel: Real Time Clock Driver v1.12
May 16 16:32:30 pvr kernel: Linux agpgart interface v0.100 (c) Dave Jones
May 16 16:32:30 pvr kernel: agpgart: Detected Ati IGP9100/M chipset
May 16 16:32:30 pvr kernel: agpgart: Maximum main memory to use for agp memory: 175M
May 16 16:32:30 pvr kernel: agpgart: AGP aperture is 64M @ 0xe4000000
May 16 16:32:30 pvr kernel: [drm] Initialized radeon 1.9.0 20020828 on minor 0
May 16 16:32:30 pvr kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports,
IRQ sharing disabled
May 16 16:32:30 pvr kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
May 16 16:32:30 pvr kernel: Using anticipatory io scheduler
May 16 16:32:30 pvr kernel: Floppy drive(s): fd1 is 2.88M AMI BIOS
May 16 16:32:30 pvr kernel: floppy0: no floppy controllers found
May 16 16:32:30 pvr kernel: 8139too Fast Ethernet driver 0.9.27
May 16 16:32:30 pvr kernel: eth0: RealTek RTL8139 at 0xce830000,
00:30:1b:b2:e3:bc, IRQ 17
May 16 16:32:30 pvr kernel: eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
May 16 16:32:30 pvr kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
May 16 16:32:30 pvr kernel: ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
May 16 16:32:30 pvr kernel: ATIIXP: IDE controller at PCI slot 0000:00:14.1
May 16 16:32:30 pvr kernel: ATIIXP: chipset revision 0
May 16 16:32:30 pvr kernel: ATIIXP: not 100%% native mode: will probe irqs later
May 16 16:32:30 pvr kernel:     ide0: BM-DMA at 0xf000-0xf007, BIOS settings:
hda:DMA, hdb:pio
May 16 16:32:30 pvr kernel:     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings:
hdc:DMA, hdd:pio
May 16 16:32:30 pvr kernel: hda: ST3160023A, ATA DISK drive
May 16 16:32:30 pvr kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
May 16 16:32:30 pvr kernel: hdc: HL-DT-ST GCE-8480B, ATAPI CD/DVD-ROM drive
May 16 16:32:30 pvr kernel: ide1 at 0x170-0x177,0x376 on irq 15
May 16 16:32:30 pvr kernel: hda: max request size: 1024KiB
May 16 16:32:30 pvr kernel: hda: 312581808 sectors (160041 MB) w/8192KiB Cache,
CHS=19457/255/63, UDMA(100)
May 16 16:32:30 pvr kernel:  /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
May 16 16:32:30 pvr kernel: hdc: ATAPI 40X CD-ROM CD-R/RW CD-MRW drive, 2048kB
Cache, UDMA(33)
May 16 16:32:30 pvr kernel: Uniform CD-ROM driver Revision: 3.20
May 16 16:32:30 pvr kernel: libata version 1.02 loaded.
May 16 16:32:30 pvr kernel: ehci_hcd 0000:00:13.2: PCI device 1002:4345 (ATI
Technologies Inc)
May 16 16:32:30 pvr kernel: ehci_hcd 0000:00:13.2: irq 19, pci mem ce836000
May 16 16:32:30 pvr kernel: ehci_hcd 0000:00:13.2: new USB bus registered,
assigned bus number 1
May 16 16:32:30 pvr kernel: ehci_hcd 0000:00:13.2: USB 2.0 enabled, EHCI 1.00,
driver 2003-Dec-29
May 16 16:32:30 pvr kernel: hub 1-0:1.0: USB hub found
May 16 16:32:30 pvr kernel: hub 1-0:1.0: 6 ports detected
May 16 16:32:30 pvr kernel: ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller
(OHCI) Driver (PCI)
May 16 16:32:30 pvr kernel: ohci_hcd: block sizes: ed 64 td 64
May 16 16:32:30 pvr kernel: ohci_hcd 0000:00:13.0: PCI device 1002:4347 (ATI
Technologies Inc)
May 16 16:32:30 pvr kernel: ohci_hcd 0000:00:13.0: irq 19, pci mem ce838000
May 16 16:32:30 pvr kernel: ohci_hcd 0000:00:13.0: new USB bus registered,
assigned bus number 2
May 16 16:32:30 pvr kernel: hub 2-0:1.0: USB hub found
May 16 16:32:30 pvr kernel: hub 2-0:1.0: 3 ports detected
May 16 16:32:30 pvr kernel: ohci_hcd 0000:00:13.1: PCI device 1002:4348 (ATI
Technologies Inc)
May 16 16:32:30 pvr kernel: ohci_hcd 0000:00:13.1: irq 19, pci mem ce83a000
May 16 16:32:30 pvr kernel: ohci_hcd 0000:00:13.1: new USB bus registered,
assigned bus number 3
May 16 16:32:30 pvr kernel: hub 3-0:1.0: USB hub found
May 16 16:32:30 pvr kernel: hub 3-0:1.0: 3 ports detected
May 16 16:32:30 pvr kernel: USB Universal Host Controller Interface driver v2.2
May 16 16:32:30 pvr kernel: usbcore: registered new driver usblp
May 16 16:32:30 pvr kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device
Class driver
May 16 16:32:30 pvr kernel: Initializing USB Mass Storage driver...
May 16 16:32:30 pvr kernel: usbcore: registered new driver usb-storage
May 16 16:32:30 pvr kernel: USB Mass Storage support registered.
May 16 16:32:30 pvr kernel: usbcore: registered new driver hid
May 16 16:32:30 pvr kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
May 16 16:32:30 pvr kernel: mice: PS/2 mouse device common for all mice
May 16 16:32:30 pvr kernel: ts: Compaq touchscreen protocol output
May 16 16:32:30 pvr kernel: input: PC Speaker
May 16 16:32:30 pvr kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
May 16 16:32:30 pvr kernel: usb 1-2: new high speed USB device using address 2
May 16 16:32:30 pvr kernel: input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
May 16 16:32:30 pvr kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
May 16 16:32:30 pvr kernel: input: AT Translated Set 2 keyboard on isa0060/serio0
May 16 16:32:30 pvr kernel: NET: Registered protocol family 2
May 16 16:32:30 pvr kernel: IP: routing cache hash table of 2048 buckets, 16Kbytes
May 16 16:32:30 pvr kernel: TCP: Hash tables configured (established 16384 bind
16384)
May 16 16:32:30 pvr kernel: NET: Registered protocol family 1
May 16 16:32:30 pvr kernel: NET: Registered protocol family 15
May 16 16:32:30 pvr kernel: ACPI: (supports S0 S1 S3 S4 S5)
May 16 16:32:30 pvr kernel: found reiserfs format "3.6" with standard journal
May 16 16:32:30 pvr kernel: reiserfs: using ordered data mode
May 16 16:32:30 pvr kernel: Reiserfs journal params: device hda4, size 8192,
journal first block 18, max trans len 1024, max batch 900, max commit age 30,
max trans age 30
May 16 16:32:30 pvr kernel: reiserfs: checking transaction log (hda4) for (hda4)
May 16 16:32:30 pvr kernel: Using r5 hash to sort names
May 16 16:32:30 pvr kernel: VFS: Mounted root (reiserfs filesystem) readonly.
May 16 16:32:30 pvr kernel: Mounted devfs on /dev
May 16 16:32:30 pvr kernel: Freeing unused kernel memory: 168k freed
May 16 16:32:30 pvr kernel: Adding 498004k swap on /dev/hda3.  Priority:-1 extents:1
May 16 16:32:30 pvr kernel: Linux video capture interface: v1.00
May 16 16:32:30 pvr kernel: bttv: driver version 0.9.14 loaded
May 16 16:32:30 pvr kernel: bttv: using 8 buffers with 2080k (520 pages) each
for capture
May 16 16:32:30 pvr kernel: bttv: Bt8xx card found (0).
May 16 16:32:30 pvr kernel: bttv0: Bt878 (rev 17) at 0000:02:07.0, irq: 19,
latency: 64, mmio: 0xec200000
May 16 16:32:30 pvr kernel: bttv0: detected: Pinnacle PCTV [card=39], PCI
subsystem ID is 11bd:0012
May 16 16:32:30 pvr kernel: bttv0: using: Pinnacle PCTV Studio/Rave
[card=39,autodetected]
May 16 16:32:30 pvr kernel: bttv0: gpio: en=00000000, out=00000000 in=00ffffff
[init]
May 16 16:32:30 pvr kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
May 16 16:32:30 pvr kernel: bttv0: pinnacle/mt: id=1 info="PAL / mono" radio=no
May 16 16:32:30 pvr kernel: bttv0: using tuner=33
May 16 16:32:30 pvr kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
May 16 16:32:30 pvr kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
May 16 16:32:30 pvr kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
May 16 16:32:30 pvr kernel: tda9887: chip found @ 0x86
May 16 16:32:30 pvr kernel: tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
May 16 16:32:30 pvr kernel: tuner: type set to 33 (MT20xx universal) by bt878 #0
[sw]
May 16 16:32:30 pvr kernel: tuner: microtune: companycode=4d54 part=04 rev=04
May 16 16:32:30 pvr kernel: tuner: microtune MT2032 found, OK
May 16 16:32:30 pvr kernel: bttv0: registered device video0
May 16 16:32:30 pvr kernel: bttv0: registered device vbi0
May 16 16:32:30 pvr kernel: bttv0: PLL: 28636363 => 35468950 .. ok
May 16 16:32:30 pvr kernel: NTFS volume version 3.0.
May 16 16:32:30 pvr kernel: ieee1394: Initialized config rom entry `ip1394'
May 16 16:32:30 pvr kernel: ohci1394: $Rev: 1203 $ Ben Collins <bcollins@debian.org>
May 16 16:32:30 pvr kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[18] 
MMIO=[ec111000-ec1117ff]  Max Packet=[2048]
May 16 16:32:30 pvr kernel: ieee1394: Host added: ID:BUS[0-00:1023] 
GUID[00301bb20000e420]
May 16 16:32:30 pvr kernel: ip1394: $Rev: 1198 $ Ben Collins <bcollins@debian.org>
May 16 16:32:30 pvr kernel: ip1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet
(fw-host0)
May 16 16:32:30 pvr kernel: eth2: register usbnet at usb-0000:00:13.2-2, Netgear
FA-120 USB Ethernet
May 16 16:32:30 pvr kernel: usbcore: registered new driver usbnet
May 16 16:32:30 pvr kernel: eth0: link up, 10Mbps, half-duplex, lpa 0x0000
May 16 16:32:30 pvr kernel: NET: Registered protocol family 17
May 16 16:32:30 pvr kernel: ip_tables: (C) 2000-2002 Netfilter core team
May 16 16:32:30 pvr kernel: ip_conntrack version 2.1 (1783 buckets, 14264 max) -
300 bytes per conntrack
Comment 1 Per Weijnitz 2004-05-17 02:41:30 UTC
A small correction: the BIOS option is called "RTC Alarm Resume" (not "Wakeup on
RTC").
Comment 2 Len Brown 2004-05-17 06:52:30 UTC
I expect this is an ACPI GPE wakeup issue.
Comment 3 Per Weijnitz 2004-05-26 15:16:27 UTC
If someone needs more information on this in order to figure out what can be
wrong, don't hesitate to post a request.

BTW, power off works in Windows2000 with the "RTC Alarm Resume" disabled and
enabled. So somehow there must be a way.
Comment 4 Per Weijnitz 2004-08-15 15:06:39 UTC
The problem is still there in 2.6.7 and 2.6.8.1.
Comment 5 Alexey Starikovskiy 2004-09-09 07:47:52 UTC
Could you please test if latest kernel(>2.6.9-rc1) has this problem?
If yes, could you please give us dmesg output? 
Comment 6 Len Brown 2004-11-05 22:22:15 UTC
Does this happen both when plugged in to AC
and also when running on battery?
Comment 7 Alexey Starikovskiy 2004-11-22 10:53:10 UTC
Can you please check if this patch helps:
http://bugme.osdl.org/attachment.cgi?id=4114&action=view
Comment 8 Shaohua 2004-11-23 00:03:03 UTC
Perhaps we should disable RTC wakeup before shutdown. How about this patch:
--- 2.6/drivers/acpi/sleep/poweroff.c.orig     2004-11-23 15:54:36.371257312 
+0800
+++ 2.6/drivers/acpi/sleep/poweroff.c  2004-11-23 15:55:24.563930912 +0800
@@ -16,6 +16,8 @@ acpi_power_off (void)
        printk("%s called\n",__FUNCTION__);
        /* Some SMP machines only can poweroff in boot CPU */
        set_cpus_allowed(current, cpumask_of_cpu(0));
+       acpi_clear_event(ACPI_EVENT_RTC);
+       acpi_disable_event(ACPI_EVENT_RTC, 0);
        acpi_enter_sleep_state_prep(ACPI_STATE_S5);
        ACPI_DISABLE_IRQS();
Comment 9 Len Brown 2005-01-03 18:33:58 UTC
test result?