public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
From: "\"Tóth Attila\"" <atoth@atoth.sote.hu>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] Can't build 3.8.3: kernel/user_namespace.c In function 'userns_install'
Date: Fri, 19 Apr 2013 14:42:06 +0200	[thread overview]
Message-ID: <3edeb7adbfdbe46bc1e05c8f1b42507e.squirrel@atoth.sote.hu> (raw)
In-Reply-To: <51713651.8030500@opensource.dyc.edu>

I have non-hardened related problems on my laptop since 3.8.4.
The integrated e1000e NIC drops carrier unexpectedly. In the logs it seems
the NIC gets turned of for a moment, but won't come back despite another
message in the log. On that moment the wireless card is enabled
temporarily. It seemed to be kinda power-management issue from the
beginning. It is very annoying. The NIC cen be brought back by
unloading-reloading the driver. Since I'm using a hardened kernel with
modules locked, I can't do that. And I also don't want to play that game.
It doesn't happen on my server having integrated e1000e NICs on the mobo.

Recently I had time to dig into that, and have found some relevant links:
https://bbs.archlinux.org/viewtopic.php?id=159454
https://lkml.org/lkml/2013/1/18/147
https://bugzilla.kernel.org/show_bug.cgi?id=52021
https://lkml.org/lkml/2013/1/5/100

It's a known regression and there's a workaround (sysctl or udev). There
is a 5 element patch set also available by Konstantin Khlebnikov. That
solves the problem for me. But it's still not committed in the kernel. I
don't know if it will be committed or not, or what is the reason it's not
already included in the current kernel source.

I just wanted to let those know, who may also struggle with such a problem.

Regards:
Dw.
-- 
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

2013.Április 19.(P) 14:19 időpontban Anthony G. Basile ezt írta:
> On 04/17/2013 10:24 AM, Alexander Tsoy wrote:
>> В Wed, 17 Apr 2013 16:07:39 +0300
>> ungifted01@gmail.com пишет:
>>
>>> Hi!
>>>
>>>
>>> Can't build hardened 3.8.3 (x86)
>>>
>>>
>>>    CC      kernel/kallsyms.o
>>>    CC      kernel/acct.o
>>>    CC      kernel/user_namespace.o
>>> kernel/user_namespace.c: In function 'userns_install':
>>> kernel/user_namespace.c:808:25: error: invalid operands to binary !=
>>> (have 'atomic_t' and 'int')
>>> make[1]: *** [kernel/user_namespace.o] Error 1
>>> make: *** [kernel] Error 2
>>>
>>>
>>
>> Hello
>>
>> This is a known issue
>> http://forums.grsecurity.net/viewtopic.php?t=3358&p=12707
>>
>
> Thanks for bringing that to my attention.  Looks like 3.8.3 was not a
> good choice.  Let me see if I can back port the fix or stabilize the
> next bump.
>
> --
> Anthony G. Basile, Ph. D.
> Chair of Information Technology
> D'Youville College
> Buffalo, NY 14201
> (716) 829-8197
>
>




      reply	other threads:[~2013-04-19 12:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 13:07 [gentoo-hardened] Can't build 3.8.3: kernel/user_namespace.c In function 'userns_install' ungifted01
2013-04-17 14:24 ` Alexander Tsoy
2013-04-19 12:19   ` Anthony G. Basile
2013-04-19 12:42     ` "Tóth Attila" [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3edeb7adbfdbe46bc1e05c8f1b42507e.squirrel@atoth.sote.hu \
    --to=atoth@atoth.sote.hu \
    --cc=gentoo-hardened@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox