We are using custom P2041 based board & using two VSC8572 chips. One of them is configured in SGMII mode & Other in RGMII mode. With 'mii' command in u-boot we wrote few initialization commands to both PHY chips & got them working.
The PHY Addresses are as follos:
DTSEC1 : PHY address 0x00 : SGMII (Chip 1 - Port 1)
DTSEC2 : PHY address 0x01 : SGMII (Chip 1 - Port 2)
DTSEC4 : PHY address 0x04 : RGMII (Chip 2 - Port 1)
DTSEC5 : PHY address 0x05 : RGMII (Chip 2 - Port 2)
These DTSECs are working fine in u-boot.
uboot arguments for mac id ->
ethaddr=00:04:9F:02:00:FD
eth1addr=00:04:9F:02:01:FD
eth2addr=00:04:9F:02:06:FD // modified to check changes ,instead of 02 i kept it 06
eth3addr=00:04:9F:02:03:FD
eth4addr=00:04:9F:02:04:FD
eth5addr=00:04:9F:02:05:FD
so if i ping to all the interfaces in uboot and capture them using wireshark in my host pc and check mac id in captured ping packet
i get
for PHY address 0x0 -->MAC ID--> ethaddr =00:04:9F:02:00:FD
for PHY address 0x01 --> MAC ID--> eth1addr=00:04:9F:02:01:FD
for PHY address 0x04 --> MAC ID --> eth2addr=00:04:9F:02:06:FD //////////////////////////////////////
fpr PHT address 0x05 --> MAC ID --> eth3addr=00:04:9F:02:03:FD
but in linux only three interfaces is working. one rgmii is not working.
In kernel boot log i found -->
fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:02:00:fdfsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:02:01:fd
fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:02:03:fd
fsl_mac ffe4e8000.ethernet: FMan MAC address: 00:04:9f:02:04:fd /// it was missing in uboot pings
above node should map to eth2addr of uboot rather than eth4addr
so i ran following commands in uboot
>tftp 1000000 dtbfile.dtb
>fdt a 0x1000000
>fdt boardsetup
ERROR: unable to create props for bman-portal@0: FDT_ERR_NOSPACE
ERROR: unable to create props for qman-portal@0: FDT_ERR_NOSPACE
WARNING: could not find compatible node: FDT_ERR_NOTFOUNDphy =phy_rgmii_1
phy =phy_rgmii_0=> fdt p ethernet1
ethernet@e2000 {
local-mac-address = [00 04 9f 02 01 fd];
tbi-handle = <0x00000017>;
phy-handle = <0x00000018>;
phy-connection-type = "sgmii";
cell-index = <0x00000001>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e2000 0x00001000>;
fsl,port-handles = <0x00000019 0x0000001a>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x0000002f>;
phandle = <0x0000002f>;
};
=> fdt p ethernet0
ethernet@e0000 {
local-mac-address = [00 04 9f 02 00 fd];
tbi-handle = <0x00000012>;
phy-handle = <0x00000013>;
phy-connection-type = "sgmii";
cell-index = <0x00000000>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e0000 0x00001000>;
fsl,port-handles = <0x00000014 0x00000015>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x0000002e>;
phandle = <0x0000002e>;
};
=> fdt p ethernet2
ethernet@e4000 {
status = "disabled"; // why this is disabled
local-mac-address = [00 04 9f 02 06 fd];
tbi-handle = <0x0000001b>;
phy-handle = <0x0000001c>;
phy-connection-type = "sgmii";
cell-index = <0x00000002>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e4000 0x00001000>;
fsl,port-handles = <0x0000001d 0x0000001e>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x00000030>;
phandle = <0x00000030>;
};
=> fdt p ethernet3
ethernet@e6000 {
local-mac-address = [00 04 9f 02 03 fd];
tbi-handle = <0x0000001f>;
phy-handle = <0x00000020>;
phy-connection-type = "rgmii";
cell-index = <0x00000003>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e6000 0x00001000>;
fsl,port-handles = <0x00000021 0x00000022>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x00000031>;
phandle = <0x00000031>;
};
=> fdt p ethernet4
ethernet@e8000 {
local-mac-address = [00 04 9f 02 04 fd];
tbi-handle = <0x00000023>;
phy-handle = <0x00000024>;
phy-connection-type = "rgmii";
cell-index = <0x00000004>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e8000 0x00001000>;
fsl,port-handles = <0x00000025 0x00000026>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x00000032>;
phandle = <0x00000032>;
};
As we can observe uboot is pinging from mac id local-mac-address = [00 04 9f 02 06 fd];
which is represented as ethernet@e4000 in device tree,but it shows as status = "disabled"
hence it doesn't comes up in linux boot log.whereas when i read dts file ,it doesn't shows any status disabled.
I put the dts file which comes with p2041rdb also shows status = disabled for above node.
Attached dts file
Can u tell me what i need to change in dts file to make it work
Hello sameerarvikar,
I verified your dts file on my P2041RDB board, I didn't find anything abnormal, please refer to the following result.
Please refer to your u-boot log to check whether FM1@DTSEC3 exists on your custom board,
In addition, according to your Kernel boot up log, the Ethernet port ffe4e8000.ethernet has already been set up successfully, have you verified whether it can work under Linux with ping command? Would you please provide you whole u-boot and Linux Kernel booting up logs? Please provide the result of ethtool command for FM1@DTSEC3.
ethernet@e2000 {
local-mac-address = [00 e0 0c 00 32 01];
tbi-handle = <0x00000017>;
phy-handle = <0x00000018>;
phy-connection-type = "sgmii";
cell-index = <0x00000001>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e2000 0x00001000>;
fsl,port-handles = <0x00000019 0x0000001a>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x0000002f>;
phandle = <0x0000002f>;
};
=> fdt p ethernet2
ethernet@e4000 {
local-mac-address = [00 e0 0c 00 32 02];
tbi-handle = <0x0000001b>;
phy-handle = <0x0000001c>;
phy-connection-type = "sgmii";
cell-index = <0x00000002>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e4000 0x00001000>;
fsl,port-handles = <0x0000001d 0x0000001e>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x00000030>;
phandle = <0x00000030>;
};
=> fdt p ethernet3
ethernet@e6000 {
local-mac-address = [00 e0 0c 00 32 03];
tbi-handle = <0x0000001f>;
phy-handle = <0x00000020>;
phy-connection-type = "rgmii";
cell-index = <0x00000003>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e6000 0x00001000>;
fsl,port-handles = <0x00000021 0x00000022>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x00000031>;
phandle = <0x00000031>;
};
=> fdt p ethernet4
ethernet@e8000 {
local-mac-address = [00 e0 0c 00 32 04];
tbi-handle = <0x00000023>;
phy-handle = <0x00000024>;
phy-connection-type = "rgmii";
cell-index = <0x00000004>;
compatible = "fsl,fman-1g-mac";
reg = <0x000e8000 0x00001000>;
fsl,port-handles = <0x00000025 0x00000026>;
ptimer-handle = <0x00000016>;
linux,phandle = <0x00000032>;
phandle = <0x00000032>;
};
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
>have you verified whether it can work under Linux with ping command?
yes ,only one interface is pinging which is having address e6000
e8000 is not pinging
uboot log
-
Boot 2015.10 (Mar 23 2016 - 09:05:28 +0530)
CPU0: P2041, Version: 2.0, (0x82100120)
Core: e500mc, Version: 3.2, (0x80230032)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz, CPU2:1200 MHz, CPU3:1200 MHz,
CCB:400 MHz,
DDR:600 MHz (1200 MT/s data rate) (Asynchronous), LBC:12.500 MHz
FMAN1: 600 MHz
QMAN: 200 MHz
PME: 200 MHz
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Reset Configuration Word (RCW):
00000000: 48580000 00000000 18180000 00000000
00000010: 208ec0c0 f3c02000 fe800000 40000000
00000020: 00000000 00000000 00000000 d0020007
00000030: 00000000 00000000 00000000 00000000
Board: P2041RDB, CPLD version: 167.167 vBank: 1
SERDES Reference Clocks: Bank1=100Mhz Bank2=125Mhz
I2C: ready
SPI: ready
DRAM: Initializing....Configuring DDR for 1200 MT/s data rate
Testing 0x00000000 - 0x3fffffff
Remap DDR
1 GiB (DDR3, 64-bit, CL=9.5, ECC on)
POST memory PASSED
Flash: 128 MiB
L2: 128 KiB enabled
Corenet Platform Cache: 1 MiB enabled
SERDES: bank 3 disabled
SRIO1: disabled
SRIO2: disabled
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: Invalid ID (ff ff ff ff)
In: serial
Out: serial
Err: serial
Net: Initializing Fman
Fman1: DTSEC3 set to unknown interface 13
Fman1: Uploading microcode version 106.1.17
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC4 [PRIME], FM1@DTSEC5
Hit any key to stop autoboot: 0
linux boot log
=> boot
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at e8020000 ...
Image Name: Linux-3.12.37-rt51+g43cecda
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 4307022 Bytes = 4.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at e8800000
Booting using the fdt blob at 0xe8800000
Uncompressing Kernel Image ... OK
Loading Device Tree to 03fe5000, end 03fffa38 ... OK
WARNING: could not find compatible node: FDT_ERR_NOTFOUNDphy =phy_rgmii_1
phy =phy_rgmii_0
Using CoreNet Generic machine description
Memory CAM mapping: 256/256/256 Mb, residual: 256Mb
Linux version 3.12.37-rt51+g43cecda (administrator@R15PC123) (gcc version 4.9.2 (GCC) ) #9 SMP Fri Aug 31 17:17:00 IST 2018
No /soc@ffe000000/qman@318000 property 'fsl,qman-fqd', using memblock_alloc(0000000000400000)
No /soc@ffe000000/qman@318000 property 'fsl,qman-pfdr', using memblock_alloc(0000000002000000)
Qman ver:0a01,01,02,00
No /soc@ffe000000/bman@31a000 property 'fsl,bman-fbpr', using memblock_alloc(0000000001000000)
Bman ver:0a02,01,00
pme: No /soc@ffe000000/pme@316000 property 'fsl,pme-pdsr', using memblock_alloc(0x0000000001000000)
pme: No /soc@ffe000000/pme@316000 property 'fsl,pme-sre', using memblock_alloc(0x0000000000a00000)
No USDPAA memory, no 'usdpaa_mem' bootarg
CPU maps initialized for 1 thread per core
bootconsole [udbg0] enabled
setup_arch: bootmem
CoreNet Generic board from Freescale Semiconductor
arch: exit
Zone ranges:
DMA [mem 0x00000000-0x2fffffff]
Normal empty
HighMem [mem 0x30000000-0x3fffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00000000-0x3fffffff]
MMU: Allocated 1088 bytes of context maps for 255 contexts
PERCPU: Embedded 8 pages/cpu @c116a000 s9664 r8192 d14912 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
Kernel command line: root=/dev/sda1 rw console=ttyS0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Sorting __ex_table...
Memory: 883708K/1048576K available (6724K kernel code, 332K rwdata, 1800K rodata, 276K init, 452K bss, 164868K reserved, 262136K highmem)
Kernel virtual memory layout:
* 0xfff5f000..0xfffff000 : fixmap
* 0xffc00000..0xffe00000 : highmem PTEs
* 0xffbfb000..0xffc00000 : early ioremap
* 0xf1000000..0xffbfb000 : vmalloc & ioremap
Hierarchical RCU implementation.
RCU debugfs-based tracing is enabled.
RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe040000, max 4 CPUs
mpic: ISU size: 512, shift: 9, mask: 1ff
mpic: Initializing for 512 sources
clocksource: timebase mult[50000000] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
mpic: requesting IPIs...
e500 family performance monitor hardware support registered
Brought up 4 CPUs
devtmpfs: initialized
NET: Registered protocol family 16bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
Bman err interrupt handler present
Bman portal initialised, cpu 0
Bman portal initialised, cpu 1
Bman portal initialised, cpu 2
Bman portal initialised, cpu 3
Bman portals initialised
Qman err interrupt handler present
Qman portal initialised, cpu 0
Qman portal initialised, cpu 1
Qman portal initialised, cpu 2
Qman portal initialised, cpu 3
Qman portals initialised
Bman: BPID allocator includes range 32:32
Qman: FQID allocator includes range 256:256
Qman: FQID allocator includes range 32768:32768
Qman: CGRID allocator includes range 0:256
Qman: pool channel allocator includes range 33:15
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
audit: initializing netlink socket (disabled)
type=2000 audit(0.552:1): initialized
bounce pool size: 64 pages
HugeTLB registered 1 MB page size, pre-allocated 0 pages
HugeTLB registered 4 MB page size, pre-allocated 0 pages
HugeTLB registered 16 MB page size, pre-allocated 0 pages
HugeTLB registered 64 MB page size, pre-allocated 0 pages
HugeTLB registered 256 MB page size, pre-allocated 0 pages
HugeTLB registered 1 GB page size, pre-allocated 0 pages6 ofpart partitions found on MTD device fffa00000.flash
Creating 6 MTD partitions on "fffa00000.flash":
0x000000000000-0x000002000000 : "NAND U-Boot Image"
0x000002000000-0x000012000000 : "NAND Root File System"
0x000012000000-0x00001a000000 : "NAND Compressed RFS Image"
0x00001a000000-0x00001e000000 : "NAND Linux Kernel Image"
0x00001e000000-0x00001f000000 : "NAND DTB Image"
0x00001f000000-0x000020000000 : "NAND Writable User area"
eLBC NAND device at 0xfffa00000, bank 1
fsl_espi ffe110000.spi: master is unqueued, this is deprecated
m25p80 spi32766.0: found s25fl128s, expected s25sl12801
m25p80 spi32766.0: s25fl128s (16384 Kbytes)
4 ofpart partitions found on MTD device spi32766.0
Creating 4 MTD partitions on "spi32766.0":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000600000 : "kernel"
0x000000600000-0x000000700000 : "dtb"
0x000000700000-0x000001000000 : "file system"
fsl_espi ffe110000.spi: at 0xf9182000 (irq = 53)
libphy: Fixed MDIO Bus: probed
libphy: Freescale PowerQUICC MII Bus: probed
mdio_bus mdio@ffe4e1120: cannot get PHY at address 28
mdio_bus mdio@ffe4e1120: cannot get PHY at address 29
mdio_bus mdio@ffe4e1120: cannot get PHY at address 30
mdio_bus mdio@ffe4e1120: cannot get PHY at address 31
libphy: Freescale XGMAC MDIO Bus: probed
Freescale FM module (Aug 27 2018:10:06:52), FMD API version 21.1.0
Freescale FM Ports module (Aug 27 2018:10:06:53)
fsl_mac: fsl_mac: FSL FMan MAC API based driver ()
fsl_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:02:00:fd
fsl_mac ffe4e2000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:02:01:fd
fsl_mac ffe4e6000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:02:03:fd
fsl_mac ffe4e8000.ethernet: FMan dTSEC version: 0x08240101
fsl_mac ffe4e8000.ethernet: FMan MAC address: 00:04:9f:02:04:fd
fsl_dpa: FSL DPAA Ethernet driver ()
fsl_dpa: FSL DPAA Ethernet debugfs entries ()
fsl_dpa: fsl_dpa: Probed interface eth0
fsl_dpa: fsl_dpa: Probed interface eth1
fsl_dpa: fsl_dpa: Probed interface eth2
fsl_dpa: fsl_dpa: Probed interface eth3
fsl_advanced: FSL DPAA Advanced drivers: ()
fsl_proxy: FSL DPAA Proxy initialization driver ()
fsl_dpa_shared: FSL DPAA Shared Ethernet driver ()
fsl_dpa_macless: FSL DPAA MACless Ethernet driver ()
fsl_oh: FSL FMan Offline Parsing port driver ()
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 45, io mem 0xffe211000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
/soc@ffe000000/usb@210000: Invalid 'dr_mode' property, fallback to host mode
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 44, io mem 0xffe210000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c /dev entries driver
mpc-i2c ffe118000.i2c: timeout 1000000 us
In RTC RV3029C2 driver probe
rtc-rv3029c2 0-0056: rtc core: registered rv3029c2 as rtc0
Reading Status successfull rc = 0
successfully Return from RTC RV3029C2 probe
mpc-i2c ffe118100.i2c: timeout 1000000 us
mpc-i2c ffe119000.i2c: timeout 1000000 us
mpc-i2c ffe119100.i2c: timeout 1000000 us
Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
EDAC MC0: Giving out device to 'MPC85xx_edac' 'mpc85xx_mc_err': DEV mpc85xx_mc_err
MPC85xx_edac acquired irq 490 for MC
MPC85xx_edac MC err registered
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc@ffe000000/sdhc@114000: voltage-ranges unspecified
mmc0: Got command interrupt 0x00030000 even though no command operation was in progress.
mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA
Freescale USDPAA process driver
fsl-usdpaa: no region found
Freescale USDPAA process IRQ driver
fsl-pme ffe316000.pme: ver: 0x00100201
Freescale pme2 db driver
Freescale pme2 scan driver
fsl-pme2-scan: device pme_scan registered
Freescale hypervisor management driver
ata2: Signature Update detected @ 0 msecs
fsl-hv: no hypervisor found
ipip: IPv4 over IPv4 tunneling driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
fsl_generic: FSL DPAA Generic Ethernet driver ()
fsl_generic: FSL DPAA Ethernet debugfs entries ()
drivers/rtc/hctosys.c: unable to open rtc device (rtc)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: SM651GEA BA, O0530M, max UDMA/133
ata1.00: 30932992 sectors, multi 0: LBA48
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-8: 2.5" SATA SSD 3MR3-P, R16425, max UDMA/133
ata2.00: 121138416 sectors, multi 1: LBA48 NCQ (depth 16/32)
ata2.00: configured for UDMA/133
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA SM651GEA BA O053 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 30932992 512-byte logical blocks: (15.8 GB/14.7 GiB)
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access ATA 2.5" SATA SSD 3M R164 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 121138416 512-byte logical blocks: (62.0 GB/57.7 GiB)
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: unknown partition table
sd 1:0:0:0: [sdb] Attached SCSI disk
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 8:1.
devtmpfs: mounted
Freeing unused kernel memory: 276K (c0857000 - c089c000)
INIT: version 2.88 booting
Starting udev
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 631504
udevd[977]: starting version 182
udevd[983]: renamed network interface eth0 to fm1-gb0
udevd[985]: renamed network interface eth1 to fm1-gb1
udevd[986]: renamed network interface eth2 to fm1-gb3
udevd[987]: renamed network interface eth3 to fm1-gb4
bootlogd: cannot allocate pseudo tty: No such file or directory
Starting random number generator daemonUnable to open file: /dev/tpm0
can't open any entropy source
Maybe RNG device modules are not loaded.
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 622739
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 622739
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 622739
rm: cannot remove '/var/lib/urandom/random-seed': Input/output errorEXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 622739urandom start: failed.
Populating dev cache
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 631504
/etc/rcS.d/S36udev-cache: line 67: /etc/udev-cache.tar.gz: Input/output error
udev-cache: updatEXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 631504
e failed!
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 631504
rm: cannot remove '/etc/udev-cache.tEXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630894
ar.gz': Input/output error
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630894
rm: cannot remove '/etc/udev/cache.data': Input/output error
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
ln: failed to access '/etc/resolv.conf': Input/output error
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
ln: failed to access '/etc/resolv.conf': Input/output error
INIT: Entering runlevel: 5
Configuring network interfaces... done.
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Starting rpcbind daemon...done.
Starting watchdog: [ OK ]
starting statd: done
Starting atd: OK
Starting domain name service: namedEXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
.
starting DNS forwarder and DHCP server: dnsmasq...
dnsmasq: failed to create listening socket for pEXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 936688
ort 53: Address already in use
Starting network benchmark server: netserver.
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
starting 8 nfsd kernel threads: done
starting mountd: EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 108479
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 108480
done
Starting Samba: smbd nmbd.
Starting system log daemon...0
Starting kernel log daemon...0
Starting internet superserver: xinetd.
server port not configured, not running lighttpd...
* Starting virtualization library daemon: libvirtd
no /usr/bin/dnsmasq found; none killed
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 630988
2018-09-04 14:04:46.607+0000: 1570: info : libvirt version: 1.2.12
2018-09-04 14:04:46.607+0000: 1570: warning : virGetHostname:671 : getaddrinfo failed for 'p2041rdb': Temporary failure in name resolution
Starting crond: OK
Starting tcf-agent: OKQorIQ SDK (FSL Reference Distro) 1.9 p2041rdb /dev/ttyS0
#ethtool fm1-gb2
root@p2041rdb:~# ethtool fm1-gb2
Settings for fm1-gb2:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
How to attach a file in reply .