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

Re: [Xen-users] Unable to reboot after install of Xen on fresh ubuntu running off recycled macbook hardware



Thanks Ian,

Just to be clear (sorry, it's my first adventure playing with low level kernel 
services...), the debug console=hvc0 argument should be added to the Grub 
config? As is? Any where?

I also have no clue how to check wether a console is attached to hvc0, perhaps 
someone could suggest a path of actions?

Thanks

Sent from my iPad

Marco Blanchette, Ph.D.
Genomic Scientist
Stowers Institute for Medical Research
1000 East 50th St.
Kansas City, MO 64110

Tel: 816-926-4071 
Cell: 816-726-8419 
Fax: 816-926-2018

> On Dec 3, 2014, at 3:36 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> 
> If it's hanging after loading the initramfs then that suggests that
> either userspace isn't starting, or that its output is not going to the
> console.
> 
> You could try adding "debug console=hvc0" to the kernel module of the
> Xen entry, which might give you some output or some more hints at least.
> 
> You should also make sure that a getty is configured to run on hvc0 once
> the system is booted. I've no idea even which initsystem Ubuntu 14.10
> uses, so I'm not sure of the way one does that...
> 
> Ian.
> 
>> On Tue, 2014-12-02 at 20:51 -0600, Marco Blanchette wrote:
>> 
>> Dear list,
>> 
>> 
>> In my attempt to solve this problem, I went ahead and compile a fresh
>> download of Xen 4.5 from GitHub and install it on my MacBook hardware
>> running a Vanilla Ubuntu 14.10 as sole OS. Results are the same, Iâm
>> unbable to load the kernel on top of Xen. My effort in trying to tweak
>> Grub2 were all unsuccessful so I am doubting this is the problem.
>> 
>> 
>> Any help would be appreciated.
>> 
>> 
>> thanks
>> 
>> 
>> 
>>> On Nov 25, 2014, at 6:56 PM, Marco Blanchette
>>> <marcoblanchette@xxxxxx> wrote:
>>> 
>>> Hmmâ. Here is the menu entry for Ubuntu GNU/Linux, with Xen
>>> hypervisor for /boot/grub/grub.cfg (not /boot/grub2â that directory
>>> does not exist on my Unbuntu distro)
>>> 
>>> 
>>> menuentry 'Ubuntu GNU/Linux, with Xen hypervisor' --class ubuntu
>>> --class gnu-linux --class gnu --class os --class xen
>>> $menuentry_id_option
>>> 'xen-gnulinux-simple-858436db-0198-4d51-9d7f-8a0a4603eb7a' {
>>>        insmod part_gpt
>>>        insmod ext2
>>>        set root='hd0,gpt2'
>>>        if [ x$feature_platform_search_hint = xy ]; then
>>>          search --no-floppy --fs-uuid --set=root
>>> --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2
>>> 8a1f5b8a-1c17-434e-930e-d1687be8b6f4
>>>        else
>>>          search --no-floppy --fs-uuid --set=root
>>> 8a1f5b8a-1c17-434e-930e-d1687be8b6f4
>>>        fi
>>>        echo    'Loading Xen 4.4-amd64 ...'
>>>        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ];
>>> then
>>>            xen_rm_opts=
>>>        else
>>>            xen_rm_opts="no-real-mode edd=off"
>>>        fi
>>>        multiboot       /xen-4.4-amd64.gz placeholder
>>> ${xen_rm_opts}
>>>        echo    'Loading Linux 3.16.0-25-generic ...'
>>>        module  /vmlinuz-3.16.0-25-generic placeholder
>>> root=/dev/mapper/ubuntu--vg-root ro
>>>        echo    'Loading initial ramdisk God damn it!!!!...'
>>>        module  --nounzip   /initrd.img-3.16.0-25-generic
>>>        echo    'I'\''m passed loading the RAM disk'
>>> 
>>> 
>>> }
>>> 
>>> 
>>> Thanks for looking into this (I added the extra echo lines in my
>>> effort to figure out what was going on hereâ)
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On Nov 25, 2014, at 6:47 PM, Manoj Subramaniam
>>>> <Manoj.Subramaniam@xxxxxxxxxx> wrote:
>>>> 
>>>> I suspect your menu entry for "Ubuntu GNU/Linux (kernel
>>>> 3.16.0-25-generic [or -0-23-]) , with Xen hypervisorâ is
>>>> incorrect. Did you run grub2-mkconfig? Verify the menu entry
>>>> in /boot/grub2/grub.cfg .
>>>> 
>>>> 
>>>> From: Marco Blanchette <marcoblanchette@xxxxxx>
>>>> Date: Tuesday, November 25, 2014 at 7:15 AM
>>>> To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
>>>> Subject: [Xen-users] Unable to reboot after install of Xen on
>>>> fresh ubuntu running off recycled macbook hardware
>>>> 
>>>> 
>>>> 
>>>> I'm pretty newbie with Xen and I appologize if this is something
>>>> that is easy and dumb... 
>>>> 
>>>> I just install a fresh vanilla ubuntu 14.10 server, followed by a
>>>> distribution upgrade. Ubuntu is installed on a recycled macbook
>>>> air late 2010 [MacBook Air "Core 2 Duo" 2.13 13" (Late â10) 2.13
>>>> GHz Core 2 Duo (SL9600) to be precise] on a 25 Gb root partition
>>>> with the remaining of the 250Gb SSD hard drive for LVM. Grub2 is
>>>> the boot loader. 
>>>> 
>>>> I then installed Xen 4.4 from the distro with sudo apt-get install
>>>> xex-hypervisor-4.4-amd64
>>>> 
>>>> Upon reboot of the Ubuntu GNU/Linux (kernel 3.16.0-25-generic [or
>>>> -0-23-]) , with Xen hypervisor in Grub (v 2.02 ~ beta2-15), the
>>>> boot process get stuck after echoing "Loading initial ramdiskâ.
>>>> I also tried Ubuntu 14.04.01 LTS server with the two different
>>>> kernels with no avail.
>>>> 
>>>> I suspect the problem is with the Grub configs but Iâm not sure
>>>> where to go from there to start figuring out what the problem is.
>>>> 
>>>> Any help would be really appreciate.
>>>> 
>>>> Thanks
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users@xxxxxxxxxxxxx
>>>> http://lists.xen.org/xen-users
>> 
>> 
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxx
>> http://lists.xen.org/xen-users
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users

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

 


Rackspace

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