- From: Ryan Hooper <ryan.hooper_at_emory.edu>
- Date: Wed, 27 Jul 2005 18:19:51 -0400
Quoting Andreas Leuner <al14_at_inf.tu-dresden.de>: > I also run a system with such a software base (although comedi stuff from > cvs and a rtai magma from beginning of this year) > After compiling a vanilla kernel with MTRR disabled, I went with CVS, too, since I had to rebuild the kernel, anyhow. The system still crashed/rebooted when I ran comedi_config /dev/comedi0 ni_pcimio, though, so it must not be a rtai dependency problem. > doesn't just 'modprobe ni_pcimio' work? That was a nice way to load those modules, works great. >> But as soon as I run >> comedi_config /dev/comedi0 ni_pcimio, my system reboots almost >> instantaneously (comedi0-15 are present in my /dev directory, I ran make >> dev when building comedi). > There are a few things you could try: > - use comedi_test driver instead of ni_pcimio. This one doesn't need a card Interestingly, that appears to work. I see this when I check dmesg: comedi1: comedi_test: 1000000 microvolt, 100000 microsecond waveform attached > - test the card on another pc > > - test the card with its accompanying software on a windows pc > I stuck the DAQ card in a windows machine with labview installed and ran some tests. The card seemed to work flawlessly; the system recognized it right away and handled digital and analog input and output just fine. > > That's quite a lot of modules. For realtime work you might disable those > of them (e.g. the sound related ones) you don't need. Also look in the > kernel configuration if you enabled mtrr support - if so, disable it. > I disabled sound and firewire in my BIOS and vanilla kernel config, but that didn't do the trick. Then I did a rmmod on everything that wouldn't crash the system before trying again, and still it crashed on comedi_config. Finally, I wiped my hard disk clean, installed Fedora Core 3, installed a vanilla 2.6.9 kernel, installed comedi/comedilib from CVS, and still comedi_config reboots the system. I tried the same for a kernel reconfigured for a uniprocessor. I'm curious, has anyone else managed to make comedi work on a computer with an Opteron, or any AMD64? I also wonder about my PCI bus, since I have 4X PCI-100MHz and 1X PCI-133MHz. At least the NI PCI-6052E is supposedly PCI 2.3 compliant (I tried moving the card to all the different PCI slots, no luck), but I wonder if comedi can handle those kind of busses. I still do get this in dmesg after I modprobe ni_pcimio, though: ......cut...... comedi: version 0.7.70 - David Schleef <ds_at_schleef.org> Available NI device IDs: 0x18b0 Anyone have any other thoughts? Regards, Ryan Hooper Emory University Biology Dpt. ryan.hooper_at_emory.edu
Received on 2005-07-27Z21:19:51