linux hangs in ethernet driver if no cable is connected

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

linux hangs in ethernet driver if no cable is connected

ソリューションへジャンプ
1,776件の閲覧回数
her
Contributor I

The system hangs in linux at bootup if the linux ethernet driver is started and no ethernet cable is connected.

Boot from NAND Flash with u-boot environment variable ip=DHCP or ip=192.168.xxx.xxx.

Problem occurs on the freescale eval board (Sabre SD) boards and on our own board.

The cpu seems to go idle mode. We use the standard kernel configuration

CPU:  iMX6 Solo, latest BSP  4.1.0


Best regards HR

ラベル(1)
0 件の賞賛
返信
1 解決策
1,551件の閲覧回数
AnsonHuang
NXP Employee
NXP Employee

Hi, her

     You should not adding ip=DHCP or ip=192.168.xxx.xxx. in uboot command line if you do NOT have ethernet cable connected.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,551件の閲覧回数
LeonardoSandova
Specialist I

where does it hang? if your filesystem is being NFS mounted, then this is the expected behaviour. As Youngcai mentioned, try to avoid the 'ip' parameter of add 'ip=none'

Leo

1,552件の閲覧回数
AnsonHuang
NXP Employee
NXP Employee

Hi, her

     You should not adding ip=DHCP or ip=192.168.xxx.xxx. in uboot command line if you do NOT have ethernet cable connected.

0 件の賞賛
返信