comedi-0.7.68 with cb_pcidas64 cmd doesn't read data

Hi, all,

there's one more problem I cannot solve, maybe related to my previous mail:

Configuration: PCI-DAS 4020, comedi-version 0.7.68, Kernel 2.4.23

Now testing without RTAI:

Demo-programs inp and insn obviously read correct values.

Program cmd doesn't read any data at all, but deliveres all 0 values.

As mentioned before, every 2nd try it hangs in read() and, even worse, 
now it chashed my system totally;-(

Any Idea? I urgently need a solution!

Many Thanks

Stephan

--- Logfile and program output ---

#./cmd
command before testing:
start:      now      0
scan_begin: timer    1000000
convert:    timer    0
scan_end:   count    4
stop:       count    1000
first test returned 0 (success)
start:      now      0
scan_begin: timer    1000000
convert:    timer    0
scan_end:   count    4
stop:       count    1000
second test returned 0 (success)
start time: 1092837024.749759

Aug 18 15:50:24 shuttlex kernel: intr enable bits 0x4080
Aug 18 15:50:24 shuttlex kernel: convert counter 0x9c3e
Aug 18 15:50:24 shuttlex kernel: scan counter 0x0
Aug 18 15:50:24 shuttlex kernel: intr enable bits 0xc688
Aug 18 15:50:24 shuttlex kernel: cb_pcidas64: hw status 0x2080 plx 
status 0xf0d8d03
Aug 18 15:50:24 shuttlex kernel: adc done interrupt
Aug 18 15:50:24 shuttlex kernel: pio fifo drain
Aug 18 15:50:24 shuttlex kernel: exiting handler
Aug 18 15:50:24 shuttlex kernel: control1 bits 0x2c41
Aug 18 15:50:24 shuttlex kernel: control0 bits 0x8015
Aug 18 15:50:24 shuttlex kernel: soft trig
Aug 18 15:50:24 shuttlex kernel: cb_pcidas64: hw status 0x2008 plx 
status 0xf0d8d03
Aug 18 15:50:24 shuttlex kernel: exiting handler


0 0 0 0
0 0 0 0
.....
0 0 0 0
end time: 1092837041.142039
time: 16.392280

Aug 18 15:50:41 shuttlex kernel: cb_pcidas64: hw status 0x2c08 plx 
status 0xf4d0d03
Aug 18 15:50:41 shuttlex kernel: dma1 status 0x1
Aug 18 15:50:41 shuttlex kernel: next buffer addr 0x1359e000
Aug 18 15:50:41 shuttlex kernel: pci addr reg 0x1359e000
Aug 18 15:50:41 shuttlex kernel:  cleared dma ch1 interrupt
Aug 18 15:50:41 shuttlex kernel: exiting handler
Aug 18 15:50:41 shuttlex kernel: cb_pcidas64: hw status 0x2c08 plx 
status 0xf4d0d03
Aug 18 15:50:41 shuttlex kernel: dma1 status 0x1
Aug 18 15:50:41 shuttlex kernel: next buffer addr 0x18aed000
Aug 18 15:50:41 shuttlex kernel: pci addr reg 0x18aed000
Aug 18 15:50:41 shuttlex kernel:  cleared dma ch1 interrupt
Aug 18 15:50:41 shuttlex kernel: intr enable bits 0x4080
Aug 18 15:50:41 shuttlex kernel: ai canceled
Aug 18 15:50:41 shuttlex kernel: exiting handler
Aug 18 15:50:41 shuttlex kernel: cb_pcidas64: hw status 0x2c00 plx 
status 0xf4d0d03
Aug 18 15:50:41 shuttlex kernel: dma1 status 0x10
Aug 18 15:50:41 shuttlex kernel:  cleared dma ch1 interrupt
Aug 18 15:50:41 shuttlex kernel: exiting handler

Received on 2004-08-18Z13:00:25