[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: isapnp problems?



On Sat, Dec 04, 1999 at 12:07:01PM -0500, Marshal Wong wrote:
> You may want to remove the (CHECK) from the end of the lines which
> configure the IO addresses.  If you could send me the error messages,
> I could tell you for sure.  Actually, you're whole isapnp.conf file
> would be helpful too.
> 
> Marshal


Thanks for the help.
Here`s the error message:
----------------------------------------------------------------------------
IRQ 0 in use
IRQ 1 in use
IRQ 2 in use
IRQ 10 in use
IRQ 12 in use
IRQ 13 in use
IRQ 14 in use
Board 1 has Identity 98 12 34 56 78 20 41 eb 49:  ROK4120 Serial No 305419896 [checksum 98]
Board 2 has Identity e5 ff ff ff ff 70 00 8c 0e:  CTL0070 Serial No -1 [checksum e5]
/etc/isapnp.conf:48 -- Fatal - resource conflict allocating 8 bytes of IO at 3E8 (see /proc/ioports)
/etc/isapnp.conf:48 -- Fatal - IO range check attempted while device activated
/etc/isapnp.conf:48 -- Fatal - Error occurred executing request '<IORESCHECK ' --- further action aborted
----------------------------------------------------------------------------

And here`s isapnp.conf:

----------------------------------------------------------------------------

# $Id: pnpdump.c,v 1.19 1999/10/16 15:17:17 fox Exp $
# Release isapnptools-1.19
# 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 and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR
#
# Trying port address 0273
# Board 1 has serial identifier 98 12 34 56 78 20 41 eb 49
# Board 2 has serial identifier e5 ff ff ff ff 70 00 8c 0e

# (DEBUG)
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier 98 12 34 56 78 20 41 eb 49)
# Vendor Id ROK4120, Serial Number 305419896, checksum 0x98.
# ANSI string -->28.8Modem<--
# Version 1.0, Vendor version 0.0
#
# Logical device id ROK4120
#     Device supports I/O range check register
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3b
#     Device supports vendor reserved register @ 0x3c
#     Device supports vendor reserved register @ 0x3e
#     Device supports vendor reserved register @ 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 r
equired
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ROK4120/305419896 (LD 0

# Multiple choice time, choose one only !

#     Start dependent functions: priority acceptable
#       Fixed IO base address 0x03e8
#             Number of IO addresses required: 8
 (IO 0 (SIZE 8) (BASE 0x03e8) (CHECK))
#       IRQ 5.
#             High true, level sensitive interrupt
 (INT 0 (IRQ 5 (MODE +L)))

#       Start dependent functions: priority acceptable
#       Fixed IO base address 0x02e8
#             Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x02e8) (CHECK))
#       IRQ 3.
#             High true, level sensitive interrupt
# (INT 0 (IRQ 3 (MODE +L)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 10 bit IO address lines
#             Minimum IO base address 0x0100
#             Maximum IO base address 0x03f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0100) (CHECK))
#       IRQ 3, 4, 5, 6 or 7.
#             High true, level sensitive interrupt
# (INT 0 (IRQ 3 (MODE +L)))

#     End dependent functions
 (NAME "ROK4120/305419896[0]{28.8Modem           }")
 (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Card 2: (serial identifier e5 ff ff ff ff 70 00 8c 0e)
# Vendor Id CTL0070, No Serial Number (-1), checksum 0xE5.
#     Version 1.0, Vendor version 1.0
#     ANSI string -->Creative ViBRA16C PnP<--
#
# Logical device id CTL0001
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3b
#     Device supports vendor reserved register @ 0x3c
#     Device supports vendor reserved register @ 0x3e
#     Device supports vendor reserved register @ 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 r
equired
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL0070/-1 (LD 0
#     ANSI string -->Audio<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1.
#             8 bit DMA only
#             Logical device is a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
#       Next DMA channel 5.
#             16 bit DMA only
#             Logical device is 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))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0220
#             IO base alignment 1 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 1 bytes
#             Number of IO addresses required: 2
# (IO 1 (SIZE 2) (BASE 0x0330))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
# (IO 2 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
#       Next DMA channel 5 or 7.
#             16 bit DMA only
#             Logical device is a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             Number of IO addresses required: 4
# (IO 2 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1 or 3.
#             8 bit DMA only
#             Logical device is a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
#       Next DMA channel 5 or 7.
#             16 bit DMA only
#             Logical device is 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))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
# (IO 1 (SIZE 2) (BASE 0x0300))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1 or 3.
#             8 bit DMA only
#             Logical device is a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
#       Next DMA channel 5 or 7.
#             16 bit DMA only
#             Logical device is 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))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1 or 3.
#             8 bit DMA only
#             Logical device is a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
# (IO 1 (SIZE 2) (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
# (IO 2 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1 or 3.
#             8 bit DMA only
#             Logical device is a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))

#     End dependent functions
 (NAME "CTL0070/-1[0]{Audio               }")
# (ACT Y)
))
#
# Logical device id CTL7001
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3b
#     Device supports vendor reserved register @ 0x3c
#     Device supports vendor reserved register @ 0x3e
#     Device supports vendor reserved register @ 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 CTL0070/-1 (LD 1
#     Compatible device id PNPb02f
#     ANSI string -->Game<--
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0200
#         Maximum IO base address 0x0200
#         IO base alignment 1 bytes
#         Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0200))
 (NAME "CTL0070/-1[1]{Game                }")
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

----------------------------------------------------------------------------

I haven`t tried removing CHECK yet, hoping someone can throw some more light on the situation first. I have to admit that trying to understand IOs and IRQs makes my brain bleed!

Thanks again

Paul





> From: <paul@dial.pipex.com>
> Subject: isapnp problems?
> Date: Sat, 4 Dec 1999 08:56:36 +0000
> 
> > Sorry for the legth of this one.
> > I`m using potato and a 2.2.13 kernel. I`ve had a working modem for ages under slink, but a floppy and an ethernet card that refused to work because of irq and io errors so last night I tried to sort it out finally. It seems that pnpdump --config had grabbed the floppy`s irq for the modem so I just did a fresh pnpdump without uncommenting isapnp.conf and the floppy worked fine. However when I tried to reconfigure the modem it only gave me the option of irq3 which didn`t work or irq5 which was taken by the network card.
> > After a lot of reading and teeth gnashing I gave up and removed the ethernet card as it is unessential so as to put the modem back on irq5 where it always was before. Now on boot isapnp tells me that that there`s a fatal error trying to check the io because it`s already in use but the modem works fine.
> > Is the kernel already doing isapnp`s job and if so can I get rid of isapnp altogether or am I misunderstanding something again. :-)
> > 
> > Thanks 
> > 
> > Paul 

 

-- 
Paul Walton                 * Powered by *             
Cambridge                * Debian GNU Linux *           
U.K.                   * http://www.debian.org *
  * PGP Public Key: http://pgp5.ai.mit.edu/ *

Attachment: pgpJGcD6L_ZPG.pgp
Description: PGP signature


Reply to: