[openib-general] booting problem after cross compile to ppc in infiniband source of linux-2.6.19
김영환
yhkim93 at keti.re.kr
Mon Dec 11 23:02:05 PST 2006
I am developing the infiniband storage system. I use IBM PPC 440 SPe
667Mhz. so I have cross-compiled infiniband source to ppc. But the follow
message happened on consol. What is problem? I think to happen at DMA
allocation. Anybody are developing the infiniband driver on ppc? And is
there any infiniband source that support ppc? Please help me.
Always thanks for openib members’s help.
============================================================================
==========================
Waiting for PHY auto negotiation to complete... done
ENET Speed is 1000 Mbps - FULL duplex connection
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.10
Filename 'yucca/uImage'.
Load address: 0x200000
Loading: T #################################################################
#################################################################
#################################################################
###################################################
done
Bytes transferred = 1255776 (132960 hex)
## Booting image at 00200000 ...
Image Name: Linux-2.6.19
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1255712 Bytes = 1.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.6.19 (root at yhkim-devpc) (gcc version 4.0.0) #2 Fri Dec 8
11:18:08 KST 2006
PCIE:1 successfully set as rootpoint
vendor-id 0xaaa1
device-id 0xbed1
Yucca port (Roland Dreier <rolandd at cisco.com>)
Zone PFN ranges:
DMA 0 -> 196608
Normal 196608 -> 196608
early_node_map[1] active PFN ranges
0: 0 -> 196608
Built 1 zonelists. Total pages: 195072
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.250PID hash table entries: 4096 (order:
12, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 776704k available (1900k kernel code, 592k data, 148k 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: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
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:04:ac:01:ca:fe
eth0: found CIS8201 Gigabit Ethernet PHY (0x01)
ib_mthca: Mellanox InfiniBand HCA driver v0.08 (February 14, 2006)
ib_mthca: Initializing 0001:01:01.0
kernel BUG in __dma_alloc_coherent at arch/ppc/kernel/dma-mapping.c:233!
Oops: Exception in kernel mode, sig: 5 [#1]
NIP: C0004904 LR: C00048D0 CTR: 00000000
REGS: c0981c90 TRAP: 0700 Not tainted (2.6.19)
MSR: 00029000 <EE,ME> CR: 88FF4F82 XER: 00000000
TASK = c096db70[1] 'swapper' THREAD: c0980000
GPR00: 00000001 C0981D40 C096DB70 C0885840 00000000 0000001F EF4BAFFC
00029000
GPR08: C021E410 00000000 C097B828 00000000 28FF4F88 00000000 3FFE6500
00000001
GPR16: 007FFF93 00000000 00800000 FFFFFFFF 007FFF00 C0280000 C0220000
00000000
GPR24: EF48F3E0 C021E410 FF2FF000 C0981D9C C0885860 C09A3000 C0885840
00001000
NIP [C0004904] __dma_alloc_coherent+0x20c/0x2d8
LR [C00048D0] __dma_alloc_coherent+0x1d8/0x2d8
Call Trace:
[C0981D40] [C0004828] __dma_alloc_coherent+0x130/0x2d8 (unreliable)
[C0981D80] [C0273404] mthca_create_eq+0x338/0x438
[C0981DE0] [C0273668] mthca_init_eq_table+0x164/0x6c0
[C0981E20] [C0146A44] __mthca_init_one+0x924/0xbf4
[C0981E70] [C0272F08] mthca_init_one+0x74/0xbc
[C0981E90] [C00F6FE4] pci_device_probe+0x7c/0xa0
[C0981EB0] [C010FB58] really_probe+0x54/0x13c
[C0981ED0] [C011004C] __driver_attach+0xcc/0xf8
[C0981EF0] [C010EE7C] bus_for_each_dev+0x54/0x90
[C0981F20] [C010F958] driver_attach+0x24/0x34
[C0981F30] [C010F4B0] bus_add_driver+0x84/0x168
[C0981F50] [C011034C] driver_register+0x68/0xb0
[C0981F60] [C00F6C64] __pci_register_driver+0x98/0xa8
[C0981F70] [C02720D0] mthca_init+0x60/0x8c
[C0981F80] [C0001124] init+0x98/0x2a4
[C0981FF0] [C0003DA0] kernel_thread+0x44/0x60
Instruction dump:
3d20c028 8169d0e0 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..
U-Boot 1.1.6 (Dec 7 2006 - 16:36:13)
CPU: AMCC PowerPC 440SPe Rev. B at 533.328 MHz (PLB=133, OPB=66, EBC=66
MHz)
I2C boot EEPROM enabled
Bootstrap Option D - Boot ROM Location I2C (Addr 0x50)
Internal PCI arbiter enabled
32 kB I-Cache 32 kB D-Cache
Board: Yucca - AMCC 440SPe Evaluation Board
I2C: ready
DRAM: 1024 MB
FLASH: 5 MB
PCI: Bus Dev VenId DevId Class Int
PCIE:1 successfully set as rootpoint
01 01 15b3 6282 0c06 00
In: serial
Out: serial
Err: serial
Net: ppc_4xx_eth0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20061212/914953a0/attachment.html>
More information about the general
mailing list