public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Uvesafb and token-ring in 2.6.24-rc1 broken
@ 2007-10-25 18:37 Daniel Exner
  2007-10-28 22:25 ` [PATCH] sysctl: fix token-ring procname Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Exner @ 2007-10-25 18:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jeff Garzik, Michal Januszewski

Hi!

Like always, pleas CC me as I'm currently not suscribed, I hope I got the 
right persons already in list.

When booting my new shiny 2.6.24-rc1 I get a crash if uvesafb is compiled in. 
The trace mentiones something about "platform_match", so I guess this is due 
x86 unification.
If helpfull I could try getting something over netconsole, but I think this is 
a minor glitch, as vesafb boots fine. :)

Ah, and token ring tells me something like
"/net/token-ring ,3.14 sysctl failed check procname does not match binary path 
procname"
But kernel boots otherwise and I got no chance to test tr itself is working.

-- 
Greetings
Daniel Exner

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] sysctl: fix token-ring procname
  2007-10-25 18:37 Uvesafb and token-ring in 2.6.24-rc1 broken Daniel Exner
@ 2007-10-28 22:25 ` Randy Dunlap
  2007-10-28 22:44   ` Eric W. Biederman
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2007-10-28 22:25 UTC (permalink / raw)
  To: webmaster, akpm, Eric W. Biederman
  Cc: Daniel Exner, linux-kernel, Jeff Garzik, Michal Januszewski

From: Randy Dunlap <randy.dunlap@oracle.com>
cc: Eric W. Biederman <ebiederm@xmission.com>

Correct the token-ring sysctl procname.

Reported by: Daniel Exner <dex@dragonslave.de>:

Ah, and token ring tells me something like
"/net/token-ring ,3.14 sysctl failed check procname does not match binary path 
procname"
But kernel boots otherwise and I got no chance to test tr itself is working.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 kernel/sysctl_check.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc1.orig/kernel/sysctl_check.c
+++ linux-2.6.24-rc1/kernel/sysctl_check.c
@@ -738,7 +738,7 @@ static struct trans_ctl_table trans_net_
 	{ NET_ROSE,		"rose",		trans_net_rose_table },
 	{ NET_IPV6,		"ipv6",		trans_net_ipv6_table },
 	{ NET_X25,		"x25",		trans_net_x25_table },
-	{ NET_TR,		"tr",		trans_net_tr_table },
+	{ NET_TR,		"token-ring",	trans_net_tr_table },
 	{ NET_DECNET,		"decnet",	trans_net_decnet_table },
 	/*  NET_ECONET not used */
 	{ NET_SCTP,		"sctp",		trans_net_sctp_table },

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sysctl: fix token-ring procname
  2007-10-28 22:25 ` [PATCH] sysctl: fix token-ring procname Randy Dunlap
@ 2007-10-28 22:44   ` Eric W. Biederman
  0 siblings, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2007-10-28 22:44 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: webmaster, akpm, Daniel Exner, linux-kernel, Jeff Garzik,
	Michal Januszewski

Randy Dunlap <randy.dunlap@oracle.com> writes:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> cc: Eric W. Biederman <ebiederm@xmission.com>
>
> Correct the token-ring sysctl procname.
>
> Reported by: Daniel Exner <dex@dragonslave.de>:
>
> Ah, and token ring tells me something like
> "/net/token-ring ,3.14 sysctl failed check procname does not match binary path 
> procname"
> But kernel boots otherwise and I got no chance to test tr itself is working.

Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>

"token-ring" is the historical name we have used in /proc/sys despite it
being abbreviated tr in the kernel.  So this fix is definitely
correct.

Sorry about that.  Given this bug and the atalk bug it looks like
I failed to QA the number to name mapping properly under net/.
I just looked at those entries again and I don't see any other
entries under net/ that have problems.

Hopefully this is the last of my silly bugs in this table.

Eric



> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  kernel/sysctl_check.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.24-rc1.orig/kernel/sysctl_check.c
> +++ linux-2.6.24-rc1/kernel/sysctl_check.c
> @@ -738,7 +738,7 @@ static struct trans_ctl_table trans_net_
>  	{ NET_ROSE,		"rose",		trans_net_rose_table },
>  	{ NET_IPV6,		"ipv6",		trans_net_ipv6_table },
>  	{ NET_X25,		"x25",		trans_net_x25_table },
> -	{ NET_TR,		"tr",		trans_net_tr_table },
> +	{ NET_TR,		"token-ring",	trans_net_tr_table },
>  	{ NET_DECNET,		"decnet",	trans_net_decnet_table },
>  	/*  NET_ECONET not used */
>  	{ NET_SCTP,		"sctp",		trans_net_sctp_table },

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-28 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 18:37 Uvesafb and token-ring in 2.6.24-rc1 broken Daniel Exner
2007-10-28 22:25 ` [PATCH] sysctl: fix token-ring procname Randy Dunlap
2007-10-28 22:44   ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox