From: Glauber Costa <glommer@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Roland Lammel <rl@brabbel.net>, Chris Jones <chris@rassalon.org>,
kvm@vger.kernel.org,
Glauber de Oliveira Costa <gcosta@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: Hangs
Date: Fri, 21 Nov 2008 13:55:29 -0200 [thread overview]
Message-ID: <20081121155529.GA7198@poweredge.glommer> (raw)
In-Reply-To: <20081120015600.GB10846@dmt.cnet>
On Thu, Nov 20, 2008 at 02:56:00AM +0100, Marcelo Tosatti wrote:
>
> On Wed, Nov 19, 2008 at 10:53:27PM +0100, Roland Lammel wrote:
> > Actually it just happenend again with the host running kvm-79. Host
> > CPU is at 100% but I'm still able to login (it recovered from the
> > first hang). But I'm not able to start e.g. top.
> > Writing to disk works (e.g. dd /dev/zero to /tmp/test.file with 1MB,
> > 1G already caused the instance to hang)
> >
> > In the guest I see:
> >
> > The soft lockup of CPU#0 (only 1 cpu assigned to the guest) seems to
> > be either caused by or cause itself the clock problem
> >
> > bit:~# date
> > Fri Dec 6 13:50:40 CET 1912
> >
> > [ 57.348217] eth1: no IPv6 routers present
> > [1266956800.037898] BUG: soft lockup - CPU#0 stuck for 1179869795s!
>
> Funny. Glauber, Gerd?
So, can you provide a more informative dmesg? It doesn't need to be a full dmesg,
but something more than these two messages would help. Specially because they
have printk timestamps on it. It seems to me that our sched_clock went crazy,
since the timestamp in the second printk is so much bigger than the first,
and never changes after that.
Do you have an older version of both host/guest in which it used to work?
>
> > [logcheck:23795]
> > [1266956800.037898] Modules linked in: ipv6 dm_snapshot dm_mirror
> > dm_log dm_mod loop virtio_balloon serio_raw snd_pcsp virtio_net
> > snd_pcm snd_timer snd soundcore psmouse snd_page_alloc evdev ext3 jbd
> > mbcache ide_cd_mod cdrom ata_generic libata scsi_mod dock
> > ide_pci_generic virtio_blk uhci_hcd usbcore piix ide_core virtio_pci
> > thermal_sys
> > [1266956800.037898]
> > [1266956800.037898] Pid: 23795, comm: logcheck Not tainted (2.6.26-1-486 #1)
> > [1266956800.037898] EIP: 0060:[<c0118c28>] EFLAGS: 00000246 CPU: 0
> > [1266956800.037898] EIP is at finish_task_switch+0x20/0x78
> > [1266956800.037898] EAX: c03cb620 EBX: de82e800 ECX: 00000003 EDX: de824000
> > [1266956800.037898] ESI: 00000000 EDI: de824000 EBP: 00000000 ESP: c51e1f9c
> > [1266956800.037898] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
> > [1266956800.037898] CR0: 8005003b CR2: 088a711c CR3: 04f08000 CR4: 00000690
> > [1266956800.037898] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
> > [1266956800.037898] DR6: ffff0ff0 DR7: 00000400
> > [1266956800.037898] [<c0118e22>] schedule_tail+0xe/0x39
> > [1266956800.037898] [<c0103646>] ret_from_fork+0x6/0x20
> > [1266956800.037898] =======================
> > [1266957741.780134] INFO: task postdrop:24584 blocked for more than 120 seconds.
> > [1266957741.780592] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> > disables this message.
> > [1266957741.781276] postdrop D c014f55e 0 24584 24583
> > [1266957741.781696] de894000 00000086 00000000 c014f55e
> > 49506ad8 1195233c de89418c 00013315
> > [1266957741.782256] 00000000 bf229803 bf229803 d41593ec
> > ddb2d400 c02a5b89 c03ec750 ddbf319c
> > [1266957741.783040] bf229803 c0121fc7 de894000 c03ec700
> > c02a5b84 74736f70 706f7264 642d7000
> >
> > Clock sources used are (for host and guest):
> > host:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> > acpi_pm
> > host:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> > acpi_pm jiffies tsc
> >
> > guest:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> > kvm-clock
> > guest:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> > kvm-clock jiffies tsc
> > bit:~#
> >
> > Commandline for starting is (kvm-79):
> > /usr/local/bin/qemu-system-x86_64 -S -M pc -m 500 -smp 1 -name bit
> > -monitor pty -no-acpi -boot c -drive
> > file=/var/kvm/bit.img,if=virtio,index=0,boot=on -net
> > nic,macaddr=24:42:53:21:52:45,vlan=0,model=virtio -net
> > tap,fd=11,script=,vlan=0,ifname=vnet0 -serial tcp:127.0.0.1:50401
> > -parallel none -usb -vnc 0.0.0.0:45001
>
> Why are you using -no-acpi? Perhaps switch the guest to acpi_pm to isolate
> kvm-clock issues?
next prev parent reply other threads:[~2008-11-21 15:53 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-14 15:34 Hangs Chris Jones
2008-11-16 16:36 ` Hangs Chris Jones
2008-11-18 21:34 ` Hangs Marcelo Tosatti
2008-11-19 10:57 ` Hangs Roland Lammel
2008-11-19 21:53 ` Hangs Roland Lammel
[not found] ` <20081120015600.GB10846@dmt.cnet>
2008-11-21 15:55 ` Glauber Costa [this message]
2008-11-21 20:29 ` Hangs Roland Lammel
2008-11-21 21:01 ` Hangs Daniel P. Berrange
2008-11-21 23:46 ` Hangs Roland Lammel
2008-12-06 23:18 ` Hangs Roland Lammel
2008-12-09 0:34 ` Hangs xming
-- strict thread matches above, loose matches on Subject: below --
2008-11-19 22:43 Hangs chris
2008-11-20 17:10 ` Hangs chris
2008-11-21 19:32 ` Hangs Marcelo Tosatti
2008-11-21 23:43 ` Hangs Roland Lammel
2008-11-22 17:54 ` Hangs chris
[not found] ` <519a8b110811280305v764fade1w9d02f5c9188f56e5@mail.gmail.com>
2008-11-28 12:35 ` Hangs xming
2008-12-02 10:47 ` Hangs xming
2008-12-02 12:09 ` Hangs Avi Kivity
2008-12-02 20:58 ` Hangs chris
2008-12-02 23:01 ` Hangs xming
2008-12-03 1:20 ` Hangs chris
2008-12-03 9:13 ` Hangs xming
2008-12-03 10:44 ` Hangs Avi Kivity
2008-12-03 17:49 ` Hangs chris
2008-12-18 18:05 ` Hangs chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081121155529.GA7198@poweredge.glommer \
--to=glommer@redhat.com \
--cc=chris@rassalon.org \
--cc=gcosta@redhat.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=rl@brabbel.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox