RE: BUG: smsc75xx driver assigns random MAC address at every init, not just at boot.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
> Sent: Monday, December 10, 2012 8:32 AM
> To: Cunningham, Robert
> Cc: Dan Williams; linux-usb@xxxxxxxxxxxxxxx
> Subject: Re: BUG: smsc75xx driver assigns random MAC address at every init,
> not just at boot.
> 
> On Mon, 10 Dec 2012, Cunningham, Robert wrote:
> 
> > I believe I have found a critical bug in the smsc75xx driver and would like to
> know the right way to proceed.
> >
> > Problem:
> >
> > 1. Environment:
> > - Multiple hard-wired SMSC LAN7500 devices connected at boot time and
> never removed (not removable, in my case).
> > - Tested under the following Ubuntu ARM-based systems:
> > 	PandaBoard ES: Linux Panda-216 3.5.0-215-omap4 #22-Ubuntu SMP
> PREEMPT Mon Nov 19 16:41:38 UTC 2012 armv7l armv7l armv7l GNU/Linux
> > 	Variscite OM44 DVK: Linux OM44-134 3.4.0-1487-omap4 #6+var5 SMP
> PREEMPT Mon Oct 15 19:18:50 IST 2012 armv7l armv7l armv7l GNU/Linux
> > 	Custom OM44-based system: Linux OM44-120 3.4.0-1487-omap4
> #6+var7 SMP
> > PREEMPT Sun Oct 28 11:51:16 IST 2012 armv7l armv7l armv7l GNU/Linux
> >
> > 2. Observations:
> > - Expected behavior: A random MAC address is assigned at system start.
> > - Unexpected behavior: Doing "ifconfig ethX down; ifconfig ethX up"
> always forces a new random MAC address to be assigned.
> > - Unexpected behavior: All attempts to manually assign a MAC address are
> consistently overwritten by a subsequent "ifconfig ethX up".
> >
> > 3. Desired behavior:
> > - I would like to be able to assign desired MAC addresses to any number of
> attached smsc75xx devices that will persist across any number of ifconfig
> up/down cycles.
> 
> Didn't you see this email message containing a patch to fix your problem?
> 
> 	http://marc.info/?l=linux-usb&m=135482307408299&w=2
> 
> Alan Stern

Thank-you very, very much for the link.  Blasted corporate email filters munched the post with the patch.  I assumed I had failed to ask my question in a well-focused manner.  I'll monitor future threads online, just to be sure.

Assuming I come back with an "It works!" report, is there anything I can to do help push this patch into the mainline?

(It will be a little while for that report: I'm building on a self-hosted embedded system with only an SD card for storage.)


Thanks again,

-BobC

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux