With Linux 2.6.32 as supplied with Debian Squeeze, Netatalk is unable
to thrive. Connections made to afpd will open, but attempting to transfer
files will take a very long time and/or eventually time out.
I've noted this with both Netatalk as supplied with Squeeze and with
Netatalk 2.2.1 built from the Wheezy source package, which I evidently
need for AFP 3 support.
Installing Linux 3.2 from backports, with no other changes to the system,
allows afpd to work correctly. I hit on the idea of trying this after
installing a Fedora 16 system to compare performance and to try to isolate
the issue. Fedora 16 uses a newer kernel.
As it stands, Netatalk is unusable in Squeeze without a newer kernel. I
assume this to be an issue with the kernel that can be addressed and
corrected for the next minor release, and I'd be happy to help try to
isolate it and test any correction that's devised.
Kernel: Linux 3.2.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-2.6-amd64 depends on:
ii linux-image-2.6.32-5-amd64 2.6.32-41 Linux 2.6.32 for 64-bit PCs
linux-image-2.6-amd64 recommends no packages.
linux-image-2.6-amd64 suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120222182601.8755.70849.reportbug@walton.int.sma rtleaf.com">http://lists.debian.org/20120222182601.8755.70849.reportbug@walton.int.sma rtleaf.com
02-27-2012, 06:21 AM
Ben Hutchings
Bug#660902: linux-image-2.6-amd64: netatalk/afpd glitch with Linux 2.6.32
No, anything you run on top of the kernel is related to it.
> With Linux 2.6.32 as supplied with Debian Squeeze, Netatalk is unable
> to thrive. Connections made to afpd will open, but attempting to transfer
> files will take a very long time and/or eventually time out.
>
> I've noted this with both Netatalk as supplied with Squeeze and with
> Netatalk 2.2.1 built from the Wheezy source package, which I evidently
> need for AFP 3 support.
>
> Installing Linux 3.2 from backports, with no other changes to the system,
> allows afpd to work correctly. I hit on the idea of trying this after
> installing a Fedora 16 system to compare performance and to try to isolate
> the issue. Fedora 16 uses a newer kernel.
>
> As it stands, Netatalk is unusable in Squeeze without a newer kernel. I
> assume this to be an issue with the kernel that can be addressed and
> corrected for the next minor release, and I'd be happy to help try to
> isolate it and test any correction that's devised.
Well I can only see two bug fixes to Appletalk between those kernel
versions. Can you try the attached patch?
<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official> explains how to rebuild official kernel packages, though you could also build a custom kernel (explained further down that page).
Ben.
--
Ben Hutchings
Q. Which is the greater problem in the world today, ignorance or apathy?
A. I don't know and I couldn't care less.
03-02-2012, 06:05 PM
Mason Loring Bliss
Bug#660902: linux-image-2.6-amd64: netatalk/afpd glitch with Linux 2.6.32
On Mon, Feb 27, 2012 at 07:21:06AM +0000, Ben Hutchings wrote:
> Well I can only see two bug fixes to Appletalk between those kernel
> versions. Can you try the attached patch?
Very sorry for the delay in responding - I only just now got a chance to
actually exercise the patch. It appears to do the trick.
Is this likely to make it into the shipped kernel any time soon? I'm happy
deploying a patched kernel for the purpose, but will be happier still once
Debian's shipping the fix directly.
Thank you kindly for your assistance. Much appreciated.
> diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c
> index 9d4adfd..f2b3b56 100644
> --- a/net/appletalk/aarp.c
> +++ b/net/appletalk/aarp.c
> @@ -819,7 +819,7 @@ static int aarp_rcv(struct sk_buff *skb, struct net_device *dev,
> ma = &ifa->address;
> else { /* We need to make a copy of the entry. */
> da.s_node = sa.s_node;
> - da.s_net = da.s_net;
> + da.s_net = sa.s_net;
> ma = &da;
> }
>
> --
> 1.7.9.1
>
--
Mason Loring Bliss (( IF I HAD KNOWN IT WAS HARMLESS
mason@blisses.org )) I WOULD HAVE KILLED IT MYSELF.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120302190547.GU28091@blisses.org">http://lists.debian.org/20120302190547.GU28091@blisses.org