Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to install under XenServer?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Tue Jul 07, 2015 3:39 pm    Post subject: Unable to install under XenServer? Reply with quote

I am trying to install Gentoo 64bit under XenServer. Every time it gets to the "boot:" prompt and I press enter, I get "Booting kernel failed: Invalid argument". Does Gentoo not work with XenServer?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 433
Location: Australia

PostPosted: Wed Jul 08, 2015 2:28 am    Post subject: Reply with quote

Gentoo works just fine with Xen server, that's not the problem.

Which bootloader? Msg indicates you're probably trying to boot off the wrong partition/drive.

You'll need to supply more data if you want meaningful help.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Wed Jul 08, 2015 12:44 pm    Post subject: Reply with quote

Sadly, I get no more info. The system is a Dell PowerEdge 2900 with 48GB RAM, dual Xeon Quad-Core CPUs (not sure the speed without going ot the location) and a hardware RAID10 card with four 1TB disks. Also, the VM has two CPUs, 2GB of RAM, and 40GB of disk allocated. I am using a live USB to install. The USB stick works on my systems fine. I followed the directions for the live USB on the Gentoo Wiki. Again, the USB disk works on physical hardware, including the PowerEdge, should I reboot the system with the drive attached.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Wed Jul 08, 2015 1:06 pm    Post subject: Reply with quote

The_Great_Sephiroth,

How far have you got?
Is the the first boot after you have completed your install or are you still trying to boot a liveUSB.
The Gentoo minimal CD may well not support Xen, its ... err minimal.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Wed Jul 08, 2015 2:18 pm    Post subject: Reply with quote

I get to where it says "boot:" and you normally press enter to boot the live CD/USB, and that is as far as it gets. I get the error when I press enter to boot the live media.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Wed Jul 08, 2015 5:52 pm    Post subject: Reply with quote

I downloaded the live DVD from the site (dated 2014-08-26) and burned it. I brought it up in VirtualBox and it worked fine. I will try it under XenServer this afternoon.

Now, my advice is to add the few megabytes to the kernel for Xen/KVM support on the minimal disc. Why? I just had to bog down the Gentoo servers using bandwidth to download a DVD when I don't need 99% of what is on the DVD. In other words, I needed Xen/KVM in the kernel, not a functioning live desktop. It would also help get Gentoo onto more servers if the stuff to run it as a guest was included on the minimal disc.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Wed Jul 08, 2015 7:35 pm    Post subject: Reply with quote

The_Great_Sephiroth,

System Rescue CD is about what you are describing.
It works in KVM and VBox. Its a while since I used Xen.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Thu Jul 09, 2015 1:04 pm    Post subject: Reply with quote

I know I can use SRCD, but when installing an OS, I prefer to use the OS media because if I have a problem, the first thing I have heard in the past is "Why aren't you using the install media?" and I like to avoid that stuff. Besides, we're talking a few kernel options, not 100MB of kernel modules.

Oh, the live DVD is working for my needs. I am now installing Gentoo inside XenServer.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Thu Jul 09, 2015 2:56 pm    Post subject: Reply with quote

The_Great_Sephiroth,

The Gentoo install media and boot media are separate things.
The boot media only provides a few tools - use whatever comes to hand. The install media is the stage3 tarball. Installing Gentoo without the stage3 tarball (install media) can be done but thats a topic for another thread.

You need to let go the concept of 'install media' that you learned before Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Fri Jul 10, 2015 4:07 pm    Post subject: Reply with quote

Well, I got Gentoo installed, but I have an issue. The console is solid black. I cannot boot into the system due to this. XenServer emulates a Cirrus chip for video, and that is enabled for framebuffer. I disabked the X stuff like DRM due to only running a shell here which will host a SIP daemon (yate). I also noted that the EFI framebuffer was enabled and I left it alone. Should I enable SVGA? What should I do for this?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Fri Jul 10, 2015 9:38 pm    Post subject: Reply with quote

I now have Cirrus, EFI, and VESA VGA under framebuffer enabled. My last thoughts are to disable EFI and enable VGA. If that doesn't work I will need help.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sat Jul 11, 2015 1:46 pm    Post subject: Reply with quote

I have reached my limit on this one. All of the Xen stuff is on. Under framebuffer devices I have the Cirrus selected and the XenServer option selected. After the GRUB screen it starts to boot and then freezes. I gave the VM two CPU's with the topology of two cores on one chip. Core0 shoots to about 35% usage and stays there. Core1 drops to no usage and stays there. The screen stays black. What am I not doing correctly?

I have all of the multiple CPU stuff enabled except for SMT as these are 64bit, quad-core Xeons.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sat Jul 11, 2015 8:01 pm    Post subject: Reply with quote

Progress! I discovered that if I type 'root', press enter, enter the root password, press enter, and use a shutdown command, the VM shuts down. The issue appears to be the VM not outputting to xvc0. How can I do this? I need it to output to xvc0 instead of tty1.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sat Jul 11, 2015 11:08 pm    Post subject: Reply with quote

Alright, I really need help with this. This was supposed to be up yesterday and come Monday, the office will have no phone service if we cannot get this working. I added "console=xvc0" to the kernel command-line and that makes the VM shutdown after the GRUB menu. How do I get monitor output? I am completely lost! I just need to see the screen so I can emerge and configure yate! I never have this issue with binary distros or even Windows. Debian displays on tty0 in Xen just fine, why won't Gentoo?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 433
Location: Australia

PostPosted: Sun Jul 12, 2015 4:27 am    Post subject: Reply with quote

