[Users] OVZ6 kernel panic on Debian 9

Vasily Averin vvs at virtuozzo.com
Tue Jul 11 18:41:36 MSK 2017


Dear Narcis,
thank you for investigations,
great job!

Thank you,
	Vasily Averin

On 2017-07-11 17:38, Narcis Garcia wrote:
> Alexey, Vasily, you were wrong.
> The only barrier in Debian 8 is systemd, and the only additional barrier
> in Debian 9 is default Ext4 feature "64bit".
> 
> Following the initrd/mount message, I applied a comment from StalkR:
> upgrading from Debian 8.
> I've installed a clean Debain 8 (with Ext4), upgraded to Debian 9, and
> then OpenVZ 6 installs and works (without compiling anything).
> 
> https://openvz.org/Installation_on_Debian_9
> 
> 
> 
> El 11/07/17 a les 12:24, Alexey Zilber ha escrit:
>> It won't work.  Please go through the two earlier responses.   Debian 9
>> doesn't use initrd, so it will never work.
>>  Ext4 version is the least of your provlems.
>>
>> On Jul 11, 2017 6:06 PM, "Narcis Garcia" <informatica at actiu.net
>> <mailto:informatica at actiu.net>> wrote:
>>
>>     I've debugged initrd steps, and localized an error in this action:
>>     $ mount -r -t ext4  /dev/sda1 /root
>>     EXT4-fs (sda1): error loading journal
>>     mount: Invalid argument
>>
>>     If I try there same command without readonly option:
>>     $ mount -t ext4  /dev/sda1 /root
>>     EXT4-fs (sda1): couldn't mount RDWR because of unsupported optional
>>     features (400)
>>     mount: Invalid argument
>>
>>     I see that Debian 9 installer formats Ext4 with two extra features that
>>     Debian 8 didn't:
>>     64bit metadata_csum
>>
>>     Does anybody know how to "downgrade" Ext4 to remove those 2 features?
>>
>>
>>     El 08/07/17 a les 16:13, Narcis Garcia ha escrit:
>>     > Install procedure:
>>     >
>>     > RepoFile=/etc/apt/sources.list.d/openvz.list
>>     > RepoUrl=http://download.openvz.org/debian
>>     <http://download.openvz.org/debian>
>>     > echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
>>     > echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
>>     > wget -qO - http://ftp.openvz.org/debian/archive.key
>>     <http://ftp.openvz.org/debian/archive.key> | sudo apt-key add -
>>     > sudo apt --allow-unauthenticated update
>>     > KPackage="linux-image-openvz-$(dpkg --print-architecture)"
>>     > sudo apt --install-recommends install $KPackage ploop initramfs-tools
>>     > if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
>>     > sudo reboot
>>     >
>>     > Attaching screenshots.
>>     > - Tested with 042stab123.8 and 042stab123.9
>>     > - Tested with amd64 binaries
>>     > - Tested both in virtual machine and real hardware
>>     > - Tested both with single plain ext4 partition (sda1 on /) and
>>     with LVM
>>     > layers.
>>     > - initrd works, next boot stage not (fstab).
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > Users mailing list
>>     > Users at openvz.org <mailto:Users at openvz.org>
>>     > https://lists.openvz.org/mailman/listinfo/users
>>     <https://lists.openvz.org/mailman/listinfo/users>
>>     >
>>     _______________________________________________
>>     Users mailing list
>>     Users at openvz.org <mailto:Users at openvz.org>
>>     https://lists.openvz.org/mailman/listinfo/users
>>     <https://lists.openvz.org/mailman/listinfo/users>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 


More information about the Users mailing list