- From: Alexander von Oertzen <Alexander.von_Oertzen_at_bam.de>
- Date: Thu, 19 Sep 2002 08:45:31 +0200
Hi,
I am working with a NI ATMIO 16-XE50 card on a Suse Linux 8.0 PC and I
had it working several times already (also with ktimetrace, everthing
fine). One thing which has not worked at all up to now was the
autoloading at boot time.
Right now I even get a message that no card was identified by
comedi_config and other strange things (no driver because no card, etc.)
even though isapnp did see it and activated it. Via isapnp I am able to
activate and deactivate my card. What is strange, however, is that I do
not see the changes in the /proc/ioports/ (though I have to admit, that
I saw them there before when it worked).
I would like to get the autoloading procedure cleanly working and it
seems I have to get some things fixed on my system. E. g. I am did not
understand when exactly the isapnp.conf is launched and why I always get
error messages on the first run (I have attached my isapnp.conf).
Could you please help me to implement the right sequence of loading
steps so that autoloading works?!
Below I have copied parts of a session and information relating to this
problem. I hope this is helpful so that you can identify my problem
without loosing much time.
Thank you
Alex
======================================================================
ws3878:/etc # lsmod
Module Size Used by Not tainted
ni_atmio 20736 0 (unused)
comedi 13864 0 [ni_atmio]
ipv6 123424 -1 (autoclean)
3c509 7808 1
isa-pnp 27816 0 [3c509]
lvm-mod 58016 0 (autoclean)
reiserfs 158816 2
ws3878:/etc # isapnp isapnp.atmio
Board 1 has Identity 9f 00 a5 ce 04 00 27 23 39: NIC2700 Serial No
10866180 [checksum 9f]
Board 2 has Identity b2 af a4 ba 44 94 50 6d 50: TCM5094 Serial No
2946808388 [checksum b2]
NIC2700/10866180[0]{National Instruments, AT-MIO-16XE-50}: Port 0x100;
IRQ12 --- Enabled OK
ws3878:/etc # /usr/sbin/comedi_config /dev/comedi0 ni_atmio 0x0100,12
Configure failed!: Input/output error
Check kernel log for more information
Possible reasons for failure:
Driver not found
ws3878:/etc #
from /var/log/warn:
Sep 19 08:01:49 ws3878 kernel: comedi0: ni_atmio: 0x0100 unknown device
ID 204 -
- contact author
Sep 19 08:05:10 ws3878 kernel: comedi0: ni_atmio: 0x0100 can't find board
some more information:
ws3878:/etc # cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0210-021f : 3c509 PnP
0233-0233 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
e800-e80f : PCI device 8086:7010
e800-e807 : ide0
e808-e80f : ide1
ws3878:/etc #
ws3878:/etc #
ws3878:/etc # cat /proc/interrupts
CPU0
0: 411858 XT-PIC timer
1: 3780 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 26035 XT-PIC serial
5: 6 XT-PIC eth0
8: 2 XT-PIC rtc
14: 20772 XT-PIC ide0
15: 1229 XT-PIC ide1
NMI: 0
ERR: 0
ws3878:/etc #
--
A. von Oertzen
030 - 8104 - 3478
Laboratorium II.32, "Pyrotechnik"
Bundesanstalt für Materialforschung und -prüfung
Unter den Eichen 87
12205 Berlin
# $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
# Release isapnptools-1.26
#
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of the output file format, see isapnp.conf(5)
#
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DHAVE_PROC -DENABLE_PCI -DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE
#
# Trying port address 0273
# Board 1 has serial identifier 9f 00 a5 ce 04 00 27 23 39
# (DEBUG)
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
# Card 1: (serial identifier 9f 00 a5 ce 04 00 27 23 39)
# Vendor Id NIC2700, Serial Number 10866180, checksum 0x9F.
# Version 1.0, Vendor version 0.0
# ANSI string -->National Instruments, AT-MIO-16XE-50<--
#
# Logical device id NIC2700
# Device supports I/O range check register
# Device supports vendor reserved register _at_ 0x38
# Device supports vendor reserved register _at_ 0x3a
# Device supports vendor reserved register _at_ 0x3b
# Device supports vendor reserved register _at_ 0x3d
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE NIC2700/10866180 (LD 0
# Multiple choice time, choose one only !
# Start dependent functions: priority acceptable
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0020
# Maximum IO base address 0xffe0
# IO base alignment 32 bytes
# Number of IO addresses required: 32
(IO 0 (SIZE 32) (BASE 0x0100) (CHECK))
# IRQ 3, 4, 5, 7, 10, 11, 12 or 15.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 12 (MODE +E)))
# First DMA channel 5, 6 or 7.
# 16 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 5))
# Next DMA channel 5, 6 or 7.
# 16 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
# Start dependent functions: priority acceptable
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0020
# Maximum IO base address 0xffe0
# IO base alignment 32 bytes
# Number of IO addresses required: 32
# (IO 0 (SIZE 32) (BASE 0x0020) (CHECK))
# IRQ 3, 4, 5, 7, 10, 11, 12 or 15.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))
# First DMA channel 5, 6 or 7.
# 16 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 5))
# Start dependent functions: priority acceptable
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0020
# Maximum IO base address 0xffe0
# IO base alignment 32 bytes
# Number of IO addresses required: 32
# (IO 0 (SIZE 32) (BASE 0x0020) (CHECK))
# IRQ 3, 4, 5, 7, 10, 11, 12 or 15.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))
# Start dependent functions: priority acceptable
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0020
# Maximum IO base address 0xffe0
# IO base alignment 32 bytes
# Number of IO addresses required: 32
# (IO 0 (SIZE 32) (BASE 0x0020) (CHECK))
# *** ERROR *** No IRQ specified!
# End dependent functions
(NAME "NIC2700/10866180[0]{National Instruments, AT-MIO-16XE-50}")
(ACT Y)
))
#
# Logical device id NIC2700
# Device supports vendor reserved register _at_ 0x38
# Device supports vendor reserved register _at_ 0x39
# Device supports vendor reserved register _at_ 0x3c
# Device supports vendor reserved register _at_ 0x3d
# Device supports vendor reserved register _at_ 0x3e
# Device supports vendor reserved register _at_ 0x3f
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
#(CONFIGURE NIC2700/10866180 (LD 1
# Multiple choice time, choose one only !
# Start dependent functions: priority acceptable
# First DMA channel 5, 6 or 7.
# 16 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 5))
# Start dependent functions: priority acceptable
# *** ERROR *** No DMA channel specified!
# 16 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 4))
# End dependent functions
# Vendor defined tag: 72 00 01
# (NAME "NIC2700/10866180[1]{National Instruments, AT-MIO-16XE-50}")
# (ACT Y)
#))
# End tag... Checksum 0x00 (OK)
#
# eth card stuff deleted here...
Received on 2002-09-19Z05:45:31