[openib-general] DMA allocation problem on AMCC-440SPe yucca board

κΉ€μ˜ν™˜ yhkim93 at keti.re.kr
Wed Aug 16 02:50:46 PDT 2006


I am developing infiniband controller on AMCC Powerpc 440SPe yucca board.

I have cross-compiled kernel-2.6.18-rc2 with infiniband driver. But kernel
is panic as show the following error text.

What is problem? 

============================================================================
===============

## Booting image at 00200000 ...

   Image Name:   Linux-2.6.18-rc2

   Image Type:   PowerPC Linux Kernel Image (gzip compressed)

   Data Size:    1226673 Bytes =  1.2 MB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Linux version 2.6.18-rc2 (root at yhkim-devpc) (gcc version 4.0.0) #1 Wed Aug
16 16:04:28 KST 2006

PCIX0 host bridge: resources allocated

PCIE0: card present

PCIE: SDR0_PLLLCT1 already reset.

PCIE initialization OK

PCIE0 host bridge: resources allocated

Yucca port (Roland Dreier <rolandd at cisco.com>)

Built 1 zonelists.  Total pages: 131072

Kernel command line: root=/dev/nfs rw
nfsroot=192.168.1.1:/tftpboot/yucca/ppc_4xx
ip=192.168.1.10:192.168.1.1::255.255.255.0:yucca:eth0:off0PID hash table
entries: 4096 (order: 12, 16384 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 517120k available (1856k kernel code, 600k data, 144k init, 0k
highmem)

Mount-cache hash table entries: 512

NET: Registered protocol family 16

PCI: Probing PCI hardware

NET: Registered protocol family 2

IP route cache hash table entries: 16384 (order: 4, 65536 bytes)

TCP established hash table entries: 65536 (order: 6, 262144 bytes)

TCP bind hash table entries: 32768 (order: 5, 131072 bytes)

TCP: Hash tables configured (established 65536 bind 32768)

TCP reno registered

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler deadline registered

io scheduler cfq registered

Generic RTC Driver v1.07

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled

serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A

serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A

serial8250: ttyS2 at MMIO 0x0 (irq = 37) is a 16550A

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

PPC 4xx OCP EMAC driver, version 3.54

mal0: initialized, 1 TX channels, 1 RX channels

eth0: emac0, MAC 00:01:73:01:d0:f2

eth0: found CIS8201 Gigabit Ethernet PHY (0x01)

IBM IIC driver v2.1

ibm-iic0: using standard (100 kHz) mode

ibm-iic1: using standard (100 kHz) mode

ib_mthca: Mellanox InfiniBand HCA driver v0.08 (February 14, 2006)

ib_mthca: Initializing 0001:01:01.0

ib_mthca 0001:01:01.0: HCA FW version 5.0.1 is old (5.1.0 is current).

ib_mthca 0001:01:01.0: If you have problems, try updating your HCA FW.

kernel BUG in __dma_alloc_coherent at arch/ppc/kernel/dma-mapping.c:233!

Oops: Exception in kernel mode, sig: 5 [#1]

NIP: C0004A94 LR: C0004A60 CTR: 00000000

REGS: c0721cb0 TRAP: 0700   Not tainted  (2.6.18-rc2)

MSR: 00029000 <EE,ME>  CR: 88B04F82  XER: 20000000

TASK = c070ab70[1] 'swapper' THREAD: c0720000

GPR00: 00000001 C0721D60 C070AB70 C067BD40 00000001 0000001F DF5E2FFC
00029000

GPR08: FFFFFFFF 00000000 C0213E04 00000000 28B04F88 00000000 1FFF4900
007FFF93

GPR16: 00000000 00000001 007FFF00 1FFEF2F0 FFFFFFFF C0270000 C0210000
00000000

GPR24: DF5AB260 C021240C FF2FF000 C0721DBC C067BD60 C0720000 C067BD40
00001000

NIP [C0004A94] __dma_alloc_coherent+0x218/0x2e4

LR [C0004A60] __dma_alloc_coherent+0x1e4/0x2e4

Call Trace:

[C0721D60] [C00049B8] __dma_alloc_coherent+0x13c/0x2e4 (unreliable)

[C0721DA0] [C02672D8] mthca_create_eq+0x338/0x438

[C0721E00] [C026753C] mthca_init_eq_table+0x164/0x6c0

[C0721E40] [C0266B54] mthca_init_one+0x990/0xc60

[C0721E90] [C00F16B4] pci_device_probe+0x7c/0xa0

[C0721EB0] [C01098B0] driver_probe_device+0x60/0x118

[C0721ED0] [C0109AE8] __driver_attach+0xcc/0xf8

[C0721EF0] [C0108D54] bus_for_each_dev+0x54/0x90

[C0721F20] [C0109718] driver_attach+0x24/0x34

[C0721F30] [C010918C] bus_add_driver+0x84/0x13c

[C0721F50] [C0109FD0] driver_register+0x70/0xb8

[C0721F60] [C00F1348] __pci_register_driver+0x44/0x54

[C0721F70] [C0265408] mthca_init+0x1c/0x40

[C0721F80] [C0001118] init+0x8c/0x298

[C0721FF0] [C0003F5C] kernel_thread+0x44/0x60

Instruction dump:

3d20c027 816900dc 7c00f050 54003826 7c005a14 901b0000 815d0004 39200000

7d205379 38000000 41820008 38000001 <0f000000> 38000400 7d60f028 7d6b0378

Kernel panic - not syncing: Attempted to kill init!

 <0>Rebooting in 1 seconds..

 

 

Korea Electronics Technology Institutes(KETI)
Intelligent IT System Research Center
Researcher kim, Young Hwan
031-789-7535  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060816/7fcf22cc/attachment.html>


More information about the general mailing list