I think the reason you're in this thread by yourself is that your issue is really not a simple installation problem.

You need some eyes from people that are using Xen, and that doesn't include me; I looked into it some time ago, but it doesn't glue anything for me that QEMU/KVM or VirtualBox won't cover, so I'm no expert in this, but have to ask: is Xen really necessary here?

I saw another post of yours suggesting you don't have a lot of familiarity with Xen, Is this for the same setup?
The_Great_Sephiroth wrote:
I am preparing to install multiple (five) Gentoo AMD64 VMs inside XenServer on a new server. What do I need to enable in the kernel for it to operate properly inside of Xen? My guess is KVM, but I am not sure. This is my first attempt at making Gentoo run inside of a hypervisor. I intend on only building the stuff required for my hardware into the kernel, along with just ext4 support.

Along with this, I plan on gutting IPv6 from my kernel. How will this affect the OS? I do not use IPv6 on the LAN here and want to clear it out. X/Gnome/KDE/etc will not be running on these VMs. They will be pure, shell-only, SSH-access VMs.


Is there a reason for Xen as opposed to just direct installing a stripped down gentoo QEMU/KVM host and running the 5 vm's there?

Sorry if this is unhelpful advice, but QEMU is well supported and documented in Gentoo, and I think made for the job you describe. It may be the reason you aren't getting many hits here that Xen is a less adopted solution. I struggled initially with getting the networking I wanted in QEMU, but that is way better documented now, so for such simple, replicable guests, you should be able to get the setup built quickly straight from the Gentoo wiki.

Anyway, that may be a route to consider in the circumstances of
Quote:
This was supposed to be up yesterday and come Monday, the office will have no phone service if we cannot get this working.
8O
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jul 12, 2015 1:13 pm    Post subject: Reply with quote

The_Great_Sephiroth,

Try console= and read /usr/src/linux/Documentation/kernel-parameters.txt
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sun Jul 12, 2015 3:35 pm    Post subject: Reply with quote

I should have mentioned that I tried that already. I set the console to xvc0, but it did not help. What gets me is that I would THINK that using tty1 would work, just not optimal. I have about twelve hours to go and still not having any luck. The live DVD doesn't have lspci or lsusb either, making things more challenging.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 433
Location: Australia

PostPosted: Sun Jul 12, 2015 3:53 pm    Post subject: Reply with quote

System Rescue Cd. Neddy said earlier in this thread. I don't know why it's not recommended in the handbook as at least an alternate install, it's the best way to install Gentoo on a new/unknown system. Boot into the standard Kernel and have some very useful tools available, plus the option to run the handbook / forums in a browser.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sun Jul 12, 2015 4:36 pm    Post subject: Reply with quote

I read the document you referenced, Neddy. It says to use "hvc0" as opposed to the material I read online saying "xvc0". Using hvc0 causes the VM to shutdown after the GRUB menu. I am going into panic mode now. I wish I had more experience with Slakware because I'd use it until I can figure this out, but my last experience with it was years ago.

I know I can use System Rescue CD. The thing is, this server is in a remote location with the Gentoo live DVD in the drive. I would have to drive for an hour to swap it. Not economical. I wish this place had a NAS I could store ISO images on...
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jul 12, 2015 4:58 pm    Post subject: Reply with quote

The_Great_Sephiroth,

The liveDVD has emerge ...
If you don't set up some persistant storage, anything you emerge will drop out but usbutils and pciutils are small.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sun Jul 12, 2015 5:05 pm    Post subject: Reply with quote

I did not think about trying to emerge using the live DVD, but thanks! That can be useful.

Now, using hvc0 or xvc0 results in not getting past GRUB. Using tty0 boots, but I cannot see the terminal to do anything. Is there a way to get tty0 working long enough to configure the network interface?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jul 12, 2015 5:58 pm    Post subject: Reply with quote

The_Great_Sephiroth,

Configure the net before you reboot.
Either set net.ifnames=0 or use the names the liveDVD discovers.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sun Jul 12, 2015 7:06 pm    Post subject: Reply with quote

I do not use traditional names, but the DVD does. I use eudev also. So how will I know what the name of eth0 becomes using the live DVD?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jul 12, 2015 7:30 pm    Post subject: Reply with quote

The_Great_Sephiroth,

If you use ethX naming, there should be no change booting to your kernel if you make the drivers modular and use the same module load order as the DVD.

If you use the 'persistant names' they should not change if thats what the DVD uses.
maybe
Code:
udevadm test-builtin net_id /sys/class/net/eth0 2> /dev/null

I get
Code:
$ udevadm test-builtin net_id /sys/class/net/eth0 2> /dev/null
ID_NET_NAME_MAC=enx001e68a699b4
ID_OUI_FROM_DATABASE=Quanta Computer
ID_NET_NAME_PATH=enp2s0
roy@bluebottle ~ $ udevadm test-builtin net_id /sys/class/net/wlan0 2> /dev/null
ID_NET_NAME_MAC=wlx002269029e86
ID_OUI_FROM_DATABASE=Hon Hai Precision Ind. Co., Ltd.
ID_NET_NAME_PATH=wlp3s0

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Mon Jul 13, 2015 2:16 am    Post subject: Reply with quote

The command you showed me (and I also saw in the networking handbook) only gives me a MAC. Either way, I setup eth0 as static and did the symlink to net.lo, but the interface is not coming up when the VM boots. I am completely hosed at this point. I need this in the morning and I still cannot even see what is going on. For some reason, Gentoo refuses to play with XenServer and I do not understand why.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum