[ltp] 600E: serial + IR + sound + PC-modem = IRQ shortage

linux-thinkpad@www.bm-soft.com linux-thinkpad@www.bm-soft.com
Thu, 18 May 2000 14:47:14 -0400


I'm trying to set up a 600E (RedHat 6.2, kernel 2.2.14-5.0, PCMCIA utils 
3.1.14) with the following active:

	Serial A (for DTE connection as a serial console)
	Infrared (for Pilot infrared sync)
	Parallel (for printing)
	10/100Mb 3Com 3CCFE575B/3CXFE575B Fast EtherLink XL (work Ethernet)
	3Com/Megahertz 3CXEM556 Ethernet/Modem (modem use only)
	Alsa sound (for fun)

Right now, I've got most of the pieces working. The serial port (/dev/ttyS0) is
 
enabled and works. Printing works. The 10/100Mb ethernet PCMCIA card works.
Sound works.

The internal modem is disabled (via the Thinkpad utilites under Windows).

I'm having trouble with the Infrared port (an issue, but not critical), and the
 
PCMCIA modem (much more important).

When I insert the PCMCIA combo card, I get the "high/low" tones, and the
following errors are logged:
	kernel: 3c589_cs: RequestIRQ: Resource in use
	cardmgr[428]: get dev info on socket 1 failed: Resource temporarily una
vailable

I know that the card works (it was fine until I enabled the IR port). I
haven't found a way to force it to use another IRQ.

Does anyone have any suggestions?

----------------The Details-----------The Details---------The Details-----

According to PS2.EXE, the IRQ assignments are:
	Serial A: 4
	IR: 3

/proc/interrupts
           CPU0       
  	0:    2798774          XT-PIC  timer
  	1:      28406          XT-PIC  keyboard
  	2:          0          XT-PIC  cascade
  	5:          4          XT-PIC  CS4236+ - MPU401
  	8:    6279923          XT-PIC  rtc
 	10:     212417          XT-PIC  CS4236+
 	11:     260202          XT-PIC  i82365, eth0
 	12:     801107          XT-PIC  PS/2 Mouse
 	13:          1          XT-PIC  fpu
 	14:     432376          XT-PIC  ide0
 	15:      34797          XT-PIC  ide1
	NMI:          0

/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
	0220-022f : CS4236+ - SB
	02f8-02ff : serial(auto)
	0330-0331 : CS4236+ - MPU-401
	0376-0376 : ide1
	0388-038b : CS4236+ - FM
	03bc-03be : parport0
	03c0-03df : vga+
	03f6-03f6 : ide0
	03f8-03ff : serial(auto)
	0400-047f : cb_enabler
	0530-0533 : CS4236+
	0538-053f : CS4236+ - control
	fcf0-fcf7 : ide0
	fcf8-fcff : ide1

/etc/pcmcia/config.opts

	#
	# Local PCMCIA Configuration File
	#
	# System resources available for PCMCIA devices
	#
	include port 0x100-0x4ff, port 0x1000-0x17ff
	include memory 0xc0000-0xfffff
	include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
	#
	#
	# Extra port range for IBM Token Ring
	#
	include port 0xa00-0xaff
	#
	# Resources we should not use, even if they appear to be available
	#
	# First built-in serial port
	exclude irq 4
	exclude port 0x3f8-0x3ff
	# Second built-in serial port
	exclude irq 3
	exclude port 0x2f8-0x2ff
	# First built-in parallel port
	exclude irq 7
	# PS/2 Mouse controller port, comment this out if you don't have a PS/2
	# based mouse
	exclude irq 12
	#
	# Examples of options for loadable modules
	#
	# To fix sluggish network with IBM ethernet adapter...
	#module "pcnet_cs" opts "mem_speed=600"
	#
	# Options for Xircom Netwave driver...
	#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"
	#
	# Options for IBM Token Ring adapters
	#module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000"
	
	# Sound
	exclude irq 5
	exclude 0x230-0x233
	exclude 0x530-0x537
	exclude irq 9
	# Serial config for pcmcia modem
	module "serial_cs"

/etc/isapnp.gone
	#------------------------------------------------------------------
	#
	# /etc/isapnp.gone
	#
	#------------------------------------------------------------------
	#
	# $Id: isapnp.gone,v 1.3 2000/05/13 18:21:12 root Exp root $
	#
	# This file contains a list of ISA resources that are unavailable
	# for PnP allocation. This may be (for instance) because they are
	# standard motherboard resources, or because there is a non-PnP
	# ISA card using the resources, or a device driver hasn't been
	# loaded yet, so there is no sign of the resources being in use
	# in /proc/*
	#
	# This file should be editted to suit your local machine.
	#
	# Resources are:
	# IO base[, size] (default size 8 if ommitted)
	# IRQ n
	# DMA n
	# MEM base,size
	#
	#------------------------------------------------------------------
	#
	# Standard motherboard stuff
	#
	# COM1
	#
	#IO 0x3f8,8
	#IRQ 4
	#
	# COM2
	#
	#IO 0x2f8,8
	#IRQ 3
	#
	# Parallel
	#
	#IO 0x378,2
	IRQ 7
	#
	# PS2 mouse
	#
	#IRQ 12
	#
	# Sound
	IO 0x530,4
	IO 0x538,4
	IO 0x388,4
	IO 0x220,4
	IRQ 10
	IRQ 5
	DMA 1
	DMA 0

/etc/sysconfig/pcmcia
	PCMCIA=yes
	PCIC=i82365
	PCIC_OPTS='pci_csc=1 pci_int=1 poll_interval=100'
	CORE_OPTS=

dmesg|egrep -i "ser|irq"
	Memory: 159608k/162816k available (888k kernel code, 416k reserved, 186
0k 
data, 44k init, 0k bigmem)
	PIIX4: not 100% native mode: will probe irqs later
	ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
	ide1 at 0x170-0x177,0x376 on irq 15
	Serial driver version 4.27 with MANY_PORTS enabled
	ttyS00 at 0x03f8 (irq = 4) is a 16550A
	ttyS01 at 0x02f8 (irq = 3) is a 16550A
	Linux PCMCIA Card Services 3.1.14
	  00:02.0 -> irq 11
	  00:02.1 -> irq 11
	    host opts [0]: [ring] [isa irq] [pci irq 11] [lat 168/176] [bus 2/4
]
	    host opts [1]: [ring] [isa irq] [pci irq 11] [lat 168/176] [bus 5/7
]
	    ISA irqs (scanned) = 5,9 PCI status changes
	ppuser: User-space parallel port driver
	eth0: 3Com 3CCFE575 Cyclone CardBus at 0x400,  00:10:4b:f1:78:b1, IRQ 1
1
	3c589_cs: RequestIRQ: Resource in use

------
Mark Bergman    Biker, IATSE #1 Stagehand, Rock Climber, Unix mechanic
'94 Yamaha GTS1000A
bergman@panix.com

http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=bergman@panix.com

I want a newsgroup with a infinite S/N ratio! Now taking CFV on:
rec.motorcycles.stagehands.pet-bird-owners.pinballers.unix-supporters
5+ So Far--Want to join? Check out: http://www.panix.com/~bergman 
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html