[#3956] cat /proc/kgdbtest has logs of eth0: spurious interrupt on bf533 board

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

[#3956] cat /proc/kgdbtest has logs of eth0: spurious interrupt on bf533 board

Submitted By: Mingquan Pan

Open Date

2008-03-05 06:12:25     Close Date

2008-03-12 03:05:27

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: cat /proc/kgdbtest has logs of eth0: spurious interrupt on bf533 board

Details:

 

cat /proc/kgdbtest in kgdb testing has logs of eth0: spurious interrupt info on bf533 stamp, bf533 ezkit and bf561 ezkit board.

 

bfin> bootelf

Loading .text @ 0x00001000 (1029504 bytes)

Loading .rodata @ 0x000fd000 (221940 bytes)

Loading __ksymtab @ 0x001332f4 (14184 bytes)

Loading __ksymtab_gpl @ 0x00136a5c (4016 bytes)

Loading __ksymtab_strings @ 0x00137a0c (43584 bytes)

Loading __param @ 0x0014244c (300 bytes)

Loading .data @ 0x00143000 (69632 bytes)

Loading .init.text @ 0x00154000 (81868 bytes)

Loading .init.data @ 0x00167fcc (3164 bytes)

Loading .init.setup @ 0x00168c28 (632 bytes)

Loading .initcall.init @ 0x00168ea0 (428 bytes)

Loading .con_initcall.init @ 0x0016904c (4 bytes)

Loading .init.ramfs @ 0x00169050 (2792527 bytes)

Loading .text_l1 @ 0xffa00000 (8432 bytes)

sh_addr: FFA00000, p_paddr: 00412C9F

Loading from: 02413000 to 00412C9F, size: 8432

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 00414D8F

Loading from: 02416000 to 00414D8F, size: 192

Clearing .bss @ 0x00415000 (65632 bytes)

## Starting application at 0x00154000 ...

Linux version 2.6.22.18-ADI-2008R1-svn4393 (test@uclinux55-BF533-STAMP) (gcc version 4.1.2 (ADI svn)) #41 Sat Mar 1 09:36:59 MST 2008

Hardware Trace Active and Enabled

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

Reset caused by Software reset

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

Compiled for ADSP-BF533 Rev 0.3

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 398 MHz core clock and 79 MHz System Clock

Board Memory: 128MB

Kernel Managed Memory: 128MB

Memory map:

  text      = 0x00001000-0x000fc580

  rodata    = 0x000fd000-0x00142578

  data      = 0x00143000-0x00154000

    stack   = 0x00144000-0x00146000

  init      = 0x00154000-0x00415000

  bss       = 0x00415000-0x00425060

  available = 0x00425060-0x037ff000

  DMA Zone  = 0x07f00000-0x08000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw kgdboe=@10.100.4.50/,@10.100.4.174/

kgdboe: local port 6443

kgdboe: local IP 10.100.4.50

kgdboe: interface eth0

kgdboe: remote port 6442

kgdboe: remote IP 10.100.4.174

kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff

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: 52516k/131072k RAM, (2820k init code, 1005k kernel code, 415k data, 1024k dma, 73292k reserved)

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin Instruction SRAM: 64 KB (55 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

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

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>

eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 40 [nowait]

eth0: Ethernet addr: ba:5f:37:c8:87:b3

kgdboe: device eth0 not up yet, forcing it

eth0: link down

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

kgdb: debugging over ethernet enabled

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

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 2034-04-23 10:34:20 (2029401260)

Freeing unused kernel memory: 2820k freed

dma_alloc_init: dma_page @ 0x00412000 - 256 pages at 0x07f00000

                           _____________________________________

        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|            -   blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-03-01 05:44:11 MST) Built-in shell (msh)

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

 

root:/>

************** STEP 3: Start KGDB TEST

 

ifconfig eth0 10.100.4.50

root:/> GNU gdb 6.6

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "--host=i686-pc-linux-gnu --target=bfin-uclinux"...

(gdb)

Case 1 ...PASS

 

Case 1 ...PASS

target remote udp:10.100.4.50:6443

warning: The remote protocol may be unreliable over UDP.

Some events may be lost, rendering further debugging impossible.

Remote debugging using udp:10.100.4.50:6443

breakpoint () at kernel/kgdb.c:1433

 

Case 2 ...PASS

 

Case 2 ...PASS

1433            atomic_set(&kgdb_setting_breakpoint, 0);

(gdb) break kgdb_test

Breakpoint 1 at 0x8db6: file arch/blackfin/kernel/kgdb_test.c, line 48.

 

Case 3 ...PASS

 

Case 3 ...PASS

(gdb) c

Continuing.

 

Case 4 ...PASS

 

Case 4 ...PASS

Waiting for connection from remote gdb...

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

 

root:/> [New Thread 95]

[Switching to Thread 95]

 

Breakpoint 1, kgdb_test (name=<value optimized out>, len=<value optimized out>, count=<value optimized out>, z=16) at arch/blackfin/kernel/kgdb_test.c:48

 

Case 5 ...PASS

 

Case 5 ...PASS

48      {

(gdb) list

43

44      static char cmdline[256];

45      static unsigned long len;

46

47      int kgdb_test(char *name, int len, int count,int z)

48      {

49              printk("kgdb name(%d): %s, %d, %d\n",len, name, count, z);

50              count = z;

51              return count;

52      }

(gdb)

Case 6 ...PASS

 

Case 6 ...PASS

c

Continuing.

cat /proc/kgdbtest

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

eth0: spurious interrupt (mask = 0xb3)

 

Follow-ups

 

--- Sonic Zhang                                              2008-03-10 23:55:33

Fixed.

 

--- Mingquan Pan                                             2008-03-12 03:05:26

Yes.close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes