All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] udhcpc: no lease, failing
@ 2018-06-14  3:39 Anuj Malviya
  2018-06-14  3:56 ` Baruch Siach
  0 siblings, 1 reply; 2+ messages in thread
From: Anuj Malviya @ 2018-06-14  3:39 UTC (permalink / raw)
  To: buildroot

Hello Friends
I am getting this problem with Buildroot.

Starting network: udhcpc: started, v1.27.2
[    2.928374] net eth0: initializing cpsw version 1.12 (0)
[    2.933951] net eth0: initialized cpsw ale version 1.4
[    2.939382] net eth0: ALE Table size 1024
[    2.945195] libphy: PHY 4a101000.mdio:00 not found
[    2.950239] net eth0: phy "4a101000.mdio:00" not found on slave 0, err
-19
[    2.957426] libphy: PHY 4a101000.mdio:01 not found
[    2.962456] net eth0: phy "4a101000.mdio:01" not found on slave 1, err
-19
[    2.980308] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
Failed to bring up eth0.
FAIL
Starting dhcpcd...
no interfaces have a carrier
forked to background, child pid 149
Starting Network Interface Plugging Daemon: eth0.
Starting ntpd: OK
Starting dropbear sshd: [   12.722674] random: dropbear: uninitialized
urandom read (32 bytes read, 29 bits of entropy available)
OK
Starting vsftpd: OK

Welcome to Buildroot
buildroot login: root
Password:
# ifconfig
eth0      Link encap:Ethernet  HWaddr E8:EB:11:28:E6:73  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:174

The IP does not get assigned and I have power reboot my system couple of
times to get the IP assignment.
I am using 4.4.41 kernel version and glibc.
I read in earlier posts that this problem occurs with is uclibc, not sure of
the solution , any pointers will be of great help.
Br
Anuj 



--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

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

* [Buildroot] udhcpc: no lease, failing
  2018-06-14  3:39 [Buildroot] udhcpc: no lease, failing Anuj Malviya
@ 2018-06-14  3:56 ` Baruch Siach
  0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach @ 2018-06-14  3:56 UTC (permalink / raw)
  To: buildroot

Hi Anuj,

On Wed, Jun 13, 2018 at 08:39:28PM -0700, Anuj Malviya wrote:
> I am getting this problem with Buildroot.
> 
> Starting network: udhcpc: started, v1.27.2
> [    2.928374] net eth0: initializing cpsw version 1.12 (0)
> [    2.933951] net eth0: initialized cpsw ale version 1.4
> [    2.939382] net eth0: ALE Table size 1024
> [    2.945195] libphy: PHY 4a101000.mdio:00 not found
> [    2.950239] net eth0: phy "4a101000.mdio:00" not found on slave 0, err
> -19
> [    2.957426] libphy: PHY 4a101000.mdio:01 not found
> [    2.962456] net eth0: phy "4a101000.mdio:01" not found on slave 1, err
> -19
> [    2.980308] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

This clearly shows a driver or hardware problem. Userspace can't fix that. So 
this is not related to Buildroot itself. More likely a kernel related issue.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

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

end of thread, other threads:[~2018-06-14  3:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14  3:39 [Buildroot] udhcpc: no lease, failing Anuj Malviya
2018-06-14  3:56 ` Baruch Siach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.