[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Tim's fix is in the current kernel (2.6.35-1101.4). Marking as fix released, although I hope Floyd42's fix gets in mainstream. ** Changed in: linux-ti-omap4 (Ubuntu Natty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Seems someone came up with another way to solving this. See: http://patchwork.openembedded.org/patch/3441/ Actually, using a platform ID is a smart way to get a fixed MAC. In my opinion much better than using a random MAC as fall back. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
** Tags added: omap4 panda -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
** Also affects: linux-ti-omap4 (Ubuntu Natty) Importance: High Assignee: Tim Gardner (timg-tpi) Status: Triaged ** Changed in: linux-ti-omap4 (Ubuntu Natty) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
This bug was fixed in the package linux-ti-omap4 - 2.6.35-903.19 --- linux-ti-omap4 (2.6.35-903.19) maverick-proposed; urgency=low [ Upstream Kernel Changes ] * smsc95xx: generate random MAC address once, not every ifup - LP: #673504, #673509 -- Tim Gardner tim.gard...@canonical.com Tue, 16 Nov 2010 18:28:52 -0700 ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
While this fixes Maverick, Natty currently uses the previous kernel, 2.6.35-903.17. Could this be published for Natty as well? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
We're working on it. There is a compile problem with the Natty toolchain. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Accepted linux into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags removed: verification-done ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Martin - I'm confused. linux-ti-omap4 2.6.35-902.19 has already been verified to fix this bug (see comment #9). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
This has been tested several times and is working just fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/673504 Title: Pandaboard chooses a new IP address on each boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Wrote this test script to take the specified network port up and down in a loop. Ran it repeatedly on the proposed kernel without issue (script takes specified interface up down 10 times). dmesg output shows network interface stop/start for each iteration within the script and no errors. Calling this a success. ** Attachment added: testmac.sh https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/673504/+attachment/1742922/+files/testmac.sh ** Tags added: verification-done ** Tags removed: verification-needed -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Accepted linux-ti-omap4 into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Also affects: linux-ti-omap4 (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Status: New = Fix Committed ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Importance: Undecided = High ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Assignee: (unassigned) = Tim Gardner (timg-tpi) ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Milestone: None = maverick-updates ** Changed in: linux-ti-omap4 (Ubuntu) Milestone: maverick-updates = None ** Changed in: linux-ti-omap4 (Ubuntu) Status: Fix Committed = Triaged ** Tags added: verification-needed -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
** Branch linked: lp:ubuntu/maverick-proposed/linux-ti-omap4 -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
** Changed in: linux-ti-omap4 (Ubuntu) Importance: Undecided = High ** Changed in: linux-ti-omap4 (Ubuntu) Status: Confirmed = Fix Committed ** Changed in: linux-ti-omap4 (Ubuntu) Milestone: None = maverick-updates ** Changed in: linux-ti-omap4 (Ubuntu) Assignee: Ricardo Salveti (rsalveti) = Tim Gardner (timg-tpi) -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
SRU Justification: Impact: The smsc95xx driver generates a new random MAC address on every ifdown/up instead of only one during driver's init, and doesn't let the user to set up the mac address using known methods like ifconfig usb0 hw ether mac. Fix: Just move the init_mac_address function to bind instead of reset. Testcase: The interface should keep the same generated mac address even when giving ifdown/up, and the user should be able to set up the mac address using 'ifconfig usb0 hw ether mac. Patch is already upstream as f4e8ab7, and is tested already with a compiled kernel deb with the fix included. -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Just sent to the kernel team: https://lists.ubuntu.com/archives/kernel- team/2010-November/013417.html -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
** Tags added: armel ** Changed in: linux-ti-omap4 (Ubuntu) Status: New = Confirmed ** Changed in: linux-ti-omap4 (Ubuntu) Assignee: (unassigned) = Ricardo Salveti (rsalveti) -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Thanks for pointing this out. One work-around for this issue was added to the omap4 kernel (see http://kernel.ubuntu.com/git?p=ubuntu/ubuntu- maverick.git;a=commit;h=10f38b455e75b85f72e98786e5518cf7b0324634). So you can force a MAC address at boot-time by adding the smsc95xx.macaddr=xx:xx:xx:xx:xx:xx parameter to the kernel command line. However, it does not prevent from using your patch that offers a smarter (and as you say more accepted) solution. -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
There's a patch already that makes it possible to stick with only one mac address: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu- maverick.git;a=commitdiff;h=10f38b455e75b85f72e98786e5518cf7b0324634;hp=f62e143182cc123fdfdf9bb88952a938af7d86e8 If you set smsc95xx.macaddr at the kernel cmdline, it should work already with the current kernel. The problem I see here, that your patch helps solving, is that the mac address is regenerated on every ifdown/ifup when you don't explicit set it up at the kernel cmdline. This also makes it consistent with other drivers, and let people set the proper mac address with current known methods. As it's also upstream, I don't see a reason not to take it. Will generate a new kernel deb file with the patch included, so we can test it before sending the SRU. -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Kernel compiled with the pointed patch: http://people.canonical.com/~rsalveti/maverick/kernel/es2/linux-image-2.6.35-903-omap4_2.6.35-903.18rsalveti1_armel.deb Please test and let us know if it did work for you. Will then forward to the kernel team with a SRU. -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Tested here and did work as expected. After giving ifconfig usb0 down/up the mac address didn't change and was also able to change the mac address with ifconfig usb0 hw ether mac. -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 673504] Re: Pandaboard chooses a new IP address on each boot
Ack. Tested and works here too. Also verified that it doesn't interfere with the smsc95xx.macaddr= kernel cmdline parameter. -- Pandaboard chooses a new IP address on each boot https://bugs.launchpad.net/bugs/673504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs