xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: dom0 / hypervisor hang  on dom0 boot
Date: Tue, 14 May 2013 13:42:45 +0100	[thread overview]
Message-ID: <51923145.4030506@citrix.com> (raw)
In-Reply-To: <3374329.VOz1gdFjBv@amur.mch.fsc.net>

On 14/05/13 13:35, Dietmar Hahn wrote:
> Hi,
>
> Yesterday I installed openSuSE 12.3 on my workplace system and have some
> trouble to run Xen.
> Every boot with Xen and dom0 leads to a system hang.
> Linux kernel: 3.7.10-1.4-xen.
> Xen:          xen-4.2.1_12-1.8.1.gz
> CPU is:       Intel(R) Core(TM)2 Duo CPU     E8500  @ 3.16GHz
>
> It looks similar to  https://bugs.freedesktop.org/show_bug.cgi?id=54575
>
> I tried xen-unstable hypervisor but got the same behaviour.
>
> dom0 boots, prints some messages, last message is:
> [    6.535048] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
> Then the screen gets black.
>
> I installed the serial connection and added "drm.debug=6" to the linux boot
> param list and the last messages I saw:
>
> [    6.143094] [drm:intel_opregion_setup], graphic opregion physical addr: 0xdb7b1db8
> [    6.165332] [drm:intel_opregion_setup], SWSCI supported
> [    6.180906] i915 0000:00:02.0: irq 47 (277) for MSI/MSI-X
> [    6.196975] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [    6.216696] [drm] Driver supports precise vblank timestamp query.
> [    6.234870] [drm:init_vbt_defaults], Set default to SSC at 100MHz
> [    6.253036] [drm:intel_parse_bios], Using VBT from OpRegion: $VBT EAGLELAKE      d
> [    6.275655] [drm:parse_general_features], BDB_GENERAL_FEATURES int_tv_support 1 int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 96 display_clock_mode 0
> [    6.315906] [drm:parse_general_definitions], crt_ddc_bus_pin: 2
> [    6.333530] [drm:parse_sdvo_panel_data], Found SDVO panel mode in BIOS VBT tables:
> [    6.344959] input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input3
> [    6.381581] [drm:drm_mode_debug_printmodeline], Modeline 0:"1600x1200" 0 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x8 0xa
> [    6.415858] [drm:parse_sdvo_device_mapping], No SDVO device info is found in VBT
> [    6.437956] [drm:intel_dsm_pci_probe], no _DSM method for intel device
> [    6.457394] [drm:intel_modeset_init], 2 display pipes available.
> [    6.475298] [drm:intel_modeset_init], plane 0 init failed: -19
> [    6.492691] [drm:intel_modeset_init], plane 1 init failed: -19
> [    6.510084] [drm:intel_pch_pll_init], No PCH PLLs on this hardware, skipping initialisation
> [    6.535048] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
> [    6.563939] [drm:intel_setup_outputs], probing SDVOB
> [    6.578634] [drm:intel_sdvo_read_byte], i2c transfer returned -6
> [    6.596280] [drm:intel_sdvo_init], No SDVO device found on SDVOB
> [    6.614212] [drm:intel_setup_outputs], probing HDMI on SDVOB
> [    6.631090] [drm:intel_setup_outputs], probing DP_B
> [    6.645626] [drm:intel_dp_i2c_init], i2c_init DPDDC-B
> [    6.663688] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x514500c8
> [    6.682751] [drm:intel_dp_i2c_aux_ch], aux_ch failed -110
> [    6.701868] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x514500c8
> [    6.720931] [drm:intel_dp_i2c_aux_ch], aux_ch failed -110
> [    6.737040] [drm:intel_setup_outputs], probing SDVOC
> [    6.752089] [drm:intel_sdvo_read_byte], i2c transfer returned -6
> [    6.769739] [drm:intel_sdvo_init], No SDVO device found on SDVOC
>
> The strange thing is, it seems that the hypervisor hangs!
> While the boot is running I can press 'h' and see the help messages between
> the linux kernel messages. When the system hangs pressing 'h' leads to nothing.
> So I tried the watchdog flag on the hypervisor boot line. I can see a message

At a certain point on boot, Xen switches where the serial input goes. 
Use CTRL-a three times to switch.

The watchdog is enabled by default with a 5 second timeout.

>
> (XEN) Brought up 2 CPUs
> (XEN) Testing NMI watchdog --- CPU#0 okay. CPU#1 okay. 
> (XEN) HPET: 8 timers (2 will be used for broadcast)
>
> But when the system hangs nothing happens - should I get a hypervisor dump?
>
> I booted linux without xen but with the debug flags and got:
>
> [    9.069744] [drm:intel_sdvo_init], No SDVO device found on SDVOC
> --> Until here like with Xen, but further
> [    9.089468] [drm:init_status_page], render ring hws offset: 0x00001000
> [    9.109159] [drm:init_status_page], bsd ring hws offset: 0x00024000
> [    9.128085] [drm:intel_modeset_setup_hw_state], [CRTC:3] hw state readout: enabled
>
> So it seems somewhere around the ring buffer stuff the boot stops.
> As a next step I'll insert some debug messages in the linux kernel to isolate
> the call leading to the hang.

Are you saying that it is broken with Xen, and differently broken
without Xen ?

>
> Maybe anyone has some better ideas or knowledge to hunt the bug.
> Thanks.
>
> Dietmar.
>
>

  reply	other threads:[~2013-05-14 12:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14 12:35 dom0 / hypervisor hang on dom0 boot Dietmar Hahn
2013-05-14 12:42 ` Andrew Cooper [this message]
2013-05-14 12:50   ` Dietmar Hahn
2013-05-14 12:51     ` Andrew Cooper
2013-05-14 13:25       ` Dietmar Hahn
2013-05-14 13:27 ` Jan Beulich
2013-05-15  6:53   ` Dietmar Hahn
2013-05-15  8:35     ` Jan Beulich
2013-05-15  9:12       ` Dietmar Hahn
2013-05-15  9:42         ` Jan Beulich
2013-05-16 11:07           ` Dietmar Hahn
2013-05-16 12:10             ` Jan Beulich
2013-05-16 13:16               ` Dietmar Hahn
2013-05-16 13:45                 ` Jan Beulich
2013-05-17  7:10                   ` Dietmar Hahn
2013-05-16 14:50               ` Dugger, Donald D
2013-05-20 14:30               ` Dugger, Donald D
2013-05-21  8:03                 ` Jan Beulich
2013-05-21  8:28                   ` Tian, Kevin
2013-05-21  8:47                     ` Jan Beulich
2013-05-17 22:28             ` Konrad Rzeszutek Wilk
2013-05-21  7:39               ` Dietmar Hahn
2013-05-21 14:10                 ` Konrad Rzeszutek Wilk

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=51923145.4030506@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=dietmar.hahn@ts.fujitsu.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.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;
as well as URLs for NNTP newsgroup(s).