[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Per the last few of comments, it appears this bug is no longer and issue and will be marked as closed against linux-source-2.6.20. Against linux-source-2.6.15 and linux-restricted-modules-2.6.15, this bug does not meet the criteria for a stable release update and will also be closed. You can learn more about the stable release update process at https://wiki.ubuntu.com/StableReleaseUpdates . Thanks! ** Also affects: linux-source-2.6.20 (Ubuntu) Importance: Undecided Status: New ** Changed in: linux-source-2.6.20 (Ubuntu) Importance: Undecided = Unknown Status: New = Fix Released ** Changed in: linux-source-2.6.15 (Ubuntu) Status: Confirmed = Won't Fix ** Changed in: linux-restricted-modules-2.6.15 (Ubuntu) Status: New = Won't Fix -- BUG() report in getnstimeofday: soft lockup https://bugs.launchpad.net/bugs/53216 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
** Tags added: kernel-bug -- BUG() report in getnstimeofday: soft lockup https://bugs.launchpad.net/bugs/53216 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I think this bug can be closed now... not seen in any newer kernel releases. -- BUG() report in getnstimeofday: soft lockup https://bugs.launchpad.net/bugs/53216 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
John McPherson said on 2007-04-10: this lockup does not occur for me any more using skype on ubuntu 7.04 betas that come with kernel 2.6.20. Thanks for the heads-up. I've re-enabled sound and the problem seems to have gone away. I'm running Feisty, kernel Linux ferrari 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux. Audio on incoming chats works (although I've disabled it again because it's so annoying!) and VoIP seems to work perfectly too. -- BUG() report in getnstimeofday: soft lockup https://bugs.launchpad.net/bugs/53216 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Me too. No lockup problem since update to 2.6.20-14, but now I get the decreasing quality that other people described before. After ~1 hour I can't talk with other people over voice connection, but chat and file transfers work correctly. -- BUG() report in getnstimeofday: soft lockup https://bugs.launchpad.net/bugs/53216 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
this lockup does not occur for me any more using skype on ubuntu 7.04 betas that come with kernel 2.6.20. -- BUG() report in getnstimeofday: soft lockup https://bugs.launchpad.net/bugs/53216 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Skype does not run with suid. It runs under normal (non-root) user privileges. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I suspect Skype is running away (or more likely spin waiting in a tight loop calling gettimeofday). If a process is SCHED_FIFO 99, then it will block all other processes from running until it yields. It may be possible that it could also tickle the soft-lockup detection code. I'm guessing skype runs suid (in order to set itself SCHED_FIFO 99)? What happens if you remove its suid bit and force it to run as a regular user? -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
i can also confirm that turning off the notification sounds 'resolves' this issue. I think this bug be looked at as a matter of urgency, it affects most ubuntu users using skype and is a serious DoS vun. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
But isn't it playing a sound when you actually start talking, too? I don't remember trying this... -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
It only solves the issue when chatting. For voice-calls it's still the same problem. So it seems to be pretty sure that this issue is related to audio output (and maybe also input). But on the other hand the problem occurs with the ALSA as well as the OSS kernel drivers. Did anyone try if 2.6.20-vanilla solves this issue? By the way - here is some more information on the replies which I received to my LKML posting (http://lkml.org/lkml/2006/10/11/200) - I just noticed that this mails weren't posted on the list. The discussion is between another user experiencing the problem and one of the kernel developers. Unlike this users system my system also completely hangs with 2.6.19. - Currently I'm using 2.6.19-rc4 and Skype now behaves different. When calling, the system load increases to 100% and audio stutters, but there is no lockup. I'll test 2.6.19-rc5 during the weekend. - It'd be useful if you could grab a kernel profile when the system load is high: - Enable CONFIG_PROFILING - Boot with `profile=1' on the kernel command line - Run: readprofile -r sleep 10 readprofile -n -v -m /boot/system.map | sort -n -k 3 | tail -40 Or, if oprofile is working: #!/bin/sh sudo opcontrol --stop sudo opcontrol --shutdown sudo rm -rf /var/lib/oprofile sudo opcontrol --vmlinux=/boot/vmlinux-$(uname -r) sudo opcontrol --start-daemon sudo opcontrol --start sleep 10 sudo opcontrol --stop sudo opcontrol --shutdown sudo opreport -l /boot/vmlinux-$(uname -r) | head -50 - Here is the oprofile log. Seems to be acpi related? CPU: CPU with timer interrupt, speed 0 MHz (estimated) Profiling through timer interrupt samples %symbol name 709 44.2848 acpi_pm_read 232 14.4909 schedule 164 10.2436 system_call 613.8101 __wake_up 482.9981 __copy_to_user_ll I'd say skype is doing something dumb there. The machine is apparently madly context-switching and reading the time. - I just upgraded to 2.6.19 and it's still the same behaviour (system hangs). Does it work for you when using 2.6.19 (non-rc)? Yes, 2.6.19 works like the -rc kernels. I did not encounter any lockups with these kernel. But I have to restart skype after some time to be able to use audio. Otherwise, the audio quality is getting worse and system load increases. I don't know what skype does, but maybe it is related to skypes attempts to prevent debugging... - -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
If anyone is able to reproduce this problem on 2.6.20 please post a report to http://bugzilla.kernel.org/ and link to this report. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Confirmed that is a sound problem!! Testing the Incoming Chat sound in Sound Preferences the system freeze happens just like when receving a new chat request. BTW, no solutions yet, right? -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I have seen this bug happen on an older laptop with a ipw2100 card and Intel 82801 card. I have seen people ringing the laptop via skype often, in order to make it lock on purpose. Moreover, it once happened with my laptop that it could not get out of the hang. Since this bug is exploited by a very common instant messaging application, this becomes a security risk, because people from outside can lock other people systems on purpose as I just saw. ** This bug has been flagged as a security issue -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I have the same problem. Kubuntu edgy 6.10 on a Centrino Duo with ipw3945 wireless. Full configuration of the hardware is here: a href=http://baheyeldin.com/click/782/5;Toshiba Satellite A100-TA6 with Kubuntu/a. Occasionally, when an incoming call from Skype comes in, (and perhaps when I am on battery), the machine will hang for 30 seconds or so, then everything comes back to normal. Plain vanilla kernel, with only kqemu tainting it (and perhaps the ipw3945) $ uname -a Linux somehost 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux Here are two occurances. [17509010.604000] BUG: soft lockup detected on CPU#0! [17509010.604000] c01491cf softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 [17509010.604000] c0139320 hrtimer_get_res+0x0/0x60 c0114d13 smp_apic_timer_interrupt+0x53/0x60 [17509010.604000] c010413c apic_timer_interrupt+0x1c/0x30 c0139320 hrtimer_get_res+0x0/0x60 [17509010.604000] c01172c8 hpet_readl+0x8/0x10 c010e98a get_offset_hpet+0xa/0x30 [17509010.604000] c0106959 do_gettimeofday+0x19/0xc0 c0139320 hrtimer_get_res+0x0/0x60 [17509010.604000] c0126f3d getnstimeofday+0xd/0x30 c0135697 sys_clock_gettime+0x77/0x90 [17509010.604000] c0102fbb sysenter_past_esp+0x54/0x79 [17509010.86] BUG: soft lockup detected on CPU#1! [17509010.86] c01491cf softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 [17509010.86] c0114d13 smp_apic_timer_interrupt+0x53/0x60 c010413c apic_timer_interrupt+0x1c/0x30 [17509042.70] ipw3945: Microcode SW error detected. Restarting. [17509042.768000] ipw3945: Microcode HW error detected. Restarting. [17509043.272000] ipw3945: Error sending LEDS_CMD: time out after 500ms. [17509043.772000] ipw3945: Error sending ADD_STA: time out after 500ms. [17509043.772000] ipw3945: Can't stop Rx DMA. [17509045.184000] ipw3945: Detected geography ABG (11 802.11bg channels, 13 802.11a channels) [17509055.344000] BUG: soft lockup detected on CPU#1! [17509055.344000] c01491cf softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 [17509055.344000] c0114d13 smp_apic_timer_interrupt+0x53/0x60 c010413c apic_timer_interrupt+0x1c/0x30 [17509055.344000] c01172c8 hpet_readl+0x8/0x10 c010e98a get_offset_hpet+0xa/0x30 [17509055.344000] c0106959 do_gettimeofday+0x19/0xc0 c0139320 hrtimer_get_res+0x0/0x60 [17509055.344000] c0126f3d getnstimeofday+0xd/0x30 c0135697 sys_clock_gettime+0x77/0x90 [17509055.344000] c0102fbb sysenter_past_esp+0x54/0x79 [17510957.904000] ipw3945: Microcode SW error detected. Restarting. [17510958.424000] ipw3945: Error sending LEDS_CMD: time out after 500ms. [17510959.42] ipw3945: Can't stop Rx DMA. [17510960.416000] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 1 bytes away. [17510960.86] ipw3945: Detected geography ABG (11 802.11bg channels, 13 802.11a channels) Second occurance. [17576818.04] BUG: soft lockup detected on CPU#1! [17576818.04] c01491cf softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 [17576818.04] c0114d13 smp_apic_timer_interrupt+0x53/0x60 c010413c apic_timer_interrupt+0x1c/0x30 [17576818.04] c01172c8 hpet_readl+0x8/0x10 c010e98a get_offset_hpet+0xa/0x30 [17576818.04] c0106959 do_gettimeofday+0x19/0xc0 c0139320 hrtimer_get_res+0x0/0x60 [17576818.04] c0126f3d getnstimeofday+0xd/0x30 c0135697 sys_clock_gettime+0x77/0x90 [17576818.04] c0102fbb sysenter_past_esp+0x54/0x79 [17576818.208000] BUG: soft lockup detected on CPU#0! [17576818.208000] c01491cf softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 [17576818.208000] c0114d13 smp_apic_timer_interrupt+0x53/0x60 c010413c apic_timer_interrupt+0x1c/0x30 [17576818.208000] c013007b sys_reboot+0x1b/0x1d0 c0102fae sysenter_past_esp+0x47/0x79 [17576849.984000] BUG: warning at drivers/scsi/libata-core.c:3266/ata_pio_complete() [17576849.984000] f8885145 ata_pio_task+0x745/0x7c0 [libata] c011cdf8 __wake_up+0x38/0x50 [17576849.984000] c0132702 run_workqueue+0x72/0xf0 f8884a00 ata_pio_task+0x0/0x7c0 [libata] [17576849.984000] c01332e7 worker_thread+0x117/0x140 c011bde0 default_wake_function+0x0/0x10 [17576849.984000] c01331d0 worker_thread+0x0/0x140 c0135f8b kthread+0xab/0xe0 [17576849.984000] c0135ee0 kthread+0x0/0xe0 c0101005 kernel_thread_helper+0x5/0x10 [17576849.984000] ipw3945: Microcode SW error detected. Restarting. [17576849.988000] ata2: command 0x58 timeout, stat 0x50 host_stat 0x0 [17576850.488000] ipw3945: Error sending LEDS_CMD: time out after 500ms. [17576850.988000] ipw3945: Error sending ADD_STA: time out after 500ms. [17576850.988000] ipw3945: Can't stop Rx DMA. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Some observations possibly useful for reproducing the bug: * The bug does not seem to depend on the kind of sound Skype tries to make. Sometimes, when I feel that the next chat will lock my system for another five mins, I call Skype test call to trigger the log in a controlled way. * The longer there is no sound from Skype, the longer the delay gets. * Interesting: it seems it is not the period of Skype idling (and maybe doing some vicious things in the background): it is the mere time span since Skypes last sound. I never switch off my laptop but always use hibernate (suspend2-based). After resuming, I can be sure to get the delay. After a weekend offline, the delay might amount to more than 7mins, while it is only some 30secs after a short night during the week. * I run Kubuntu, but with a custom kernel that is not related to Ubuntu at all (I compiled it myself, and it should not be tainted). Softwaresuspend2 is used for hibernating. Kernel details are: 2.6.18swsuspend2 #4 PREEMPT Sun Oct 15 13:05:36 CEST 2006 i686 GNU/Linux * Machine is Thinkpad T41p, Kubuntu is Edgy and Skype is 1.3.0.53-1 installed from debs, but the bug occurred since Skype 1.3beta and Dapper. * I do not see any kernel logs that show suspicious activity. Thanks to anyone further investigating this! -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
fyi, just tried it out with a mostly-vanilla 2.6.19 kernel (including suspend2 and tp_smapi patches). still the same problem. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
This has also been reported in the skype forums: http://forum.skype.com/index.php?showtopic=64990 and I can confirm thad I had no problems after disabling sound, and that I have a ipw3945 wifi card and the soundcard that's shipping with centrino duo, I don't remember the name now (using another pc) but it should be snd-intel-8x0. ** Also affects: linux-restricted-modules-2.6.15 (Ubuntu) Importance: Undecided Status: Unconfirmed -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Ok, here is some hopefully more useful information, captured with $ strace -t -p $(pidof skype) 2| skype-write-log.txt just before doing something that outputs sound in skype after it has been idle for a while. My system hung for 11 seconds, which is captured in this strace log (although I didn't strace the process from the beginning, so any initialisation is lost). The interesting call just before the hang is futex(), which is used for locking in user space. Coincidence? ** Attachment added: partial strace at time of hang during skype call initialisation http://librarian.launchpad.net/5134850/strace-log.txt -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I've been encountering this bug since dapper, I'd assumed it was a bug in the kernel's networking due to the lots of weird packets skype sends to try to get around nat, but these comments make it seem likely that it's audio related. Is there a way to get copious alsa debugging to see what skype is sending to the audio drivers? I've been seeing this on a compaq laptop and an hp laptop, both using snd_ac97_codec and snd_intel8x0, but obviously the amd machines seeing this aren't using intel8x0. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
As far as I know, the 8x0 driver may be used for other chipsets too. I might be saying BS here, but I seem to remember a Via chipset being supported by the Intel driver. So maybe the bug is in that particular driver. If the owners of AMD-based machines could give us an lsmod of their system, we could see what we have in common? That's mine: Module Size Used by rfcomm 42260 0 l2cap 27136 5 rfcomm bluetooth 53476 4 rfcomm,l2cap nfsd 234276 13 exportfs7296 1 nfsd lockd 67848 2 nfsd sunrpc165948 8 nfsd,lockd i915 21632 2 drm74644 3 i915 ipv6 272288 31 speedstep_lib 5764 0 cpufreq_userspace 5408 0 cpufreq_stats 7744 0 freq_table 6048 1 cpufreq_stats cpufreq_powersave 2944 0 cpufreq_ondemand8876 0 cpufreq_conservative 8712 0 video 17540 0 tc1100_wmi 8324 0 sbs16804 0 sony_acpi 6412 0 pcc_acpi 14080 0 i2c_ec 6272 1 sbs i2c_core 23424 1 i2c_ec hotkey 11556 0 dev_acpi 12292 0 button 7952 0 battery11652 0 container 5632 0 ac 6788 0 asus_acpi 17688 0 reiserfs 263936 2 dm_mod 62872 11 md_mod 82836 0 fuse 43912 0 lp 12964 0 tsdev 9152 0 snd_intel8x0 34844 3 snd_ac97_codec 97696 1 snd_intel8x0 snd_ac97_bus3456 1 snd_ac97_codec usbhid 45152 0 snd_pcm_oss47360 0 snd_mixer_oss 19584 2 snd_pcm_oss e100 38020 0 mii 6912 1 e100 snd_pcm84612 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 25348 1 snd_pcm snd58372 10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 11232 2 snd snd_page_alloc 11400 2 snd_intel8x0,snd_pcm intel_agp 26012 1 agpgart34888 3 drm,intel_agp parport_pc 37796 1 parport39496 2 lp,parport_pc evdev 11392 1 pcspkr 4352 0 psmouse41352 0 serio_raw 8452 0 shpchp 42144 0 pci_hotplug32828 1 shpchp ext3 142728 1 jbd62228 1 ext3 ehci_hcd 34696 0 uhci_hcd 24968 0 usbcore 134912 4 usbhid,ehci_hcd,uhci_hcd ide_generic 2432 0 ide_cd 33696 0 cdrom 38944 1 ide_cd ide_disk 18560 5 piix 11780 1 generic 5764 0 thermal15624 1 processor 31560 1 thermal fan 6020 1 fbcon 41504 0 tileblit3840 1 fbcon font9344 1 fbcon bitblit 7168 1 fbcon softcursor 3328 1 bitblit vesafb 9244 0 capability 5896 0 commoncap 8704 1 capability -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
** Changed in: linux-source-2.6.15 (Ubuntu) Status: Unconfirmed = Confirmed -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I've been running Skype through strace for almost two days now and although similar conditions to those that triggered the lockup before have been experienced, the lockup hasn't occurred. The worst I've seen is choppy audio and a delay in displaying IM messages. I think someone already suggested that maybe strace interferes with the timing so the problem never manifests. I'm not sure what the next stage is. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Jerome wrote: BTW, I just noticed that a newer skype version is available. http://skype.com/download/skype/linux/changelog.html Let us know if it stops triggering the bug. This is the version I've been running and it hasn't solved the problem. gst wrote: I disabled audio notification for incoming chats and it never hangs on chats - only on calls. So it seems that the reason for the lockups may be related to audio output. Seconded - this also stopped my hang-up problem. I very rarely use the VoIP part of Skype anyway, so this has neatly worked around my particular problem. However, I'll try running Skype through strace as outlined above, turn audio notifications back on and see if I can come up with something useful. It would be nice to get this little niggle fixed. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
The latest version of skype - 1.4.0.53_API - still gives me problems (incoming chat in this case - lockup for about 15 seconds). -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
uhm... that is 1.3.0.53_API of course :) -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I tried to send an e-mail to lkml, but it did not show up... The problem seems linked to sound _and_ SMP... -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I experience this prob and I don't have an SMP kernel. Acer 9500 Skype 1.3.0.53 kernel 2.6.15-27-686 -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
kernel 2.6.15-27-686 That would be an SMP kernel AFAIK. Try 'uname -a' to check. This is mine: uname -a Linux england 2.6.15-26-k7 #1 SMP PREEMPT Fri Sep 8 20:38:34 UTC 2006 i686 GNU/Linux -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Hervé Fache wrote: kernel 2.6.15-27-686 That would be an SMP kernel AFAIK. Try 'uname -a' to check. This is mine: uname -a Linux england 2.6.15-26-k7 #1 SMP PREEMPT Fri Sep 8 20:38:34 UTC 2006 i686 GNU/Linux Yes uname -a Linux dylan 2.6.15-27-686 #1 SMP PREEMPT Sat Sep 16 02:13:27 UTC 2006 i686 GNU/Linux Apologies, I was under the impression that SMP was only for multi processor machines, I only have 1 and never saw SMP in the output of dmesg. I presume that it's compiled in but only loads if required. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
To Jerome Lacoste: Note that there are clone() calls preceeding the sched_setscheduler(). It is possible that a child process is the doing something that causes the system to hang. However since you didn't run strace with -f switch (to also trace child processes), you only see trace of the parent process. In other words, the trace that you lacks data about the children of the traced process, whose actions may be the actual cause, and because of not seeing the full trace, we attribute the problem to the sched_setscheduler(). On my system, skype always takes a long time to start (though I've never investigated this). But never did the box become frozen at that point. Only when there is some sound activity by skype (though not always) does the problem we are all concerned about appears. Perhaps you can try to generate a new trace with the -f switch ? -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
following up on my previous post -- Not there but here: 15:44:47.164609 sched_get_priority_max(SCHED_FIFO) = 99 0.08 15:44:47.164665 sched_setscheduler(21263, SCHED_FIFO, { 99 }) = 0 7.981930 15:44:55.146712 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3adb000 0.22 The sched_setscheduler takes almost 8 seconds to return. one option is indeed that the system call for some reason blocked for a long time, but I believe the problem is related to sound as opposed to scheduling. another option is that the system call did not return quickly because another process - perhaps the child process - kicked in exactly at that point (note that the kernel is PREEMPT, so that can easily happen) and did something that triggered a freeze. Only when the freeze was over the first process was scheduled again to invoke the next system call. and it may also be a combination of the two. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
gst: as you are running a vanilla kernel (or almost), and assuming it is not tainted, maybe you could report the problem on the lkml? They will be a pain because Skype is proprietory, but the bug is clearly a kernel bug, and other applications could potentially trigger it. As you said, it's a DoS vulnerability. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 10/11/06, Hervé Fache [EMAIL PROTECTED] wrote: gst: as you are running a vanilla kernel (or almost), and assuming it is not tainted, maybe you could report the problem on the lkml? They will be a pain because Skype is proprietory, but the bug is clearly a kernel bug, and other applications could potentially trigger it. As you said, it's a DoS vulnerability. I've got some more information. I just restarted skype an hour ago and managed to get a small slow down. Not long enough to trigger the soft lockup but long enough to block my machine several seconds. I had started skype using strace -tt -T Problem happend at 15h4x local time, so [EMAIL PROTECTED]:~$ grep ^15:4 /tmp/skype.log.failure | grep -v \0\. 15:44:43.941237 sched_setscheduler(21260, SCHED_FIFO, { 99 }) = 0 3.200750 15:44:47.164665 sched_setscheduler(21263, SCHED_FIFO, { 99 }) = 0 7.981930 15:45:34.548964 select(40, [3 4 5 7 39], [], [], {0, 496177} so sched_setscheduler appears to be the handing call. It's not something that is called often. grep sched_setscheduler /tmp/skype.log.failure 14:15:47.636727 sched_setscheduler(7353, SCHED_FIFO, { 99 }) = 0 0.40 14:15:47.637092 sched_setscheduler(7354, SCHED_FIFO, { 99 }) = 0 0.22 14:15:47.637453 sched_setscheduler(7355, SCHED_FIFO, { 99 }) = 0 0.22 14:15:47.637805 sched_setscheduler(7356, SCHED_FIFO, { 99 }) = 0 0.21 14:15:47.638156 sched_setscheduler(7357, SCHED_FIFO, { 2 }) = 0 0.22 14:37:06.699271 sched_setscheduler(10419, SCHED_FIFO, { 99 }) = 0 0.36 14:37:06.699499 sched_setscheduler(10420, SCHED_FIFO, { 99 }) = 0 1.003012 14:37:07.702810 sched_setscheduler(10421, SCHED_FIFO, { 99 }) = 0 0.28 14:37:07.703027 sched_setscheduler(10422, SCHED_FIFO, { 99 }) = 0 2.511436 14:37:10.215049 sched_setscheduler(10423, SCHED_FIFO, { 2 }) = 0 0.27 15:44:43.941004 sched_setscheduler(21259, SCHED_FIFO, { 99 }) = 0 0.38 15:44:43.941237 sched_setscheduler(21260, SCHED_FIFO, { 99 }) = 0 3.200750 15:44:47.164437 sched_setscheduler(21262, SCHED_FIFO, { 99 }) = 0 0.30 15:44:47.164665 sched_setscheduler(21263, SCHED_FIFO, { 99 }) = 0 7.981930 15:44:55.147148 sched_setscheduler(21264, SCHED_FIFO, { 2 }) = 0 0.27 Here's the problematic strace log extract: 15:44:43.940671 ioctl(40, USBDEVFS_IOCTL, 0xbf9d95c0) = 0 0.11 15:44:43.940733 ioctl(40, USBDEVFS_DISCONNECT, 0xbf9d9d04) = 0 0.10 15:44:43.940825 clone(child_stack=0xb62df4c4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb62dfbf8, {entry_number:6, base_addr:0xb62dfbb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb62dfbf8) = 21259 0.22 15:44:43.940944 sched_get_priority_max(SCHED_FIFO) = 99 0.10 15:44:43.941004 sched_setscheduler(21259, SCHED_FIFO, { 99 }) = 0 0.38 15:44:43.941101 clone(child_stack=0xb52dd4c4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb52ddbf8, {entry_number:6, base_addr:0xb52ddbb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb52ddbf8) = 21260 0.16 15:44:43.941179 sched_get_priority_max(SCHED_FIFO) = 99 0.09 15:44:43.941237 sched_setscheduler(21260, SCHED_FIFO, { 99 }) = 0 3.200750 15:44:47.164163 clone(child_stack=0xb6ae04c4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb6ae0bf8, {entry_number:6, base_addr:0xb6ae0bb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb6ae0bf8) = 21262 0.36 15:44:47.164377 sched_get_priority_max(SCHED_FIFO) = 99 0.09 15:44:47.164437 sched_setscheduler(21262, SCHED_FIFO, { 99 }) = 0 0.30 15:44:47.164533 clone(child_stack=0xb4adc4c4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb4adcbf8, {entry_number:6, base_addr:0xb4adcbb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb4adcbf8) = 21263 0.16 15:44:47.164609 sched_get_priority_max(SCHED_FIFO) = 99 0.08 15:44:47.164665 sched_setscheduler(21263, SCHED_FIFO, { 99 }) = 0 7.981930 15:44:55.146712 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3adb000 0.22 15:44:55.146892 mprotect(0xb3adb000, 4096, PROT_NONE) = 0 0.12 15:44:55.146961 clone(child_stack=0xb42db4c4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb42dbbf8, {entry_number:6,
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
are you saying that: 15:44:55.147148 sched_setscheduler(21264, SCHED_FIFO, { 2 }) = 0 0.27 is the last thing in the trace before: 15:45:34.548964 select(40, [3 4 5 7 39], [], [], {0, 496177} ? IOW, is it this particular call (the first one, of course) that locks the kernel? That would pinpoint it quite well! I shall try it myself. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 10/11/06, Hervé Fache [EMAIL PROTECTED] wrote: are you saying that: 15:44:55.147148 sched_setscheduler(21264, SCHED_FIFO, { 2 }) = 0 0.27 is the last thing in the trace before: 15:45:34.548964 select(40, [3 4 5 7 39], [], [], {0, 496177} ? Not there but here: 15:44:47.164609 sched_get_priority_max(SCHED_FIFO) = 99 0.08 15:44:47.164665 sched_setscheduler(21263, SCHED_FIFO, { 99 }) = 0 7.981930 15:44:55.146712 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3adb000 0.22 The sched_setscheduler takes almost 8 seconds to return. IOW, is it this particular call (the first one, of course) that locks the kernel? That would pinpoint it quite well! Whether it is a cause of a result of the hang I cannot say (it may be something else causing the hang). But there's probably some relationship between the hang and that call. Maybe a shared lock or something else. Note that the load always sky-rockets after the hang. I shall try it myself. Good luck. Take enough space on your partition. Skype takes around 120M of strace logs per hour on my machine without particular activity. J -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
FYI, I reported this problem to the LKML. http://lkml.org/lkml/2006/10/11/200 - if you have relevant informations please follow up on my post. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Is your sound system set to run with highest priority? Mine was... -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Same problem here with Edgy and latest updates. Skype 1.3.0_53, kernel 2.6.17-10-generic No VMWare, it was never installed on my machine. For what it's worth, the log shows a firmware error in the wireless card just before the last hang I experienced. I don't know if it was so for all hangs. The hangs occur when certain contacts initiate a chat. It seems that other contacts can initiate a chat without causing any problem, but I'm not 100% sure. I don't know if voice calls cause the hang because I never receive any. Log: Oct 11 18:13:57 localhost kernel: [17198021.764000] ipw2200: Firmware error detected. Restarting. Oct 11 18:13:57 localhost kernel: [17198022.26] ipw2200: Firmware error detected. Restarting. Oct 11 18:13:57 localhost kernel: [17198035.768000] BUG: soft lockup detected on CPU#0! Oct 11 18:13:57 localhost kernel: [17198035.768000] c01491df softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 Oct 11 18:13:57 localhost kernel: [17198035.768000] c0114d13 smp_apic_timer_interrupt+0x53/0x60 c010413c apic_timer_interrupt+0x1c/0x30 -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I disabled audio notification for incoming chats and it never hangs on chats - only on calls. So it seems that the reason for the lockups may be related to audio output. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 10/12/06, gst [EMAIL PROTECTED] wrote: I disabled audio notification for incoming chats and it never hangs on chats - only on calls. So it seems that the reason for the lockups may be related to audio output. I can confirm that the system calls preceeding (i.e. in the same second) the hanging one are somewhat related to sound. Jerome -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Still the same problem with the current version: [4323557.284000] BUG: soft lockup detected on CPU#0! [4323557.284000] c01562cd softlockup_tick+0xad/0xf0 c012e609 update_process_times+0x39/0x90 [4323557.284000] c011600b smp_apic_timer_interrupt+0x5b/0x70 c01398d1 sys_clock_gettime+0x31/0xb0 [4323557.284000] c0103d20 apic_timer_interrupt+0x1c/0x24 c012007b build_sched_domains+0x44b/0xe10 [4323557.284000] c01398d1 sys_clock_gettime+0x31/0xb0 c01031e7 sysenter_past_esp+0x54/0x75 I have the impression that the trigger is not (only) an incoming chat message but audio output. This problem also occurs when I call a contact. Does not happen everytime. It works fine after starting Skype. But when Skype sits around idle for a long enough time this happens with a very high chance. Switching from OSS to ALSA (in Skype) doesn't make a difference - still the same problem. I am using a mostly vanilla 2.6.17.6 kernel (with the exception of the Suspend2 patches). The kernel config however is based on the config used in Ubuntu. It seems that this problem provides users of a system with the possibilty to DOS the system - especially if someone is able to isolate the cause of the problem. I would therefore suggest to treat this problem as a critical problem. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Update to my last posting: The machine where this problem occurs is a X41 Thinkpad. CPU is Pentium M Dothan - full spec available on http://www.thinkwiki.org/wiki/Category:X41 -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Similar, but not identical problem here. It seems to happen mainly when Skype has been idle for some time, when someone sends me a chat message everything hangs for up to five minutes. Software: Ubuntu Dapper running: Kernel 2.6.15-27-amd64-k8 Skype 1.3.0.53_API installed in a 32-bit chroot from .deb package on skype.com Proprietory ATI (fglrx) modules Hardware: Acer Ferrari 4005WLMi with: AMD Turion 64 CPU 1GB RAM Oct 9 09:48:14 localhost kernel: [175197.261996] BUG: soft lockup detected on CPU#0! Oct 9 09:48:15 localhost kernel: [175197.262000] CPU 0: Oct 9 09:48:15 localhost kernel: [175197.262002] Modules linked in: af_packet nfs lockd sunrpc hci_usb rfcomm hidp l2cap bluetooth ppdev fglrx powernow_k8 cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac i2c_acpi_ec i2c_core nsc_ircc ipv6 dm_mod md_mod sr_mod sbp2 scsi_mod lp joydev tsdev irda bcm43xx pcspkr tg3 crc_ccitt parport_pc parport pcmcia snd_atiixp ieee80211softmac psmouse snd_atiixp_modem snd_ac97_codec snd_ac97_bus ieee80211 ieee80211_crypt serio_raw yenta_socket rsrc_nonstatic snd_pcm_oss snd_mixer_oss pcmcia_core snd_pcm snd_timer snd soundcore snd_page_alloc shpchp pci_hotplug evdev ext3 jbd ide_generic ehci_hcd ohci1394 ieee1394 ohci_hcd usbcore ide_cd cdrom ide_disk generic atiixp thermal processor fan capability commoncap vga16fb cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon tileblit font bitblit softcursor Oct 9 09:48:15 localhost kernel: [175197.262045] Pid: 9755, comm: skype Tainted: P 2.6.15-27-amd64-k8 #1 Oct 9 09:48:15 localhost kernel: [175197.262048] RIP: 0010:[hash_futex+207/256] 801580df{hash_futex+207} Oct 9 09:48:15 localhost kernel: [175197.262056] RSP: 0018:810008391da0 EFLAGS: 0286 Oct 9 09:48:15 localhost kernel: [175197.262060] RAX: 3dfe6d17 RBX: 81000839 RCX: dec8e9a9 Oct 9 09:48:15 localhost kernel: [175197.262063] RDX: e6fc00ff RSI: 07bfcda2 RDI: 810008391eb8 Oct 9 09:48:15 localhost kernel: [175197.262066] RBP: 0202 R08: 006e R09: Oct 9 09:48:15 localhost kernel: [175197.262070] R10: 81000839 R11: 0202 R12: ffef Oct 9 09:48:15 localhost kernel: [175197.262073] R13: 8100395b6e40 R14: 08cd4000 R15: ffea Oct 9 09:48:15 localhost kernel: [175197.262078] FS: 2b7acce0() GS:8044a800(0063) knlGS:59230bb0 Oct 9 09:48:15 localhost kernel: [175197.262081] CS: 0010 DS: 002b ES: 002b CR0: 8005003b Oct 9 09:48:15 localhost kernel: [175197.262084] CR2: 55576250 CR3: 288f6000 CR4: 06e0 Oct 9 09:48:15 localhost kernel: [175197.262086] Oct 9 09:48:15 localhost kernel: [175197.262087] Call Trace:801589bb{do_futex+795} 801433f3{current_fs_time+67} Oct 9 09:48:15 localhost kernel: [175197.262102] 80113d2a{do_gettimeoffset_tsc+10} 80163f74{compat_sys_futex+212} Oct 9 09:48:15 localhost kernel: [175197.262131] 80163a1a{compat_sys_clock_gettime+106} 80128743{cstar_do_call+27} Oct 9 09:48:15 localhost kernel: [175197.262143] -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 10/9/06, James Tait [EMAIL PROTECTED] wrote: Similar, but not identical problem here. It seems to happen mainly when Skype has been idle for some time, when someone sends me a chat message everything hangs for up to five minutes. I have the same behavior (i.e. it needs to be idle) except that it lasts sometimes more than 5 minutes. I will try to start skype with a strace -tt -T -o strace.log slype to see what gets printed just before the system blocks. Feel free to do the same. Blocking call will probably be revealed by: grep -v \0\. strace.log Software: Ubuntu Dapper running: Kernel 2.6.15-27-amd64-k8 Skype 1.3.0.53_API installed in a 32-bit chroot from .deb package on skype.com Proprietory ATI (fglrx) modules Hardware: Acer Ferrari 4005WLMi with: AMD Turion 64 CPU 1GB RAM Very interesting. You don't have an Intel nor a Dell machine. At least that rules out some common characteristics. Cheers, Jerome -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 10/9/06, jerome lacoste [EMAIL PROTECTED] wrote: On 10/9/06, James Tait [EMAIL PROTECTED] wrote: Similar, but not identical problem here. It seems to happen mainly when Skype has been idle for some time, when someone sends me a chat message everything hangs for up to five minutes. I have the same behavior (i.e. it needs to be idle) except that it lasts sometimes more than 5 minutes. I will try to start skype with a strace -tt -T -o strace.log slype to see what gets printed just before the system blocks. Feel free to do the same. BTW, I just noticed that a newer skype version is available. http://skype.com/download/skype/linux/changelog.html Let us know if it stops triggering the bug. Cheers, Jerome -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
It happened for the first time in Edgy today: 1 minute of delay extract of /var/log/messages (this time it's not in kern.log?): Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c01491df softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c0139320 hrtimer_get_res+0x0/0x60 c0114d13 smp_apic_timer_interrupt+0x53/0x60 Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c010413c apic_timer_interrupt+0x1c/0x30 c0139320 hrtimer_get_res+0x0/0x60 Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c010ec9a get_offset_pmtmr+0x8a/0xb0 c0139320 hrtimer_get_res+0x0/0x60 Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c0106959 do_gettimeofday+0x19/0xc0 c0139320 hrtimer_get_res+0x0/0x60 Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c0126f3d getnstimeofday+0xd/0x30 c0135697 sys_clock_gettime+0x77/0x90 Oct 5 09:34:36 cbers11 kernel: [17354093.868000] c0102fbb sysenter_past_esp+0x54/0x79 Oct 5 09:34:36 cbers11 kernel: [17354120.444000] c01491df softlockup_tick+0x9f/0xf0 c012bee1 update_process_times+0x31/0x80 Oct 5 09:34:36 cbers11 kernel: [17354120.444000] c0114d13 smp_apic_timer_interrupt+0x53/0x60 c010413c apic_timer_interrupt+0x1c/0x30 -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
I've been suffering from these hangups for a while now, only with the recent skype and recent kernels. System specs: Dell Inspiron 300m Ubuntu Dapper up-to-date w/ kernel 2.6.15-27-686 (SMP, PREEMPT) Skype 1.3.0.47_API List of loaded modules given below * No VMware is running (ruling out suspect vmware) * Nothing suspicious in the kernel log (not even soft lockup). In fact, I can't find any traces anywhere for such events. * It happens normally when there is an incoming call (in which case usually the lockup is definite (wel, I've never waited longer than 5 minutes) * It also happens when there is an incoming chat (in which case usually it freezes for a short while -- around a minute) * Finally, I've had it happen also when I initiate a call, but that is very rare (lol... both me initiating calls and the freeze upon that). The bottom line, is that it is so frequent that I've been having to (cold) boot my laptop on average more than 4 times a week... which is close to being intolerable. Let me know if you need more info, or more testing -- I'll be glad to assist (including trying out debug kernels and so forth). Oren. (list of modules: Module Size Used by usbhid 42752 0 rfcomm 43604 0 l2cap 28192 5 rfcomm bluetooth 54212 4 rfcomm,l2cap ipv6 286976 26 i915 21664 1 drm78484 2 i915 ppdev 9668 0 speedstep_centrino 8752 1 cpufreq_userspace 6496 1 cpufreq_stats 6688 0 freq_table 4928 2 speedstep_centrino,cpufreq_stats cpufreq_powersave 1920 0 cpufreq_ondemand7752 0 cpufreq_conservative 9000 0 video 16324 0 tc1100_wmi 6884 0 sony_acpi 5580 0 pcc_acpi 12416 0 hotkey 11492 0 dev_acpi 11236 0 container 4608 0 button 6704 0 acpi_sbs 20172 0 battery 9988 1 acpi_sbs ac 5220 1 acpi_sbs i2c_acpi_ec 5120 1 acpi_sbs i2c_core 22848 1 i2c_acpi_ec nls_cp437 5888 1 ntfs 111728 1 md_mod 76052 0 af_packet 24520 6 sbp2 25060 0 scsi_mod 145960 1 sbp2 parport_pc 37988 0 lp 12356 0 parport39400 3 ppdev,parport_pc,lp joydev 10432 0 tsdev 8032 0 irda 217980 0 crc_ccitt 2240 1 irda snd_intel8x0 35772 3 snd_ac97_codec100224 1 snd_intel8x0 snd_ac97_bus2400 1 snd_ac97_codec pcmcia 41948 0 snd_pcm_oss56448 0 snd_mixer_oss 20544 1 snd_pcm_oss ipw210093812 0 ieee80211 38952 1 ipw2100 ieee80211_crypt 6528 1 ieee80211 snd_pcm96708 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 26884 2 snd_pcm snd60004 10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mix er_oss,snd_pcm,snd_timer tg3 113060 0 yenta_socket 30124 4 rsrc_nonstatic 14624 1 yenta_socket pcmcia_core45272 3 pcmcia,yenta_socket,rsrc_nonstatic psmouse40004 0 serio_raw 7748 0 shpchp 49504 0 pci_hotplug30788 1 shpchp soundcore 10784 1 snd snd_page_alloc 11304 2 snd_intel8x0,snd_pcm intel_agp 24700 1 agpgart36784 3 drm,intel_agp evdev 10176 2 ext3 148296 3 jbd65876 1 ext3 dm_mod 63256 5 ide_generic 1504 0 ohci1394 37524 0 ieee1394 306520 2 sbp2,ohci1394 ehci_hcd 36104 0 uhci_hcd 35536 0 usbcore 139172 4 usbhid,ehci_hcd,uhci_hcd ide_disk 19136 4 piix 11652 1 generic 5124 0 thermal13768 0 processor 26888 2 speedstep_centrino,thermal fan 4836 0 capability 4968 0 commoncap 7328 1 capability vga16fb13992 1 vgastate 10208 1 vga16fb fbcon 43904 72 tileblit2784 1 fbcon font8320 1 fbcon bitblit 6464 1 fbcon softcursor 2304 1 bitblit -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
Same here: Dapper + Skype v1.30 (beta), the one with ALSA support. The machine is a Dell Dimension 1100. Almost every time someone contacts me (chat), the machine hangs for 2 minutes, or sometimes for ever. Still answers a ping though! I reported the problem to Skype themselves, but it's obviously a kernel problem. The problem is: the kernel says it's tainted (VMWare modules), so not much hope from LKML. -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 9/18/06, Hervé Fache [EMAIL PROTECTED] wrote: Same here: Dapper + Skype v1.30 (beta), the one with ALSA support. The machine is a Dell Dimension 1100. I also have a Dell. Optiplex GX270 Almost every time someone contacts me (chat), the machine hangs for 2 minutes, or sometimes for ever. Still answers a ping though! I reported the problem to Skype themselves, but it's obviously a kernel problem. Ditto The problem is: the kernel says it's tainted (VMWare modules), so not much hope from LKML. mmm. I don't need VMWARE, so I can remove them before reproducing the issue. Have you tried ? In the mean time, I've stopped using skype. Jerome -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: [Bug 53216] Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
On 9/18/06, Jerome Lacoste [EMAIL PROTECTED] wrote: I also have a Dell. Optiplex GX270 Hmmm! The problem is: the kernel says it's tainted (VMWare modules), so not much hope from LKML. mmm. I don't need VMWARE, so I can remove them before reproducing the issue. Have you tried ? Nop, but could (not needing it for my new project). In the mean time, I've stopped using skype. I can't: company requirement! Seems we have a number of common factors here: Dell + VMWare Have you got a reliable way of triggering the problem? It seems erratic here... -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53216] Re: [Bug 53216] Re: [Bug 53216] Re: [Bug 53216] Re: BUG() report in getnstimeofday: soft lockup
In the mean time, I've stopped using skype. I can't: company requirement! Company relies on skype ! Ouch scary... Seems we have a number of common factors here: Dell + VMWare Have you got a reliable way of triggering the problem? It seems erratic here... It happens 99% of the time someones sends me a message. Here goes your reproducibility factor. Jerome -- BUG() report in getnstimeofday: soft lockup https://launchpad.net/bugs/53216 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs