Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-21 Thread Narcis Garcia
El 21/07/17 a les 15:03, Marco d'Itri ha escrit:
> On Jul 20, Narcis Garcia  wrote:
> 
>> In a Debian 9 installed with all defaults, if you change Systemd by
>> SystemV, you loose most of desktop software.
> Looks like you forgot to install systemd-shim then.
> 
> 
> 
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 

Interesting package, but having it installed does not avoid the loss of
most desktop software when uninstalling systemd.

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-21 Thread Marco d'Itri
On Jul 20, Narcis Garcia  wrote:

> In a Debian 9 installed with all defaults, if you change Systemd by
> SystemV, you loose most of desktop software.
Looks like you forgot to install systemd-shim then.

-- 
ciao,
Marco


signature.asc
Description: PGP signature
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-20 Thread Narcis Garcia
El 19/07/17 a les 12:34, Marco d'Itri ha escrit:
> On Jul 19, Alexey Zilber  wrote:
> 
>>Just came across this, which you may find interesting.  Removing systemd
>> took Devuan two years.
>> http://troubleshooters.com/linux/systemd/bikebrakes.htm
> Can you people obsessed by systemd please drop this advocacy/bullshit?
> Debian 9 works fine with sysvinit if this is what the environment 
> requires.
> 
> (One of the Debian systemd maintainers.)
> 
> 
> 
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 

I like only nice words from all people.
In a Debian 9 installed with all defaults, if you change Systemd by
SystemV, you loose most of desktop software.

$ sudo apt install sysvinit-core sysvinit-utils
$ sudo reboot
$ sudo apt remove systemd

(I understand that desktops aren't in the scope of this mailing list)
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-19 Thread Marco d'Itri
On Jul 19, Alexey Zilber  wrote:

>Just came across this, which you may find interesting.  Removing systemd
> took Devuan two years.
> http://troubleshooters.com/linux/systemd/bikebrakes.htm
Can you people obsessed by systemd please drop this advocacy/bullshit?
Debian 9 works fine with sysvinit if this is what the environment 
requires.

(One of the Debian systemd maintainers.)

-- 
ciao,
Marco


signature.asc
Description: PGP signature
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-19 Thread Narcis Garcia
Thanks for the well-chosen reference; Steve Litt describes how to
discover that Systemd is replacing GNU. Fortunately, there are other
distributions that will be GNU/Linux for many time.



El 19/07/17 a les 07:03, Alexey Zilber ha escrit:
> Hi Narcis,
> 
>Just came across this, which you may find interesting.  Removing
> systemd took Devuan two years.
>   http://troubleshooters.com/linux/systemd/bikebrakes.htm
> 
> -Alex
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-18 Thread Alexey Zilber
Hi Narcis,

   Just came across this, which you may find interesting.  Removing systemd
took Devuan two years.
http://troubleshooters.com/linux/systemd/bikebrakes.htm

-Alex

On Tue, Jul 11, 2017 at 10:38 PM, 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"  > > 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
> > 
> > > 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
> >  | 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@openvz.org 
> > > https://lists.openvz.org/mailman/listinfo/users
> > 
> > >
> > ___
> > Users mailing list
> > Users@openvz.org 
> > https://lists.openvz.org/mailman/listinfo/users
> > 
> >
> >
> >
> > ___
> > Users mailing list
> > Users@openvz.org
> > https://lists.openvz.org/mailman/listinfo/users
> >
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-12 Thread Narcis Garcia
Thanks for all the comments. Note that the wiki guides are for Debian.
Possible needings for concrete 9 version are now explained it this wiki
page:
https://openvz.org/Installation_on_Debian_9


El 11/07/17 a les 21:47, Alexey Zilber ha escrit:
> Hi Narcis,
> 
>   Looks like our attempts to dissuade you didn't work.    I'm not sure
> why you needed to use Debian 9.  Yes, you were able to do it, but now
> you have a few potential issues to keep in mind:
> 
> Take a look here:. 
> https://www.reddit.com/r/debian/comments/45frah/remove_systemd_how/
> 
> Keep in mind, that was written over a year ago.  Systemd is now much
> deeper ingrained.
> 
> Second, any system tools or programs that rely on kernel version 4.x
> will now break.  Most likely these would be firewall related.  So, any
> kernel 4.x dependencies might now be broken.  You can check what those
> are by listening the dependencies for the 4.x kernel. See
> here:. 
> https://unix.stackexchange.com/questions/296196/how-to-upgrade-kernel-with-all-dependencies-in-debian
> 
> Specifically: apt-cache show linux-image-amd64
> 
> You'd be much, much better off using Centos 6 or OpenVZ 7.  If you
> insist on Debian, I suggest you try Devuan, which is Debian 9 based, but
> has systemd completely removed. 
> 
> I suggest that wiki page be edited with these warnings as well.
> 
> Good luck!  :)
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-11 Thread Scott Dowdle
Greetings,

- Original Message -
> Looks like our attempts to dissuade you didn't work.  I'm not sure
> why you needed to use Debian 9. Yes, you were able to do it, but now
> you have a few potential issues to keep in mind:

Yeah, I don't get it either.  I mean, the two main technical strengths of 
Debian are:

1) Support for lots of arches
2) Lots of packaged software

For OpenVZ use we don't really care about either of those... because we only 
care about x86_64 (or maybe some people also still care about i386?).  So far 
as software goes, we'd prefer to have our container host nodes be very minimal 
systems with no unneeded software / services.

So far as using RHEL6 (or free clone), it is a no-brainer because:

1) That's the kernel OpenVZ Legacy is using and the systems they test with
2) It is supported for a long time

It might be true that EL6 has less support time left on it than newer Debian 
releases *BUT* the EL6-based OpenVZ Legacy kernel dies approximately the same 
time that EL6 goes EOL so that isn't much of an issue either.

You can apply these same arguments to OpenVZ 7 but add that Red Hat has 
particular experience in developing and supporting KVM, libvirt, virt-manager, 
etc. since they are the primary developers of those.  Granted, those things are 
important if you don't plan to use KVM / VMs with OpenVZ 7.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-11 Thread Alexey Zilber
Hi Narcis,

  Looks like our attempts to dissuade you didn't work.    I'm not sure
why you needed to use Debian 9.  Yes, you were able to do it, but now you
have a few potential issues to keep in mind:

Take a look here:.
https://www.reddit.com/r/debian/comments/45frah/remove_systemd_how/

Keep in mind, that was written over a year ago.  Systemd is now much deeper
ingrained.

Second, any system tools or programs that rely on kernel version 4.x will
now break.  Most likely these would be firewall related.  So, any kernel
4.x dependencies might now be broken.  You can check what those are by
listening the dependencies for the 4.x kernel. See here:.
https://unix.stackexchange.com/questions/296196/how-to-upgrade-kernel-with-all-dependencies-in-debian

Specifically: apt-cache show linux-image-amd64

You'd be much, much better off using Centos 6 or OpenVZ 7.  If you insist
on Debian, I suggest you try Devuan, which is Debian 9 based, but has
systemd completely removed.

I suggest that wiki page be edited with these warnings as well.

Good luck!  :)

On Jul 11, 2017 10:42 PM, "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"  > 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
> 
> > 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
>  | 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@openvz.org 
> > https://lists.openvz.org/mailman/listinfo/users
> 
> >
> ___
> Users mailing list
> Users@openvz.org 
> https://lists.openvz.org/mailman/listinfo/users
> 
>
>
>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-11 Thread Vasily Averin
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" > > 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
>> 
>> > 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
>>  | 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@openvz.org 
>> > https://lists.openvz.org/mailman/listinfo/users
>> 
>> >
>> ___
>> Users mailing list
>> Users@openvz.org 
>> https://lists.openvz.org/mailman/listinfo/users
>> 
>>
>>
>>
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-11 Thread Narcis Garcia
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"  > 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
> 
> > 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
>  | 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@openvz.org 
> > https://lists.openvz.org/mailman/listinfo/users
> 
> >
> ___
> Users mailing list
> Users@openvz.org 
> https://lists.openvz.org/mailman/listinfo/users
> 
> 
> 
> 
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-11 Thread Alexey Zilber
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"  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
> > 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 | 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@openvz.org
> > https://lists.openvz.org/mailman/listinfo/users
> >
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-11 Thread Narcis Garcia
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
> 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 | 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@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-10 Thread Vasily Averin
Dear Narcis,
according to screenshot, you have troubles with initrd image.
Obviously image creation tool on Debian 9 cannot create proper image for old 
kernels.
I doubt it can be fixed.

Thank you,
Vasily Averin 


On 2017-07-08 17:13, Narcis Garcia wrote:
> Install procedure:
> 
> RepoFile=/etc/apt/sources.list.d/openvz.list
> RepoUrl=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 | 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@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-08 Thread Scott Dowdle
Greetings,

- Original Message -
> Install procedure:
> 
> RepoFile=/etc/apt/sources.list.d/openvz.list
> RepoUrl=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 | 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).

I don't think the OpenVZ Legacy kernel is supposed to work on Debian 8 nor 
Debian 9.

Debian really isn't a good distro for an OpenVZ Legacy host node although 
Debian does have some history with OpenVZ.  For a few releases they had an 
OpenVZ patched kernel in their stock repos... but there were a number of issues 
with it.  Then OpenVZ Project provided kernel was shoehorned to work on a 
release or two of Debian... and I believe it worked fairly well.  One of the 
problems, and maybe not the main problem, is that Debian 8 and 9 use systemd by 
default.  systemd is great but the EL6 kernel (which the OpenVZ Legacy kernel 
is based on) came out in Nov. 2011 and was forked from Fedora 12.  systemd made 
its debut a few releases of Fedora later and became default in Fedora 15.  To 
the best of my knowledge, the OpenVZ Legacy kernel will not work on RHEL/CentOS 
7 for similar reasons.

What kernel is there for newer distros?  Well, the OpenVZ 7 kernel works on 
EL7... but given the expansion of features in OpenVZ 7, they decided it was 
best to make their own distro (basically forked from CentOS 7) and don't really 
support running the OpenVZ Legacy kernel and userland programs on any other 
distro.

Takeaways: If you want to run the OpenVZ Legacy kernel, run it on EL6 or older 
Debians than 8... or give OpenVZ 7 a try.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users