Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177449

Re: upgrade failed debian 8.7

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: upgrade failed debian 8.7
Date 2017-02-05 15:50 +0100
Message-ID <t7wiC-ba-13@gated-at.bofh.it> (permalink)
References <t7dzj-4ww-9@gated-at.bofh.it> <t7dSG-4TW-13@gated-at.bofh.it> <t7f85-5Fq-1@gated-at.bofh.it> <t7nfj-2OV-9@gated-at.bofh.it> <t7tb4-6DB-5@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


Mike Nunn <bonnie650@gmail.com> wrote:
> [-- text/plain, encoding 7bit, charset: UTF-8, 24 lines --]

> I have an strace output for the following:

> strace -f -o foo update-initramfs -u -v

> It stopped at the following line as usual:

> Building cpio /boot/initrd.img-3.16.0-4-amd64.new initramfs

> The last few lines of the strace output:

> 12056 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
> 12056 fstat(3, {st_mode=S_IFREG|0644, st_size=2855152, ...}) = 0
> 12056 mmap(NULL, 2855152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f46dea0e000
> 12056 close(3)                          = 0
> 12056 sync(

> I have tried this twice with the same screen output and strace output.

Can you please check if process 12056 is "/bin/sync"? Search for a line
above looking like

3400  execve("/bin/sync", ["sync"], [/* 23 vars */]) = 0

(3400 being the PID of sync in my example here)

If this is the case, then you build stops at line 176 of
/usr/sbin/update-initramfs. Good news is: at that point the initramfs
has already been created successfully and moved into the right place.
The only step left is to run "update-grub".

But when the sync() system call blocks for such a long time, there is
something very wrong with either the kernel or the underlying medium.

Please test if just calling "strace sync" as root hangs as well.

But right now, I don't think this is a bug in update-initramfs but
somewhere else. Maybe inside the NVMe driver in the Linux Kernel.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-04 19:50 +0100
  Re: upgrade failed debian 8.7 Sven Hartge <sven@svenhartge.de> - 2017-02-04 20:10 +0100
    Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-04 21:30 +0100
      Re: upgrade failed debian 8.7 Sven Hartge <sven@svenhartge.de> - 2017-02-04 21:50 +0100
        Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-04 22:00 +0100
        Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-04 22:00 +0100
      Re: upgrade failed debian 8.7 Ric Moore <wayward4now@gmail.com> - 2017-02-05 06:10 +0100
        Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-05 12:30 +0100
          Re: upgrade failed debian 8.7 Lisi Reisz <lisi.reisz@gmail.com> - 2017-02-05 14:40 +0100
            Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-05 15:00 +0100
          Re: upgrade failed debian 8.7 Sven Hartge <sven@svenhartge.de> - 2017-02-05 15:50 +0100
            Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-05 16:20 +0100
              Re: upgrade failed debian 8.7 Sven Hartge <sven@svenhartge.de> - 2017-02-05 16:40 +0100
                Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-05 18:10 +0100
                Re: upgrade failed debian 8.7 Sven Hartge <sven@svenhartge.de> - 2017-02-05 18:10 +0100
                Re: upgrade failed debian 8.7 Mike Nunn <bonnie650@gmail.com> - 2017-02-07 13:40 +0100

csiph-web