Mailinglist Archive: opensuse-virtual (28 mails)

< Previous Next >
Re: [opensuse-virtual] Chainloaded Leap 42.1 Xen Dom0 on EFI hardware -- network offline, xen init failing: "Failed to start The Xen xenstore"
On 11/19/2015 07:10 AM, Olaf Hering wrote:
It might be caused by the fact that Leap uses SLE12 as a base for
systemd, which forces net.ifnames=0. Try to boot with net.ifnames=1 on
kernel cmdline.

bingo! adding

net.ifnames=1

now, after boot, net's up

ip link show | grep DEFAULT
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
2: enp10s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
3: enp11s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
5: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP mode DEFAULT group default qlen 1000
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

Immediately after boot, I can ping outbound.

I can't SSH *to* the machine -- sshd's not starting on boot. I *can* restart it after boot, and subsequently SSH in. WIll chase that down ... suspect some changed dependency ....

So, appears there IS this default-value change from OS 13.2 -> Leap. If that's the case, I can't imagine that this won't crop up for others, and netnaming became standard with OS 13.2, and some netconfigs no doubt addressed those names.

Is the need for the command-line parameter addition/change documented?

Since Leap now tracks SLES, will the default stay @ netnames = 0, requiring a spec'n on command line?

Should that setting be taken instead from, e.g., /etc/default/* or /etc/sysconfig/* ?

Curious, what's TW's default value? Same as 13.2 or same as Leap? Did *it* change as well?

Again, it worked absolutely fine prior to the upgrade; the script executed,
and the knobs' values were verified to be set.

Likely by ifup scripts instead of wicked.

What is the wicked-native alternative?

That preceding "(null):" is a problem, but iirc is due to the lack of
properly init'd xenstored

wicked and xenstored are unrelated.

Sure.

Still now, after boot

xl list
Name ID Mem VCPUs State Time(s)
(null) 0 2988 1 r----- 21.7

which leaves me with "why?"

systemctl list-unit-files | grep -i xen
proc-xen.mount static
var-lib-xenstored.mount static
xen-dom0-modules.service disabled
xen-init-dom0.service enabled
xen-qemu-dom0-disk-backend.service enabled
xen-watchdog.service disabled
xencommons.service enabled
xenconsoled.service enabled
xendomains.service enabled
xenstored.service enabled
xenstored.socket enabled
xenstored_ro.socket enabled

Which one was missing? xencommons.service is supposed to start them all.

Prior to my 'enables', I'd only checked

systemctl list-unit-files
...
xen-dom0-modules.service disabled
xen-init-dom0.service disabled
xen-qemu-dom0-disk-backend.service disabled
xen-watchdog.service disabled
xencommons.service enabled
xenconsoled.service disabled
xendomains.service enabled
xenstored.service disabled
...

Also found & removed these from the /etc/default/grub

- GRUB_CMDLINE_LINUX_XEN_REPLACE=" (.*) rdloaddriver=xennet
rdloaddriver=xenblk"
+ GRUB_CMDLINE_LINUX_XEN_REPLACE=" (.*) "

This is unrelated I think.

I'm not finding recent docs on rdloaddriver= usage, particularly wrt =xennet, =xenblk. Something clearly set those ...

Now I've a booted system, with networking, I note on reboot a Xen+EFI failure:

shutdown -r now
...
Rebooting.
[ 919.933417] reboot: Restarting system
(XEN) [2015-11-19 16:42:17] Hardware Dom0 shutdown: rebooting
machine
(XEN) [2015-11-19 16:42:17] APIC error on CPU0: 40(00)
(XEN) [2015-11-19 16:42:17] ----[ Xen-4.6.0_02-397 x86_64 debug=n Tainted: C ]----
(XEN) [2015-11-19 16:42:17] CPU: 0
(XEN) [2015-11-19 16:42:17] RIP: e008:[<000000003e670340>] 000000003e670340
(XEN) [2015-11-19 16:42:17] RFLAGS: 0000000000010202 CONTEXT: hypervisor (d0v0)
(XEN) [2015-11-19 16:42:17] rax: 000000003e670340 rbx: 0000000000000000 rcx: 0000000000000000
(XEN) [2015-11-19 16:42:17] rdx: 0000000000000000 rsi: 0000000000000000 rdi: 0000000000000000
(XEN) [2015-11-19 16:42:17] rbp: 0000000000000000 rsp: ffff83002c8dfdc0 r8: 0000000000000000
(XEN) [2015-11-19 16:42:18] r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
(XEN) [2015-11-19 16:42:18] r12: 0000000000000000 r13: 0000000000000cf9 r14: 0000000000000065
(XEN) [2015-11-19 16:42:18] r15: ffff830000000000 cr0: 0000000080050033 cr4: 00000000001526e0
(XEN) [2015-11-19 16:42:18] cr3: 00000008abd60000 cr2:
000000003e670340
(XEN) [2015-11-19 16:42:18] ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e010 cs: e008
(XEN) [2015-11-19 16:42:18] Xen stack trace from
rsp=ffff83002c8dfdc0:
(XEN) [2015-11-19 16:42:18] 000000003efe42f6 0000000000000065 ffff82d08022b8ca efff000000000000
(XEN) [2015-11-19 16:42:18] ffff82d080269000 00000008abd60000 ffff82d08022bada 0000000675611000
(XEN) [2015-11-19 16:42:18] 0000000000000000 0000000000152660 000000000000e008 0000000000000292
(XEN) [2015-11-19 16:42:18] 0000000000000000 00000000fffffffe ffff82d0801822c8 0000000000000000
(XEN) [2015-11-19 16:42:18] 0000000000000010 000083002c8dfe98 0000000000000000 000000e126a3d666
(XEN) [2015-11-19 16:42:18] 0000000000000001 0000000000000001 ffff8308abd1f000 ffff8308abd1f158
(XEN) [2015-11-19 16:42:18] 0000000000000002 00000000fee1dead ffff82d08012a04f ffff8800bb008528
(XEN) [2015-11-19 16:42:18] ffff82d0801058b1 0000000000000000 0000000000000000 ffff8800b1ee7dc0
(XEN) [2015-11-19 16:42:18] 0000000001234567 ffffffff80a52c60 ffff82d080129182 00000001bb008528
(XEN) [2015-11-19 16:42:18] ffff82d08012a0bb ffff83002d6e5000 ffff83002d6e5000 ffff8800bb003df0
(XEN) [2015-11-19 16:42:18] ffff83002d6e5000 ffff8800b1ee7dc0 ffff82d080228070 ffff8800bb008528
(XEN) [2015-11-19 16:42:18] ffff8800bb0084e8 0000000000000000 ffff8800bb00bc00 ffff8800b1ee7dc0
(XEN) [2015-11-19 16:42:18] 0000000000000000 0000000000000296 0000000000000008 000000000000059e
(XEN) [2015-11-19 16:42:18] 0000000000000000 000000000000001d ffffffff800113aa 0000000000000001
(XEN) [2015-11-19 16:42:18] ffff8800b1ee7dbc 0000000000000002 0001010000000000 ffffffff800113aa
(XEN) [2015-11-19 16:42:18] 000000000000e033 0000000000000296 ffff8800b1ee7da0 000000000000e02b
(XEN) [2015-11-19 16:42:18] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN) [2015-11-19 16:42:18] 0000000000000000 ffff83002d6e5000 0000000000000000 0000000000000000
(XEN) [2015-11-19 16:42:18] Xen call trace:
(XEN) [2015-11-19 16:42:18] [<000000003e670340>]
000000003e670340
(XEN) [2015-11-19 16:42:18] [<ffff82d08022b8ca>] efi_rs_enter+0xfa/0x120
(XEN) [2015-11-19 16:42:18] [<ffff82d08022bada>] efi_reset_system+0x3a/0x60
(XEN) [2015-11-19 16:42:18] [<ffff82d0801822c8>] machine_restart+0x208/0x2d0
(XEN) [2015-11-19 16:42:18] [<ffff82d08012a04f>] hwdom_shutdown+0xbf/0xc0
(XEN) [2015-11-19 16:42:18] [<ffff82d0801058b1>] domain_shutdown+0xf1/0x100
(XEN) [2015-11-19 16:42:18] [<ffff82d080129182>] do_sched_op+0x1d2/0x410
(XEN) [2015-11-19 16:42:18] [<ffff82d08012a0bb>]
__do_softirq+0x6b/0x90
(XEN) [2015-11-19 16:42:18] [<ffff82d080228070>]
lstar_enter+0xa0/0xa5
(XEN) [2015-11-19 16:42:18]
(XEN) [2015-11-19 16:42:18] Pagetable walk from
000000003e670340:
(XEN) [2015-11-19 16:42:18] L4[0x000] = 00000008abd5f063
ffffffffffffffff
(XEN) [2015-11-19 16:42:18] L3[0x000] = 000000002c87a063
ffffffffffffffff
(XEN) [2015-11-19 16:42:18] L2[0x1f3] = 000000003e5ff063 ffffffffffffffff
(XEN) [2015-11-19 16:42:18] L1[0x070] = 800000003e670163
ffffffffffffffff
(XEN) [2015-11-19 16:42:18]
(XEN) [2015-11-19 16:42:18]
****************************************
(XEN) [2015-11-19 16:42:18] Panic on CPU 0:
(XEN) [2015-11-19 16:42:18] FATAL PAGE FAULT
(XEN) [2015-11-19 16:42:18] [error_code=0011]
(XEN) [2015-11-19 16:42:18] Faulting linear address:
000000003e670340
(XEN) [2015-11-19 16:42:18]
****************************************
(XEN) [2015-11-19 16:42:18]
(XEN) [2015-11-19 16:42:18] Reboot in five seconds...
(XEN) [2015-11-19 16:42:23] Resetting with ACPI MEMORY or I/O
RESET_REG.

The system _does_ continue the reboot,

...
[ OK ] Reached target Shutdown.
dracut Warning: Killing all remaining processes
mdadm: stopped /dev/md2
mdadm: stopped /dev/md3
mdadm: stopped /dev/md4
mdadm: stopped /dev/md1
mdadm: stopped /dev/md0
Rebooting.
[ 919.933417] reboot: Restarting system
(XEN) [2015-11-19 16:42:17] Hardware Dom0 shutdown: rebooting machine
(XEN) [2015-11-19 16:42:17] APIC error on CPU0: 40(00)
(XEN) [2015-11-19 16:42:17] ----[ Xen-4.6.0_02-397 x86_64 debug=n Tainted: C ]----
(XEN) [2015-11-19 16:42:17] CPU: 0
(XEN) [2015-11-19 16:42:17] RIP: e008:[<000000003e670340>] 000000003e670340
(XEN) [2015-11-19 16:42:17] RFLAGS: 0000000000010202 CONTEXT: hypervisor (d0v0)
(XEN) [2015-11-19 16:42:17] rax: 000000003e670340 rbx: 0000000000000000 rcx: 0000000000000000
(XEN) [2015-11-19 16:42:17] rdx: 0000000000000000 rsi: 0000000000000000 rdi: 0000000000000000
(XEN) [2015-11-19 16:42:17] rbp: 0000000000000000 rsp: ffff83002c8dfdc0 r8: 0000000000000000
(XEN) [2015-11-19 16:42:18] r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
(XEN) [2015-11-19 16:42:18] r12: 0000000000000000 r13: 0000000000000cf9 r14: 0000000000000065
(XEN) [2015-11-19 16:42:18] r15: ffff830000000000 cr0: 0000000080050033 cr4: 00000000001526e0
(XEN) [2015-11-19 16:42:18] cr3: 00000008abd60000 cr2:
000000003e670340
(XEN) [2015-11-19 16:42:18] ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e010 cs: e008
(XEN) [2015-11-19 16:42:18] Xen stack trace from rsp=ffff83002c8dfdc0:
(XEN) [2015-11-19 16:42:18] 000000003efe42f6 0000000000000065 ffff82d08022b8ca efff000000000000
(XEN) [2015-11-19 16:42:18] ffff82d080269000 00000008abd60000 ffff82d08022bada 0000000675611000
(XEN) [2015-11-19 16:42:18] 0000000000000000 0000000000152660 000000000000e008 0000000000000292
(XEN) [2015-11-19 16:42:18] 0000000000000000 00000000fffffffe ffff82d0801822c8 0000000000000000
(XEN) [2015-11-19 16:42:18] 0000000000000010 000083002c8dfe98 0000000000000000 000000e126a3d666
(XEN) [2015-11-19 16:42:18] 0000000000000001 0000000000000001 ffff8308abd1f000 ffff8308abd1f158
Xen 4.6.0_02-397 (c/s ) EFI loader
Using configuration file 'xen-4.6.0_02-397.cfg'
vmlinuz-4.3.0-4.g734b32c-xen: 0x000000002bfdc000-0x000000002c4ddac0
initrd-4.3.0-4.g734b32c-xen: 0x000000002b081000-0x000000002bfdb194
0x0000:0x00:0x19.0x0: ROM: 0x10000 bytes at 0x329c6018
0x0000:0x04:0x00.0x0: ROM: 0x8000 bytes at 0x329b6018
0x0000:0x10:0x00.0x0: ROM: 0x10800 bytes at 0x3299e018
__ __ _ _ __ ___ ___ ____ _____ ___ _____
\ \/ /___ _ __ | || | / /_ / _ \ / _ \___ \ |___ // _ \___ |
\ // _ \ '_ \ | || |_| '_ \| | | | | | | |__) |__ |_ \ (_) | / /
/ \ __/ | | | |__ _| (_) | |_| | | |_| / __/|__|__) \__, |/ /
/_/\_\___|_| |_| |_|(_)___(_)___/___\___/_____| |____/ /_//_/
|_____|
(XEN) Xen version 4.6.0_02-397 (abuild@xxxxxxx) (gcc (SUSE Linux) 4.8.5) debug=n Tue Nov 10 22:16:24 UTC 2015

--
To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-virtual+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups