Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2000 10:00:47 +0300 (EEST)
From:      Michael Vasilenko <acid@cn.ua>
To:        Warner Losh <imp@village.org>
Cc:        John Hay <jhay@mikom.csir.co.za>, freebsd-current@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG
Subject:   Re: PCI-CardBus bridge + PCMCIA Lucent WaveLAN IEEE troubles 
Message-ID:  <Pine.BSF.4.21.0004150950490.46641-100000@wicket.ci.net.ua>
In-Reply-To: <200004141952.NAA58759@harmony.village.org>

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


On Fri, 14 Apr 2000, Warner Losh wrote:

> : The situation is interesting - when I remove /dev/card1,2,3, pccardd
> : get started, ifconfig wi0 works, but on any xmit - ping, etc..
> : I've got:
> : 
> : wi0: xmit failed
> : wi0: tx buffer allocation failed
> : wi0: device timeout
> : 
> : and pccardd didn't catch pccard events - removing and inserting cards...
> 
> You have interrupt problems.  Don't share with anything else.  Don't
> use interrupts of *ANY* other hardware in your system *AT*ALL*.

I have only 11 & 15 IRQ used - for Bridge and for NIC

Thanks alot, but your input didn't help...
I tried different IRQs for pccard, polling and "normal" (have irq) mode,
but no success.

I have only ONE pccard, but why kernel thinks that I have two and
they are inserted? (see at the bottom of dmesg)
Maybe problem in init of TI chip?

My full dmesg:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #4: Sat Apr 15 10:45:51 GMT 2000
    root@setup1.ci.net.ua:/usr/src/sys/compile/SETUP.5
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 300683001 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 33554432 (32768K bytes)
config> q
avail memory = 29634560 (28940K bytes)
Preloaded elf kernel "kernel" at 0xc031e000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc031e09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 Trio3D/2X graphics accelerator> at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 2.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 2.2
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 2.3 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xe400-0xe41f irq 15 at device 15.0 on pci0
ed0: supplying EUI64: 00:00:21:ff:fe:d7:67:6e
ed0: address 00:00:21:d7:67:6e, type NE2000 (16 bit) 
pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> mem 0xea000000-0xea000fff irq 11 at device 16.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [pwr save][pci only]
pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> mem 0xea004000-0xea004fff irq 11 at device 16.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [pwr save][pci only]
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 11 on isa0
pcic0: management irq 11
^^^^^^ - polling mode for pcic0 didn't solve the problem

pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ad0: 4112MB <Maxtor 90431U1> [8912/15/63] at ata0-master using UDMA33
Mounting root from ufs:/dev/ad0s1a

pccard: card inserted, slot 0
pccard: card inserted, slot 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
why?

ed0: starting DAD for fe80:0001::0200:21ff:fed7:676e
ed0: DAD complete for fe80:0001::0200:21ff:fed7:676e - no duplicates found
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 9 slot 0 on pccard0
				   ^^^^^^^^^^     ^^^
		     I've tried 0x100,0x300,etc and 5,7,10	
wi0: Ethernet address: 00:60:1d:f6:cc:5d
wi0: tx buffer allocation failed
wi0: starting DAD for fe80:000b::0260:1dff:fef6:cc5d
wi0: xmit failed
wi0: DAD complete for fe80:000b::0260:1dff:fef6:cc5d - no duplicates found
wi0: device timeout
wi0: tx buffer allocation failed
wi0: xmit failed
wi0: device timeout
wi0: tx buffer allocation failed


Michael Vasilneko



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004150950490.46641-100000>