LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: Lyrix

我困惑了:系统时钟为何走得很快?怎样解决?

[复制链接]
发表于 2005-8-8 21:09:39 | 显示全部楼层
rtc支持之类的选项呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 21:16:09 | 显示全部楼层
选中了的。Provide RTC interrupt 。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 21:19:58 | 显示全部楼层
这是我的dmesg:

Bootdata ok (command line is root=/dev/hda11 ro console=tty0 )
Linux version 2.6.12.3-11_L-12 (root@debian64) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #4 Mon Aug 8 21:36:33 CST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009b800 (usable)
BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fea0000 (usable)
BIOS-e820: 000000001fea0000 - 000000001feae000 (ACPI data)
BIOS-e820: 000000001feae000 - 000000001ff00000 (ACPI NVS)
BIOS-e820: 000000001ff00000 - 0000000020000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 PTLTD                                 ) @ 0x00000000000f6dc0
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x000000001fea836a
ACPI: FADT (v001 ATI    Piranha  0x06040000 ATI  0x000f4240) @ 0x000000001feade41
ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @ 0x000000001feadeb5
ACPI: MADT (v001 PTLTD           APIC   0x06040000  LTP 0x00000000) @ 0x000000001feadf6a
ACPI: MCFG (v001 PTLTD    MCFG   0x06040000  LTP 0x00000000) @ 0x000000001feadfc4
ACPI: DSDT (v001    ATI    SB400 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000
On node 0 totalpages: 130720
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126624 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 33, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 20000000:dec00000)
Checking aperture...
CPU 0: aperture @ 212000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
Built 1 zonelists
Kernel command line: root=/dev/hda11 ro console=tty0
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 1600.069 MHz processor.
time.c: Using PIT/TSC based timekeeping.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 509700k/522880k available (2435k kernel code, 12440k reserved, 1511k data, 156k init)
Calibrating delay loop... 3145.72 BogoMIPS (lpj=1572864)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: AMD Turion(tm) 64 Mobile Technology ML-28 stepping 02
Using local APIC timer interrupts.
Detected 12.500 MHz APIC timer.
testing NMI watchdog ... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.
ACPI: Embedded Controller [EC0] (gpe 3)
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node ffff8100017f0f40), AE_TIME
    ACPI-0158: *** Error: Method execution failed [\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node ffff8100017f0f40), AE_TIME
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB6_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB7_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI-DMA: Disabling IOMMU.
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NTFS driver 2.1.22 [Flags: R/O].
Initializing Cryptographic API
PCI: 0000:00:02.0 has unsupported PM cap regs version (3)
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[5a34:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
PCI: 0000:00:06.0 has unsupported PM cap regs version (3)
PCI: Setting latency timer of device 0000:00:06.0 to 64
pcie_portdrv_probe->Dev[5a38:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
PCI: 0000:00:07.0 has unsupported PM cap regs version (3)
PCI: Setting latency timer of device 0000:00:07.0 to 64
pcie_portdrv_probe->Dev[5a39:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
ACPI: AC Adapter [ADP1] (on-line)
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.LPC0.EC0_.BAT0._STA] (Node ffff8100017f0f40), AE_TIME
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_TZ_.TZS0._TMP] (Node ffff8100017fd980), AE_TIME
ACPI: Thermal Zone [TZS0] (60 C)
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_TZ_.TZS1._TMP] (Node ffff8100017fd8c0), AE_TIME
ACPI: Thermal Zone [TZS1] (51 C)
Losing some ticks... checking if CPU frequency changed.
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_TZ_.TZSV._TMP] (Node ffff8100017fd500), AE_TIME
ACPI: Thermal Zone [TZSV] (55 C)
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: Detected active multiplexing controller, rev 1.9.
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
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt 0000:00:14.6 -> GSI 17 (level, low) -> IRQ 209
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 217
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8410-0x8417, BIOS settings: hdaMA, hdb:pio
    ide1: BM-DMA at 0x8418-0x841f, BIOS settings: hdcMA, hdd:pio
