[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Blank screen while booting xen



On Mon, Jan 11, 2016 at 8:23 PM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> On Mon, Jan 11, 2016 at 12:57:27AM +0530, Harmandeep Kaur wrote:
>> Hi,
>>
>> I tried to modify and compile some of Xen 4.7's code
>> (cloned from git clone git://xenbits.xen.org/xen.git)
>> and even with a very minor change (patch included at last)
>> my xen failed to boot. It stucks at black blank screen after
>> showing some xen logs.
>
> What is on your Linux command line? Do you have 'console=hvc0' ?
my /etc/defaults/grub   http://paste2.org/BkOOOskh
my /boot/grub/grub.cfg http://paste2.org/Ks49MZEh
>
>>
>> By adding "vga=text-80x80,keep" to the grub before booting
>> xen., infinite loop of text
>> "(XEN) traps.c:3290: GPF (0000): ffff82d0801af4d5 -> ffff82d080240e5a"
>> appears.
>>
>> I tried to compile and boot xen reverting the change, but
>> same issue still exists.
>>
>> Also I tried to setup serial console but my output is garbled.
>> More info on it here,
>> http://lists.xenproject.org/archives/html/xen-devel/2015-12/msg02045.html
>>
>> I tried different software (cu, gtkterm), different baud rates,
>> different serial-USB cable and stopping modemmanager,
>> but no luck.
>
> How did you set the baudrate? I usually do 'screen /dev/ttyUSB0 115200 cs8'
> ?

I also tried the same with screen just without the cs8 keyword.

>>
>> I am using i3-6100 processor, if that info is needed.I will
>> appreciate any help.
>
> dmesg | grep tty

$ dmesg | grep tty
[       0.000000] console [tty0] enabled
[       4.537790] systemd[1]: Created slice system-getty.slice.
[11542.458553] usb 1-4: pl2303 converter now attache

> and lspci

$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM
Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core
processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210
Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset
Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC
Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family
6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family
SMBus Controller (rev 04)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI]
Mars [Radeon HD 8670A/8670M/8750M] (rev ff)
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network
Adapter (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)


> could also help?
>
>>
>> Regards,
>> Harmandeep Kaur
>> Outreachy Intern
>>
>> -----------------------------------------------PATCH---------------------------------------------
>> >From c814c4ac0028bdef0082561ad6cd69570502c3ba Mon Sep 17 00:00:00 2001
>> From: Harmandeep Kaur <write.harmandeep@xxxxxxxxx>
>> Date: Tue, 29 Dec 2015 22:23:21 +0530
>> Subject: [PATCH] First mod
>>
>> Signed-off-by: Harmandeep Kaur <write.harmandeep@xxxxxxxxx>
>> ---
>>  xen/common/sched_credit.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c
>> index 0dce790..b395501 100644
>> --- a/xen/common/sched_credit.c
>> +++ b/xen/common/sched_credit.c
>> @@ -1148,6 +1148,8 @@ csched_dom_init(const struct scheduler *ops,
>> struct domain *dom)
>>  {
>>      struct csched_dom *sdom;
>>
>> +printk("XXX Hello, this is my first mod :) \n");
>> +
>>      if ( is_idle_domain(dom) )
>>          return 0;
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxx
>> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.