26.04.2018 3:39, Ian Jackson пишет:
Control: tag -1 moreinfo

Adam Borowski writes ("Bug#896878: Failed to execute /init (error -2) Kernel 
panic"):
On Wed, Apr 25, 2018 at 11:56:09AM +0300, Андрей Василишин wrote:
[       2.4575631 Failed to execute /init (error -2)

I think error -2 means ENOENT.

Are you sure there isn't something wrong with your hardware or perhaps your
filesystem?  These versions are old enough that such a regression would have
been reported long time ago: 4.9.82-1+deb9u3 is stable-sec (and stable point
release) from 2018-03-03, 3.2.96-2 is oldoldstable-sec from 2017-12-10.

I run sysvinit everywhere and I looked through a number of my systems.
I wasn't able to find any that had exactly these kernels, but I can
say that I have some systems with newer kernels as well as ones with
older ones (although none that I could fine as old as 3.2).  I have
not seen any regressions that look like this.

These kernels are all very different.  I think as Adam suggests the
most likely common factor and the most likely cause is indeed
something wrong with your filesystem or its contents.

Ian.



Ok, I have 13 same servers Dell PowerEdge R730xd . They worked well with wheezy but we need google/bbr future. I started updating all the servers. Part update (update only kernel) not working, all time kernel panic. Now I'm doing an almost complete update. On the next server with a full update I got the same kernel panic. An old 3.2.96-2 x86_64 kernel loaded normally.

# LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required: gamin git git-man liberror-perl libexiv2-12 libgamin0 libilmbase6 liblcms1 liblensfun-data liblensfun0 libmagickcore5 libmagickcore5-extra libmagickwand5 libopenexr6 libuuid-perl python-central
  python-gamin
Use 'apt autoremove' to remove them.
The following packages have been kept back:
apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common db5.1-util libapache2-mod-php5 libapache2-mod-rpaf libaprutil1 libaprutil1-dbd-mysql libaprutil1-ldap libcups2 libcupsimage2 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgtk2.0-0 libgtk2.0-bin libldap-2.4-2 libpcre3 libpcre3-dev libpcrecpp0 libsasl2-2 libva1 mutt php5 php5-cli php5-common php5-curl
  php5-gd
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.


# cat /etc/debian_version
9.4


# LANG=C apt-cache policy sysvinit-core
sysvinit-core:
  Installed: 2.88dsf-59.9
  Candidate: 2.88dsf-59.9
  Version table:
 *** 2.88dsf-59.9 500
500 http://mirror.nl.leaseweb.net/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     2.88dsf-59 500
        500 http://mirror.nl.leaseweb.net/debian jessie/main amd64 Packages



# LANG=C apt-cache policy sysvinit
sysvinit:
  Installed: 2.88dsf-59
  Candidate: 2.88dsf-59
  Version table:
 *** 2.88dsf-59 500
        500 http://mirror.nl.leaseweb.net/debian jessie/main amd64 Packages
        100 /var/lib/dpkg/status
     2.88dsf-41+deb7u1 500
        500 http://mirror.nl.leaseweb.net/debian wheezy/main amd64 Packages



[       2.461289] Failed to execute /init (error -2)
[       2.461590] Kernel panic - not syncing: No working init found. Try 
passing i
nit= option to kernel. See Linux Documentation/in it.txt for guidance.
[ 2.461700] CPU: 25 PID: 1 Comm: suapper/0 Not tainted 4.9.0-6-amd64 ttl Debia
n 4.9.82-l+deb9u3
[ 2.4617941 Hardware name: Dell Inc. PouerEdge R730xd/0WCJNT, BIOS 2.3.4 11/0
8/2016
[       2.4618871       0000000000000000 ffffffffb552e074 ffffffffb5803e00 
ffffa?a6c000b
f 40
[       2.4622791 ffffffffb537cfbd 0000000000000008 ffffa7a6c00Obf50 
ffffa?a6c000b
ee8
[       2.462670]       c229f0c80792470d c229f0c80792470d 0000000000000000 
ffff90968575e
000
[       2.463060] Call Trace:
[       2.4631501       [<ffffffffb552e074>]      ?       dump_stack+0x5c/0x78
[       2.4632441       [<ffffffffb5803eOO>]      ?       rest.init+0x40/0x80
[       2.463336]       [<ffffffffb537cfbd>]      ?       panic+0xe4/0x23f
[       2.463425]       [<ffffffffb5803e40>]      ?       rest.init+0x80/0x80
[       2.463515] [<ffffffffb5803f21>] ? kernel_init+0xel/0xl00
[       2.463604] Kffffffffb5811537>] ? ret_from_fork+0x57/0x70
[ 2.463790] Kernel Offset: 0x34200O0O from Oxffffffff81000000 (relocation ran
ge: Oxffffffff8O00OOO0-0xffffffffbfffffff)
[       2.492759] ---[ end Kernel panic - not syncing: No working init found. 
Try
passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Reply via email to