From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262730AbTL3Us0 (ORCPT ); Tue, 30 Dec 2003 15:48:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263930AbTL3Us0 (ORCPT ); Tue, 30 Dec 2003 15:48:26 -0500 Received: from hell.org.pl ([212.244.218.42]:46084 "HELO hell.org.pl") by vger.kernel.org with SMTP id S262730AbTL3UsO (ORCPT ); Tue, 30 Dec 2003 15:48:14 -0500 Date: Tue, 30 Dec 2003 21:48:31 +0100 From: Karol Kozimor To: linux-kernel@vger.kernel.org Subject: [2.6.0-mm2] PM timer still has problems Message-ID: <20031230204831.GA17344@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, Booting with clock=pmtmr causes weird problems here (the system complains that clock override failed and the bogomips loop produces bogus values). Below is the dmesg output as well as /proc/cpuinfo. I have CONFIG_X86_LOCAL_APIC=y and CONFIG_X86_PM_TIMER=y. I don't really know whether this box (ASUS L3800C, more data at http://bugme.osdl.org/show_bug.cgi?id=1185) has a PM timer or not, but even if it doesn't, the code should account for that gracefully. I'll be happy to provide any additional info. -- Karol 'sziwan' Kozimor sziwan@hell.org.pl dmesg: Linux version 2.6.0-mm2 (sziwan@nadir) (gcc version 3.3.2) #1 Tue Dec 30 21:18:25 CET 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000fff9000 (usable) BIOS-e820: 000000000fff9000 - 000000000ffff000 (ACPI data) BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 255MB LOWMEM available. On node 0 totalpages: 65529 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 61433 pages, LIFO batch:14 HighMem zone: 0 pages, LIFO batch:1 DMI 2.3 present. ASUS L3C with broken BIOS detected. Refusing to enable the local APIC. ACPI: RSDP (v000 ASUS ) @ 0x000f6890 ACPI: RSDT (v001 ASUS P4_L3CS 0x42302e31 MSFT 0x31313031) @ 0x0fff9000 ACPI: FADT (v001 ASUS P4_L3CS 0x42302e31 MSFT 0x31313031) @ 0x0fff9080 ACPI: BOOT (v001 ASUS P4_L3CS 0x42302e31 MSFT 0x31313031) @ 0x0fff9040 ACPI: DSDT (v001 ASUS P4_L3CS 0x00001000 MSFT 0x0100000d) @ 0x00000000 Building zonelist for node : 0 Kernel command line: BOOT_IMAGE=2.6 ro root=305 resume=/dev/hda1 acpi_sleep=s3_bios clock=pmtmr current: c031ea60 current->thread_info: c0386000 Initializing CPU#0 PID hash table entries: 1024 (order 10: 8192 bytes) Warning: clock= override failed. Defaulting to PIT Using pit for high-res timesource Console: colour VGA+ 80x25 Memory: 255896k/262116k available (1877k kernel code, 5520k reserved, 705k data, 132k init, 0k highmem) zapping low mappings. Calibrating delay loop... 2252.80 BogoMIPS Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 3febf9ff 00000000 00000000 00000000 CPU: After vendor identify, caps: 3febf9ff 00000000 00000000 00000000 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: After all inits, caps: 3febf9ff 00000000 00000000 00000080 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available CPU#0: Thermal monitoring enabled CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz stepping 04 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xf0e40, last bus=2 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20031203 tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired Parsing all Control Methods:.............................................................................................................................................................................................................................................................. Table [DSDT](id F004) - 761 Objects with 59 Devices 254 Methods 26 Regions ACPI Namespace successfully loaded at root c03c35bc ACPI: IRQ9 SCI: Level Trigger. evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful evgpeblk-0747 [06] ev_create_gpe_block : GPE 00 to 15 [_GPE] 2 regs at 000000000000E428 on int 9 evgpeblk-0747 [06] ev_create_gpe_block : GPE 16 to 31 [_GPE] 2 regs at 000000000000E42C on int 9 Completing Region/Field/Buffer/Package initialization:.................................................................................. Initialized 26/26 Regions 0/0 Fields 23/23 Buffers 33/33 Packages (769 nodes) Executing all Device _STA and_INI methods:............................................................. 61 Devices found containing: 61 _STA, 5 _INI methods ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Interrupt Link [LNKA] (IRQs *5) ACPI: PCI Interrupt Link [LNKB] (IRQs 7 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 11) ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 11) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT] ACPI: Embedded Controller [ECD0] (gpe 28) ACPI: Power Resource [PRCF] (on) Linux Plug and Play Support v0.97 (c) Adam Belay PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: Found PnP BIOS installation structure at 0xc00fc3c0 PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc3f0, dseg 0xf0000 pnp: 00:11: ioport range 0x290-0x297 has been reserved pnp: 00:11: ioport range 0x3f0-0x3f1 has been reserved pnp: 00:11: ioport range 0xe400-0xe47f has been reserved pnp: 00:11: ioport range 0xec00-0xec3f has been reserved PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' SBF: Simple Boot Flag extension found and enabled. SBF: Setting boot flags 0x1 Machine check exception polling timer started. devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 SGI XFS for Linux with no debug enabled ACPI: AC Adapter [ACAD] (on-line) ACPI: Battery Slot [BAT0] (battery present) ACPI: Power Button (FF) [PWRF] ACPI: Sleep Button (CM) [SLPB] ACPI: Lid Switch [LIDD] ACPI: Fan [CFAN] (on) ACPI: Processor [CPU0] (supports C1 C2, 8 throttling states) ACPI: Thermal Zone [THRM] (51 C) pty: 256 Unix98 ptys configured Real Time Clock Driver v1.12 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH3M: IDE controller at PCI slot 0000:00:1f.1 ICH3M: chipset revision 2 ICH3M: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x8400-0x8407, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x8408-0x840f, BIOS settings: hdc:DMA, hdd:pio hda: IC25N040ATCS04-0, ATA DISK drive Using anticipatory io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: TOSHIBA DVD-ROM SD-R2212, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: 78140160 sectors (40007 MB) w/1768KiB Cache, CHS=65535/16/63, UDMA(100) /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 > p4 end_request: I/O error, dev hdc, sector 0 cdrom: : unknown mrw mode page hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 end_request: I/O error, dev hdc, sector 0 mice: PS/2 mouse device common for all mice i8042.c: Detected active multiplexing controller, rev 1.1. serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 Synaptics Touchpad, model: 1 Firmware: 4.6 180 degree mounted touchpad Sensor: 18 new absolute packet format Touchpad has extended capability bits -> four buttons -> multifinger detection -> palm detection input: SynPS/2 Synaptics TouchPad on isa0060/serio4 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 NET: Registered protocol family 2 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) NET: Registered protocol family 1 NET: Registered protocol family 17 Resume Machine: resuming from /dev/hda1 Resuming from device hda1 Resume Machine: This is normal swap space PM: Reading pmdisk image. PM: Resume from disk failed. ACPI: (supports S0 S1 S3 S4 S5) XFS mounting filesystem hda5 Ending clean XFS mount for filesystem: hda5 VFS: Mounted root (xfs filesystem) readonly. Mounted devfs on /dev Freeing unused kernel memory: 132k freed Adding 393552k swap on /dev/hda1. Priority:-1 extents:1 XFS mounting filesystem hda6 Ending clean XFS mount for filesystem: hda6 Asus Laptop ACPI Extras version 0.26 L3C model detected, supported Linux Kernel Card Services options: [pci] [cardbus] [pm] Yenta: CardBus bridge found at 0000:02:07.0 [1043:1624] Yenta: ISA IRQ mask 0x0498, PCI irq 5 Socket status: 30000006 PCI: Enabling device 0000:02:07.1 (0000 -> 0002) Yenta: CardBus bridge found at 0000:02:07.1 [1043:1624] Yenta: ISA IRQ mask 0x0498, PCI irq 11 Socket status: 30000006 cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x2f8-0x2ff 0x378-0x37f 0x3c0-0x3df 0x3f8-0x3ff 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. 8139too Fast Ethernet driver 0.9.27 eth0: RealTek RTL8139 at 0xa800, 00:e0:18:dc:6d:bc, IRQ 9 eth0: Identified 8139 chip type 'RTL-8100' eth0: link down drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1 uhci_hcd 0000:00:1d.0: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: irq 5, io base 0000b800 uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected uhci_hcd 0000:00:1d.1: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: irq 9, io base 0000b400 uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected hub 1-0:1.0: new USB device on port 1, assigned address 2 request_module: failed /sbin/modprobe -- net-pf-10. error = 256 PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 49997 usecs intel8x0: clocking to 48000 ohci1394: $Rev: 1087 $ Ben Collins ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[9] MMIO=[d6000000-d60007ff] Max Packet=[2048] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e0180003075522] /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz stepping : 4 cpu MHz : 0.000 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 2252.80