2008-07-04 04:17:04     Help ???????????Unable to create socket

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

2008-07-04 04:17:04     Help ???????????Unable to create socket

Bingo Hu (CHINA)

Message: 58326   

 

Hi all,

 

    Who can help me ?

 

Kernel stop in output " Unable to create socket" in Uart , can not go on.Why?

 

Thanks anybody can give me some advice.

 

My information is following:

 

U-Boot 1.1.6 (ADI-2008R1) (Jun 27 2008 - 06:17:58)

 

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:   E6:BA:B1:CF:CD:38

I2C:   ready

Hit any key to stop autoboot:  5     4     3     2     1     0

## Booting image at 20040000 ...

   Image Name:   Linux-2.6.22.18-ADI-2008R1-svn

   Created:      2008-07-02   5:00:59 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3558328 Bytes =  3.4 MB

   Load Address: 00001000

   Entry Point:  000d0000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = d0000

Linux version 2.6.22.18-ADI-2008R1-svn (bingo@linux-Bingo) (gcc version 4.1.2 (ADI svn)) #31 Wed Jul 2 13:00:52 CST 2008

Hardware Trace Active and Enabled

Warning: limiting memory to 60MB due to hardware anomaly 05000263

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 100 MHz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x000947b0

  rodata    = 0x00095000-0x000c2894

  data      = 0x000c3000-0x000d0000

    stack   = 0x000c4000-0x000c6000

  init      = 0x000d0000-0x00660000

  bss       = 0x00660000-0x0066bc84

  available = 0x0066bc84-0x03bff000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15240

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 54284k/65536k RAM, (5696k init code, 589k kernel code, 286k data, 1024k dma, 3660k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (16 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (40 KB free)

Mount-cache hash table entries: 512

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

Freeing unused kernel memory: 5696k freed

dma_alloc_init: dma_page @ 0x0065d000 - 256 pages at 0x03f00000

No usable address families found.

socket: Function not implemented

Unable to create socket

Unable to create socket

Unable to create socket

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-07-02 12:53:46 CST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> Unable to create socket

Unable to create socket

Unable to create socket

Unable to create socket

Unable to create socket

Unable to create socket

 

 

TranslateQuoteReplyEditDelete

 

 

2008-07-04 05:10:42     Re: Help ???????????Unable to create socket

Yi Li (CHINA)

Message: 58342   

 

Have you enabled your ethernet driver?

QuoteReplyEditDelete

 

 

2008-07-04 09:52:20     Re: Help ???????????Unable to create socket

Mike Frysinger (UNITED STATES)

Message: 58352   

 

the kernel did not stop, you just havent typed anything

 

if you disable networking in your kernel, then you should disable networking related applications as well ... otherwise, what you're seeing is expected behavior

Attachments

    Outcomes