[Kittyhawk] torus

Jose Ant Aranda jaarandaz at gmail.com
Tue Oct 18 20:49:34 EDT 2011


Hello,

I'm trying the "linux-kh/documentation/bluegene/user_torus" user stub on 
kittyhawk linux (without virtualization, just using "testramdisk"). 
Unfortunately I'm getting a Kernel panic before the "init_rx" function 
finishes. The data dump is showed below.

-----------------------------
torus DMA test
torus descriptor opened
mmapping torus fifo (len=0x3000, offset=0x0)
torus descriptor mapped
rx DMA region allocated
torus IOCTL: cmd=2000540a, arg=7f95596c
register memory: start=30004000, size=1000
torus_remap_pte_fn: *pte=0, addr=30004000, oldpage=c1fb2b40, 
newpage=c100dd40 (2
ea14b), cnt=1, base=30004000, idx=0, entry=00000000
rx DMA region registred
torus IOCTL: cmd=20005402, arg=24000022
allocate_rx_counter: 0
rx counter allocated
Torus: torus reset(c80): 01417fff
Torus: number nodes(c81): 03030300
Torus: node coordinates(c82): 01000000
Torus: neighbour plus(c83): 02010100
Torus: neighbour minus(c84): 00030300
Torus: cutoff plus(c85): 04040400
Torus: cutoff minus(c86): 00000000
Torus: VC threshold(c87): 20202020
Torus: torus loopback(c92): 00000000
Torus: torus non-rec err(cdc): 00000000
Torus: dma reset(d00): 00000000
Torus: base ctrl(d01): 9f000000
Torus: inj min valid(d02): 00000000
Torus: inj max valid(d03): ffffffff
Torus: rec min valid(d14): 00000000
Torus: rec max valid(d15): ffffffff
Torus: inj min valid(d04): 00000001
Torus: inj max valid(d05): 00000000
Torus: rec min valid(d16): 00000001
Torus: rec max valid(d17): 00000000
Torus: inj min valid(d06): 00000001
Torus: inj max valid(d07): 00000000
Torus: rec min valid(d18): 00000001
Torus: rec max valid(d19): 00000000
Torus: inj min valid(d08): 00000001
Torus: inj max valid(d09): 00000000
Torus: rec min valid(d1a): 00000001
Torus: rec max valid(d1b): 00000000
Torus: inj min valid(d0a): 00000001
Torus: inj max valid(d0b): 00000000
Torus: rec min valid(d1c): 00000001
Torus: rec max valid(d1d): 00000000
Torus: inj min valid(d0c): 00000001
Torus: inj max valid(d0d): 00000000
Torus: rec min valid(d1e): 00000001
Torus: rec max valid(d1f): 00000000
Torus: inj min valid(d0e): 00000001
Torus: inj max valid(d0f): 00000000
Torus: rec min valid(d20): 00000001
Torus: rec max valid(d21): 00000000
Torus: inj min valid(d10): 00000001
Torus: inj max valid(d11): 00000000
Torus: rec min valid(d22): 00000001
Torus: rec max valid(d23): 00000000
Torus: inj fifo enable(d2c): 00000000
Torus: inj fifo enable(d2d): 00000000
Torus: inj fifo enable(d2e): 00000000
Torus: inj fifo enable(d2f): 00000001
Torus: rec fifo enable(d30): 00000001
Torus: rec hdr fifo enable(d31): 00000000
Torus: inj fifo prio(d32): 00000000
Torus: inj fifo prio(d33): 00000000
Torus: inj fifo prio(d34): 00000000
Torus: inj fifo prio(d35): ffffffff
Torus: remote get inj fifo threshold(d36): 00000000
Torus: remote get inj service quanta(d37): 00000000
Torus: rec fifo type(d38): 00000000
Torus: rec header fifo type(d39): 00000000
Torus: threshold rec type 0(d3a): 00001ff0
Torus: threshold rec type 1(d3b): 00000000
Torus: inj fifo map(d3c): 80808080
Torus: inj fifo map(d3d): 80808080
Torus: inj fifo map(d3e): 80808080
Torus: inj fifo map(d3f): 80808080
Torus: inj fifo map(d40): 80808080
Torus: inj fifo map(d41): 80808080
Torus: inj fifo map(d42): 80808080
Torus: inj fifo map(d43): 80808080
Torus: inj fifo map(d44): 80808080
Torus: inj fifo map(d45): 80808080
Torus: inj fifo map(d46): 80808080
Torus: inj fifo map(d47): 80808080
Torus: inj fifo map(d48): 80808080
Torus: inj fifo map(d49): 80808080
Torus: inj fifo map(d4a): 80808080
Torus: inj fifo map(d4b): 80808080
Torus: inj fifo map(d4c): 80808080
Torus: inj fifo map(d4d): 80808080
Torus: inj fifo map(d4e): 80808080
Torus: inj fifo map(d4f): 80808080
Torus: inj fifo map(d50): 80808080
Torus: inj fifo map(d51): 80808080
Torus: inj fifo map(d52): 80808080
Torus: inj fifo map(d53): 80808080
Torus: inj fifo map(d54): 80808080
Torus: inj fifo map(d55): 80808080
Torus: inj fifo map(d56): 80808080
Torus: inj fifo map(d57): 80808080
Torus: inj fifo map(d58): 80808080
Torus: inj fifo map(d59): 80808080
Torus: inj fifo map(d5a): 80808080
Torus: inj fifo map(d5b): 80808001
Torus: rec fifo map 00(d60): 1f1f1f1f
Torus: rec fifo map 00(d61): 1f1f1f1f
Torus: rec fifo map 01(d62): 1f1f1f1f
Torus: rec fifo map 01(d63): 1f1f1f1f
Torus: rec fifo map 10(d64): 1f1f1f1f
Torus: rec fifo map 10(d65): 1f1f1f1f
Torus: rec fifo map 11(d66): 1f1f1f1f
Torus: rec fifo map 11(d67): 1f1f1f1f
Torus: inj fifo irq enable grp0(d6d): 00000000
Torus: inj fifo irq enable grp1(d6e): 00000000
Torus: inj fifo irq enable grp2(d6f): 00000000
Torus: inj fifo irq enable grp3(d70): 00000000
Torus: rec fifo irq enable type0(d71): 00000001
Torus: rec fifo irq enable type1(d72): 00000000
Torus: rec fifo irq enable type2(d73): 00000000
Torus: rec fifo irq enable type3(d74): 00000000
Torus: rec hdr irq enable(d75): 00000000
Torus: inj cntr irq enable(d76): 00000001
Torus: inj cntr irq enable(d77): 00000000
Torus: inj cntr irq enable(d78): 00000000
Torus: inj cntr irq enable(d79): 00000000
Torus: rec cntr irq enable(d7a): ffffffff
Torus: rec cntr irq enable(d7b): 00000000
Torus: rec cntr irq enable(d7c): 00000000
Torus: rec cntr irq enable(d7d): 00000000
Torus: ce count inj fifo0(d8a): 00000000
Torus: ce count inj fifo1(d8b): 00000000
Torus: ce count inj counter(d8c): 00000000
Torus: ce count inj desc(d8d): 00000000
Torus: ce count rec fifo0(d8e): 00000000
Torus: ce count rec fifo1(d8f): 00000000
Torus: ce count rec counter(d90): 00000000
Torus: ce count local fifo0(d91): 00000000
Torus: ce count local fifo1(d92): 00000000
Torus: fatal error 0(d93): 00000000
Torus: fatal error 1(d94): 00000000
Torus: fatal error 2(d95): 00000000
Torus: fatal error 3(d96): 00000000
Torus: wr0 bad address(d97): 00000000
Torus: rd0 bad address(d98): 00000000
Torus: wr1 bad address(d99): 00000b08
Torus: rd1 bad address(d9a): 00000b08
Torus: imfu err 0(d9b): 00000000
Torus: imfu err 1(d9c): 00000000
Torus: rmfu err(d9d): 00000000
Torus: rd out-of-range(d9e): 00000000
Torus: wr out-of-range(d9f): 00000000
Torus: dbg dma warn(daf): 00380000
Kernel panic - not syncing: torus: DMA error (IRQ 116)

------------[ cut here ]------------
Badness at arch/powerpc/kernel/smp.c:204
Call Trace:
[c0321c60] [c000607c] show_stack+0x3c/0x1b0 (unreliable)
[c0321c90] [c0158b0c] report_bug+0x8c/0x110
[c0321ca0] [c000c9b8] program_check_exception+0x2b8/0x540
[c0321cc0] [c000e5f8] ret_from_except_full+0x0/0x4c
[c0321d80] [c0330000] irq_desc+0xae20/0xc000
[c0321dd0] [c000f5d0] smp_call_function+0x20/0x30
[c0321de0] [c002a7b4] panic+0x94/0x190
[c0321e30] [c01b528c] dma_error+0x2c/0x30
[c0321e50] [c0050530] handle_IRQ_event+0x60/0xb0
[c0321e70] [c005245c] handle_fasteoi_irq+0xac/0x1a0
[c0321e90] [c0004198] do_IRQ+0xd8/0x110
[c0321eb0] [c000e644] ret_from_except+0x0/0x18
[c0321f70] [c00070ac] cpu_idle+0xcc/0xe0
[c0321f90] [c02664c4] rest_init+0x54/0x70
[c0321fa0] [c02dbc44] start_kernel+0x314/0x390
[c0321ff0] [c00001f8] skpinv+0x1a0/0x1dc


More information about the Kittyhawk mailing list