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

Ubuntu 24 not starting simple hvm



install fresh Ubuntu server 24 on dell micro-form-factor desktop

fgrep Intel /proc/cpuinfo
model name      : Intel(R) Core(TM) i3-6100T CPU @ 3.20GHz
# 2 cores, 4 threads

apt-get install xen-hypervisor-amd64

# temporary: setup network on dhcp
cat >/etc/netplan/90-xen.yaml <<'__EOF__'
network:
   version: 2
   bridges:
     xenbr0:
       dhcp4: yes
       interfaces: [enp2s0]
__EOF__
chmod 600 /etc/netplan/90-xen.yaml
netplan apply

lvcreate --type=linear --name=toolbelt-root -L 40G vg0

# I've used this config across several versions, but this is the first time it hasn't worked.
cat >/etc/xen/auto/toolbelt.hvm <<'__EOF__'
type = "hvm"
name = "toolbelt"
memory = "4096"
vcpus = 2
vif = ['']
disk = ['/dev/vg0/toolbelt-root,raw,hda,w,backendtype=phy','/d/dmg/ubuntu-24.04-
live-server-amd64.iso,raw,hdc,r,devtype=cdrom']
#disk = ['phy:/dev/vg0/toolbelt-root,hda,w'] # old format
vnc = 1
vnclisten = '127.0.0.1:1'
boot="dc"  # first cdrom, then bootdisk
#boot="cd"  # first bootdisk, then cdrom
__EOF__

xl -vvvv create /etc/xen/auto/toolbelt.hvm >/tmp/failure.txt 2>&1
# see attached
# Problem 1: afaict there's no (decipherable) error.

... and no vm was started
xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3888     4     r-----      36.4

After days of tearing my hair out, I finally find a reference to this:
cat /var/log/xen/qemu-dm-toolbelt.log
xen-qemu-system-i386: -device rtl8139,id=nic0,netdev=net0,mac=00:16:3e:43:bd:b5: failed to find romfile "efi-rtl8139.rom"

Problem 2: Can you please add basic debugging instructions? "Xen Common Problems" doesn't have any of this (-vvvv or /var/log/xen/)

Problem 3: Where is efi-rtl8139.rom ...
Answer 3: apt-get install ipxe-qemu

and finally now, after several nights of not being able to find the errors, it boots. Feedback: This is painful.

   - Kevin

Attachment: failure.txt
Description: Text document


 


Rackspace

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