Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282447 - sys-kernel/openvz-sources-2.6.27.2.1-r2: printk fix
Summary: sys-kernel/openvz-sources-2.6.27.2.1-r2: printk fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 15:49 UTC by Jernej Kos
Modified: 2010-03-26 07:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
printk patch (openvz-sources-2.6.27.2.1-printk-fix.patch,379 bytes, patch)
2009-08-23 15:49 UTC, Jernej Kos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jernej Kos 2009-08-23 15:49:11 UTC
OpenVZ bug 1284 (http://bugzilla.openvz.org/show_bug.cgi?id=1284) also affects openvz-sources-2.6.27.2.1 and I am attaching a fix for this issue. It has been tested with the above version and it fixes the mentioned problem.

Reproducible: Always
Comment 1 Jernej Kos 2009-08-23 15:49:48 UTC
Created attachment 202049 [details, diff]
printk patch
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2009-08-26 17:40:43 UTC
Thank you, Jernej. Could you reopen upstream bug report so upstream provide us with a fix. As I see attached patch differs from upstream so ... we need another eyes to review it.
Comment 3 Jernej Kos 2009-08-26 21:26:11 UTC
Well patches differ because that one is for kernel 2.6.18 and this one is for 2.6.27 and there have been some changes in between. I have checked the code and discovered that in stock 2.6.27 printk_cpu is always set to UINT_MAX just before releasing locks but in OpenVZ, where another branch is added, it is not set there.

This patch only adds this one set into that branch and is functionally equivalent to that of the previous version. I have also posted this information to the upstream bugzilla just before opening this bug report.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2009-08-27 06:55:00 UTC
(In reply to comment #3)
> I have also posted this information to the upstream bugzilla just before
> opening this bug report.

I saw that, but I asked you to _reopen_ upstream bug report :) If bug is closed, developers may miss any changes there. Any way, I just did that. Let's see what upstream tell us or probably I'll get and review code there.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-03-26 07:28:18 UTC
This bug was fixed upstream and fix is included in 2.6.27-kiprensky.1.