Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 01:40:37 +0200
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        Warner Losh <imp@harmony.village.org>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: MFC: ISA routing support [REPORT]
Message-ID:  <20010829014037.A551@v-ger.we.lc.ehu.es>
In-Reply-To: <200108260507.f7Q570W08734@harmony.village.org>; from imp@harmony.village.org on Sat, Aug 25, 2001 at 11:06:59PM -0600
References:  <200108260507.f7Q570W08734@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello Warner,

I have just updated my laptop (Dell Inspiron 3700) to 4.4-RC. Well, the
new PCI irq routing seems to work. However, I have two questions:

1. On this machine, IRQ 11 is shared among the VGA, pcic0, pcic1 and the
   USB controller. Now, when I insert my PCMCIA modem card, it also gets
   IRQ 11 assigned. I know that the PCI bus supports irq sharing, but...
   should I worry about sio(4) _also_ sharing IRQ 11?

2. When using PCI irq routing, I see this message after inserting my modem
   card:

     sio2: unable to activate interrupt in fast mode - using normal mode

   However, if I set hw.pcic.intr_path=1, that message does not appear. Is
   this the expected behavior?

Attached you can find the "boot -v" output, the messages shown when I
insert/remove the modem card, and the output of "pciconf -l". Maybe you
could find this information valuable.

BTW, here is yet another entry for pccard.conf:

# Xircom CreditCard Modem
card "Xircom" "Modem 56 V3"
	config  auto "sio" ?

Cheers,
  JMA
-- 
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="boot-v.txt"

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-RC #0: Tue Aug 28 19:34:07 CEST 2001
    toor@v-ger.we.lc.ehu.es:/usr/obj/usr/src/sys/V-GER
Calibrating clock(s) ... TSC clock: 431390545 Hz, i8254 clock: 1193214 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium II/Pentium II Xeon/Celeron (431.38-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134066176 (130924K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002c9000 - 0x07fd2fff, 131112960 bytes (32010 pages)
avail memory = 127885312 (124888K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xc0ae
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
pnpbios: Event flag at 4b4
Other BIOS signatures found:
ACPI: 000f42a0
Preloaded elf kernel "kernel" at 0xc02a3000.
Preloaded elf module "snd_maestro.ko" at 0xc02a30a8.
Preloaded elf module "snd_pcm.ko" at 0xc02a314c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003ac0
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
Using $PIR table, 6 entries at 0xc00fbd20
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x7190, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base f4000000, size 26
found->	vendor=0x8086, dev=0x7191, revid=0x03
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x104c, dev=0xac1c, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
found->	vendor=0x104c, dev=0xac1c, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
found->	vendor=0x8086, dev=0x7110, revid=0x02
	class=06-80-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 00000860, size  4
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=11
	map[20]: type 1, range 32, base 0000dce0, size  5
found->	vendor=0x8086, dev=0x7113, revid=0x02
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[90]: type 1, range 32, base 00000840, size  4
found->	vendor=0x125d, dev=0x1978, revid=0x10
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
	map[10]: type 1, range 32, base 0000d800, size  8
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x1002, dev=0x4c4d, revid=0x64
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base fd000000, size 24
	map[14]: type 1, range 32, base 0000ec00, size  8
	map[18]: type 1, range 32, base fcfff000, size 12
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> (vendor=0x1002, dev=0x4c4d) at 0.0 irq 11
pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
	using shared irq11.
pccard1: <PC Card bus (classic)> on pcic1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0860
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-slave: ATAPI probe a=00 b=00
ata0-master: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0868
ata1: mask=03 status0=50 status1=00
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI probe a=14 b=eb
ata1-slave: ATAPI probe a=7f b=7f
ata1: mask=03 status0=00 status1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0x840-0x84f at device 7.3 on pci0
pcm0: <ESS Technology Maestro-2E> port 0xd800-0xd8ff irq 5 at device 8.0 on pci0
setmap (f000, 4000), nseg=1, error=0
pcm0: Maestro DMA base: 0xf000
pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723)
pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
pcm0: ac97 primary codec extended features AMAP
setmap (17000, 4000), nseg=1, error=0
pcm0: pch[0].offset = 0x8000
setmap (1f000, 4000), nseg=1, error=0
pcm0: pch[1].offset = 0x10000
setmap (27000, 4000), nseg=1, error=0
pcm0: pch[2].offset = 0x18000
setmap (2f000, 4000), nseg=1, error=0
pcm0: pch[3].offset = 0x20000
pcic-: pcic0 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
psm0: <PS/2 Mouse> flags 0x100 irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0-00, 2 buttons
psm0: config:00000100, flags:00000000, packet size:3
psm0: syncmask:00, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
vga0: vga: WARNING: video mode switching is not fully supported on this adapter
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 e7 73 4f 4f 97 52 83 
b4 1f 00 4f 0d 0e 00 00 07 80 91 87 8f 28 1f 8f 
b5 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 e7 73 4f 4f 97 52 83 
b4 1f 00 4f 0d 0e 00 00 07 80 91 87 8f 28 1f 8f 
b5 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic2 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
sio0: irq maps: 0x201 0x211 0x201 0x201
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1: irq maps: 0x201 0x209 0x201 0x201
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:024efe3f 0..590=591 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
ata0-master: success setting UDMA2 on Intel chip
Creating DISK ad0
ad0: <IBM-DBCA-204860/BC3OA8DF> ATA-4 disk at ata0-master
ad0: 4645MB (9514260 sectors), 10068 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ad0: 4645MB <IBM-DBCA-204860> [10068/15/63] at ata0-master UDMA33
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <TOSHIBA CD-ROM XM-1902B/1A15> CDROM drive at ata1 as master
acd0: read 4134KB/s (4134KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/ad0s3a
ad0s1: type 0x6, start 8466255, end = 9510479, size 1044225 : OK
ad0s2: type 0x84, start 63, end = 289169, size 289107 : OK
ad0s3: type 0xa5, start 289170, end = 8466254, size 8177085 : OK
start_init: trying /sbin/init

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pccard-ins.txt"

pcic0: Event mask 0x2 stat 0x30000084
pcic0: Event mask 0x2 stat 0x30000086
pcic0: Event mask 0x6 stat 0x30000410
pccard: card inserted, slot 0
pcic0: Event mask 0x9 stat 0x30000419
sio-: sio0 exists, using next available unit number
pccard0: Assigning sio2: io 0x2e8-0x2ef irq 11 mem 0x0-0xffffffff
pcic: I/O win 0 flags 17 2e8-2ef
pcic: I/O win 0 flags 7 2e8-2ef
sio2 at port 0x2e8-0x2ef irq 11 slot 0 on pccard0
pcic: I/O win 0 flags 17 2e8-2ef
sio2: type 16550A
sio2: Forcing IRQ to 11
sio2: unable to activate interrupt in fast mode - using normal mode

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pccard-rmv.txt"

pcic0: Event mask 0x6 stat 0x3000005f
pcic: I/O win 0 flags 7 2e8-2ef
sio2: unloaded
sio2: detached
pccard: card removed, slot 0
pcic0: Event mask 0x2 stat 0x300000cd
pcic0: Event mask 0xa stat 0x30000086

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pciconf.txt"

chip0@pci0:0:0:	class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00
pcib1@pci0:1:0:	class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01
pcic0@pci0:3:0:	class=0x060700 card=0x00ab1028 chip=0xac1c104c rev=0x01 hdr=0x02
pcic1@pci0:3:1:	class=0x060700 card=0x00ab1028 chip=0xac1c104c rev=0x01 hdr=0x02
isab0@pci0:7:0:	class=0x068000 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00
atapci0@pci0:7:1:	class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00
none0@pci0:7:2:	class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00
chip1@pci0:7:3:	class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00
pcm0@pci0:8:0:	class=0x040100 card=0x00ab1028 chip=0x1978125d rev=0x10 hdr=0x00
none1@pci1:0:0:	class=0x030000 card=0x00ab1028 chip=0x4c4d1002 rev=0x64 hdr=0x00

--gKMricLos+KVdGMg--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010829014037.A551>