Welcome! Log In Create A New Profile

Advanced

local-mac-address is not set ?!?

Posted by sz3bbylA 
local-mac-address is not set ?!?
August 03, 2015 01:40PM
Yesterday i saw on my nsa320 this message on boot

[Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
and
EXT2-fs (sdb1): warning: mounting ext3 filesystem as ext2

I have Linux version 4.1.0-kirkwood-tld-1 (root@tldDebian)
U-Boot 2014.07-tld-3

is there a problem with my u-boot settings ???

fw_printenv

arcNumber=3956
baudrate=115200
boot_sata1=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts; ide reset; ext2load ide 0:1 0x800000 /boot/uImage; ext2load ide 0:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000
boot_sata2=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 $mtdparts; ide reset; ext2load ide 1:1 0x800000 /boot/uImage; ext2load ide 1:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
bootdelay=3
bootfile=
console=ttyS0,115200
ethact=egiga0
ethaddr=
if_netconsole=ping $serverip
ipaddr=192.168.1.105
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
netmask=255.255.255.0
partition=nand0,2
preboot=run if_netconsole start_netconsole
serverip=192.168.1.100
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_init=usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_root=LABEL=rootfs
usb_rootdelay=10
usb_rootfstype=ext2
bootcmd=run bootcmd_usb; usb stop; run boot_sata1; run boot_sata2; run bootcmd_rescue; reset



Edited 1 time(s). Last edit at 08/03/2015 01:44PM by sz3bbylA.
Re: local-mac-address is not set ?!?
August 03, 2015 03:21PM
sz3bbylA Wrote:
-------------------------------------------------------
> Yesterday i saw on my nsa320 this message on boot
>
> [Firmware Info]:
> /ocp@f1000000/ethernet-controller@72000/ethernet0-
> port@0: local-mac-address is not set

> ethaddr=
please set so this log message should go away.
if not, please chack the "ifconfig" output



> and
> EXT2-fs (sdb1): warning: mounting ext3 filesystem
> as ext2


please change
> usb_rootfstype=ext2
to: usb_rootfstype=ext3
your ext3 partition is then mounted as such



Edited 2 time(s). Last edit at 08/03/2015 03:23PM by pengu.
Re: local-mac-address is not set ?!?
August 03, 2015 03:32PM
sz3bbylA,

- Ignore the local MAC address warning. No problem there. But don't change anything related to this ethaddr.
- rootfstype is what pengu said above. Your USB rootf is using Ext3 file system. But your usb_rootfstype is Ext2, so to fix:
fw_setenv usb_rootfstype ext2

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: local-mac-address is not set ?!?
August 03, 2015 04:23PM
well

i have something like this on machine env
ethaddr=B0:B2:DC:F2:F4:B5

and i use ext3 partition rootfs


I changed fw_setenv usb_rootfstype 'ext3'
warning disapear

still persist on boot

[ 0.161017] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.166529] No ATAGs?

i have no explanation
but my nas is running well
Re: local-mac-address is not set ?!?
August 03, 2015 04:58PM
sz3bbylA,

> still persist on boot
>
> [ 0.161017] [Firmware Info]:
> /ocp@f1000000/ethernet-controller@72000/ethernet0-
> port@0: local-mac-address is not set
> [ 0.166529] No ATAGs?
>
> i have no explanation
> but my nas is running well

These are OK. They are not errors, only for information.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: local-mac-address is not set ?!?
August 04, 2015 07:00AM
sz3bbylA:


> [ 0.161017] [Firmware Info]:
> /ocp@f1000000/ethernet-controller@72000/ethernet0-
> port@0: local-mac-address is not set

when the mac adress is set via U-Boot and "ifconfig" shows the same, then you can ignore this message.

otherwhise set it here: /etc/network/interfaces
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: