Re: 2.6.24-rc1 sysctl table check failed on PowerMac

2007-10-27 Thread Mikael Pettersson
On Sat, 27 Oct 2007 22:34:53 +0400, Alexey Dobriyan wrote:
> On Sat, Oct 27, 2007 at 07:57:38PM +0200, Mikael Pettersson wrote:
> > Booting 2.6.24-rc1 on my PowerMac the kernel now spits
> > out a sysctl warning early in the boot sequence:
> > 
> > --- dmesg-2.6.23
> > +++ dmesg-2.6.24-rc1
> > ...
> >  IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
> >  TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
> >  TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
> >  TCP: Hash tables configured (established 131072 bind 65536)
> >  TCP reno registered
> > +sysctl table check failed: /kernel .1 Writable sysctl directory
> 
> [PATCH] powerpc: fix sysctl whining re kernel.powersave-nap
> 
> kernel was marked with 0755. Everywhere else it's 0555.
> 
> Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
> ---
> 
>  arch/powerpc/kernel/idle.c |2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/arch/powerpc/kernel/idle.c
> +++ b/arch/powerpc/kernel/idle.c
> @@ -122,7 +122,7 @@ static ctl_table powersave_nap_sysctl_root[] = {
>   {
>   .ctl_name   = CTL_KERN,
>   .procname   = "kernel",
> - .mode   = 0755,
> + .mode   = 0555,
>   .child  = powersave_nap_ctl_table,
>   },
>   {}
> 

This eliminated the warning. Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.24-rc1 sysctl table check failed on PowerMac

2007-10-27 Thread Alexey Dobriyan
On Sat, Oct 27, 2007 at 07:57:38PM +0200, Mikael Pettersson wrote:
> Booting 2.6.24-rc1 on my PowerMac the kernel now spits
> out a sysctl warning early in the boot sequence:
> 
> --- dmesg-2.6.23
> +++ dmesg-2.6.24-rc1
> ...
>  IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
>  TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
>  TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
>  TCP: Hash tables configured (established 131072 bind 65536)
>  TCP reno registered
> +sysctl table check failed: /kernel .1 Writable sysctl directory

[PATCH] powerpc: fix sysctl whining re kernel.powersave-nap

kernel was marked with 0755. Everywhere else it's 0555.

Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
---

 arch/powerpc/kernel/idle.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/kernel/idle.c
+++ b/arch/powerpc/kernel/idle.c
@@ -122,7 +122,7 @@ static ctl_table powersave_nap_sysctl_root[] = {
{
.ctl_name   = CTL_KERN,
.procname   = "kernel",
-   .mode   = 0755,
+   .mode   = 0555,
.child  = powersave_nap_ctl_table,
},
{}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.24-rc1 sysctl table check failed on PowerMac

2007-10-27 Thread Mikael Pettersson
Booting 2.6.24-rc1 on my PowerMac the kernel now spits
out a sysctl warning early in the boot sequence:

--- dmesg-2.6.23
+++ dmesg-2.6.24-rc1
...
 IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
 TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
 TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
 TCP: Hash tables configured (established 131072 bind 65536)
 TCP reno registered
+sysctl table check failed: /kernel .1 Writable sysctl directory
 io scheduler noop registered
 io scheduler anticipatory registered (default)
 io scheduler deadline registered
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/