Modify

Opened 2 years ago

Last modified 2 years ago

#20642 new defect

random MAC address on Ubiquiti RSPRo

Reported by: stintel Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Trunk
Keywords: Cc:

Description

I've recently repurposed one of my RSPro's and noticed that both ethernet interfaces now use a random MAC address:

[    0.416554] ar71xx: using random MAC address for eth0
[    0.636682] ar71xx: using random MAC address for eth1

Running trunk, first revision I know that showed this behaviour is r46732.

Attachments (1)

ath79-setup-envp.patch (1.7 KB) - added by thess 2 years ago.
Patch ath79/prom.c to setup environment pointer

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by stintel

Last known good revision I could find is r43525.

comment:2 Changed 2 years ago by stintel

The last known good revision has the MAC in the kernel command line:

board=UBNT-RSPRO console=ttyS0,115200 ethaddr=00.15.6d.c3.31.57 rootfstype=squashfs,jffs2 noinitrd

This is missing on broken revisions:

board=UBNT-RSPRO  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd

comment:3 Changed 2 years ago by stintel

Found the bad commit with git bisect: r46432

comment:4 Changed 2 years ago by thess

Yes, I noticed this awhile back and haven't yet had the time to isolated the change causing this.

Changed 2 years ago by thess

Patch ath79/prom.c to setup environment pointer

comment:5 Changed 2 years ago by anonymous

Problem was caused by environment pointer not setup if embedded commandline hack exists. Try this attached patch (apply to your buildroot). I will submit this patch upstream as well.

comment:6 Changed 2 years ago by xxiao

this happens on CC as well.

comment:7 Changed 2 years ago by thess

Problem does not exist in 3.18 kernel AFAIK.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.