[#3940] execute "dhcp" in uboot with ethernet cable unplugged, it will crash.

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#3940] execute "dhcp" in uboot with ethernet cable unplugged, it will crash.

Submitted By: Vivi Li

Open Date

2008-02-27 04:42:26     Close Date

2008-02-27 04:51:50

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

N/A

Silicon Revision:

    Resolution:

Duplicated

Is the bug repeatable?:

N/A     

Summary: execute "dhcp" in uboot with ethernet cable unplugged, it will crash.

Details:

 

Ethernet port is not plugged with ethernet cable, execute "dhcp" command in uboot in bf537-stamp, it will crash. This happens both in trunk and 08r1.

 

Below is the log:

--

U-Boot 1.1.6-svn1150 (ADI-2008R2-pre) (Feb 27 2008 - 15:32:04)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2)

Board: ADI BF537 stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 500 MHz, Core: 500 MHz, System: 100 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:42:80

I2C:   ready

Hit any key to stop autoboot:  0

bfin>

bfin> dhcp

Link is down, please check your network connection

BOOTP broadcast 1

 

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 00000024  IPEND: 3fc00c4  SYSCFG: 0032

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x24

  physical IVG6 asserted : <0x03fc07a0> { _evt_default + 0x0 }

  physical IVG7 asserted : <0x03fc07a0> { _evt_default + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x03786000> /* unknown address */

RETX: <0x03fcb04a> { _bfin_EMAC_send + 0x72 }

RETS: <0x03fc87da> { _NetLoop + 0x2f6 }

PC  : <0x03fc00c4> { _start + 0xc4 }

DCPLB_FAULT_ADDR: <0xa47a11fe> { ___smulsi3_highpart + 0xa07c7b72 }

ICPLB_FAULT_ADDR: <0x03fcb04a> { _bfin_EMAC_send + 0x72 }

 

PROCESSOR STATE:

R0 : 00000000    R1 : 03fe6840    R2 : 00000157    R3 : 00000000

R4 : 00000000    R5 : 03f5c028    R6 : 00000004    R7 : 00000010

P0 : 03fe6862    P1 : 03f601b0    P2 : a47a11ff    P3 : 03fe45cc

P4 : 03fe872c    P5 : 03f5c000    FP : 03fe3a38    SP : 03f5ba4c

LB0: 03fc7796    LT0: 03fc7794    LC0: 00000000

LB1: 03fc65ae    LT1: 03fc65a8    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 000000ae

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 03f5bec8

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 30df835e   A0.x: 00000000   A1.w: 0000cca9   A1.x: 00000000

USP : 0056def8  ASTAT: 02001024

 

Hardware Trace:

   0 Target : <0x03fc04f8> { _bfin_panic + 0x0 }

     Source : <0x03fc06cc> { _trap_c + 0x198 }

   1 Target : <0x03fc06c2> { _trap_c + 0x18e }

     Source : <0x03fc054e> { _trap_c + 0x1a }

   2 Target : <0x03fc0534> { _trap_c + 0x0 }

     Source : <0x03fc0746> { _trap + 0x56 }

   3 Target : <0x03fc06f0> { _trap + 0x0 }

     Source : <0x03fcb048> { _bfin_EMAC_send + 0x70 }

   4 Target : <0x03fcb022> { _bfin_EMAC_send + 0x4a }

     Source : <0x03fcb004> { _bfin_EMAC_send + 0x2c }

   5 Target : <0x03fcaff4> { _bfin_EMAC_send + 0x1c }

     Source : <0x03fcafe2> { _bfin_EMAC_send + 0xa }

   6 Target : <0x03fcafd8> { _bfin_EMAC_send + 0x0 }

     Source : <0x03fc9a0c> { _eth_send + 0x18 }

   7 Target : <0x03fc99f4> { _eth_send + 0x0 }

     Source : <0x03fc7bcc> { _NetSendPacket + 0x0 }

   8 Target : <0x03fc7bcc> { _NetSendPacket + 0x0 }

     Source : <0x03fc9478> { _BootpRequest + 0x188 }

   9 Target : <0x03fc9462> { _BootpRequest + 0x172 }

     Source : <0x03fc7808> { _NetSetHandler + 0xc }

  10 Target : <0x03fc77fc> { _NetSetHandler + 0x0 }

     Source : <0x03fc945e> { _BootpRequest + 0x16e }

  11 Target : <0x03fc9452> { _BootpRequest + 0x162 }

     Source : <0x03fc827a> { _NetSetTimeout + 0x36 }

  12 Target : <0x03fc8260> { _NetSetTimeout + 0x1c }

     Source : <0x03fc6c80> { _get_timer + 0x5c }

  13 Target : <0x03fc6c64> { _get_timer + 0x40 }

     Source : <0x03fd9688> { ___umulsi3_highpart + 0x1c }

  14 Target : <0x03fd966c> { ___umulsi3_highpart + 0x0 }

     Source : <0x03fc6c60> { _get_timer + 0x3c }

  15 Target : <0x03fc6c54> { _get_timer + 0x30 }

     Source : <0x03fc6c44> { _get_timer + 0x20 }

 

Please reset the board

 

### ERROR ### Please RESET the board ###

--

 

Follow-ups

 

--- Mike Frysinger                                           2008-02-27 04:51:50

duplicate of [#3089]

 

this is not a Blackfin bug, it's a bug in the common ethernet code.  upstream

knows about it and is working on it.  we'll get the fix "for free"

when we update to the next version.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes