LINUX.ORG.RU

Установка Debian9 на виртуалку XEN

 , ,


0

1

Добрый день. Имеется выделенный сервер в Hetzner. На сервере стоит Debian 9 и гипервизор XEN. При попытке запустить установку 9 версии на гостевой машине, установка валится вот с таким логом:

[    0.000000] Linux version 4.9.0-7-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.110-1 (2018-07-05)
[    0.000000] Command line: debian-installer/exit/always_halt=true -- quiet console=hvc0
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] Released 0 page(s)
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x00000000ffffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Xen
[    0.000000] e820: last_pfn = 0x100000 max_arch_pfn = 0x400000000
[    0.000000] MTRR: Disabled
[    0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC
[    0.000000] RAMDISK: [mem 0x02000000-0x0a04ffff]
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0xff814000-0xff818fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x00000000ffffffff]
[    0.000000] p2m virtual area at ffffc90000000000, size is 40000000
[    0.000000] Remapped 0 page(s)
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] e820: cannot find a gap in the 32bit address range
[    0.000000] e820: PCI devices with unassigned 32bit BARs may break!
[    0.000000] e820: [mem 0x100100000-0x1004fffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.8.4-pre (preserve-AD)
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] percpu: Embedded 35 pages/cpu @ffff8800fac00000 s105304 r8192 d29864 u2097152
[    0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 1032074
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: debian-installer/exit/always_halt=true -- quiet console=hvc0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 3964488K/4193916K available (6250K kernel code, 1159K rwdata, 2868K rodata, 1420K init, 688K bss, 229428K reserved, 0K cma-reserved)
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[    0.000000] Using NULL legacy PIC
[    0.000000] NR_IRQS:33024 nr_irqs:32 0
[    0.000000] xen:events: Using FIFO-based ABI
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] installing Xen timer for CPU 0
[    0.000000] tsc: Unable to calibrate against PIT
[    0.000000] tsc: No reference (HPET/PMTIMER) available
[    0.000000] tsc: Detected 3400.018 MHz processor
[    0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6800.03 BogoMIPS (lpj=13600072)
[    0.004000] pid_max: default: 32768 minimum: 301
[    0.004000] Security Framework initialized
[    0.004000] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.004000] AppArmor: AppArmor disabled by boot time parameter
[    0.004000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.004000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.004000] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.004000] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] mce: CPU supports 2 MCE banks
[    0.004000] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
[    0.004000] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
[    0.004000] Spectre V2 : Mitigation: Full generic retpoline
[    0.004000] Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
[    0.004000] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.004000] Speculative Store Bypass: Vulnerable
[    0.051512] Freeing SMP alternatives memory: 24K
[    0.057333] ftrace: allocating 25269 entries in 99 pages
[    0.072061] cpu 0 spinlock event irq 1
[    0.072069] smpboot: Max logical packages: 1
[    0.072075] VPMU disabled by hypervisor.
[    0.072089] Performance Events: unsupported p6 CPU model 60 no PMU driver, software events only.
[    0.072499] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.072505] NMI watchdog: Shutting down hard lockup detector on all cpus
[    0.072518] x86: Booted up 1 node, 1 CPUs
[    0.072710] devtmpfs: initialized
[    0.072754] x86/mm: Memory block size: 128MB
[    0.074009] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.074023] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.074051] pinctrl core: initialized pinctrl subsystem
[    0.074124] NET: Registered protocol family 16
[    0.074132] xen:grant_table: Grant tables using version 1 layout
[    0.074145] Grant table initialized
[    0.074298] PCI: setting up Xen PCI frontend stub
[    0.074298] ACPI: Interpreter disabled.
[    0.074298] xen:balloon: Initialising balloon driver
[    0.076020] xen_balloon: Initialising balloon driver
[    0.076045] vgaarb: loaded
[    0.076072] dmi: Firmware registration failed.
[    0.076101] PCI: System does not support PCI
[    0.076106] PCI: System does not support PCI
[    0.076235] clocksource: Switched to clocksource xen
[    0.080576] VFS: Disk quotas dquot_6.6.0
[    0.080591] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.080610] hugetlbfs: disabling because there are no supported hugepage sizes
[    0.080635] pnp: PnP ACPI: disabled
[    0.081533] NET: Registered protocol family 2
[    0.081670] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.081784] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.081836] TCP: Hash tables configured (established 32768 bind 32768)
[    0.081871] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.081895] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.081927] NET: Registered protocol family 1
[    0.081963] Unpacking initramfs...
[    0.145681] Freeing initrd memory: 131392K
[    0.145970] audit: initializing netlink subsys (disabled)
[    0.145989] audit: type=2000 audit(1532353004.150:1): initialized
[    0.181484] workingset: timestamp_bits=40 max_order=20 bucket_order=0
[    0.181513] zbud: loaded
[    0.182036] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.182062] io scheduler noop registered
[    0.182067] io scheduler deadline registered
[    0.182080] io scheduler cfq registered (default)
[    0.182115] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.182123] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.185613] Console: switching to colour frame buffer device 100x37
[    0.186344] console [tty0] disabled
[    0.186371] console [tty0] enabled
[    0.186869] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.187196] Linux agpgart interface v0.103
[    0.187234] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    0.187253] AMD IOMMUv2 functionality not available on this system
[    0.187384] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.194777] i8042: No controller found
[    1.194814] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x31025fc210b, max_idle_ns: 440795272657 ns
[    1.195080] mousedev: PS/2 mouse device common for all mice
[    1.195955] input: Xen Virtual Keyboard as /devices/virtual/input/input0
[    1.196737] input: Xen Virtual Pointer as /devices/virtual/input/input1
[    1.199216] ledtrig-cpu: registered to indicate activity on CPUs
[    1.199774] dmi-sysfs: dmi entry is absent.
[    1.200838] NET: Registered protocol family 10
[    1.201401] random: fast init done
[    1.202292] mip6: Mobile IPv6
[    1.202859] NET: Registered protocol family 17
[    1.203394] mpls_gso: MPLS GSO support
[    1.204107] registered taskstats version 1
[    1.204602] zswap: loaded using pool lzo/zbud
[    1.205220] ima: No TPM chip found, activating TPM-bypass!
[    1.205697] ima: Allocated hash algorithm: sha256
[    1.206213] xenbus_probe_frontend: Device with no driver: device/vbd/51712
[    1.206711] xenbus_probe_frontend: Device with no driver: device/vif/0
[    1.207195] xenbus_probe_frontend: Device with no driver: device/vif/1
[    1.207690] hctosys: unable to open rtc device (rtc0)
[    1.208674] Freeing unused kernel memory: 1420K
[    1.209133] Write protecting the kernel read-only data: 12288k
[    1.214281] Freeing unused kernel memory: 1928K
[    1.215178] Freeing unused kernel memory: 1228K
[    1.222175] x86/mm: Checked W+X mappings: FAILED, 4090 W+X pages found.
[    1.222839] general protection fault: 0000 [#1] SMP
[    1.223293] Modules linked in:
[    1.223742] CPU: 0 PID: 1 Comm: init Not tainted 4.9.0-7-amd64 #1 Debian 4.9.110-1
[    1.224007] task: ffff8800fa7cd040 task.stack: ffffc90040628000
[    1.224007] RIP: e030:[<ffffffff81614d4d>]  [<ffffffff81614d4d>] ret_from_fork+0x2d/0x70
[    1.224007] RSP: e02b:ffffc9004062bf50  EFLAGS: 00010006
[    1.224007] RAX: 000000020ead9000 RBX: ffffffff816076d0 RCX: ffffea0003e509df
[    1.224007] RDX: 0000000000000002 RSI: 0000000000000002 RDI: ffffc9004062bf58
[    1.224007] RBP: 0000000000000000 R08: 0000000000000000 R09: ffff8800098b8000
[    1.224007] R10: 8080808080808080 R11: fefefefefefefeff R12: 0000000000000000
[    1.224007] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    1.224007] FS:  0000000000000000(0000) GS:ffff8800fac00000(0000) knlGS:0000000000000000
[    1.224007] CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.224007] CR2: 00007ffe7aac4389 CR3: 00000000098d8000 CR4: 0000000000042660
[    1.224007] Stack:
[    1.224007]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.224007]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.224007]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.224007] Call Trace:
[    1.224007] Code: c7 e8 b8 fe a8 ff 48 85 db 75 2f 48 89 e7 e8 5b ed 9e ff 50 90 0f 20 d8 65 48 0b 04 25 e0 02 01 00 78 08 65 88 04 25 e7 02 01 00 <0f> 22 d8 58 66 0f                                                                    1f 44 00 00 e9 c1 07 00 00 4c 89 e7 eb 11 e8
[    1.224007] RIP  [<ffffffff81614d4d>] ret_from_fork+0x2d/0x70
[    1.224007]  RSP <ffffc9004062bf50>
[    1.224007] ---[ end trace 5c262d64e73fee59 ]---
[    1.395061] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.395061]
[    1.396100] Kernel Offset: disabled

Предыдущие версии устанавливаются и работают нормально.

kernel  = '/vm/deb9-amd64-template/vmlinuz'
ramdisk = '/vm/deb9-amd64-template/initrd.gz'
extra = "debian-installer/exit/always_halt=true -- quiet console=hvc0"
#bootloader="pygrub"
memory = 4096
name = 'deb9-amd64-template'
vcpus = 1
vif = ['bridge=xenbr0']
disk = ['file:/vm/deb9-amd64-template/data/system.img,xvda,w']
vfb = ['type=vnc,vnclisten=xxx.xxx.xxx.xxx,vncunused=1']

kernel и ramdisk скачаны отсюда: http://ftp.debian.org/debian/dists/Debian9.5/main/installer-amd64/current/ima... Помогите советом, плз. Что не так?