ipv6 temporary address creation fails

Bug #210742 reported by tonfa
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Colin Ian King
Hardy
Fix Released
Medium
Colin Ian King
Intrepid
Fix Released
Medium
Colin Ian King

Bug Description

Binary package hint: linux-source-2.6.24

If two prefixes are advertized on a link, one with a preferred_lifetime of 0 (usually the case after a renumbering), then ipv6 temporary addresses won't work.
The reason is that when router advertisement is processed, they update all the temporary addresses and not just the relevant one.
Furthermore, no temporary addresses should be created with a preferred lifetime of 0.

patches are available here:
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=c6fbfac2e61c9a8617f64b93e8c990b8d864bce5
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=eac55bf97094f6b64116426864cf4666ef7587bc

please backport it, this configuration affects the second biggest french ISP (more than 1M subscribers) and without it temporary address is useless.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
tonfa (bboissin) wrote :

It is now in the released 2.6.25-rc9, can you please consider a backport ?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Tonfa,

I'll milestone this for 8.04.1 but the final decision to backport will be left to the kernel team. Otherwise this will be automatically available in the Intrepid Ibex 8.10 kernel. Thanks.

Changed in linux:
milestone: none → ubuntu-8.04.1
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi tonfa,

Care to test the Intrepid Ibex 8.10 kernel which was most recently rebased with the upstream 2.6.25 kernel and also contains the patches you reference. It is currently available in the following PPA:

https://edge.launchpad.net/~kernel-ppa/+archive

If you are not familiar with how to install packages from a PPA basically do the following:

Create the file /etc/apt/sources.list.d/kernel-ppa.list to include the following two lines:

deb http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main

Then run the command:

sudo apt-get update

You should then be able to install the linux-image-2.6.25 kernel package. Please let us know your results. Thanks.

Revision history for this message
tonfa (bboissin) wrote : Re: [Bug 210742] Re: ipv6 temporary address creation fails

On Tue, May 06, 2008 at 10:49:39PM -0000, Leann Ogasawara wrote:
> Hi tonfa,
>
>
> You should then be able to install the linux-image-2.6.25 kernel
> package. Please let us know your results. Thanks.

I couldn't test because my wireless card isn't activated:
# CONFIG_IWL3945 is not set

Moreover I have the same issue as when I was testing 2.6.25-rc from
kernel.org with gutsy, my screen is powered off when X starts unless I
remove splash from grub's command line (with Intel Corporation Mobile
945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3).

I should probably try to get some logs from via ssh and report a bug
since I can reproduce it with the kernel from intrepid.

--
:wq

Changed in linux:
assignee: ubuntu-kernel-team → colin-king
status: Triaged → In Progress
Revision history for this message
Colin Ian King (colin-king) wrote :

Hi,

I've put up some kernel packages (linux-2.6.24-17.32ckingppa1 with a linux-image that contains the ipv6 fixes) in my PPA at https://launchpad.net/~colin-king/+archive

Please try this kernel and report any success/regressions. If this fixed the problem I can add the fix to Hardy 8.04.1. Thanks.

Revision history for this message
Colin Ian King (colin-king) wrote :

SRU Justification:

Impact: IPV6 temporary addresses won't work if two prefixes are
advertised on a link with one having a preferred_lifetime of 0 (usually
the case after a re-numbering).

The patch attached is from two relatively straight forward two upstream
cherry picks (originally davem/net-2.6.git and recently Linux
2.6.25-rc9) back ported to 2.6.24.

TEST CASE: See Bug Description

Patch http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=c7e5ae03ee0f8de37f9b55f441a6d7c546c997ea

Revision history for this message
tonfa (bboissin) wrote :

On Tue, May 13, 2008 at 01:02:50PM -0000, Colin King wrote:
> I've put up some kernel packages (linux-2.6.24-17.32ckingppa1 with a
> linux-image that contains the ipv6 fixes) in my PPA at
> https://launchpad.net/~colin-king/+archive
>
> Please try this kernel and report any success/regressions. If this fixed
> the problem I can add the fix to Hardy 8.04.1. Thanks.

It solves the ipv6 problem for me. No regression so far.

thanks

--
:wq

Changed in linux:
status: In Progress → Fix Committed
Changed in linux:
assignee: nobody → colin-king
importance: Undecided → Medium
milestone: none → ubuntu-8.04.1
status: New → Fix Committed
Steve Langasek (vorlon)
Changed in linux:
milestone: ubuntu-8.04.1 → none
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Revision history for this message
tonfa (bboissin) wrote :

I sadly can't test this easily anymore, since the renumbering is finished and the deprecated prefix isn't advertized anymore.
I can only confirm that the patch from the ppa was working (linux-2.6.24-17.32ckingppa4), as well as 2.6.25.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates. The new kernel was tested extensively by many people, who reported back in other bug reports. Due to lack of feedback, this particular bug was not confirmed to be tested, though. Please report back here if the bug still occurs for you with the new kernel packages, then we will reopen this bug.

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

This is reported to be fixed in 2.6.25-rc9 and above, which would cover the 2.6.26 we currently have in intrepid; marking as fixed.

Changed in linux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.