phy驱动
作者:互联网
Starting network: [ 0.174025] macb 43080000.ethernet eth0: tracing fwnode_get_phy_node IS_ERR(phy_fwnode) 0 [ 0.174025] macb 43080000.ethernet eth0: tracing fwnode_phy_find_device 0 [ 0.174025] Generic PHY 43080000.ethernet-ffffffff:07: trace using_genphy 1 [ 0.174025] macb: tracing macb_mdio_wait_for_idle -110 [ 0.174025] macb 43080000.ethernet eth0: tracing phy_attach_direct -110 [ 0.174025] macb 43080000.ethernet eth0: Could not attach PHY (-110) and NULL == dn 0 ip: SIOCSIFFLAGS: Connection timed out FAIL Starting dropbear sshd: [ 0.174025] random: dropbear: uninitialized urandom read (32 bytes read) OK Welcome to Buildroot buildroot login: root Password: # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether d6:4e:43:b5:42:1c brd ff:ff:ff:ff:ff:ff 3: sit0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 # ip link set eth0 up [ 0.174025] macb 43080000.ethernet eth0: tracing fwnode_get_phy_node IS_ERR(phy_fwnode) 0 [ 0.174025] macb 43080000.ethernet eth0: tracing fwnode_phy_find_device 0 [ 0.174025] Generic PHY 43080000.ethernet-ffffffff:07: trace using_genphy 0 [ 0.174025] Generic PHY 43080000.ethernet-ffffffff:07: tracing phy_init_hw 0 [ 0.174025] Generic PHY 43080000.ethernet-ffffffff:07: tracing phy_disable_interrupts 0 [ 0.174025] tracing phy_modify phydev->mdio.addr 7 [ 0.174025] macb: tracing macb_mdio_wait_for_idle -110 [ 0.174025] macb 43080000.ethernet eth0: tracing phy_attach_direct 0 [ 0.174025] macb 43080000.ethernet eth0: validation of rgmii with support 0000000,00000000,000002c0 and advertisement 0000000,00000000,00000000 failed: -22 [ 0.174025] macb 43080000.ethernet eth0: tracing phylink_bringup_phy -22 [ 0.174025] tracing phy_modify phydev->mdio.addr 7 [ 0.174025] macb: tracing macb_mdio_wait_for_idle -110 [ 0.174025] Unable to handle kernel access to user memory without uaccess routines at virtual address 0000000000000030 [ 0.174025] Oops [#1] [ 0.174025] Modules linked in: [ 0.174025] CPU: 1 PID: 113 Comm: ip Not tainted 5.14.0 #102 [ 0.174025] Hardware name: sifive,hifive-unleashed-a00 (DT) [ 0.174025] epc : klist_put+0x1a/0x84 [ 0.174025] ra : klist_remove+0x86/0xe8 [ 0.174025] epc : ffffffff80269146 ra : ffffffff80269274 sp : ffffffd0042cb9b0 [ 0.174025] gp : ffffffff816dc9a0 tp : ffffffe07ffe4600 t0 : ffffffd0042cbd28 [ 0.174025] t1 : 0000000000000063 t2 : 00000000000dc840 s0 : ffffffd0042cb9e0 [ 0.174025] s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000001 [ 0.174025] a2 : ffffffff81690808 a3 : 0000000000000000 a4 : 0000000000000001 [ 0.174025] a5 : 0000000000000000 a6 : c0000000ffffefff a7 : 0000000000000033 [ 0.174025] s2 : ffffffe081210158 s3 : ffffffff81690808 s4 : 0000000000000001 [ 0.174025] s5 : 0000000000000001 s6 : 0000000000000003 s7 : 0000000000000002 [ 0.174025] s8 : ffffffe080ff87b8 s9 : ffffffe080ff8780 s10: 0000000000000000 [ 0.174025] s11: 0000003fff823d40 t3 : 0000000000000037 t4 : 0000000000000030 [ 0.174025] t5 : ffffffffffffffff t6 : 0000000000000033 [ 0.174025] status: 0000000200000120 badaddr: 0000000000000030 cause: 000000000000000d [ 0.174025] [<ffffffff80269146>] klist_put+0x1a/0x84 [ 0.174025] [<ffffffff80269274>] klist_remove+0x86/0xe8 [ 0.174025] [<ffffffff8040e5b2>] device_release_driver_internal+0xd2/0x108 [ 0.174025] [<ffffffff8040e5f8>] device_release_driver+0x10/0x18 [ 0.174025] [<ffffffff804673ca>] phy_detach+0x86/0xe4 [ 0.174025] [<ffffffff80462146>] phylink_fwnode_phy_connect+0xea/0x1ea [ 0.174025] [<ffffffff80462256>] phylink_of_phy_connect+0x10/0x18 [ 0.174025] [<ffffffff8046e522>] macb_phylink_connect+0x32/0xc8 [ 0.174025] [<ffffffff80470c82>] macb_open+0x1fe/0x3e8 [ 0.174025] [<ffffffff8053214e>] __dev_open+0xa8/0x10e [ 0.174025] [<ffffffff805324cc>] __dev_change_flags+0x166/0x1c0 [ 0.174025] [<ffffffff80532544>] dev_change_flags+0x1e/0x54 [ 0.174025] [<ffffffff805b599a>] devinet_ioctl+0x1f2/0x664 [ 0.174025] [<ffffffff805b73f4>] inet_ioctl+0x90/0x118 [ 0.174025] [<ffffffff8050d3ae>] sock_ioctl+0x1b8/0x328 [ 0.174025] [<ffffffff80137d80>] sys_ioctl+0xb4/0x7e6 [ 0.174025] [<ffffffff800030b2>] ret_from_syscall+0x0/0x2 [ 0.174025] ---[ end trace daee3cfade5acdcd ]--- Segmentation fault # ip [ 0.174025] random: fast init done a
标签:ethernet,tracing,0.174025,phy,macb,43080000,驱动 来源: https://www.cnblogs.com/dream397/p/15566337.html