Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Warning : many lost ticks, time source seems to be instable
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
LordPhobos
n00b
n00b


Joined: 22 May 2003
Posts: 15

PostPosted: Sun Feb 27, 2005 3:54 pm    Post subject: Reply with quote

Has anyone found a fix for this yet? I'm running the 2.6.10-r7 Gentoo-Dev kernel on my eMachines M6805 (AMD64) laptop and I'm still getting this "lost ticks" message. Would definitely like to fix it if a solution has been found.
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Mon Feb 28, 2005 12:18 am    Post subject: Reply with quote

Interesting, I thought that they fixed the problem already. I don't have the 'lost ticks' messages in my dmesg anymore - they stopped when I tried gentoo-dev-sources-2.6.9-r14 if i remember correctly.

Lately I'm having issues with my keyboard - it does not seem to react on keypress (even on key release - the key is 'stuck' and repeat until I punch it again). The keyboard seems to start working correctly when I shut down gkrellm and gnome-battery-applet. This is very interesting because I remember that the 'lost ticks' messages stopped when I did exactly this (stopped both gkrellm and that battery-panel).

I think that these two bugs are related and (maybe only in my case) connected somehow to buggy ACPI driver. If this is the case then why did the 'lost ticks' message stopped spawning in my log? I don't know. Hope someone out there does :wink:
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
DiscreteOnyxOrb
n00b
n00b


Joined: 08 Apr 2004
Posts: 24

PostPosted: Mon Feb 28, 2005 10:50 pm    Post subject: fixed? Reply with quote

Can anyone else confirm that upgrading to gentoo-dev-sources-2.6.9-r14 fixes the problem? I'm on a K8V Deluxe and my particular incarnation of the problem seems to be tied to my VMware habit. I have ACPI compeltely turned off. vyzivus, what hardware are you using?
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Tue Mar 01, 2005 12:35 pm    Post subject: Reply with quote

I have VIA chipset, that's for sure. But I can't detect my motherboard anyhow! I have acer aspire 1501lmi laptop, here is the lspci output:
Code:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
0000:00:0a.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0000:00:0b.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
0000:00:0b.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
0000:00:0b.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02)
0000:00:0c.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
0000:00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

Acer does not have this nb anymore, google won't help either.
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
ShadowHawkBV
Guru
Guru


Joined: 27 Mar 2004
Posts: 352

PostPosted: Tue Mar 01, 2005 10:46 pm    Post subject: Reply with quote

This problem seems to be caused by numerous things. Mine was caused by

USB 1.1 support in the BIOS being on. as well as HID support and VIA 82XX sound being activated in the kernel as *.

If memory serves, the 2.6.9+ or 2.6.10+ kernels stopped the reporting of these error messages. There is an option to turn the error message back on in the menuconfig, if it is still occuring. Everyone seems to have an opinion on what is causing it, but no one solution seems to fix everyone.

Good luck.
_________________
This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.

Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration :-)
Back to top
View user's profile Send private message
ahorn
Guru
Guru


Joined: 01 Nov 2004
Posts: 366
Location: Ol' europe

PostPosted: Sun Mar 06, 2005 1:41 pm    Post subject: Reply with quote

what is with the kernel parameter 'notsc' and 'nohpet', some1 tested it?
_________________
Too many connections. Please try again later.
Back to top
View user's profile Send private message
Entropius
n00b
n00b


Joined: 24 Aug 2004
Posts: 16

PostPosted: Fri Apr 22, 2005 2:01 pm    Post subject: Reply with quote

In my case it's not just error messages -- the clock is losing about twenty minutes a day, making me late for work yesterday.

I'm running a 32-bit Gentoo system on an AMD64 laptop (Via motherboard), if that helps. Enabling the "power management timer support" in the kernel and recompiling now ... we'll see if that helps.
Back to top
View user's profile Send private message
alaa
n00b
n00b


Joined: 23 Feb 2004
Posts: 57

PostPosted: Sun May 15, 2005 7:09 pm    Post subject: Reply with quote

I'm running 2.6.11-gentoo-r7 and have been having problems running ndiswrapper on my AMD64 machine. Whenever I do that it causes a process called events/0 to take up 99% cpu.

dmesg shows:

Code:

ndiswrapper version 1.1 loaded (preempt=no,smp=no)
ndiswrapper: driver netbc564 (,10/01/2002,3.70.17.5) loaded
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 16 (level, low) -> IRQ 16
ndiswrapper: using irq 16
Losing some ticks... checking if CPU frequency changed.
wlan0: ndiswrapper ethernet device 00:0c:41:65:fd:88 using driver netbc564, configuration file 14E4:4320.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip NdisMSynchronizeWithInterrupt+0xb3/0xd0 [ndiswrapper]


Any ideas what might be causing this one?
Back to top
View user's profile Send private message
numbaonestunna
n00b
n00b


Joined: 05 Mar 2003
Posts: 48

PostPosted: Tue May 17, 2005 3:14 pm    Post subject: I don't know... Reply with quote

but i have the *exact* same problem, and it *pisses* me off. Anyone have any ideas? Stupid ndiswrapper!
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Tue May 17, 2005 3:19 pm    Post subject: Reply with quote

stupid ndiswrapper? don't use it, support it or pay for driverloader! ndiswrapper devs don't have amd64
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Wed May 18, 2005 2:15 am    Post subject: Reply with quote

I have tried both ndiiswrapper and driverloader. I get the same problem with both.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
new2gen2
n00b
n00b


Joined: 27 May 2005
Posts: 1

PostPosted: Fri May 27, 2005 3:27 am    Post subject: Many lost ticks.... Reply with quote

I am afraid I got bad news for everyone that has this problem!
I have 4 different Linux 64 bit OSs on one 80GB SATA hard drive.
Because the CMOS date & time are effected so are the OSs!
Ive traced back the problem back to the AMD64 2004 install CD
which I downloaded & burned on April 10 2005.
I am now in the process of starting all over again.
DANG!!! That was the only Gentoo I got to work out of the last 4 years.
Try booting the install CD again and watch for it or simply do a
"dmesg | less".
:oops:
UPDATE: It was the Universal AMD64 install CD (above date)that has the problem.
Started over by downloading and burning Minimum AMD64 CD then
seperately downloading stage3 and latest portage.
e.c.
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Fri May 27, 2005 6:38 am    Post subject: Reply with quote

my installation one year ago was using the minimal liveCD 2004.2 or 2004.1, don't remember exactly, from stage1. atm i'm on 2005.0 and i am running a vanilla kernel. ndiswrapper fires my wifi. my "lost ticks output" is as follows:

Code:
warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip handle_IRQ_event+0x20/0x60


nothing about ndiswrapper but even possible that it causes some problems too. but before ndiswrapper got 64bit i was using a prism54 card and i still lost ticks so there is something different making the problems. usually it is a problem with the crap DSDTs the manufacturers ship with the computers they sell. somewhere on the forums you can find a link to a DSDT repair thread, i guess your DSDTs produces problems too. And for the installation. Loosing ticks has nothing to do with the installationmedium. It is a kernel/driver problem and/or ACPI-Problem. nothing else. On my laptop even the keyboard is connected via ACPI somehow and so the keyboard misses interrupts and sometimes repeats characters until i press the same key again. It's quite nasty but i guess hard too solve without the help of the manufacturers


regards

Georg Schild
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Fri May 27, 2005 7:43 pm    Post subject: Reply with quote

There is a fix for this in vanilla 2.6.12 release candidate for this. It's the only thing that appears in make oldconfig going from rc3 to 4 for me.
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Sun Jun 26, 2005 5:27 pm    Post subject: Reply with quote

Sorry to drench up an old topic, but I've got this problem too now.

I just upgraded to a dual core 4400 and 2x 7800GTXs, and now when the system is under a heavy load, the system clock runs too fast. At first, it could get really bad to the point where a video I was watching was running like it was in fast forward, but after tweaking around with it, I only got ahead about 4 minutes overnight while doing repeated xorg compiles. I updated my bios to the latest one available for the neo4 SLI, and have tried both the 2.6.12.1 vanilla and the 2.6.12-gentoo-r1 kernels with SMP enabled. Both cores are properly detected, and loads are distributed between them. Here's the exact error I see in dmesg
Code:
Jun 26 09:03:33 [kernel] Your time source seems to be instable or some driver is
 hogging interupts
Jun 26 09:03:33 [kernel] rip default_idle+0x20/0x30


I have the MSI neo4 SLI, a 4400 dual core, 1GB OCZ pc3200 platinum rev2, soundblaster audigy, a seagate 7200.8RPM 200GB sata hard drive, 2x 7800GTXs (no SLI Linux drivers yet) and a lite on SOHW-1693S DVD burner. I was using syskonnect's patch to make the marvell onboard NIC work with this mobo, since it's a slightly different model than most boards use since it's on the PCI-E bus, but I've tried using the nforce NIC, and even a PCI realtek 8139 NIC to rule out it being the marvell.

Here's my current kernel config for 2.6.12.1 http://home.earthlink.net/~paulsdead/config
Here's my emerge info
Code:
paulisdead@deepthought ~/dvd $ emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12.1 x86_64)
=================================================================
System uname: 2.6.12.1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe -frename-registers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi berkdb bitmap-fonts bonobo cdr crypt cups curl divx dvb dvd dvdr dvdread eds encode esd fam flac font-server fortran freetype gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad mikmod motif mozilla mp3 mpeg mpeg4 mysql ncurses nls ogg oji openal opengl oss pam perl png python readline samba sdl slang smoothe smp speex ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales videos vorbis xine xinerama xml xml2 xmms xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS


Here's what I've tried. Enabling and disabling preempt, HPET timer, all CPU frequency scaling, and Hangcheck timer. I've tried building alsa in and out of the kernel. I've tried using the PM Timer. I've tried locking IRQs to one core, since I've heard problems like this happening with the timer being juggled between CPUs. I've tried not running gkrellm, and not loading any i2c modules. I've tried enabling and disabling APIC. No dynamic overclocking is enabled. That's all I can think of for now, but it seems like I've tried more.

I had to modify the 7664 ebuild so it would build the 7667 drivers so they'd work with the 7800GTX.
_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Tue Jun 28, 2005 3:37 am    Post subject: Reply with quote

OK, well I know it's not specific to the MSI Neo4. I swapped it out for the DFI Nf4 UT, and am still having my clock run fast. I also gave the 2.6.12-git8 kernel a shot, and switched to udev in the process, and haven't seen any improvement.
_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Tue Jun 28, 2005 8:01 pm    Post subject: Reply with quote

I have emerged gentoo-sources-2.6.12-r2 just now, turned off HPET timers in kernel, turned on 'Processor type & feats > PM timer' and succesfully got rid of that last 'lost ticks' message. I also modprobed ac and battery (ACPI-stuff, that caused the keyboard key-ignorance problem), and it's working for now. Yes :-D
I heard that VIA opened their specifications to the world, maybe this is the first fruit? ;)
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Wed Jun 29, 2005 4:51 pm    Post subject: Reply with quote

vyzivus wrote:
I have emerged gentoo-sources-2.6.12-r2 just now, turned off HPET timers in kernel, turned on 'Processor type & feats > PM timer' and succesfully got rid of that last 'lost ticks' message. I also modprobed ac and battery (ACPI-stuff, that caused the keyboard key-ignorance problem), and it's working for now. Yes :-D
I heard that VIA opened their specifications to the world, maybe this is the first fruit? ;)

Gave that a shot, my clock's still running too fast.
_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Sat Jul 02, 2005 10:00 pm    Post subject: Reply with quote

It looks like I finally fixed it. I just compiled xorg without any clock drift for the first time I got this chip. I noticed my CPU temp went down, so it was probably running the chip itself faster too. I decided to try a lot of boot options at once, so I'm not sure what did it, but I'm on 2.6.13-rc1 and booted the kernel up with these options

Code:
kernel /2.6.13-rc1 root=/dev/sda3 video=vesa:ywrap,mtrr vga=0x31A clock=pmtmr pci=biosirq pci=irqroute pci=noacpi

_________________
"we should make it a law that all geeks have dates" - Linus
Back to top
View user's profile Send private message
c0un7d0wn
n00b
n00b


Joined: 03 Oct 2004
Posts: 10

PostPosted: Fri Jul 08, 2005 1:01 pm    Post subject: Reply with quote

I have the same problem both in 32 bit and 64 bit. Using no_timer_check fixed the problem in 64 bit but not on 32 bit.

no_timer_check is available in >=2.6.12 only.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 08, 2005 6:43 pm    Post subject: Reply with quote

A shame there hasn't been a definitive problem/solution. I've had the lost ticks/instable time source/hogging interrupts message only 3 times prior to now, and I didn't even know it. The only reason I noticed now, is because my USB drive isn't recognized anymore. No hardware changes, and no kernel changes in quite a while (trying another now).

EDIT:

*points and laughs at the idiot*

Never underestimate Layer 1. The USB cable was plugged into a different PC :D

However, upgrading the did kill my sound.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
blotto
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2003
Posts: 116
Location: Whitehaven UK

PostPosted: Sat Jul 09, 2005 10:09 am    Post subject: Reply with quote

Hi
I solved my timing issue and someone elses sound problems with this
blotto wrote:
Hi
Just got same lappy myself its probably cos your system time is running fast, as mine is.
Only just got a fix for my timer but havn't had time to try it yet.

Try this in your grub kernel line
Code:
kernel /2.6.12-r4   noapictimer  root=/dev/hda3

Just add the noapic bit.

Ive tried other suggestions from forum searches but none have worked but Im hopeful for this latest one -f ound HERE


in reply to this posthttps://forums.gentoo.org/viewtopic-t-356982.html
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Sun Sep 11, 2005 5:17 am    Post subject: Reply with quote

For everyone whit AMD64x2 processors having this problem:

It appears to be a kernel bug:

http://bugzilla.kernel.org/show_bug.cgi?id=5105
Back to top
View user's profile Send private message
tsaiming
n00b
n00b


Joined: 23 May 2005
Posts: 27

PostPosted: Thu Sep 15, 2005 7:31 am    Post subject: Reply with quote

Same problem on AMD64 (not dual) on aspire 1522Wlmi, with a little difference, this problem is often (maybe always) related to the keyboard issuse (lost or repeated keystroke).
I've tried all the solution here, nothing worked, I have tried suse 9.2 (32 bit) Live cd and the keyboard (then the "lost tick") stuffs don't appear!
Have someone installed gentoo 64 on the same machine?
Back to top
View user's profile Send private message
ycUygB1
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 276
Location: Portland, Oregon

PostPosted: Thu Sep 15, 2005 2:54 pm    Post subject: boot with notsc Reply with quote

After reading the bugzilla thread, the consensus seems to be that booting with notsc will solve the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum