Re: AMD X2 unsynced TSC fix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-11-15 at 19:40 +0100, Andreas Arens wrote:
> as I see from the dmesg on the Fedora bugzilla, your acpi tables
> don't provide an entry to the HPET timer. 

> As the VIA8237 happens to have a built-in HPET, I was able to force it
> on using the
> attached patch (against 2.6.18) on an X2 system with the same
> problem, which greatly improved the system stability for me.

But I have one Intel(R) Pentium(R) D CPU 2.8 on a VIA8237
My latest suspect of the root of the problem of my computer is not in
Processor but in those VIAs. As you find that "don't provide an entry to
the HPET timer on acpi tables" it match, but how do you know that ?
I don't send DSDT on bugzilla 


> The patch is hand-crafted from some older clock-tick kernel tree
> sources I found by googling.
> 
> The thing is hackish and not suitable for mainline inclusion,
> but may be useful nontheless.
> If you find it useful, and it helps you please let me know.

I try your patch and it give me this differences on dmesg (file attach),
detect a different timer.c but no improvement without notsc boot option
and with notsc the computer got worst.


> 
-- 
Sérgio M.B.
2c2
< Linux version 2.6.18-1.3_FC5 (root@monteirov) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 SMP Wed Oct 18 23:54:57 WEST 2006
---
> Linux version 2.6.18-1.13_2.6.18.2+via_8237_force_hpet_FC6 (root@monteirov) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Thu Nov 16 00:30:41 WET 2006
24,25c24,25
< On node 0 totalpages: 254172
<   DMA zone: 1746 pages, LIFO batch:0
---
> On node 0 totalpages: 254180
>   DMA zone: 1754 pages, LIFO batch:0
48c48
< Built 1 zonelists.  Total pages: 254172
---
> Built 1 zonelists.  Total pages: 254180
52,53c52,55
< time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
< time.c: Detected 2793.051 MHz processor.
---
> 80000800
> time.c: WARNING: Enabled VIA8237 HPET at 0xfed00000.
> time.c: Using 14.318180 MHz WALL HPET GTOD HPET/TSC timer.
> time.c: Detected 2793.383 MHz processor.
55c57
< time.c: Lost 1 timer tick(s)! rip release_console_sem+0x1bc/0x232)
---
> time.c: Lost 11 timer tick(s)! rip release_console_sem+0x1b3/0x229)
69,70c71,72
< Memory: 1013704k/1048256k available (2391k kernel code, 34164k reserved, 1964k data, 204k init)
< Calibrating delay using timer specific routine.. 5595.08 BogoMIPS (lpj=11190172)
---
> Memory: 1013332k/1048256k available (2382k kernel code, 34536k reserved, 1956k data, 204k init)
> Calibrating delay using timer specific routine.. 5594.01 BogoMIPS (lpj=2797007)
86,88c88,90
< result 12468969
< Detected 12.468 MHz APIC timer.
< time.c: Lost 9 timer tick(s)! rip setup_boot_APIC_clock+0x12c/0x12f)
---
> result 12470375
> Detected 12.470 MHz APIC timer.
> time.c: Lost 35 timer tick(s)! rip setup_boot_APIC_clock+0x128/0x12f)
92c94
< Calibrating delay using timer specific routine.. 5586.53 BogoMIPS (lpj=11173068)
---
> Calibrating delay using timer specific routine.. 5586.07 BogoMIPS (lpj=2793035)
99a102
> time.c: Lost 2 timer tick(s)! rip __do_softirq+0x5c/0xf5)
101c104
< migration_cost=691
---
> migration_cost=681
103c106
< Freeing initrd memory: 1100k freed
---
> Freeing initrd memory: 1507k freed
169a173,174
> hpet0: at MMIO 0xfed00000 (virtual 0xffffffffff5fe000), IRQs 2, 8, 0
> hpet0: 3 32-bit timers, 14318180 Hz
191c196
< audit(1162252117.788:1): initialized
---
> audit(1163638320.760:1): initialized
210,211c215,216
< ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._PDC] (Node ffff8100027fb810), AE_BAD_HEADER
< ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU2._PDC] (Node ffff8100027fb650), AE_BAD_HEADER
---
> ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._PDC] (Node ffff8100027e0810), AE_BAD_HEADER
> ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU2._PDC] (Node ffff8100027e0650), AE_BAD_HEADER
249d253
< PM: Adding info for serio:serio1
250a255
> PM: Adding info for serio:serio1
259c264
< Write protecting the kernel read-only data: 451k
---
> Write protecting the kernel read-only data: 444k
261,308d265
< SCSI subsystem initialized
< libata version 2.00 loaded.
< sata_via 0000:00:0f.0: version 2.0
< ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 193
< sata_via 0000:00:0f.0: routed to hard irq line 3
< ata1: SATA max UDMA/133 cmd 0xD880 ctl 0xD802 bmdma 0xD080 irq 193
< ata2: SATA max UDMA/133 cmd 0xD480 ctl 0xD402 bmdma 0xD088 irq 193
< scsi0 : sata_via
< PM: Adding info for No Bus:host0
< ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
< input: ImPS/2 Generic Wheel Mouse as /class/input/input1
< ata1.00: ATA-7, max UDMA/100, 390721968 sectors: LBA48 NCQ (depth 0/32)
< ata1.00: ata1: dev 0 multi count 16
< ata1.00: configured for UDMA/100
< scsi1 : sata_via
< PM: Adding info for No Bus:host1
< ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
< ATA: abnormal status 0x7F on port 0xD487
< time.c: Lost 1 timer tick(s)! rip __do_softirq+0x5c/0xf5)
< PM: Adding info for No Bus:target0:0:0
<   Vendor: ATA       Model: Maxtor 6L200M0    Rev: BANC
<   Type:   Direct-Access                      ANSI SCSI revision: 05
< PM: Adding info for scsi:0:0:0:0
< SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
< sda: Write Protect is off
< sda: Mode Sense: 00 3a 00 00
< SCSI device sda: drive cache: write back
< SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
< sda: Write Protect is off
< sda: Mode Sense: 00 3a 00 00
< SCSI device sda: drive cache: write back
<  sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 >
< sd 0:0:0:0: Attached scsi disk sda
< kjournald starting.  Commit interval 5 seconds
< EXT3-fs: mounted filesystem with ordered data mode.
< SELinux:  Disabled at runtime.
< SELinux:  Unregistering netfilter hooks
< audit(1162252122.040:2): selinux=0 auid=4294967295
< input: PC Speaker as /class/input/input2
< via-rhine.c:v1.10-LK1.4.1 July-24-2006 Written by Donald Becker
< GSI 18 sharing vector 0xC9 and IRQ 18
< ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 201
< eth0: VIA Rhine II at 0xfbfffc00, 00:13:8f:6e:8f:c5, IRQ 201.
< eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021.
< hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
< Uniform CD-ROM driver Revision: 3.20
< shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
< sd 0:0:0:0: Attached scsi generic sg0 type 0
310,311c267,268
< GSI 19 sharing vector 0xD1 and IRQ 19
< ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 209
---
> GSI 18 sharing vector 0xC9 and IRQ 18
> ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 201
314c271
< uhci_hcd 0000:00:10.0: irq 209, io base 0x0000ec00
---
> uhci_hcd 0000:00:10.0: irq 201, io base 0x0000ec00
322c279
< ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 209
---
> ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 201
325c282
< uhci_hcd 0000:00:10.1: irq 209, io base 0x0000e080
---
> uhci_hcd 0000:00:10.1: irq 201, io base 0x0000e080
333c290
< ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 209
---
> ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 201
336c293
< uhci_hcd 0000:00:10.2: irq 209, io base 0x0000e000
---
> uhci_hcd 0000:00:10.2: irq 201, io base 0x0000e000
343,345d299
< Floppy drive(s): fd0 is 1.44M
< FDC 0 is a post-1991 82077
< PM: Adding info for platform:floppy.0
347c301
< ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 209
---
> ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 201
350c304
< uhci_hcd 0000:00:10.3: irq 209, io base 0x0000dc00
---
> uhci_hcd 0000:00:10.3: irq 201, io base 0x0000dc00
356a311
> input: ImPS/2 Generic Wheel Mouse as /class/input/input1
358,359c313,314
< PM: Adding info for No Bus:i2c-0
< ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 209
---
> ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 201
362c317
< ehci_hcd 0000:00:10.4: irq 209, io mem 0xfbfff800
---
> ehci_hcd 0000:00:10.4: irq 201, io mem 0xfbfff800
370a326,385
> SCSI subsystem initialized
> libata version 2.00 loaded.
> sata_via 0000:00:0f.0: version 2.0
> ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 193
> sata_via 0000:00:0f.0: routed to hard irq line 3
> ata1: SATA max UDMA/133 cmd 0xD880 ctl 0xD802 bmdma 0xD080 irq 193
> ata2: SATA max UDMA/133 cmd 0xD480 ctl 0xD402 bmdma 0xD088 irq 193
> scsi0 : sata_via
> PM: Adding info for No Bus:host0
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.00: ATA-7, max UDMA/100, 390721968 sectors: LBA48 NCQ (depth 0/32)
> ata1.00: ata1: dev 0 multi count 16
> ata1.00: configured for UDMA/100
> scsi1 : sata_via
> PM: Adding info for No Bus:host1
> ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
> ATA: abnormal status 0x7F on port 0xD487
> time.c: Lost 10 timer tick(s)! rip __do_softirq+0x5c/0xf5)
> usb 5-6: new high speed USB device using ehci_hcd and address 2
> PM: Adding info for No Bus:target0:0:0
>   Vendor: ATA       Model: Maxtor 6L200M0    Rev: BANC
>   Type:   Direct-Access                      ANSI SCSI revision: 05
> PM: Adding info for scsi:0:0:0:0
> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: drive cache: write back
> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: drive cache: write back
>  sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 >
> sd 0:0:0:0: Attached scsi disk sda
> PM: Adding info for usb:5-6
> PM: Adding info for No Bus:usbdev5.2_ep00
> usb 5-6: configuration #1 chosen from 1 choice
> PM: Adding info for usb:5-6:1.0
> PM: Adding info for No Bus:usbdev5.2_ep81
> PM: Adding info for No Bus:usbdev5.2_ep02
> PM: Adding info for No Bus:usbdev5.2_ep83
> libusual: modprobe for usb-storage succeeded, but module is not present
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> SELinux:  Disabled at runtime.
> SELinux:  Unregistering netfilter hooks
> audit(1163638326.450:2): selinux=0 auid=4294967295
> via-rhine.c:v1.10-LK1.4.1 July-24-2006 Written by Donald Becker
> GSI 19 sharing vector 0xD1 and IRQ 19
> ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 209
> eth0: VIA Rhine II at 0xfbfffc00, 00:13:8f:6e:8f:c5, IRQ 209.
> eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
> shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> sd 0:0:0:0: Attached scsi generic sg0 type 0
> input: PC Speaker as /class/input/input2
> PM: Adding info for No Bus:i2c-0
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> PM: Adding info for platform:floppy.0
375,388d389
< usb 5-6: new high speed USB device using ehci_hcd and address 3
< PM: Adding info for usb:5-6
< PM: Adding info for No Bus:usbdev5.3_ep00
< usb 5-6: configuration #1 chosen from 1 choice
< PM: Adding info for usb:5-6:1.0
< PM: Adding info for No Bus:usbdev5.3_ep81
< PM: Adding info for No Bus:usbdev5.3_ep02
< PM: Adding info for No Bus:usbdev5.3_ep83
< Initializing USB Mass Storage driver...
< usb 2-2: new full speed USB device using uhci_hcd and address 2
< PM: Adding info for usb:2-2
< PM: Adding info for No Bus:usbdev2.2_ep00
< usb 2-2: configuration #1 chosen from 1 choice
< PM: Adding info for usb:2-2:1.0
391,402d391
< PM: Adding info for No Bus:usbdev2.2_ep85
< PM: Adding info for usb:2-2:1.1
< scsi2 : SCSI emulation for USB Mass Storage devices
< PM: Adding info for No Bus:host2
< usb-storage: device found at 3
< usb-storage: waiting for device to settle before scanning
< usbcore: registered new driver usb-storage
< USB Mass Storage support registered.
< PM: Adding info for No Bus:usbdev2.2_ep81
< PM: Adding info for No Bus:usbdev2.2_ep02
< eth1: register 'cdc_ether' at usb-0000:00:10.1-2, CDC Ethernet Device, 00:90:64:fc:ce:2b
< usbcore: registered new driver cdc_ether
407d395
< ibm_acpi: ec object not found
421,458c409,410
< PM: Adding info for No Bus:target2:0:0
<   Vendor: OTi       Model: CF CARD Reader    Rev: 2.00
<   Type:   Direct-Access                      ANSI SCSI revision: 00
< PM: Adding info for scsi:2:0:0:0
< sd 2:0:0:0: Attached scsi removable disk sdb
< sd 2:0:0:0: Attached scsi generic sg1 type 0
<   Vendor: OTi       Model: SM CARD Reader    Rev: 2.00
<   Type:   Direct-Access                      ANSI SCSI revision: 00
< PM: Adding info for scsi:2:0:0:1
< sd 2:0:0:1: Attached scsi removable disk sdc
< sd 2:0:0:1: Attached scsi generic sg2 type 0
<   Vendor: OTi       Model: SD CARD Reader    Rev: 2.00
<   Type:   Direct-Access                      ANSI SCSI revision: 00
< PM: Adding info for scsi:2:0:0:2
< sd 2:0:0:2: Attached scsi removable disk sdd
< sd 2:0:0:2: Attached scsi generic sg3 type 0
<   Vendor: OTi       Model: MS CARD Reader    Rev: 2.00
<   Type:   Direct-Access                      ANSI SCSI revision: 00
< PM: Adding info for scsi:2:0:0:3
< sd 2:0:0:3: Attached scsi removable disk sde
< sd 2:0:0:3: Attached scsi generic sg4 type 0
< PM: Adding info for No Bus:target2:0:1
< PM: Removing info for No Bus:target2:0:1
< PM: Adding info for No Bus:target2:0:2
< PM: Removing info for No Bus:target2:0:2
< PM: Adding info for No Bus:target2:0:3
< PM: Removing info for No Bus:target2:0:3
< PM: Adding info for No Bus:target2:0:4
< PM: Removing info for No Bus:target2:0:4
< PM: Adding info for No Bus:target2:0:5
< PM: Removing info for No Bus:target2:0:5
< PM: Adding info for No Bus:target2:0:6
< PM: Removing info for No Bus:target2:0:6
< PM: Adding info for No Bus:target2:0:7
< PM: Removing info for No Bus:target2:0:7
< usb-storage: device scan complete
< eth0: link up, 10Mbps, half-duplex, lpa 0x0021
< audit(1162252141.385:3): audit_pid=2024 old=0 by auid=4294967295
---
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> audit(1163638345.198:3): audit_pid=1980 old=0 by auid=4294967295
462d413
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
466c417
< eth1: no IPv6 routers present
---
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
468,476c419,430
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip _spin_unlock_irq+0x2e/0x31)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
< time.c: Lost 300 timer tick(s)! rip mwait_idle+0x3f/0x54)
---
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip sha_transform+0x1c/0x1f4)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip 0x2b5b93ffd59a)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)
> time.c: Lost 1201 timer tick(s)! rip mwait_idle+0x3f/0x54)

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux