[Debian] Re: Bug#606237: linux-kernel: poweroff-button fails on 2.6.32-5-openvz-686

Ola Lundqvist ola at inguza.com
Mon Dec 20 07:48:36 EST 2010


Hi

I suspect that the problem is in the openvz patch for the kernel. My  
suspicion is that the poweroff button signal goes to vzeventd while it  
should not do that for VE0.

So the next step is to check the kernel code. I have forwarded your  
issue to upstream, but I have not seen any solution yet.

But this is only a suspicion.

// Ola

Quoting "Richard Landsman - Rimote Media" <richard at rimote.nl>:
> Hello Ola,
>
> After starting vzeventd manually the
>
> cat /sys/module/vzevent/parameters/reboot_event
>
> has a value of 1 and the kernel module is loaded:
>
> testa:~# lsmod | grep vz
> vzevent                 1223  1
> vzethdev                5593  0
> vzrst                 108962  0
> vzcpt                  93505  0
> vzdquota               30157  0 [permanent]
> vzmon                  12949  3 vzethdev,vzrst,vzcpt
> vzdev                   1284  3 vzethdev,vzdquota,vzmon
>
> I have developed a small formfactor
> RAID/Samba/VPN/LVM-snapshot/Rdiff-backup/NX-server system for clients
> and it runs nicely. But would be nice if clients could take down there
> server with the poweroff-button if they go on vacation.
>
> Any idea where to look further for a solution?
>
> Many thanks for your help.
>
> Richard
>
>
> Op 18-12-2010 11:52, Ola Lundqvist schreef:
>> Hi Richard
>>
>> On Fri, Dec 17, 2010 at 11:26:41PM +0100, Richard Landsman - Rimote  
>> Media wrote:
>>>    Hello Ola,
>>>    Both commands work like expected. Nothing special. Although the
>>>    vzeventd is new for me.
>> vzeventd is new in latest kernel and latest vzctl. It is a new  
>> (improved) way
>> for a VE to restart itself.
>>
>>>    Stopping OpenVZ: ..done
>>>    Starting OpenVZ: ..done
>>>    Checking vzevent kernel module .....done
>>>    Starting vzeventd: Started
>> Ok. And what was the kernel modules after that?
>> You should have this module loaded "vzevent".
>>
>> You should also have the value 1 in  
>> /sys/module/vzevent/parameters/reboot_event.
>>
>> But actually I do not think the power button should use vzevent but I just
>> want to check that things are working as expected anyway.
>>
>>>    Just to know sure, the powerbutton normally should work on almost any
>>>    kernel? Is that correct?
>> Yes.
>>
>> // Ola
>>
>>>    Best regards,
>>>    Richard
>>>    Op 17-12-2010 16:21, Ola Lundqvist schreef:
>>>
>>>      /etc/init.d/vzeventd start
>
>



-- 
  --- Inguza Technology AB --- MSc in Information Technology ----
/  ola at inguza.com                    Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
  ---------------------------------------------------------------



More information about the Debian mailing list