Probing IDE interface ide0...
hda: ST960821A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: MATSHITAUJ-845D, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 1024KiB
hda: 117210240 sectors (60011 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13 hda14 hda15 hda16 > hda3 hda4
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ACPI: PCI Interrupt 0000:00:13.2[A] -> GSI 19 (level, low) -> IRQ 225
ehci_hcd 0000:00:13.2: PCI device 1002:4373 (ATI Technologies Inc)
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.2: irq 225, io mem 0xc0002000
ehci_hcd 0000:00:13.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 225
ohci_hcd 0000:00:13.0: PCI device 1002:4374 (ATI Technologies Inc)
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.0: irq 225, io mem 0xc0000000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 225
ohci_hcd 0000:00:13.1: PCI device 1002:4375 (ATI Technologies Inc)
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:13.1: irq 225, io mem 0xc0001000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
usbcore: registered new driver hiddev
usb 3-2: new low speed USB device using ohci_hcd and address 2
input: USB HID v1.00 Mouse [USB Mouse] on usb-0000:00:13.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24 10:33:39 2005 UTC).
ACPI: PCI Interrupt 0000:00:14.5 -> GSI 17 (level, low) -> IRQ 209
ALSA device list:
  #0: Dummy 1
  #1: ATI IXP rev 2 with ALC655 at 0xc0003400, irq 209
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.40.2)
powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x4 (1450 mV)
powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x16 (1000 mV)
cpu_init done, current fid 0x8, vid 0x4
input: AT Translated Set 2 keyboard on isa0060/serio0
ReiserFS: hda11: found reiserfs format "3.6" with standard journal
ReiserFS: hda11: using ordered data mode
ReiserFS: hda11: journal params: device hda11, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda11: checking transaction log (hda11)
ReiserFS: hda11: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 156k freed
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
Adding 530104k swap on /dev/hda10.  Priority:-1 extents:1
ReiserFS: hda12: found reiserfs format "3.6" with standard journal
ReiserFS: hda12: using ordered data mode
ReiserFS: hda12: journal params: device hda12, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda12: checking transaction log (hda12)
ReiserFS: hda12: Using r5 hash to sort names
ReiserFS: hda13: found reiserfs format "3.6" with standard journal
ReiserFS: hda13: using ordered data mode
ReiserFS: hda13: journal params: device hda13, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda13: checking transaction log (hda13)
ReiserFS: hda13: Using r5 hash to sort names
ReiserFS: hda15: found reiserfs format "3.6" with standard journal
ReiserFS: hda15: using ordered data mode
ReiserFS: hda15: journal params: device hda15, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda15: checking transaction log (hda15)
ReiserFS: hda15: Using r5 hash to sort names
ReiserFS: hda16: found reiserfs format "3.6" with standard journal
ReiserFS: hda16: using ordered data mode
ReiserFS: hda16: journal params: device hda16, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda16: checking transaction log (hda16)
ReiserFS: hda16: Using r5 hash to sort names
ReiserFS: hda14: found reiserfs format "3.6" with standard journal
ReiserFS: hda14: using ordered data mode
ReiserFS: hda14: journal params: device hda14, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda14: checking transaction log (hda14)
ReiserFS: hda14: Using r5 hash to sort names
NTFS volume version 3.1.
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:06:07.0[A] -> GSI 23 (level, low) -> IRQ 233
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xffffc20000866400, 00:0a:e4:e1:0e:eb, IRQ 233
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
ACPI: PCI Interrupt 0000:06:06.0[A] -> GSI 20 (level, low) -> IRQ 50
Yenta: CardBus bridge found at 0000:06:06.0 [1025:0080]
Yenta: ISA IRQ mask 0x0ef8, PCI irq 50
Socket status: 30000006
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1250 $ Ben Collins <bcollins@debian.org>
ACPI: PCI Interrupt 0000:06:06.2[C] -> GSI 22 (level, low) -> IRQ 58
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[58]  MMIO=[c0208000-c02087ff]  Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[1234567812345678]
eth1394: $Rev: 1247 $ Ben Collins <bcollins@debian.org>
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
回复 支持 反对

使用道具 举报

发表于 2005-8-9 10:07:32 | 显示全部楼层
在 google groups 查了一下, 看起来是个很多人都遇到过但很难搞定的问题.
看看下面这些链接吧, 也许会有些帮助
http://groups-beta.google.com/gr ... off&qt_s=Search

http://groups-beta.google.com/gr ... en#a7ce8a872391cef1
回复 支持 反对

使用道具 举报

发表于 2005-8-9 10:09:33 | 显示全部楼层
你的一定是本机吧. 可能与你的ACPI有关. 试试APM,看看效果如何
回复 支持 反对

使用道具 举报

发表于 2005-8-9 10:27:02 | 显示全部楼层
我的机器也出现了类似的现象,最后是在 /boot/grub/menu.list 里面加了一个 noapic 参数解决的
多用 google ,查查 linux clock runs faster 之类的就能查到

title           Debian GNU/Linux, kernel 2.6.12-1-k7
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.12-1-k7 root=/dev/hda6 ro vga=791 noapic
initrd          /boot/initrd.img-2.6.12-1-k7
savedefault
boot
回复 支持 反对

使用道具 举报

发表于 2005-8-9 10:28:07 | 显示全部楼层
捎带着还有一个有趣的现象
由于时钟变快,对双击的速度要求提高了
如果手不够快,会让人觉得双击不好用了 :)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-9 12:05:23 | 显示全部楼层
的确,加个noapictimer就解决了。终于解决这个问题了,谢谢大家!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-9 12:06:37 | 显示全部楼层
Post by conwood
捎带着还有一个有趣的现象
由于时钟变快,对双击的速度要求提高了
如果手不够快,会让人觉得双击不好用了 :)


我也遇到个有趣的:玩xbill第一局bill就快得不得了,第二局再想把bill叉完就难了 :-)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表