Investingating the 16.04.x problem.

The multipathd instance in initramfs _sometimes_ does not die with the default 
signal, only with 9.
It's intermittent.
And refuses to happen with -d / foreground logging enabled. sigh.

I'll try to insert rsyslog into initramfs and get something useful.

It looks like a deadlock among the main and another thread.

Continuing tomorrow.



Begin: Running /scripts/local-bottom ... Begin: Stopping multipathd ... done.
done.
Begin: Running /scripts/init-bottom ... done.
Spawning shell within the initramfs


BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) ps w | grep multipath
  433 root     1357m S    /sbin/multipathd -B
 3486 root      3456 S    {exe} grep multipath

(initramfs) kill 433
(initramfs) ps w | grep multipath
  433 root     1357m S    /sbin/multipathd -B
 3489 root      3456 S    {exe} grep multipath

(initramfs) kill -9 433
(initramfs) ps w | grep multipath
 3492 root      3456 S    {exe} grep multipath

(initramfs) grep PRETTY /etc/*release
PRETTY_NAME="Ubuntu 16.04.2 LTS"

...


another run:


(initramfs) ps w | grep multipathd
  434 root     1357m S    /sbin/multipathd -B
 3524 root      3456 S    {exe} grep multipathd

(initramfs) kill 434

(initramfs) ps w | grep multipathd
  434 root     1357m S    /sbin/multipathd -B
 3527 root      3456 S    {exe} grep multipathd

(initramfs) ls -ld /proc/434/task/*
dr-xr-xr-x    7         0 /proc/434/task/440
dr-xr-xr-x    7         0 /proc/434/task/434

(initramfs) cat /proc/434/task/434/stack
[<0000000000000a01>] 0xa01
[<c000000000015c78>] __switch_to+0x1f8/0x350
[<c000000000166578>] futex_wait_queue_me+0xf8/0x1e0
[<c000000000167d74>] futex_wait+0x174/0x2c0
[<c000000000169e44>] do_futex+0x234/0xd70
[<c00000000016aa34>] SyS_futex+0xb4/0x1e0
[<c000000000009204>] system_call+0x38/0xb4

(initramfs) cat /proc/434/task/440/stack
[<c0000002afd8adc0>] 0xc0000002afd8adc0
[<c000000000015c78>] __switch_to+0x1f8/0x350
[<c000000000166578>] futex_wait_queue_me+0xf8/0x1e0
[<c000000000167d74>] futex_wait+0x174/0x2c0
[<c000000000169e44>] do_futex+0x234/0xd70
[<c00000000016aa34>] SyS_futex+0xb4/0x1e0
[<c000000000009204>] system_call+0x38/0xb4

(initramfs)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1670811

Title:
  Multipath services fails to start on Ubuntu 17.04 on boot and kdump
  (initramfs)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1670811/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to