From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Oliver Paukstadt <pstadt@sourcentral.org>
Cc: Carsten Otte <cotte@de.ibm.com>,
kvm@vger.kernel.org, Martin Schwidefsky <schwidefsky@de.ibm.com>
Subject: Re: [RFC] kvm-s390: userspace snapshot
Date: Thu, 12 Jun 2008 16:14:26 +0200 [thread overview]
Message-ID: <200806121614.26600.borntraeger@de.ibm.com> (raw)
In-Reply-To: <1213249148.18768.15.camel@nerve>
Am Donnerstag, 12. Juni 2008 schrieb Oliver Paukstadt:
> On Thu, 2008-06-12 at 00:14 +0200, Christian Borntraeger wrote:
>
> > Ok, I got an idea.
> > Does that patch fix the handle_should_not_happen PANIC?
> >
> Patch does not fit, because my code contains
> vcpu->arch.sie_block->gmsor = 0x000000000000;
> so I changed this before I applied the patch.
> The console patch you mentioned was applied too.
>
> Now I am able to get the kernel running a little further:
good. I will make this patch proper and send it to Avi.
> PID hash table entries: 256 (order: 8, 2048 bytes)
> console [hvc0] enabled
> sclp vt220 tty driver: could not register vt220 - sclp_register returned
> -5
> list_del corruption. prev->next should be 00000000003d72a8, but was
Yes, Carsten ran into that as well, when we changed from vt220 to
virtio_console. Looks like the vt220 driver doesnt like it, when there is no
sclp available.
A fix is upstream in Linus git since yesterday:
commit 7b439d25300dc59bba76b53eb344bb9e5a1133f2
Author: Carsten Otte <cotte@de.ibm.com>
Date: Tue Jun 10 10:03:22 2008 +0200
[S390] vt220 console, initialize list head before use
[...]
diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c
index 62576af..3e577f6 100644
--- a/drivers/s390/char/sclp_vt220.c
+++ b/drivers/s390/char/sclp_vt220.c
@@ -773,6 +773,7 @@ sclp_vt220_con_init(void)
{
int rc;
+ INIT_LIST_HEAD(&sclp_vt220_register.list);
if (!CONSOLE_IS_SCLP)
return 0;
rc = __sclp_vt220_init();
next prev parent reply other threads:[~2008-06-12 14:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 15:54 [RFC] kvm-s390: userspace snapshot Carsten Otte
2008-06-10 5:55 ` Oliver Paukstadt
2008-06-11 14:35 ` Christian Borntraeger
2008-06-11 20:53 ` Oliver Paukstadt
2008-06-11 22:14 ` Christian Borntraeger
2008-06-12 5:39 ` Oliver Paukstadt
2008-06-12 14:14 ` Christian Borntraeger [this message]
2008-06-12 19:56 ` Oliver Paukstadt
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=200806121614.26600.borntraeger@de.ibm.com \
--to=borntraeger@de.ibm.com \
--cc=cotte@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=pstadt@sourcentral.org \
--cc=schwidefsky@de.ibm.com \
/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