[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: PROBLEM: IRQ of ISAPNP card is not where I put it with isapnp in 2.2.x kernel.
From: "Peter J. de Vrijer" <peter () pa3ebv ! cistron ! nl>
Date: 1999-01-31 21:11:39
[Download RAW message or body]
Description follows suggestion of Frohwalt Egerer.
Please keep me informed of fixes by including me in the CC list.
[1.] IRQ of ISAPNP card is not where I put it with isapnp in 2.2.x kernel.
[2.] I use a Eicon.Diehl Diva 2.01 ISDN card. It's a ISA PnP card.
In kernel 2.0.36 everything works fine. I put the io address at 0x260 and
the IRQ at 11 with isapnp. That goes without problems.
In the 2.2.x kernels (both 0 and 1 the same) I have the following problem:
Configuring with isapnp seems to go well. With PEEK after configuration
the io and IRQ is where I put it. Then I try to load the module with
the command "insmod hisax type=11 protocol=2 id=HiSax io=0x260 irq=11".
The module will not load with as error "init_module: Device or resource busy".
It will however load with the irq set to 4. It then seems to be loaded
properly but will not work (used as CAPI modem). I suspect the IRQ of the card
is still 11.
It also should not load with IRQ=4 because that's where my serial port is.
[3.] Keywords: ISA PNP, interrupts, modules, kernel 2.2.x
[4.] Linux version 2.2.1 (bin@pa3ebv.cistron.nl) (gcc version 2.7.2.3)
#5 Fri Jan 29 17:14:41 CET 1999
[5.] No Oops.
[6.] No shell script.
[7.1.] Output of ver_linux
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux pa3ebv.cistron.nl 2.2.1 #5 Fri Jan 29 17:14:41 CET 1999 i686 unknown
Kernel modules 2.1.121
Gnu C 2.7.2.3
Binutils 2.9.1
Linux C Library 2.0.7
Dynamic linker ldd: version 1.9.9
Linux C++ Library 2.8.0
Procps 1.2.9
Mount 2.7l
Net-tools (1998-03-02)
Kbd 0.94
Sh-utils 1.16
[7.2.] /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 267.277127
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx osfxsr
bogomips : 266.24
---
Motherboard is ASUS P2L97 AGP series with 128 MB SDRAM
Chipset is Intel 440LX AGPset
[7.3.] /proc/modules (with hisax module loaded at irq=4)
hisax 93876 0 (unused)
parport_probe 2848 0 (autoclean)
parport_pc 5052 2 (autoclean)
lp 4860 0
parport 6472 2 [parport_probe parport_pc lp]
ip_masq_vdolive 1008 0 (unused)
ip_masq_quake 1008 0 (unused)
ip_masq_cuseeme 776 0 (unused)
ip_masq_irc 1332 0 (unused)
ip_masq_raudio 2632 0 (unused)
ip_masq_ftp 2104 0 (unused)
isdn 67196 1 [hisax]
[7.4.] No SCSI compiled in the kernel (Only IDE in my system)
[7.5.] Entry in /var/log/messages after attempt with IRQ=11
Jan 31 16:39:19 pa3ebv kernel: HiSax: Driver for Siemens chip set ISDN cards
Jan 31 16:39:19 pa3ebv kernel: HiSax: Version 2.8
Jan 31 16:39:19 pa3ebv kernel: HiSax: Revisions 2.18/2.7/2.5/2.13/2.7
Jan 31 16:39:19 pa3ebv kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Jan 31 16:39:19 pa3ebv kernel: HiSax: Eicon.Diehl Diva driver Rev. 1.5
Jan 31 16:39:19 pa3ebv kernel: Diva: ISA card configured at 0x260 IRQ 11
Jan 31 16:39:19 pa3ebv kernel: Diva: ISAC version : 2085 B1
Jan 31 16:39:19 pa3ebv kernel: Diva: HSCX version A: ?14 B: ?14
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ 11 count 0
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ 11 count 0
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ(11) getting no interrupts during init 1
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ 11 count 0
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ(11) getting no interrupts during init 2
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ 11 count 0
Jan 31 16:39:19 pa3ebv kernel: Eicon.Diehl Diva: IRQ(11) getting no interrupts during init 3
Jan 31 16:39:19 pa3ebv kernel: HiSax: Card Eicon.Diehl Diva not installed !
---
Entry in /var/log/messages after loading with irq=4
Jan 28 16:12:16 pa3ebv kernel: HiSax: Driver for Siemens chip set ISDN cards
Jan 28 16:12:16 pa3ebv kernel: HiSax: Version 2.8
Jan 28 16:12:16 pa3ebv kernel: HiSax: Revisions 2.18/2.7/2.5/2.13/2.7
Jan 28 16:12:16 pa3ebv kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Jan 28 16:12:16 pa3ebv kernel: HiSax: Eicon.Diehl Diva driver Rev. 1.5
Jan 28 16:12:16 pa3ebv kernel: Diva: ISA card configured at 0x260 IRQ 4
Jan 28 16:12:16 pa3ebv kernel: Diva: ISAC version : 2085 B1
Jan 28 16:12:16 pa3ebv kernel: Diva: HSCX version A: ?14 B: ?14
Jan 28 16:12:16 pa3ebv kernel: Eicon.Diehl Diva: IRQ 4 count 0
Jan 28 16:12:16 pa3ebv kernel: Eicon.Diehl Diva: IRQ 4 count 1
Jan 28 16:12:16 pa3ebv kernel: HiSax: DSS1 Rev. 2.7
Jan 28 16:12:16 pa3ebv kernel: HiSax: 2 channels added
Jan 28 16:12:16 pa3ebv kernel: HiSax: module installed
(This looks normal, but card does'nt work)
---
/proc/interrupts
CPU0
0: 42477 XT-PIC timer
1: 923 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 45 XT-PIC eth0
4: 1 XT-PIC HiSax
7: 0 XT-PIC parport0
12: 355 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 3350 XT-PIC ide0
15: 9 XT-PIC ide1
NMI: 0
---
/proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0260-0267 : diva isdn
0376-0376 : ide1
0378-037a : parport1
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
b400-b41f : eth0
d800-d807 : ide0
d808-d80f : ide1
[8.1.] isapnp conffile used
# $Id: pnpdump.c,v 1.1.1.2 1998/01/07 05:17:47 fred Exp $
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of this file format, see isapnp.conf(5)
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DNEEDNANOSLEEP
#
# Trying port address 0203
# Board 1 has serial identifier 73 00 00 dc da a1 00 89 1c
# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 73 00 00 dc da a1 00 89 1c)
# Vendor Id GDI00a1, Serial Number 56538, checksum 0x73.
# Version 1.0, Vendor version 0.0
# ANSI string -->EICON DIVA 2.01 S/T ISA<--
#
# Logical device id GDI00a1
# Device support I/O range check register
#
# 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 GDI00a1/56538 (LD 0
# IRQ 3, 4, 5, 7, 10, 11, 12 or 15.
# High true, edge sensitive interrupt
(INT 0 (IRQ 11 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0200
# Maximum IO base address 0x03e0
# IO base alignment 32 bytes
# Number of IO addresses required: 8
(IO 0 (BASE 0x0260))
(ACT Y)
))
# End tag... Checksum 0x00 (OK)
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
[8.2.] ispnptools version used.
I tried 1.13, 1.16 and 1.17 all with the same result.
Stock DEBIAN and compiled under 2.0.36 and 2.2.x.
---
I hope one of you knows what to do with this report.
Greetings from Peter.
|===========================================================|
| Peter J. de Vrijer e-mail: peter@pa3ebv.cistron.nl |
| werk: pj.de.vrijer@chw.nl |
| And perhaps the horse will learn to sing |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic