Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

having issues while installing altpciechdma

I was trying to install altpciechdma on FC 11 64-bit. and then it shows this error?

can anybody tell why this error occurred or how to remove it.....?

Thanks

altpciechdma init(), built at Apr 6 2010 14:54:56

probe(dev = 0xffff88003e364000, pciid = 0xffffffffa029bd30)

serial=1

probe() ape = 0xffff8800229c6e40

serial=2

sizeof(struct ape_chdma_table) = 4096.

table_virt = ffff88002e932000, table_bus = 0x 2e932000.

altpciechdma 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

serial=3

altpciechdma 0000:01:00.0: setting latency timer to 64

enable pci master.

alloc irq_desc for 29 on cpu 0 node 0

alloc kstat_irqs on cpu 0 node 0

altpciechdma 0000:01:00.0: irq 29 for MSI/MSI-X

Enabled MSI interrupting.

Using a 64-bit DMA mask.

IRQ pin# 1 (0=none, 1=INTA#...4=INTD#).

IRQ line# 10.

Succesfully requested IRQ# 29 with dev_id 0xffff8800229c6e40

BAR0 0xd0000000-0xdfffffff flags 0x00020200

BAR1 0xcffc0000-0xcfffffff flags 0x00020200

BAR2 0xcff80000-0xcffbffff flags 0x00020200

entering to the loop for mapping of bars.

BAR[0] mapped at 0xffffc20021fb0000 with length 32768(/268435456).

BAR[2] mapped at 0xffffc200001e4000 with length 256(/262144).

before cdev

after cdev b4 dma engine.

dma read header.

dma write header.

temp values and few datas shown.

bar_tests(), PAGE_SIZE = 0x1000

write_header = 0xffffc200001e4000.

read_header = 0xffffc200001e4010.

&write_header->w3 = 0xffffc200001e400c

&read_header->w3 = 0xffffc200001e401c

ape->table_virt = 0xffff88002e932000.

Allocated cache-coherent DMA buffer (virtual address = ffff880021458000, bus address = 0x0000000021458000).

here in else

value of n after first descriptor=0

writing 0x000400ff to 0xffffc200001e4010

writing 0x00000000 to 0xffffc200001e4014

writing 0x2e932000 to 0xffffc200001e4018

Flush posted writes

value of n after flush poster writes=254

Start DMA read

writing 0x000000fe to 0xffffc200001e401c

EPLAST = 64222

POLL FOR READ:

EPLAST = 64222, n = 254

EPLAST = 15, n = 254

EPLAST = 31, n = 254

EPLAST = 47, n = 254

EPLAST = 64, n = 254

EPLAST = 80, n = 254

EPLAST = 97, n = 254

EPLAST = 113, n = 254

EPLAST = 130, n = 254

EPLAST = 146, n = 254

EPLAST = 162, n = 254

EPLAST = 179, n = 254

EPLAST = 195, n = 254

EPLAST = 212, n = 254

EPLAST = 228, n = 254

EPLAST = 244, n = 254

EPLAST = 254, n = 254

DONE# IRQs during transfer: 1

value of n inside poll for read=254

Start DMA write

POLL FOR WRITE:

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

EPLAST = 64222, n = 254

[ffff880021458000] = 0x21458000 [ffff88002145a000] = 0x21458000

[ffff880021458400] = 0x21458400 [ffff88002145a400] = 0x21458400

[ffff880021458800] = 0x21458800 [ffff88002145a800] = 0x21458800

[ffff880021458c00] = 0x21458c00 [ffff88002145ac00] = 0x21458c00

[ffff880021458d00] = 0x21458d00 != [ffff88002145ad00] = 0x214594e0 ?!

[ffff880021458d04] = 0x21458d04 != [ffff88002145ad04] = 0x214594e4 ?!

[ffff880021458d08] = 0x21458d08 != [ffff88002145ad08] = 0x214594e8 ?!

[ffff880021458d0c] = 0x21458d0c != [ffff88002145ad0c] = 0x214594ec ?!

[ffff880021458d10] = 0x21458d10 != [ffff88002145ad10] = 0x214594f0 ?!

[ffff880021458d14] = 0x21458d14 != [ffff88002145ad14] = 0x214594f4 ?!

[ffff880021458d18] = 0x21458d18 != [ffff88002145ad18] = 0x214594f8 ?!

[ffff880021458d1c] = 0x21458d1c != [ffff88002145ad1c] = 0x214594fc ?!

[ffff880021458d20] = 0x21458d20 != [ffff88002145ad20] = 0x21459500 ?!

---more errors follow! not printed---

DMA loop back test FAILED.

bar_tests() end, result -1

probe() successful.