linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Ethernet Briding broken on APM Mustang on v4.0-rc1
@ 2015-02-25 12:41 Christoffer Dall
  2015-02-25 13:45 ` Christoffer Dall
  0 siblings, 1 reply; 4+ messages in thread
From: Christoffer Dall @ 2015-02-25 12:41 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Configuring bridged networking on the APM Mustang platform doesn't work
on v4.0-rc1.  It works fine on v3.19-rc1.

When adding the interface to the bridge I get this error:

can't add eth0 to bridge br0: Invalid argument

Has anyone else seen this?

Other ARMv8 platforms don't seem to be affected by this.

Thanks,
-Christoffer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Ethernet Briding broken on APM Mustang on v4.0-rc1
  2015-02-25 12:41 Ethernet Briding broken on APM Mustang on v4.0-rc1 Christoffer Dall
@ 2015-02-25 13:45 ` Christoffer Dall
  2015-02-25 13:55   ` Mark Langsdorf
  0 siblings, 1 reply; 4+ messages in thread
From: Christoffer Dall @ 2015-02-25 13:45 UTC (permalink / raw)
  To: linux-arm-kernel

Update, apologies for noise,

On Wed, Feb 25, 2015 at 01:41:01PM +0100, Christoffer Dall wrote:
> Hi,
> 
> Configuring bridged networking on the APM Mustang platform doesn't work
> on v4.0-rc1.  It works fine on v3.19-rc1.
> 
> When adding the interface to the bridge I get this error:
> 
> can't add eth0 to bridge br0: Invalid argument
> 
> Has anyone else seen this?
> 
> Other ARMv8 platforms don't seem to be affected by this.
> 

It seems that on v4.0-rc1 the APM ethernet card no longer gets a mac
address (or rather, it gets 00:00:00:00:...) so assigning it an
appropriate address naturally does the trick.

I have no idea which change caused this behavior though.

-Christoffer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Ethernet Briding broken on APM Mustang on v4.0-rc1
  2015-02-25 13:45 ` Christoffer Dall
@ 2015-02-25 13:55   ` Mark Langsdorf
  2015-02-25 14:54     ` Christoffer Dall
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Langsdorf @ 2015-02-25 13:55 UTC (permalink / raw)
  To: linux-arm-kernel

On 02/25/2015 07:45 AM, Christoffer Dall wrote:
> Update, apologies for noise,
>
> On Wed, Feb 25, 2015 at 01:41:01PM +0100, Christoffer Dall wrote:
>> Hi,
>>
>> Configuring bridged networking on the APM Mustang platform doesn't work
>> on v4.0-rc1.  It works fine on v3.19-rc1.
>>
>> When adding the interface to the bridge I get this error:
>>
>> can't add eth0 to bridge br0: Invalid argument
>>
>> Has anyone else seen this?
>>
>> Other ARMv8 platforms don't seem to be affected by this.
>>
>
> It seems that on v4.0-rc1 the APM ethernet card no longer gets a mac
> address (or rather, it gets 00:00:00:00:...) so assigning it an
> appropriate address naturally does the trick.
>
> I have no idea which change caused this behavior though.

Did you update your firmware recently? The MAC address is
stored as a UEFI shell variable and pushed into ACPI/DTB
by the firmware. At one point in the development history,
the symbol that held it changed from RGMII_MAC0 to MAC0.

You can reset it by going into the UEFI shell and running:
set MAC0 aa:bb:cc:dd:ee:ff
replacing aa:bb:cc:dd:ee:ff with the MAC address.

--Mark Langsdorf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Ethernet Briding broken on APM Mustang on v4.0-rc1
  2015-02-25 13:55   ` Mark Langsdorf
@ 2015-02-25 14:54     ` Christoffer Dall
  0 siblings, 0 replies; 4+ messages in thread
From: Christoffer Dall @ 2015-02-25 14:54 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 25, 2015 at 07:55:44AM -0600, Mark Langsdorf wrote:
> On 02/25/2015 07:45 AM, Christoffer Dall wrote:
> >Update, apologies for noise,
> >
> >On Wed, Feb 25, 2015 at 01:41:01PM +0100, Christoffer Dall wrote:
> >>Hi,
> >>
> >>Configuring bridged networking on the APM Mustang platform doesn't work
> >>on v4.0-rc1.  It works fine on v3.19-rc1.
> >>
> >>When adding the interface to the bridge I get this error:
> >>
> >>can't add eth0 to bridge br0: Invalid argument
> >>
> >>Has anyone else seen this?
> >>
> >>Other ARMv8 platforms don't seem to be affected by this.
> >>
> >
> >It seems that on v4.0-rc1 the APM ethernet card no longer gets a mac
> >address (or rather, it gets 00:00:00:00:...) so assigning it an
> >appropriate address naturally does the trick.
> >
> >I have no idea which change caused this behavior though.
> 
> Did you update your firmware recently? The MAC address is
> stored as a UEFI shell variable and pushed into ACPI/DTB
> by the firmware. At one point in the development history,
> the symbol that held it changed from RGMII_MAC0 to MAC0.

No, only updated my kernel.

> 
> You can reset it by going into the UEFI shell and running:
> set MAC0 aa:bb:cc:dd:ee:ff
> replacing aa:bb:cc:dd:ee:ff with the MAC address.
> 

I'm not running UEFI, but U-Boot and it doesn't seem like U-Boot manages
to configure the hwaddr for Linux.

-Christoffer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-25 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 12:41 Ethernet Briding broken on APM Mustang on v4.0-rc1 Christoffer Dall
2015-02-25 13:45 ` Christoffer Dall
2015-02-25 13:55   ` Mark Langsdorf
2015-02-25 14:54     ` Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).