Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 13:31:29 -0400
From:      Chip Marshall <chip@chocobo.cx>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: PCMCIA Problems with sio and wi
Message-ID:  <20021022173128.GA5868@chocobo.cx>
In-Reply-To: <20021022.095003.79284184.imp@bsdimp.com>
References:  <20021022142437.GA697@chocobo.cx> <20021022.095003.79284184.imp@bsdimp.com>

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

--H+4ONPRPur6+Ovig
Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH"
Content-Disposition: inline


--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On October 22, 2002, M. Warner Losh sent me the following:
> That should be fine.  There's only one interrupt pin on these
> bridges.  Maybe you could run with ISA interrupts instead of the
> default PCI interrupts for the chip.  However, without dmesg it is
> hard to know for sure.

I'll attach a dmesg output to this message, hopefully that'll help. I
tried dropped hw.pcic.intr_path=3D1 into loader.conf and rebooting. That
seems to have helped, though I'm not 100% the wi card is happy right
now, since I don't have an AP here to test with.

> Do you get these problems all the time, or just some of the time.  Are
> both of them in use all the time?  Maybe we have a starvation
> situation here.  The wi driver's ISR is very piggy when it comes to
> hogging the CPU.

The problems occured while I was at home using the wireless ethernet
and attempted to talk to my GPS via the serial card. If I wasn't
talking to the serial device it seemed to do okay.

--=20
Chip Marshall <chip@chocobo.cx>           http://www.chocobo.cx/chip/
GCM/CS d+(-) s+:++ a21>? C++ UB++++$ P+++$ L- E--- W++ N@ o K- w O M+
V-- PS+ PE Y+ PGP++ t+@ R@ tv@ b++@ DI++++ D+(-) G++ e>++ h>++ r++ y?

--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.txt"
Content-Transfer-Encoding: quoted-printable

Copyright (c) 1992-2002 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.7-STABLE #6: Thu Oct 10 21:57:09 EDT 2002
    root@tonberry.chocobo.cx:/usr/obj/usr/src/sys/TONBERRY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1126.83-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x6b1  Stepping =3D 1
  Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  =3D 267911168 (261632K bytes)
avail memory =3D 256958464 (250936K bytes)
Preloaded elf kernel "kernel" at 0xc039c000.
Preloaded elf module "linux.ko" at 0xc039c09c.
Preloaded elf module "agp.ko" at 0xc039c13c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82830 host to AGP bridge> mem 0xe0000000-0xefffffff at device =
0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=3D8086 device=3D3576)> at device 1.0 on p=
ci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c59 graphics accelerator> at 0.0 irq 9
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f i=
rq 9 at device 29.0 on pci0
uhci0: LegSup =3D 0x0000003b
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2
uhub1: 4 ports with 4 removable, self powered
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.21, addr 3,=
 iclass 3/1
ums0: 5 buttons and Z dir.
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/12.00, addr 4, iclass 3/1
kbd1 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/12.00, addr 4, iclass 3/0
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f i=
rq 9 at device 29.1 on pci0
uhci1: LegSup =3D 0x00000010
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f a=
t device 29.2 on pci0
pci_cfgintr_search: linked (0) to configured irq 9 at 0:29:1
pci_cfgintr: 0:29 INTC routed to irq 9
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.83, addr 2
pcib2: <PCI to PCI bridge (vendor=3D8086 device=3D2448)> at device 30.0 on =
pci0
pci2: <PCI bus> on pcib2
pci2: <unknown card> (vendor=3D0x104c, dev=3D0x8021) at 2.0
pcic0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 3 at device 5.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci_cfgintr_search: linked (0) to configured irq 3 at 2:5:0
pci_cfgintr: 2:5 INTB routed to irq 3
pcic1: <Ricoh RL5C476 PCI-CardBus Bridge> irq 3 at device 5.1 on pci2
pcic1: PCI Memory allocated: 0x88001000
pccard1: <PC Card 16-bit bus (classic)> on pcic1
fxp0: <Intel Pro/100 Ethernet> port 0x4000-0x403f mem 0xd0204000-0xd0204fff=
 irq 9 at device 8.0 on pci2
fxp0: Ethernet address 08:00:46:43:0f:08
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=3D8086 device=3D248c)> at device 31.0 on =
pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0x1860-0x186f,0x374-0x377,0x17=
0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1880-0x189f at devi=
ce 31.3 on pci0
pci_cfgintr_search: linked (0) to configured irq 3 at 2:5:0
pci_cfgintr: 0:31 INTB routed to irq 3
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2485) at 31.5 irq 9
pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2486) at 31.6
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd8000-0xdbfff,0xdc000-0xdfff=
f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
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/15 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
spic0: device model type =3D 2
spic0: <Sony Programmable I/O Controller> at port 0x10a0-0x10a4 on isa0
IPsec: Initialized Security Association Processing.
ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA100
acd0: CD-RW <HL-DT-ST CD-RW/DVD DRIVE GCC-4080N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
drm0: <ATI Radeon LY Mobility 6 (AGP)> port 0x3000-0x30ff mem 0xd0100000-0x=
d010ffff,0xd8000000-0xdfffffff irq 9 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
pccard: card inserted, slot 0
sio1 at port 0x2f8-0x2ff irq 3 flags 0x40000 slot 0 on pccard0
sio1: type 16550A
sio1: unable to activate interrupt in fast mode - using normal mode
pccard: card inserted, slot 1
wi0 at port 0x240-0x27f irq 3 slot 1 on pccard1
wi0: 802.11 address: 00:04:e2:0e:46:4f
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary 0.03.00, Station 0.07.06
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 19 5 3=20
done
Copyright (c) 1992-2002 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.7-STABLE #6: Thu Oct 10 21:57:09 EDT 2002
    root@tonberry.chocobo.cx:/usr/obj/usr/src/sys/TONBERRY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1126.83-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x6b1  Stepping =3D 1
  Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  =3D 267911168 (261632K bytes)
avail memory =3D 256958464 (250936K bytes)
Preloaded elf kernel "kernel" at 0xc039c000.
Preloaded elf module "linux.ko" at 0xc039c09c.
Preloaded elf module "agp.ko" at 0xc039c13c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82830 host to AGP bridge> mem 0xe0000000-0xefffffff at device =
0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=3D8086 device=3D3576)> at device 1.0 on p=
ci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c59 graphics accelerator> at 0.0 irq 9
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f i=
rq 9 at device 29.0 on pci0
uhci0: LegSup =3D 0x0000003b
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2
uhub1: 4 ports with 4 removable, self powered
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.21, addr 3,=
 iclass 3/1
ums0: 5 buttons and Z dir.
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/12.00, addr 4, iclass 3/1
kbd1 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/12.00, addr 4, iclass 3/0
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f i=
rq 9 at device 29.1 on pci0
uhci1: LegSup =3D 0x00000010
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f a=
t device 29.2 on pci0
pci_cfgintr_search: linked (0) to configured irq 9 at 0:29:1
pci_cfgintr: 0:29 INTC routed to irq 9
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.83, addr 2
pcib2: <PCI to PCI bridge (vendor=3D8086 device=3D2448)> at device 30.0 on =
pci0
pci2: <PCI bus> on pcib2
pci2: <unknown card> (vendor=3D0x104c, dev=3D0x8021) at 2.0
pcic0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 3 at device 5.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pcic0: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <Ricoh RL5C476 PCI-CardBus Bridge> irq 0 at device 5.1 on pci2
pcic1: PCI Memory allocated: 0x88001000
pcic1: Polling mode
pccard1: <PC Card 16-bit bus (classic)> on pcic1
fxp0: <Intel Pro/100 Ethernet> port 0x4000-0x403f mem 0xd0204000-0xd0204fff=
 irq 9 at device 8.0 on pci2
fxp0: Ethernet address 08:00:46:43:0f:08
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=3D8086 device=3D248c)> at device 31.0 on =
pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0x1860-0x186f,0x374-0x377,0x17=
0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1880-0x189f at devi=
ce 31.3 on pci0
pci_cfgintr_search: linked (0) to configured irq 3 at 2:5:0
pci_cfgintr: 0:31 INTB routed to irq 3
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2485) at 31.5 irq 9
pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2486) at 31.6
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd8000-0xdbfff,0xdc000-0xdfff=
f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
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/15 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
spic0: device model type =3D 2
spic0: <Sony Programmable I/O Controller> at port 0x10a0-0x10a4 on isa0
IPsec: Initialized Security Association Processing.
ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA100
acd0: CD-RW <HL-DT-ST CD-RW/DVD DRIVE GCC-4080N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 0
pccard: card inserted, slot 1
drm0: <ATI Radeon LY Mobility 6 (AGP)> port 0x3000-0x30ff mem 0xd0100000-0x=
d010ffff,0xd8000000-0xdfffffff irq 9 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
sio1 at port 0x2f8-0x2ff irq 5 flags 0x40000 slot 0 on pccard0
sio1: type 16550A
wi0 at port 0x240-0x27f irq 10 slot 1 on pccard1
wi0: 802.11 address: 00:04:e2:0e:46:4f
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary 0.03.00, Station 0.07.06
sio1: unloaded
sio1: detached
pccard: card deactivated, slot 0
pccard: card removed, slot 0
pccard: card inserted, slot 0
sio1 at port 0x2f8-0x2ff irq 5 flags 0x40000 slot 0 on pccard0
sio1: type 16550A

--ReaqsoxgOBHFXBhH--

--H+4ONPRPur6+Ovig
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE9tYtw8vyTVl6qbdQRAsX8AJ4pOx1bhg/WSawa0AFgIomytbA7FgCfWXD/
91YZ22ezDn1vux1bbXAxD9g=
=7Fw8
-----END PGP SIGNATURE-----

--H+4ONPRPur6+Ovig--

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?20021022173128.GA5868>