netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* appletalk bugs
@ 2007-10-22 14:19 Gabriel C
       [not found] ` <1193064745.20114.3.camel@stingray>
  2007-10-22 18:55 ` Eric W. Biederman
  0 siblings, 2 replies; 4+ messages in thread
From: Gabriel C @ 2007-10-22 14:19 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: netdev, Eric W. Biederman

Hi,

modprobing appletalk on current git gives a warning in dmesg :

[38506.600269] sysctl table check failed: /net/appletalk .3.7 procname does not match binary path procname

on rmmod appletalk I get an Oops :


[38541.525258] BUG: unable to handle kernel NULL pointer dereference at virtual address 0000000c
[38541.525266] printing eip: c011d4f0 *pde = 00000000 
[38541.525274] Oops: 0000 [#1] PREEMPT SMP 
[38541.525282] Modules linked in: appletalk psnap llc pc87360 hwmon_vid eeprom adm1021 sr_mod shpchp pci_hotplug iTCO_wdt iTCO_vendor_support intel_agp i82860_edac i2c_i801 edac_core cdrom agpgart 3c59x mii ext4dev jbd2 crc16 loop lp parport_pc parport evdev
[38541.525312] 
[38541.525316] Pid: 28887, comm: rmmod Not tainted (2.6.23-gcfa76f02 #341)
[38541.525321] EIP: 0060:[<c011d4f0>] EFLAGS: 00010202 CPU: 0
[38541.525334] EIP is at unregister_sysctl_table+0x11/0x70
[38541.525339] EAX: 00000001 EBX: e8ef2180 ECX: 00000002 EDX: 00000000
[38541.525343] ESI: 00000000 EDI: 00000880 EBP: cc094000 ESP: cc095f38
[38541.525347]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[38541.525352] Process rmmod (pid: 28887, ti=cc094000 task=e0da0560 task.ti=cc094000)
[38541.525355] Stack: 00000001 00000296 cebf5020 fffffff5 00000880 e8ef2180 00000000 e8eed5b1 
[38541.525367]        c01353b2 6c707061 6c617465 b7ee006b e0da0560 c01101fd 00000000 c2bf3a50 
[38541.525378]        c0148684 ffffffff b7fd5000 c31a2004 b7fd4000 b7fd5000 00000004 00095fb8 
[38541.525389] Call Trace:
[38541.525395]  [<e8eed5b1>] atalk_exit+0x5/0x4b [appletalk]
[38541.525410]  [<c01353b2>] sys_delete_module+0x187/0x1b5
[38541.525420]  [<c01101fd>] do_page_fault+0x18b/0x51a
[38541.525426]  [<c0148684>] do_munmap+0x19b/0x1b4
[38541.525437]  [<c01026fa>] sysenter_past_esp+0x5f/0x85
[38541.525448]  =======================
[38541.525450] Code: ff ff ff f7 d8 eb 06 c7 03 00 00 00 00 e8 65 df ff ff 89 07 31 c0 5b 5e 5f c3 56 53 83 ec 14 89 c6 b8 b8 1c 3c c0 e8 c6 42 1f 00 <83> 7e 0c 00 74 2e c7 04 24 00 00 00 00 8d 44 24 04 e8 66 a2 00 
[38541.525502] EIP: [<c011d4f0>] unregister_sysctl_table+0x11/0x70 SS:ESP 0068:cc095f38
[38541.525513] note: rmmod[28887] exited with preempt_count 1

Regards,

Gabriel C


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

* Re: appletalk bugs
       [not found] ` <1193064745.20114.3.camel@stingray>
@ 2007-10-22 15:10   ` Gabriel C
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel C @ 2007-10-22 15:10 UTC (permalink / raw)
  To: Nick; +Cc: Linux Kernel Mailing List, Eric W. Biederman, netdev

Nick wrote:
[ restoring CC ]

> Fascinating ... Are you using chooser or NetInfo?

No I don't.

I fact I don't even know why that module got loaded. 


> On Mon, 2007-10-22 at 16:19 +0200, Gabriel C wrote:
>> Hi,
>>
>> modprobing appletalk on current git gives a warning in dmesg :
>>
>> [38506.600269] sysctl table check failed: /net/appletalk .3.7 procname does not match binary path procname
>>
>> on rmmod appletalk I get an Oops :
>>
>>
>> [38541.525258] BUG: unable to handle kernel NULL pointer dereference at virtual address 0000000c
>> [38541.525266] printing eip: c011d4f0 *pde = 00000000 
>> [38541.525274] Oops: 0000 [#1] PREEMPT SMP 
>> [38541.525282] Modules linked in: appletalk psnap llc pc87360 hwmon_vid eeprom adm1021 sr_mod shpchp pci_hotplug iTCO_wdt iTCO_vendor_support intel_agp i82860_edac i2c_i801 edac_core cdrom agpgart 3c59x mii ext4dev jbd2 crc16 loop lp parport_pc parport evdev
>> [38541.525312] 
>> [38541.525316] Pid: 28887, comm: rmmod Not tainted (2.6.23-gcfa76f02 #341)
>> [38541.525321] EIP: 0060:[<c011d4f0>] EFLAGS: 00010202 CPU: 0
>> [38541.525334] EIP is at unregister_sysctl_table+0x11/0x70
>> [38541.525339] EAX: 00000001 EBX: e8ef2180 ECX: 00000002 EDX: 00000000
>> [38541.525343] ESI: 00000000 EDI: 00000880 EBP: cc094000 ESP: cc095f38
>> [38541.525347]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> 
>> [38541.525389] Call Trace:
>> [38541.525395]  [<e8eed5b1>] atalk_exit+0x5/0x4b [appletalk]
>> [38541.525410]  [<c01353b2>] sys_delete_module+0x187/0x1b5
>> [38541.525420]  [<c01101fd>] do_page_fault+0x18b/0x51a
>> [38541.525426]  [<c0148684>] do_munmap+0x19b/0x1b4
>> [38541.525437]  [<c01026fa>] sysenter_past_esp+0x5f/0x85
> 
> 
> 

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

* Re: appletalk bugs
  2007-10-22 14:19 appletalk bugs Gabriel C
       [not found] ` <1193064745.20114.3.camel@stingray>
@ 2007-10-22 18:55 ` Eric W. Biederman
  2007-10-22 19:45   ` Gabriel C
  1 sibling, 1 reply; 4+ messages in thread
From: Eric W. Biederman @ 2007-10-22 18:55 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrew Morton, Gabriel C, Linux Kernel Mailing List, netdev

Gabriel C <nix.or.die@googlemail.com> writes:

> Hi,
>
> modprobing appletalk on current git gives a warning in dmesg :
>
> [38506.600269] sysctl table check failed: /net/appletalk .3.7 procname does not
> match binary path procname

Oops.  My apologies it appears I made a mistake when creating my
table to check up on sysctl values.

This should fix it.

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

---

diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
index 3c9ef5a..ed6fe51 100644
--- a/kernel/sysctl_check.c
+++ b/kernel/sysctl_check.c
@@ -731,7 +731,7 @@ static struct trans_ctl_table trans_net_table[] = {
 	{ NET_UNIX,		"unix",		trans_net_unix_table },
 	{ NET_IPV4,		"ipv4",		trans_net_ipv4_table },
 	{ NET_IPX,		"ipx",		trans_net_ipx_table },
-	{ NET_ATALK,		"atalk",	trans_net_atalk_table },
+	{ NET_ATALK,		"appletalk",	trans_net_atalk_table },
 	{ NET_NETROM,		"netrom",	trans_net_netrom_table },
 	{ NET_AX25,		"ax25",		trans_net_ax25_table },
 	{ NET_BRIDGE,		"bridge",	trans_net_bridge_table },

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

* Re: appletalk bugs
  2007-10-22 18:55 ` Eric W. Biederman
@ 2007-10-22 19:45   ` Gabriel C
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel C @ 2007-10-22 19:45 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Linus Torvalds, Andrew Morton, Linux Kernel Mailing List, netdev

Eric W. Biederman wrote:
> Gabriel C <nix.or.die@googlemail.com> writes:
> 
>> Hi,
>>
>> modprobing appletalk on current git gives a warning in dmesg :
>>
>> [38506.600269] sysctl table check failed: /net/appletalk .3.7 procname does not
>> match binary path procname
> 
> Oops.  My apologies it appears I made a mistake when creating my
> table to check up on sysctl values.
> 
> This should fix it.

Yes it does, thx.

> 
> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
> 
> ---
> 
> diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
> index 3c9ef5a..ed6fe51 100644
> --- a/kernel/sysctl_check.c
> +++ b/kernel/sysctl_check.c
> @@ -731,7 +731,7 @@ static struct trans_ctl_table trans_net_table[] = {
>  	{ NET_UNIX,		"unix",		trans_net_unix_table },
>  	{ NET_IPV4,		"ipv4",		trans_net_ipv4_table },
>  	{ NET_IPX,		"ipx",		trans_net_ipx_table },
> -	{ NET_ATALK,		"atalk",	trans_net_atalk_table },
> +	{ NET_ATALK,		"appletalk",	trans_net_atalk_table },
>  	{ NET_NETROM,		"netrom",	trans_net_netrom_table },
>  	{ NET_AX25,		"ax25",		trans_net_ax25_table },
>  	{ NET_BRIDGE,		"bridge",	trans_net_bridge_table },
> 

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-22 14:19 appletalk bugs Gabriel C
     [not found] ` <1193064745.20114.3.camel@stingray>
2007-10-22 15:10   ` Gabriel C
2007-10-22 18:55 ` Eric W. Biederman
2007-10-22 19:45   ` Gabriel C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).