← Back to team overview

kernel-packages team mailing list archive

[Bug 937051] Re: Cannot set MAC address via kernel boot parameters

 

natty has seen the end of its life and is no longer receiving any
updates. Marking the natty task for this ticket as "Won't Fix".

** Changed in: linux-ti-omap4 (Ubuntu Natty)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-ti-omap4 in Ubuntu.
https://bugs.launchpad.net/bugs/937051

Title:
  Cannot set MAC address via kernel boot parameters

Status in linux-ti-omap4 package in Ubuntu:
  Fix Released
Status in linux-ti-omap4 source package in Natty:
  Won't Fix
Status in linux-ti-omap4 source package in Oneiric:
  New
Status in linux-ti-omap4 source package in Precise:
  Fix Released

Bug description:
  Smsc95xx lost the ability to change its mac address via kernel boot
  parameters.

  e.g.
  smsc95xx.macaddr=0e:c4:a1:33:46:08

  What happens in reality is that the nic set the MAC address that we
  pass in:

  drivers/net/usb/smsc95xx.c::smsc95xx_init_mac_address()
  ...
      /* Check module parameters */
      if (smsc95xx_is_macaddr_param(dev, dev->net->dev_addr))
          return;
  ...

  but the address is invariably overwritten as soon as the interface is
  created (NETDEV_REGISTER):

  arch/arm/mach-omap2/board-omap4panda.c::omap_panda_netdev_event():
  ...
      n = panda_device_path_need_mac(dev->dev.parent);
      if (n >= 0) {
          sa.sa_family = dev->type;
          omap2_die_id_to_ethernet_mac(sa.sa_data, n);
          dev->netdev_ops->ndo_set_mac_address(dev, &sa);
      }
  ...

  This appeared after Maverick and is going on since then.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/937051/+subscriptions